@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #ffffff;
    color: #0c0e12;
    font-family: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

code,
pre {
    font-family: 'JetBrains Mono', monospace;
}

.site-frame {
    min-height: 100vh;
    background: #ffffff;
}

.navigation-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 5px;
    overflow: hidden;
    pointer-events: none;
    background: rgba(0, 112, 255, 0.24);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.navigation-loader-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 64%;
    transform: translateX(-115%);
    background: linear-gradient(90deg, transparent 0%, #0057ff 18%, #00a3ff 48%, #8bd3ff 74%, transparent 100%);
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.86);
}

html.is-enhanced-navigating .navigation-loader {
    opacity: 1;
}

html.is-enhanced-navigating .navigation-loader-bar {
    animation: navigation-loader-slide 0.78s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes navigation-loader-slide {
    0% {
        transform: translateX(-115%);
    }

    50% {
        width: 76%;
    }

    100% {
        transform: translateX(165%);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.is-enhanced-navigating .navigation-loader-bar {
        animation-duration: 1.8s;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    border-bottom: 1px solid #e7e9ee;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1140px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-mark {
    display: block;
    width: 27px;
    height: 27px;
}

.brand-name {
    font-size: 17px;
    line-height: 1;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.primary-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: #3a414e;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.primary-nav a.active,
.primary-nav a:hover {
    color: #1e4fd6;
    background: #eef3ff;
}

.primary-nav .github-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 8px;
    padding: 9px 16px;
    border-radius: 9px;
    background: #0c0e12;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.primary-nav .github-link:hover,
.primary-nav .github-link.active {
    background: #0c0e12;
    color: #ffffff;
}

.mobile-nav {
    display: none;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 24px;
    border-bottom: 1px solid #e7e9ee;
    background: #ffffff;
}

.mobile-nav a {
    flex: 0 0 auto;
    padding: 7px 14px;
    border: 1px solid #e7e9ee;
    border-radius: 999px;
    color: #3a414e;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.mobile-nav a.active {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

main,
.site-footer {
    max-width: 1140px;
    margin: 0 auto;
    padding-inline: 24px;
}

.split-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.hero-section {
    padding: 84px 24px 64px;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0 0 20px;
    font-size: 54px;
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero-copy p,
.page-hero p {
    max-width: 580px;
    margin: 0 0 30px;
    color: #5b626e;
    font-size: 18px;
    line-height: 1.6;
}

.eyebrow {
    margin-bottom: 10px;
    color: #9aa1ad;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.pill-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 5px 11px;
    border: 1px solid #dbe6ff;
    border-radius: 999px;
    background: #eef3ff;
    color: #1e4fd6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.button-row,
.button-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-stack {
    flex-direction: column;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 13px 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.primary-button {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.4);
}

.secondary-button {
    border-color: #dfe2e8;
    background: #ffffff;
    color: #0c0e12;
}

.dark-button {
    background: #0c0e12;
    color: #ffffff;
}

.inverted-button {
    background: #ffffff;
    color: #0c0e12;
}

.ghost-dark-button {
    border-color: #2c2f37;
    color: #ffffff;
}

.designer-preview {
    position: relative;
    min-height: 460px;
    margin: 0;
    isolation: isolate;
    overflow: hidden;
}

.designer-preview::before {
    content: "";
    position: absolute;
    inset: 56px 18px 28px;
    z-index: -1;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(12, 14, 18, 0.08));
    filter: blur(10px);
}

.designer-preview-image {
    position: absolute;
    width: min(82%, 520px);
    height: auto;
    border: 1px solid rgba(12, 14, 18, 0.12);
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 28px 70px -34px rgba(12, 14, 18, 0.42), 0 10px 22px -18px rgba(12, 14, 18, 0.32);
}

.designer-preview-image-light {
    top: 12px;
    right: 0;
    z-index: 1;
}

.designer-preview-image-dark {
    left: 0;
    bottom: 16px;
    z-index: 2;
    width: min(72%, 450px);
    mask-image: linear-gradient(90deg, #000 0 70%, rgba(0, 0, 0, 0) 100%);
    transform: translateY(4px);
}

.code-window {
    overflow: hidden;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    border-bottom: 1px solid #eef0f3;
    background: #fbfbfc;
}

.window-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #e1e4ea;
}

.window-bar strong,
.window-title {
    margin-left: 8px;
    color: #5b626e;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 400;
}

.window-title {
    margin: 0;
    padding: 11px 18px;
    border-bottom: 1px solid #e7e9ee;
    background: #f6f7f9;
}

pre {
    margin: 0;
    padding: 20px 22px;
    overflow-x: auto;
    color: #0c0e12;
    font-size: 13px;
    line-height: 1.85;
}

.token-muted { color: #9aa1ad; }
.token-key { color: #2563eb; }
.token-punctuation { color: #5b626e; }
.token-string { color: #15803d; }
.token-number { color: #1d4ed8; }
.token-purple { color: #9d4edd; }

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-bottom: 96px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #e7e9ee;
}

.stat-strip article,
.hub-card,
.contract-grid article,
.tool-grid article,
.feature-grid article,
.webinar-grid article,
.post-grid article,
.featured-post article,
.contact-card,
.form-card {
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    padding: 26px 24px;
}

.stat-strip article {
    border: 0;
    border-radius: 0;
}

.stat-strip span,
.contract-grid span,
.tool-grid > article > span {
    display: block;
    margin-bottom: 10px;
    color: #1e4fd6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.stat-strip h2,
.hub-card h2,
.contract-grid h2,
.tool-grid h2,
.feature-grid h2,
.webinar-grid h2,
.post-grid h2,
.featured-post h2,
.contact-card h2,
.form-card h2,
.version-band h2,
.package-grid h2,
.tool-feature h2,
.cohort-card h2 {
    margin: 0 0 7px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.stat-strip p,
.hub-card p,
.contract-grid p,
.tool-grid p,
.feature-grid p,
.webinar-grid p,
.post-grid p,
.featured-post p,
.contact-card p,
.form-card p,
.version-band p,
.package-grid p,
.tool-feature p,
.cohort-card p {
    margin: 0;
    color: #5b626e;
    font-size: 14px;
    line-height: 1.55;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading-row h2,
.section-heading h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.text-link {
    color: #1e4fd6;
    font-size: 15px;
    font-weight: 600;
}

.hub-grid,
.contract-grid,
.tool-grid,
.feature-grid,
.webinar-grid,
.post-grid,
.package-grid,
.contact-grid {
    display: grid;
    gap: 18px;
}

.hub-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 96px;
}

.hub-card {
    display: flex;
    min-height: 172px;
    flex-direction: column;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.hub-card:hover {
    transform: translateY(-3px);
    border-color: #bcd0ff;
    box-shadow: 0 14px 34px -18px rgba(37, 99, 235, 0.4);
}

.hub-card p {
    flex: 1;
}

.hub-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.hub-card code,
.schema-card strong,
.card-topline code {
    color: #9aa1ad;
    font-size: 12px;
    font-weight: 500;
}

.hub-card-arrow {
    color: #2563eb;
    font-size: 18px;
}

.designer-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 96px;
    padding: 52px 48px;
    border-radius: 18px;
    background: #0c0e12;
    color: #ffffff;
}

.designer-band h2 {
    max-width: 560px;
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.designer-band p {
    max-width: 560px;
    margin: 0;
    color: #a8aebb;
    font-size: 16px;
    line-height: 1.6;
}

.designer-band code {
    color: #9ab6ff;
    font-size: 24px;
}

.page-hero {
    padding: 72px 0 48px;
}

.bordered-hero {
    border-bottom: 1px solid #e7e9ee;
}

.specification-overview {
    padding-bottom: 64px;
}

.specification-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 56px;
    align-items: center;
}

.specification-hero-grid .button {
    margin-top: 2px;
}

.content-split,
.tool-feature,
.cohort-card,
.contact-grid {
    padding: 72px 0;
}

.content-split h2,
.tool-feature h2,
.cohort-card h2 {
    font-size: 30px;
    letter-spacing: -0.03em;
}

.schema-card {
    padding: 22px 26px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
}

.schema-card div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f3;
}

.schema-card div:last-child {
    border-bottom: 0;
}

.schema-card span {
    color: #5b626e;
    font-size: 14px;
}

.specification-reader-hero .button-row {
    margin-top: 24px;
}

.specification-reader-hero {
    padding-bottom: 28px;
    border-bottom: 0;
}

.specification-document {
    margin: 0 0 96px;
    padding: 12px 0 0;
    color: #20242b;
    font-size: 16px;
    line-height: 1.72;
}

.specification-document > h1:first-child {
    display: none;
}

.specification-load-error {
    margin: 48px 0 96px;
    padding: 34px 38px;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    background: #ffffff;
}

.specification-document h1,
.specification-document h2,
.specification-document h3,
.specification-load-error h2 {
    margin: 0 0 14px;
    color: #0c0e12;
    letter-spacing: -0.02em;
}

.specification-document h1 {
    font-size: 36px;
    line-height: 1.1;
}

.specification-document h2 {
    margin-top: 44px;
    font-size: 26px;
}

.specification-document h3 {
    margin-top: 30px;
    font-size: 20px;
}

.specification-document p,
.specification-document li,
.specification-load-error p {
    color: #3a414e;
}

.specification-document p {
    margin: 0 0 18px;
}

.specification-document ul,
.specification-document ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.specification-document li + li {
    margin-top: 8px;
}

.specification-document hr {
    margin: 36px 0 0;
    border: 0;
}

.specification-document a {
    color: #1e4fd6;
    font-weight: 600;
}

.specification-document code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #f0f3f8;
    color: #0c0e12;
    font-size: 0.9em;
}

.specification-document pre {
    margin: 22px 0;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: #f7f8fa;
}

.specification-document pre code {
    padding: 0;
    background: transparent;
}

.specification-document table {
    display: block;
    width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.specification-document th,
.specification-document td {
    padding: 10px 12px;
    border: 1px solid #e1e4ea;
    text-align: left;
    vertical-align: top;
}

.specification-document th {
    background: #f6f7f9;
    color: #0c0e12;
}

.compact-heading {
    padding: 72px 0 36px;
}

.compact-heading p {
    max-width: 560px;
    margin: 8px 0 0;
    color: #5b626e;
    font-size: 16px;
    line-height: 1.6;
}

.contract-grid,
.feature-grid,
.webinar-grid,
.post-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.package-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 72px 0;
}

.flat-code {
    margin-top: 18px;
    border-radius: 12px;
}

.flat-code pre {
    font-size: 12.5px;
    line-height: 1.7;
}

.version-band,
.cohort-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 96px;
    padding: 36px 40px;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    background: #f6f7f9;
}

.version-band {
    margin-top: 72px;
}

.cohort-card {
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle at top left, rgba(125, 162, 255, 0.18), transparent 38%), #0c0e12;
    color: #ffffff;
    box-shadow: 0 24px 70px -42px rgba(12, 14, 18, 0.86);
}

.cohort-card > div {
    min-width: 0;
    flex: 1 1 auto;
}

.cohort-card h2 {
    max-width: 760px;
    color: #ffffff;
}

.cohort-card p {
    max-width: 760px;
    color: #cccccc;
}

.cohort-card .pill-blue {
    border-color: rgba(125, 162, 255, 0.34);
    background: rgba(125, 162, 255, 0.13);
    color: #bcd0ff;
}

.cohort-card .meta-row span {
    color: #9ab6ff;
}

.cohort-card .primary-button {
    flex: 0 0 auto;
    min-width: 154px;
    white-space: nowrap;
    background: linear-gradient(135deg, #3b82f6, #9ab6ff);
    color: #07111f;
    box-shadow: 0 12px 28px -16px rgba(37, 99, 235, 0.85);
}

.tool-feature {
    border-bottom: 1px solid #e7e9ee;
}

.designer-tool-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 46px;
    align-items: center;
    margin-top: 34px;
    padding: 54px 48px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: radial-gradient(circle at 88% 14%, rgba(125, 162, 255, 0.22), transparent 32%), linear-gradient(135deg, #07111f 0%, #0c0e12 58%, #101b33 100%);
    color: #ffffff;
    box-shadow: 0 26px 80px -52px rgba(12, 14, 18, 0.86);
}

.designer-tool-copy {
    min-width: 0;
}

.designer-tool-copy h1 {
    margin: 0 0 20px;
    font-size: 52px;
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.designer-tool-copy p {
    max-width: 560px;
    margin: 0;
    color: #cccccc;
    font-size: 18px;
    line-height: 1.6;
}

.designer-tool-copy code {
    color: #bcd0ff;
    font-size: 0.95em;
}

.designer-tool-copy .pill-blue {
    border-color: rgba(125, 162, 255, 0.34);
    background: rgba(125, 162, 255, 0.13);
    color: #bcd0ff;
}

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

.designer-tool-actions .secondary-button {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.designer-tool-preview {
    position: relative;
    margin: 0;
}

.designer-tool-preview img {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 28px 80px -38px rgba(0, 0, 0, 0.86);
}

.designer-install-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    margin: 24px 0 0;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: radial-gradient(circle at 82% 0%, rgba(125, 162, 255, 0.16), transparent 34%), linear-gradient(135deg, #0c0e12 0%, #101827 100%);
    color: #ffffff;
    text-align: center;
}

.designer-install-panel span,
.designer-workflow span {
    display: block;
    margin-bottom: 7px;
    color: #9ab6ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
}

.designer-workflow span {
    color: #1e4fd6;
}

.designer-install-panel h2,
.designer-workflow h2 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.designer-install-panel h2 {
    color: #ffffff;
    font-size: 19px;
}

.designer-workflow h2 {
    color: #0c0e12;
}

.designer-install-panel p,
.designer-workflow p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.designer-install-panel p {
    max-width: 440px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.45;
}

.designer-workflow p {
    color: #5b626e;
}

.designer-install-command {
    position: relative;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 76px;
    gap: 8px;
    align-items: center;
    width: min(100%, 740px);
    min-width: 0;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    text-align: left;
}

.designer-install-command select {
    width: 100%;
    min-width: 0;
    padding: 10px 28px 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    appearance: none;
    background: linear-gradient(45deg, transparent 50%, #ffffff 50%) calc(100% - 17px) 50% / 6px 6px no-repeat,
        rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.designer-install-command select:focus-visible,
.designer-install-command button:focus-visible {
    outline: 2px solid rgba(30, 79, 214, 0.42);
    outline-offset: 2px;
}

.designer-install-command pre {
    min-width: 0;
    margin: 0;
    padding: 0 6px;
    overflow: hidden;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.designer-install-command code {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.designer-install-command button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 8px;
    background: #2d5df0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.14s ease, transform 0.14s ease;
}

.designer-install-command button::after {
    width: 10px;
    height: 10px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    box-shadow: 5px -5px 0 -1.5px #2d5df0, 5px -5px 0 0 currentColor;
    content: "";
}

.designer-install-command button:hover {
    background: #4774ff;
    transform: translateY(-1px);
}

.designer-install-command button:hover::after {
    box-shadow: 5px -5px 0 -1.5px #4774ff, 5px -5px 0 0 currentColor;
}

.designer-install-panel code,
.designer-workflow code {
    color: inherit;
}

.designer-workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 36px 0 0;
}

.designer-workflow article {
    padding: 26px 24px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
}

.skills-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.skills-terminal pre {
    white-space: pre-wrap;
    word-break: break-word;
}

.skills-installer {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.skills-agent-picker {
    display: grid;
    gap: 14px;
    padding: 16px 18px;
}

.skills-agent-picker fieldset {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.skills-agent-picker .skills-scope-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skills-agent-picker legend {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    color: #cccccc;
    font-size: 13px;
    font-weight: 600;
}

.skills-agent-picker label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.skills-agent-picker label:has(input:checked),
.skills-agent-picker label:hover {
    border-color: rgba(125, 162, 255, 0.5);
    background: rgba(125, 162, 255, 0.16);
    color: #ffffff;
}

.skills-agent-picker input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: #7da2ff;
}

.skills-agent-picker span {
    padding: 0;
    border: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.2;
}

.skills-command-output {
    display: block;
    width: auto;
    margin: 0 18px 18px;
    padding: 20px 22px;
    border: 1px solid rgba(125, 162, 255, 0.2);
    border-radius: 12px;
    background: #070a10;
    color: #dfe6f3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.85;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
    cursor: copy;
}

.skills-command-output:hover,
.skills-command-output:focus-visible {
    border-color: rgba(125, 162, 255, 0.52);
    outline: 0;
    background: #0a0f19;
}

.skills-command-output code {
    color: inherit;
    font: inherit;
}

.skills-copy-status {
    min-height: 18px;
    margin: -8px 18px 16px;
    color: #9ab6ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.skills-command-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.skills-command-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 26px 24px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
}

.skills-command-card span {
    display: block;
    margin-bottom: 9px;
    color: #1e4fd6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
}

.skills-command-card h2 {
    margin: 0 0 8px;
    color: #0c0e12;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.skills-command-card p {
    margin: 0 0 22px;
    color: #5b626e;
    font-size: 15px;
    line-height: 1.6;
}

.skills-command-card pre {
    margin-top: auto;
    border-radius: 12px;
    background: #0c0e12;
    color: #ffffff;
    white-space: pre-wrap;
    word-break: break-word;
}

.skills-note-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 96px;
    padding: 30px;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    background: #f6f7f9;
}

.skills-note-panel h2 {
    margin: 0 0 8px;
    color: #0c0e12;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.skills-note-panel p {
    max-width: 720px;
    margin: 0;
    color: #5b626e;
    font-size: 15px;
    line-height: 1.6;
}

.terminal-card {
    overflow: hidden;
    border-radius: 14px;
    background: #0c0e12;
    color: #ffffff;
}

.terminal-card span {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid #2c2f37;
    color: #7da2ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.terminal-card pre {
    color: #dfe6f3;
}

.terminal-card .skills-agent-picker span {
    padding: 0;
    border: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.2;
}

.tool-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 36px 0 24px;
}

.tool-grid article {
    display: flex;
    min-height: 300px;
    flex-direction: column;
}

.tool-grid article.featured-tool {
    border-color: #bcd0ff;
    box-shadow: 0 18px 50px -28px rgba(37, 99, 235, 0.45);
}

.tool-grid code {
    display: block;
    margin-top: auto;
    padding-top: 22px;
    color: #0c0e12;
    font-size: 12.5px;
}

.tool-grid a {
    margin-top: 16px;
    color: #1e4fd6;
    font-size: 14px;
    font-weight: 600;
}

.webinar-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: 42px;
    align-items: stretch;
    padding: 76px 0 64px;
}

.webinar-hero-copy,
.webinar-hero-panel,
.webinar-copy-card,
.webinar-outline-card,
.instructor-section,
.registration-summary,
.registration-form {
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    background: #ffffff;
}

.webinar-hero-copy {
    padding: 48px;
    background: radial-gradient(circle at 82% 10%, rgba(125, 162, 255, 0.22), transparent 30%), linear-gradient(135deg, #07111f, #0c0e12 62%, #101b33);
    color: #ffffff;
    box-shadow: 0 26px 80px -52px rgba(12, 14, 18, 0.86);
}

.webinar-hero-copy h1 {
    max-width: 780px;
    margin: 0 0 20px;
    font-size: 54px;
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.webinar-hero-copy p {
    max-width: 660px;
    margin: 0;
    color: #cccccc;
    font-size: 18px;
    line-height: 1.6;
}

.webinar-hero-copy .pill-blue {
    border-color: rgba(125, 162, 255, 0.34);
    background: rgba(125, 162, 255, 0.13);
    color: #bcd0ff;
}

.webinar-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-top: 30px;
}

.webinar-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #ffffff;
}

.webinar-price s {
    color: #999999;
    font-size: 18px;
}

.webinar-price strong {
    font-size: 30px;
    letter-spacing: -0.03em;
}

.webinar-price span {
    color: #bcd0ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.webinar-hero-panel {
    display: grid;
    align-content: stretch;
    overflow: hidden;
}

.webinar-hero-panel div {
    display: grid;
    gap: 8px;
    padding: 24px 26px;
    border-bottom: 1px solid #e7e9ee;
}

.webinar-hero-panel div:last-child {
    border-bottom: 0;
}

.webinar-hero-panel span,
.takeaway-grid span {
    color: #1e4fd6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
}

.webinar-hero-panel strong {
    color: #0c0e12;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.webinar-overview,
.registration-section {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
    gap: 24px;
    padding: 0 0 72px;
}

.webinar-copy-card,
.webinar-outline-card,
.registration-summary,
.registration-form {
    padding: 32px;
}

.webinar-copy-card h2,
.webinar-outline-card h2,
.instructor-section h2,
.registration-summary h2 {
    margin: 0 0 14px;
    color: #0c0e12;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.webinar-copy-card p,
.registration-summary p,
.instructor-section p {
    margin: 0;
    color: #5b626e;
    font-size: 16px;
    line-height: 1.65;
}

.webinar-outline-card ul,
.registration-summary ul {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.webinar-outline-card li,
.registration-summary li {
    position: relative;
    padding-left: 22px;
    color: #3a414e;
    font-size: 15px;
    line-height: 1.5;
}

.webinar-outline-card li::before,
.registration-summary li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #2563eb;
}

.webinar-takeaways {
    padding: 0 0 72px;
}

.webinar-takeaways .section-heading {
    max-width: 620px;
    margin-bottom: 24px;
}

.webinar-takeaways .section-heading p {
    margin: 8px 0 0;
    color: #5b626e;
    font-size: 16px;
    line-height: 1.6;
}

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

.takeaway-grid article {
    padding: 26px 24px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
}

.takeaway-grid h3 {
    margin: 12px 0 8px;
    color: #0c0e12;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.takeaway-grid p {
    margin: 0;
    color: #5b626e;
    font-size: 14px;
    line-height: 1.55;
}

.instructor-section {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom: 72px;
    padding: 30px;
}

.instructor-section img {
    display: block;
    width: 220px;
    aspect-ratio: 1;
    border-radius: 14px;
    object-fit: cover;
    background: #eef0f3;
}

.instructor-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.instructor-facts span {
    padding: 7px 11px;
    border: 1px solid #dbe6ff;
    border-radius: 999px;
    background: #eef3ff;
    color: #1e4fd6;
    font-size: 13px;
    font-weight: 600;
}

.registration-form {
    display: grid;
    gap: 18px;
}

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

.registration-form label {
    display: grid;
    gap: 7px;
    align-content: start;
}

.registration-form label span {
    color: #3a414e;
    font-size: 13px;
    font-weight: 600;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #d9dde5;
    border-radius: 10px;
    background: #ffffff;
    color: #0c0e12;
    outline: none;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #eef3ff;
}

.registration-form textarea {
    min-height: 110px;
    resize: vertical;
}

.registration-form .validation-message {
    min-height: 16px;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.3;
}

.registration-form .validation-errors {
    margin: 0;
    padding: 12px 14px 12px 32px;
    border: 1px solid rgba(220, 38, 38, 0.24);
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.5;
}

.wide-field {
    grid-column: 1 / -1;
}

.success-panel,
.error-panel {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.success-panel {
    border: 1px solid rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.error-panel {
    border: 1px solid rgba(220, 38, 38, 0.24);
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.feature-grid {
    margin-bottom: 96px;
}

.meta-row,
.card-topline,
.price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
}

.meta-row span,
.card-topline span {
    color: #1e4fd6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.webinar-grid,
.post-grid {
    margin-bottom: 96px;
}

.webinar-grid article,
.post-grid article {
    min-height: 220px;
}

.webinar-grid footer {
    margin-top: 20px;
    color: #9aa1ad;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.featured-post {
    margin: 48px 0 18px;
}

.featured-post article {
    padding: 38px;
    background: #f6f7f9;
}

.featured-post h2 {
    margin-top: 16px;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    gap: 42px;
    align-items: center;
    margin: 42px 0 84px;
    padding: 48px;
    border: 1px solid #e7e9ee;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7f9fc 0%, #eef4ff 100%);
}

.contact-copy h1 {
    max-width: 620px;
    margin: 0 0 18px;
    font-size: 54px;
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.contact-copy p {
    max-width: 560px;
    margin: 0;
    color: #5b626e;
    font-size: 18px;
    line-height: 1.6;
}

.contact-email-card {
    min-width: 0;
    padding: 34px;
    background: #0c0e12;
    color: #ffffff;
    box-shadow: 0 24px 70px -46px rgba(12, 14, 18, 0.9);
}

.contact-email-card p {
    max-width: 560px;
    color: #cccccc;
    font-size: 16px;
}

.contact-email-link {
    display: inline-flex;
    margin-top: 24px;
    color: #9ab6ff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-card,
.form-card {
    padding: 30px;
}

.dark-card {
    background: #0c0e12;
    color: #ffffff;
}

.dark-card p {
    color: #a8aebb;
}

.price-line {
    justify-content: flex-start;
    color: #a8aebb;
}

.price-line strong {
    color: #ffffff;
    font-size: 32px;
}

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

.form-card label {
    display: grid;
    gap: 7px;
}

.form-card span {
    color: #5b626e;
    font-size: 14px;
    font-weight: 600;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dfe2e8;
    border-radius: 10px;
    background: #ffffff;
    color: #0c0e12;
    outline: none;
}

.form-card textarea {
    resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #eef3ff;
}

.success-panel {
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 11px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    padding-block: 42px;
    border-top: 1px solid #e7e9ee;
}

.footer-bottom {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #eef0f3;
    color: #9aa1ad;
    font-size: 13px;
}

.site-footer p {
    max-width: 360px;
    margin: 12px 0 0;
    color: #5b626e;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #9aa1ad;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.site-footer a:not(.footer-brand) {
    display: block;
    margin-top: 10px;
    color: #3a414e;
    font-size: 14px;
}

.footer-bottom a:not(.footer-brand) {
    display: inline;
    margin-top: 0;
    color: inherit;
    font-size: inherit;
}

#blazor-error-ui {
    display: none;
}

@media (max-width: 860px) {
    .site-header-inner {
        height: 56px;
        padding: 0 24px;
    }

    .primary-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .split-section,
    .designer-tool-hero,
    .designer-install-panel,
    .designer-workflow,
    .skills-command-grid,
    .specification-hero-grid,
    .contact-grid,
    .webinar-hero,
    .webinar-overview,
    .registration-section,
    .site-footer {
        grid-template-columns: 1fr;
    }

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

    .instructor-section {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .hero-section {
        padding-top: 52px;
    }

    .designer-preview {
        min-height: 390px;
    }

    .designer-preview-image {
        width: min(86%, 560px);
    }

    .designer-preview-image-dark {
        width: min(76%, 480px);
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 42px;
    }

    .stat-strip {
        grid-template-columns: 1fr;
    }

    .section-heading-row,
    .designer-band,
    .version-band,
    .skills-note-panel,
    .cohort-card,
    .designer-tool-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .designer-tool-copy h1 {
        font-size: 42px;
    }

    .webinar-hero-copy h1 {
        font-size: 42px;
    }

    .designer-band,
    .version-band,
    .cohort-card,
    .webinar-hero-copy,
    .featured-post article {
        padding: 30px 24px;
    }

    .specification-load-error {
        padding: 26px 20px;
    }

    .contact-email-card {
        padding: 30px 24px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 28px 0 64px;
        padding: 34px 28px;
    }

    .contact-copy h1 {
        font-size: 42px;
    }
}

@media (max-width: 560px) {
    main,
    .site-footer {
        padding-inline: 18px;
    }

    .hero-section {
        padding-inline: 18px;
    }

    .designer-preview {
        min-height: 310px;
    }

    .designer-preview-image {
        width: 88%;
        border-radius: 12px;
    }

    .designer-preview-image-dark {
        width: 76%;
        bottom: 10px;
        mask-image: linear-gradient(90deg, #000 0 66%, rgba(0, 0, 0, 0) 100%);
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .contact-panel {
        margin: 20px 0 52px;
        padding: 28px 20px;
        border-radius: 16px;
    }

    .contact-copy h1 {
        font-size: 36px;
    }

    .contact-copy p,
    .contact-email-card p {
        font-size: 15px;
    }

    .contact-email-link {
        font-size: 18px;
    }

    .webinar-hero-copy h1 {
        font-size: 36px;
    }

    .webinar-copy-card,
    .webinar-outline-card,
    .registration-summary,
    .registration-form,
    .instructor-section {
        padding: 24px 20px;
    }

    .takeaway-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .instructor-section img {
        width: 100%;
        max-width: 220px;
    }

    .designer-tool-copy h1 {
        font-size: 36px;
    }

    .skills-agent-picker fieldset {
        grid-template-columns: 1fr;
    }

    .button,
    .button-row,
    .button-stack {
        width: 100%;
    }
}
