@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

/* Scrollbar colors */
:root {
    --color-scrollbar-track: #292929;
    --color-scrollbar-thumb-top: #82e1d4;
    --color-scrollbar-thumb-bottom: #369d90;
}

html {
    scrollbar-color: auto;
    scrollbar-width: auto;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
    background: var(--color-scrollbar-track);
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--color-scrollbar-track);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 2px solid var(--color-scrollbar-track);
    background: linear-gradient( to bottom, var(--color-scrollbar-thumb-top), var(--color-scrollbar-thumb-bottom) );
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: var(--teal);
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button {
    display: none;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
    background: var(--color-scrollbar-track);
}

/* Theme variables */
:root {
    --ink: #292929;
    --paper: #fff;
    --panel: #f4f4f4;
    --gold: #c9bd24;
    --teal: #58c9ba;
    --radius: 24px;
    --width: 902px;
}

/* Global reset and typography */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: #090909;
    font: 13.5px/1.37 Arial,Helvetica,sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

h1,h2,h3 {
    line-height: 1.16;
    letter-spacing: 0;
}

h1 {
    font-size: 23px;
}

h2 {
    font-size: 22.5px;
    margin: 0 0 15px;
}

h3 {
    font-size: 15px;
    margin: 16px 0 9px;
}

p {
    margin: 0 0 16px;
}

a {
    color: inherit;
}

code,pre {
    font-family: Inconsolata,'Courier New',monospace;
}

code {
    overflow-wrap: anywhere;
}

pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 13.5px;
    line-height: 1.4;
    margin: 12px 0 18px;
}

/* Hero and introduction */
.hero {
    background: #292929;
    text-align: center;
    color: #fff;
    padding: 35px 20px 29px;
}

.hero img {
    width: 226px;
    max-height: none;
    object-fit: contain;
    display: block;
    margin: auto;
}

.tagline {
    font: italic 700 16px/1.3 Inconsolata,'Courier New',monospace;
    color: var(--teal);
    margin: 14px 0 0;
}

.container {
    max-width: var(--width);
    padding: 0 38px;
    margin: auto;
}

.intro {
    background: var(--panel);
    border: 0;
    border-radius: 24px;
    margin: 35px auto 34px;
    padding: 19px 46px 18px;
    max-width: none;
    font: 15px/1.42 Inconsolata,'Courier New',monospace;
}

.intro p:last-child {
    margin: 0;
}

.accent {
    color: var(--gold);
    margin-bottom: 25px;
}

/* Base content spacing */
section {
    margin-bottom: 36px;
}

article {
    margin: 32px 0 39px;
}

/* Feature notes and content layouts */
.note {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    padding: 0;
    margin-bottom: 28px;
}

.note>img {
    width: 104px;
    flex-shrink: 0;
    object-fit: contain;
}

.note h2 {
    font-size: 18px;
    margin: 0 0 16px;
}

.note.compact {
    background: var(--panel);
    border-radius: var(--radius);
    padding: 22px;
    margin: 24px 0;
}

.note.compact>img {
    width: 56px;
}

.split {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    align-items: stretch;
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
}

.split>div:not(.dark) {
    padding: 21px 26px;
}

.split.reverse {
    grid-template-columns: 70% 30%;
}

.split.reverse>div:not(.dark) {
    padding: 23px 26px;
}

.dark {
    background: #292929;
    color: #e5e5e5;
    border-radius: 0;
}

.empty-panel {
    min-height: 460px;
}

.feature-list {
    padding-left: 40px;
}

.feature-list li {
    margin: 0 0 13px;
}

.code-panel {
    padding: 25px 27px;
    border-radius: 20px;
}

.code-panel p {
    color: #e5e5e5;
    margin-bottom: 5px;
}

.code-panel pre {
    margin-bottom: 20px;
}

.illustration {
    display: grid;
    place-items: center;
    padding: 40px;
}

.illustration img {
    max-height: 400px;
    object-fit: contain;
}

.diagram {
    padding: 24px 26px;
    margin-top: 18px;
    border-radius: 20px;
}

.diagram>img {
    display: block;
    max-width: 950px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.diagram ul {
    padding-left: 20px;
}

.diagram li {
    margin: 8px 0;
}

/* Partner logos and lightweight feature */
.partner-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 30px;
}

.partner-logos img {
    width: 150px;
    max-height: 160px;
    object-fit: contain;
}

.lightweight {
    grid-template-columns: 200px 1fr;
    align-items: center;
}

.feather img {
    width: 170px;
}

.feather-section h2 {
    font-size: 25px;
}

.feather-section h1 {
    font-weight: normal;
}

.feather-section .footprint-stat {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: normal;
    line-height: 1.2;
    margin: 14px 0 20px;
}

.footprint-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 12px;
    border: 1px solid #c7e3de;
    border-radius: 8px;
    background: #edf7f4;
    color: #237e72;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footprint-label svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feather-section .footprint-stat strong {
    color: #237e72;
}

.footprint-table-wrap { overflow-x: auto; margin: 24px 0 14px; }
.footprint-table { width: 100%; border-collapse: collapse; font-size: 16px; text-align: left; }
.footprint-table caption { text-align: left; font-size: 14px; color: #555; padding-bottom: 12px; }
.footprint-table th, .footprint-table td { padding: 14px 16px; border-bottom: 1px solid #dce7e4; }
.footprint-table thead { color: #237e72; background: #edf7f4; }
.footprint-table small { display: block; margin-top: 4px; font-weight: normal; font-size: 12px; color: #555; }
.footprint-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.footprint-table .footprint-biorn { background: #edf7f4; color: #237e72; font-weight: 700; }
.footprint-table .framework-brand { display: flex; align-items: center; gap: 12px; }
.footprint-table .framework-logo { display: block; width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.footprint-table .framework-logo-biorn { display: flex; align-items: center; justify-content: center; }
.footprint-table .framework-logo-biorn::before {
    content: "";
    width: 40px;
    height: 36px;
    background: #333;
    -webkit-mask: url('../images/biorn-framework-logo.png') left top / 40px auto no-repeat;
    mask: url('../images/biorn-framework-logo.png') left top / 40px auto no-repeat;
}
.feather-section .footprint-methodology { font-size: 13px; line-height: 1.6; color: #555; }

.section-title {
    margin: 35px 0 23px;
}

/* Feature cards */
.feature-cards {
    display: grid;
    gap: 15px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #292929;
    color: #e5e5e5;
    border-radius: 22px;
    padding: 24px 27px;
    margin: 0;
}

.feature-card>img {
    width: 45px;
    max-height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-card h3 {
    margin: 0 0 9px;
}

.feature-card p:last-child {
    margin-bottom: 0;
}

.fine {
    font-size: 12px;
    color: #666;
}

.dark .fine {
    color: #ccc;
}

/* Expandable content */
details {
    border-top: 1px solid #ddd;
    padding: 12px 0;
}

summary {
    cursor: pointer;
    font-weight: bold;
}

/* Footer base styles */
footer {
    background: #292929;
    text-align: center;
    color: #bbb;
    padding: 24px;
}

footer img {
    width: 32px;
    opacity: .85;
}

footer p {
    font-size: 12px;
    margin: 6px 0 0;
}

.email-placeholder {
    pointer-events: none;
    cursor: default;
}

/* Accessibility and image lightbox */
.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    padding: 10px;
    z-index: 5;
}

.skip:focus {
    left: 10px;
}

.lightbox:not([hidden]) {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 50px 20px;
}

.lightbox img {
    max-width: 95vw;
    max-height: 88vh;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    right: 20px;
    top: 8px;
    background: none;
    border: 0;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

[data-zoom] {
    cursor: zoom-in;
}

/* Scroll reveal animation */
.reveal {
    transition: opacity .45s ease,transform .45s ease;
}

.js-animate .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(10px);
}

/* Base mobile layout */
@media (max-width: 650px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 17px;
    }

    .hero {
        padding: 27px 15px 23px;
    }

    .hero img {
        width: 190px;
    }

    .tagline {
        font-size: 14px;
    }

    .intro {
        margin: 23px auto 30px;
        padding: 19px 21px;
        font-size: 14px;
    }

    .note {
        gap: 15px;
    }

    .note>img {
        width: 60px;
    }

    .note h2 {
        font-size: 17px;
    }

    .split,.split.reverse,.lightweight {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .split>div:not(.dark),.split.reverse>div:not(.dark) {
        padding: 22px 20px;
    }

    .empty-panel {
        min-height: 130px;
    }

    .split.reverse .illustration {
        order: 2;
    }

    .code-panel,.diagram {
        padding: 20px 17px;
    }

    .diagram>img {
        max-height: none;
    }

    .partner-logos {
        flex-direction: row;
    }

    .partner-logos img {
        width: 110px;
    }

    .feather {
        text-align: center;
    }

    .feather img {
        width: 125px;
    }

    .feature-card {
        gap: 15px;
        padding: 21px 18px;
    }

    .feature-card>img {
        width: 34px;
    }

    article {
        margin: 25px 0 35px;
    }

    pre {
        font-size: 12px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        transition: none!important;
    }

    .js-animate .reveal:not(.visible) {
        opacity: 1;
        transform: none;
    }
}

/* Final theme and desktop sizing */
:root {
    --width: 1400px;
    --gold: #cdbb29;
    --panel: #f5f5f5;
}

body {
    font-size: 18px;
    line-height: 1.39;
}

.container {
    max-width: var(--width);
    padding-inline: 55px;
}

h1 {
    font-size: 31px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 21px;
}

.hero {
    padding: 30px 20px;
}

.hero img {
    width: 240px;
}

.tagline {
    font-size: 23px;
    margin-top: 22px;
}

.intro {
    position: relative;
    overflow: hidden;
    padding: 20px 45px 20px 62px;
    font-size: 19px;
    border-radius: 30px;
    margin: 45px auto 48px;
    max-width: 1060px;
    line-height: 1.6;
}

/* Header entrance */
@keyframes header-appear {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero > img {
        animation: header-appear .65s ease-out both;
    }

    .hero > .tagline {
        animation: header-appear .65s ease-out .2s both;
    }
}

/* Product introduction */
.intro.intro-product {
    border: 1px solid rgba(36, 121, 110, .18);
    box-shadow: 0 16px 44px rgba(36, 121, 110, .08);
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    row-gap: 0;
    max-width: none;
    padding: 44px;
    background: linear-gradient(120deg, #eaf4f0 0%, #f7f9f8 55%, #fafbfa 100%);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

.intro-product-visual {
    display: flex;
    align-items: flex-start;
    align-self: start;
    justify-content: center;
}

.intro.intro-product::before {
    display: none;
}

.intro-product-visual img {
    display: block;
    width: 250px;
    height: auto;
    filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .12));
}

.intro-product-visual.is-fading-in img {
    opacity: 0;
}

.intro-product-visual.is-fading-in.is-visible img {
    animation: product-appear 1.4s ease-out .15s both;
}

@keyframes product-appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-product-visual.is-fading-in img,
    .intro-product-visual.is-fading-in.is-visible img {
        opacity: 1;
        animation: none;
    }
}

.intro-product-copy {
    min-width: 0;
    max-width: 760px;
}

.intro-product-details {
    display: grid;
    grid-template-columns: minmax(0, .65fr) 36px minmax(0, 1.35fr);
    align-items: center;
    gap: 18px 24px;
    grid-column: 1 / -1;
    min-width: 0;
}

.intro-product-details > .intro-product-proof {
    min-width: 0;
    margin: 0;
    padding: 22px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    align-self: stretch;
    text-align: left;
}

.intro-product-deliverables {
    padding: 22px 0;
    align-self: stretch;
    text-align: left;
}

.intro-progress-arrow {
    display: block;
    width: 36px;
    height: 48px;
    color: #8da9a4;
    justify-self: center;
}

.intro-detail-title {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 14px;
    border: 1px solid rgba(36, 121, 110, .14);
    border-radius: 8px;
    background: #e3eeea;
    color: #24796e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.intro-product-deliverables > .intro-product-outputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.intro-product-deliverables .intro-product-outputs li {
    padding: 10px 12px;
    border: 1px solid rgba(36, 121, 110, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .65);
    font-size: 14px;
}

.intro-product-details > .intro-product-foundation {
    grid-column: 1 / -1;
    padding-left: 0;
    font-family: Inconsolata, 'Courier New', monospace;
    font-size: 18px;
    line-height: 1.6;
}

.intro-product-details .intro-product-stat {
    margin-bottom: 6px;
    font-size: 28px;
}

.intro-product-details > .intro-product-principles {
    font-family: Inconsolata, 'Courier New', monospace;
    font-size: 18px;
    text-align: left;
    justify-self: stretch;
}

.intro-product-copy p,
.intro-product-details p {
    margin: 0;
}

.intro-product-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 2.7vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.8px;
    text-wrap: balance;
}

.intro-product-title .intro-product-emphasis {
    color: #24796e;
}

.intro-product-title .typewriter-pending {
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .intro-product-title .typewriter-pending {
        visibility: visible;
    }
}

.intro-product-lead {
    color: #444;
}

.intro-product-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 24px 0;
}

.intro-product-benefit {
    min-width: 0;
}

.intro-benefit-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    margin-left: -6px;
    color: #24796e;
    stroke-width: 2;
}

.intro-product-benefit p {
    margin: 0;
    color: #444;
}

.intro-product-benefit strong:first-child {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
}

@media (max-width: 650px) {
    .intro-product-benefits {
        grid-template-columns: minmax(0, 1fr);
    }
}

.intro-product-proof {
    margin: 0 0 18px;
    padding: 14px 18px;
    border-left: 3px solid var(--teal);
    border-radius: 0 10px 10px 0;
    background: rgba(255, 255, 255, .7);
}

.intro-product-stat {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
}

.intro-product-stat strong {
    color: #24796e;
}

.intro-product-details .intro-product-condition {
    margin-top: 4px;
    color: #606060;
    font-size: 14px;
}

.intro-product-outputs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    color: #343434;
}

.intro-product-outputs li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: #24796e;
    vertical-align: middle;
}

.intro-product-foundation {
    color: #606060;
    font-size: 18px;
    font-family: Inconsolata, 'Courier New', monospace;
}

@media (max-width: 1000px) {
    .intro.intro-product {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 28px;
        padding: 28px;
        font-size: 17px;
    }
}

@media (max-width: 650px) {
    .intro.intro-product {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 24px;
        font-size: 15px;
    }

    .intro-product-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .intro-progress-arrow {
        justify-self: center;
        transform: rotate(90deg);
        margin: 12px 0;
    }

    .intro-product-deliverables > .intro-product-outputs {
        grid-template-columns: minmax(0, 1fr);
    }

    .intro-product-visual img {
        width: 180px;
    }

    .intro-product-title {
        font-size: 28px;
        letter-spacing: -.5px;
    }

    .intro-product-stat {
        font-size: 17px;
    }
}

.intro::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 29px;
    background: #e3e3e3;
    border-radius: 30px 0 0 30px;
}

/* Filtering examples */
.gray-section .gray-bottom.code-panel ul {
    margin: 0;
    padding-left: 2px;
    list-style-position: inside;
}

.gray-section .gray-bottom.code-panel li {
    margin-bottom: 15px;
}

.gray-section .gray-bottom.code-panel li:last-child {
    margin-bottom: 0;
}

.gray-section .gray-bottom.code-panel li:last-child pre {
    margin-bottom: 0;
}

.gray-section .gray-bottom.code-panel pre {
    padding-left: 4ch;
    text-indent: -4ch;
}

/* Generated code panel */
.gray-section > .dark.gray-bottom.generated-code-panel {
    height: 400px;
    border-radius: 29px 29px 0 0;
}

.gray-section > .generated-code-panel:not([hidden]) + .gray-top {
    border-radius: 0 0 29px 29px;
}

@media (max-width: 650px) {
    .gray-section > .dark.gray-bottom.generated-code-panel {
        border-radius: 20px 20px 0 0;
    }

    .gray-section > .generated-code-panel:not([hidden]) + .gray-top {
        border-radius: 0 0 20px 20px;
    }

    .gray-section > .dark.gray-bottom.generated-code-panel {
        height: 250px;
    }
}

/* Generated code feature list */
.gray-top .feature-list {
    margin-bottom: 0;
}

.gray-top .feature-list li:last-child {
    margin-bottom: 0;
}

/* Wizard feature overview */
.gray-section > .dark.gray-bottom.code-panel.wizard-demo-panel {
    padding: 0;
    overflow: hidden;
    background: #2b2b2b;
}

.wizard-demo-frame {
    display: block;
    width: 100%;
    height: 720px;
    border: 0;
    background: #2b2b2b;
}

.wizard-demo-toggle {
    padding: 22px 36px;
    color: #82e1d4;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.wizard-demo-toggle:hover {
    background: #333;
}

.wizard-demo-toggle:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: -5px;
}

.wizard-demo-panel[open] > .wizard-demo-toggle {
    border-bottom: 1px solid #484848;
}

@media (max-width: 650px) {
    .wizard-demo-toggle {
        padding: 20px;
    }

    .wizard-demo-frame {
        height: 600px;
    }
}

.wizard-section .wizard-heading {
    max-width: 900px;
    margin-bottom: 32px;
}

.wizard-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: min(360px, 75%);
    margin: 48px auto;
    color: #8da9a4;
}

.wizard-divider::before,
.wizard-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, currentColor);
}

.wizard-divider::after {
    transform: rotate(180deg);
}

.wizard-divider span {
    width: 5px;
    height: 5px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.wizard-divider span:nth-child(2) {
    width: 8px;
    height: 8px;
    background: currentColor;
}

.wizard-section .wizard-eyebrow {
    margin: 0 0 10px;
    color: #24796e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.wizard-section .wizard-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.2;
    letter-spacing: -.5px;
    text-wrap: balance;
}

.wizard-heading h2 span {
    color: #24796e;
}

.wizard-section .wizard-summary {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    margin: 40px 0 44px;
    list-style: none;
}

.wizard-steps > li {
    position: relative;
    padding: 0 13px;
    text-align: center;
}

.wizard-steps > li::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: #b9d9d3;
}

.wizard-steps > li:last-child::before {
    display: none;
}

.wizard-steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 116px;
    right: -7px;
    width: 14px;
    height: 14px;
    border-top: 2px solid #8da9a4;
    border-right: 2px solid #8da9a4;
    transform: rotate(45deg);
}

.wizard-step-number {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 20px;
    z-index: 1;
    border: 5px solid #d5e8e3;
    border-radius: 50%;
    background: #24796e;
    color: #fff;
    font-family: Inconsolata, 'Courier New', monospace;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: 0;
}

.wizard-step-illustration {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
    color: #24796e;
}

.wizard-step-illustration text {
    fill: currentColor;
    font-family: Inconsolata, 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
}

.wizard-steps h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.wizard-steps p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 650px) {
    .wizard-steps {
        grid-template-columns: minmax(0, 1fr);
        margin: 30px 0 34px;
    }

    .wizard-steps > li {
        padding: 0 0 28px 66px;
        min-height: 66px;
    }

    .wizard-steps > li:last-child {
        padding-bottom: 0;
    }

    .wizard-steps > li::after {
        display: none;
    }

    .wizard-steps > li::before {
        top: 23px;
        bottom: 0;
        left: 21px;
        width: 4px;
        height: auto;
    }

    .wizard-step-number {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }
}

.wizard-section .wizard-list-title {
    margin: 0 0 8px;
    font-size: 20px;
}

.wizard-features {
    padding: 0;
    margin: 0;
    list-style: none;
}

.wizard-features > li {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 28px;
    padding: 25px 0;
    border-top: 1px solid #dedede;
}

.wizard-features > li:last-child {
    padding-bottom: 0;
}

.wizard-features h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.wizard-features p {
    margin: 0 0 12px;
    color: #3c3c3c;
    line-height: 1.6;
}

.wizard-features p:last-child {
    margin-bottom: 0;
}

.wizard-features p code {
    padding: 1px 4px;
    border-radius: 4px;
    background: #e9eeec;
    color: #245c54;
}

.wizard-example {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #292929;
    color: #f2f2f2;
}

.wizard-example .wizard-example-label {
    margin: 0 0 12px;
    color: #c4d3d0;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
}

.wizard-example pre {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    tab-size: 2;
}

.wizard-http-method {
    color: #82e1d4;
    font-weight: 700;
}

@media (max-width: 900px) {
    .wizard-features > li {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .wizard-divider {
        margin: 32px auto;
    }

    .wizard-section .wizard-heading {
        margin-bottom: 26px;
    }

    .wizard-features > li {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 20px 0;
    }

    .wizard-example {
        padding: 15px;
    }

    .wizard-example pre {
        font-size: 13px;
    }
}

/* Wizard screenshot slider */
.generated-code-panel {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.biorn-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.biorn-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.biorn-slider-track > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease-in-out;
}

.biorn-slider-track > img.active {
    opacity: 1;
    pointer-events: auto;
}

.biorn-slider-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 8px 12px;
    border: 1px solid #aaa;
    border-radius: 8px;
    background: #292929;
    color: #fff;
    font: inherit;
    font-size: 14px;
    cursor: zoom-in;
}

.biorn-slider-zoom:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

.biorn-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 65px;
    height: 65px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.biorn-slider-arrow.prev {
    left: 35px;
}

.biorn-slider-arrow.next {
    right: 35px;
}

.biorn-slider-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.biorn-slider-arrow:hover {
    opacity: 0.8;
}

.biorn-slider-arrow:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
    border-radius: 50%;
}

@media (max-width: 650px) {
    .biorn-slider-arrow {
        width: 42px;
        height: 42px;
    }

    .biorn-slider-arrow.prev {
        left: 12px;
    }

    .biorn-slider-arrow.next {
        right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .biorn-slider-track > img {
        transition: none;
    }
}

/* Final content spacing and component sizes */
section {
    margin-bottom: 48px;
}

article {
    margin: 43px 0 51px;
}

.accent {
    margin-bottom: 36px;
}

.note {
    gap: 34px;
    margin-bottom: 38px;
}

.note>img {
    width: 130px;
}

.note h2 {
    font-size: 24px;
}

pre {
    font-size: 18px;
}

.http-methods {
    font-family: Inconsolata,'Courier New',monospace;
    line-height: 1.3;
}

.http-methods strong {
    color: #111;
    font-weight: 700;
}

.method-get {
    color: #22cb44;
}

.method-patch {
    color: #4aa9f5;
}

.method-delete {
    color: #ff3636;
}

.http-methods {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* University example and one-time lightbulb illumination */
#highlights > .accent {
    color: #d9bb2e;
}

#highlights.is-lighting > .accent {
    color: #090909;
    transition: color 1.4s ease-out;
}

#highlights.is-lighting.is-lit > .accent {
    color: #d9bb2e;
}

.note > .highlight-bulb {
    position: relative;
    isolation: isolate;
    flex-shrink: 0;
    width: 110px;
}

.highlight-bulb img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 1.4s ease-out;
}

.highlight-bulb .highlight-bulb-on {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.highlight-bulb.is-lit img {
    opacity: 0;
}

.highlight-bulb.is-lit .highlight-bulb-on {
    opacity: 1;
}

.note .http-methods {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px 48px;
    max-width: 100%;
    padding: 15px 20px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    background: #f7f7f7;
    font-size: 19px;
    line-height: 1.5;
}

.note .http-methods > code {
    white-space: nowrap;
}

@media (max-width: 650px) {
    .note > .highlight-bulb {
        width: 60px;
    }

    .note .http-methods {
        padding: 12px 14px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #highlights.is-lighting > .accent {
        transition: none;
    }

    .highlight-bulb img {
        transition: none;
    }
}

.split {
    border-radius: 29px;
}

.split>div:not(.dark), .split.reverse>div:not(.dark) {
    padding: 32px 38px;
}

.code-panel {
    padding: 30px 36px;
}

.gray-section {
    background: var(--panel);
    border-radius: 29px;
    padding: 30px 38px 35px;
}

.gray-section .diagram {
    margin-top: 23px;
}

.feather-section {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    grid-template-columns: 310px 1fr;
}

.feather-section>div:not(.dark) {
    padding: 16px 20px;
}

.feather img {
    width: 260px;
}

.feature-card {
    padding: 30px 36px;
    margin-top: 25px;
}

.feature-card h3 {
    font-size: 21px;
    color: white;
    margin-bottom: 18px;
}

.fine {
    font-size: 15px;
}

p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) and (min-width: 651px) {
    .container {
        padding-inline: 30px;
    }

    body {
        font-size: 16px;
    }

    .split>div:not(.dark),.split.reverse>div:not(.dark) {
        padding: 24px;
    }

    h2 {
        font-size: 25px;
    }
}

@media (max-width: 650px) {
    body {
        font-size: 15px;
    }

    .container {
        padding-inline: 17px;
    }

    .hero {
        padding: 27px 15px 23px;
    }

    .hero img {
        width: 190px;
    }

    .tagline {
        font-size: 14px;
    }

    .intro {
        padding: 20px 21px 20px 31px;
        font-size: 15px;
        margin: 23px auto 30px;
        border-radius: 20px;
    }

    .intro::before {
        width: 11px;
        border-radius: 20px 0 0 20px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 18px;
    }

    .note {
        gap: 15px;
    }

    .note>img {
        width: 60px;
    }

    .note h2 {
        font-size: 18px;
    }

    .split>div:not(.dark),.split.reverse>div:not(.dark) {
        padding: 22px 20px;
    }

    .gray-section {
        padding: 22px 20px;
        border-radius: 20px;
    }

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

    .feather-section>div:not(.dark) {
        padding: 10px 0;
    }

    pre {
        font-size: 13px;
    }

    .feature-card {
        padding: 21px 18px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .fine {
        font-size: 12px;
    }
}

/* Joined light and dark content panels */
.gray-section {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 29px;
}

.gray-section .gray-top {
    background: var(--panel);
    padding: 30px 38px 35px;
    border-radius: 29px 29px 0 0;
}

.gray-section>.dark.gray-bottom {
    margin: 0;
    border-radius: 0 0 29px 29px;
    width: 100%;
}

.gray-section>.dark.gray-bottom.diagram {
    padding: 30px 36px;
}

.gray-section>.dark.gray-bottom.code-panel {
    padding: 30px 36px;
}

@media (max-width: 650px) {
    .gray-section {
        border-radius: 20px;
    }

    .gray-section .gray-top {
        padding: 22px 20px;
        border-radius: 20px 20px 0 0;
    }

    .gray-section>.dark.gray-bottom {
        border-radius: 0 0 20px 20px;
    }

    .gray-section>.dark.gray-bottom.diagram,.gray-section>.dark.gray-bottom.code-panel {
        padding: 20px 17px;
    }
}

/* OpenAPI layout */
.split.openapi-section {
    grid-template-columns: 77% 23%;
}

@media (max-width: 650px) {
    .split.openapi-section {
        grid-template-columns: 1fr;
    }
}

/* Contact footer layout */
footer {
    padding: 62px 20px 24px;
    text-align: left;
}

/* Contact form */
.contact-wrap {
    max-width: 880px;
    margin: 0 auto 54px;
}

.contact-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.contact-heading img {
    width: 76px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    opacity: .95;
}

.contact-heading h2 {
    color: #fff;
    margin: 0 0 8px;
}

.contact-heading p {
    color: #ccc;
    font-size: 17px;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 22px;
    row-gap: 17px;
}

.contact-field.full {
    grid-column: 1/-1;
}

.contact-field label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #f2f2f2;
    margin-bottom: 8px;
}

.contact-field label span {
    color: var(--teal);
}

.contact-field input {
    display: block;
    width: 100%;
    height: 51px;
    border: 2px solid #626262;
    background: #383838;
    color: white;
    border-radius: 11px;
    padding: 12px 15px;
    font: 17px Arial,Helvetica,sans-serif;
    transition: border-color .18s,background .18s;
}

.contact-field input:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-color: var(--teal);
}

.contact-field input.invalid {
    border-color: #ff9696;
    background: #422f31;
}

.field-error {
    display: block;
    min-height: 20px;
    color: #ffb2b2;
    font-size: 13px;
    margin-top: 5px;
}

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

.contact-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    min-width: 180px;
    padding: 13px 25px;
    border: 0;
    border-radius: 11px;
    background: var(--teal);
    color: #192b29;
    font: 700 17px Arial,Helvetica,sans-serif;
    cursor: pointer;
    transition: filter .2s;
}

.contact-submit:hover:not(:disabled) {
    filter: brightness(1.1);
}

.contact-submit:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

.contact-submit:disabled {
    opacity: .72;
    cursor: wait;
}

.submit-spinner {
    display: none;
    width: 19px;
    height: 19px;
    border: 3px solid #235f58;
    border-top-color: transparent;
    border-radius: 50%;
    animation: contact-spin .7s linear infinite;
}

.contact-submit.is-loading .submit-spinner {
    display: inline-block;
}

@keyframes contact-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-status {
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
}

.contact-status.success {
    color: #a5ebbc;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.contact-status.success::before {
    content: '✓';
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #238e56;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.contact-status.error {
    color: #ffb2b2;
}

/* Footer copyright */
.footer-copy {
    text-align: center;
    color: #bbb;
    border-top: 1px solid #444;
    padding-top: 24px;
    margin: 0;
    font-size: 17px;
}

@media (max-width: 650px) {
    footer {
        padding: 42px 17px 20px;
    }

    .contact-heading {
        gap: 16px;
    }

    .contact-heading img {
        width: 59px;
    }

    .contact-heading h2 {
        font-size: 25px;
    }

    .contact-heading p {
        font-size: 14px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .contact-field.full {
        grid-column: auto;
    }

    .contact-field input {
        font-size: 16px;
    }

    .contact-wrap {
        margin-bottom: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .submit-spinner {
        animation-duration: 2s;
    }
}

/* Integrated user management */
.user-management-section > .user-management-diagram {
    border-radius: 0;
    margin-top: 0;
}

.user-management-section .user-management-intro {
    margin-bottom: 24px;
}

.user-management-section .user-management-diagram > img {
    width: 100%;
    max-width: 950px;
    height: auto;
    margin: 0 auto 30px;
}

.user-management-section .user-management-diagram ul,
.user-management-section .user-management-roles ul {
    padding-left: 24px;
    margin: 12px 0 24px;
}

.user-management-section .user-management-diagram li,
.user-management-section .user-management-roles li {
    margin: 0 0 14px;
}

.user-management-section .user-management-diagram p:last-child,
.user-management-section .user-management-roles p:last-child {
    margin-bottom: 0;
}

.user-management-section .user-management-divider {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 94px;
    padding: 23px 38px 23px 90px;
    background: var(--panel);
    color: #090909;
}

.user-management-section .user-management-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 47px solid transparent;
    border-bottom: 47px solid transparent;
    border-left: 62px solid var(--ink);
}

.user-management-section .user-management-divider p {
    margin: 0;
}

.user-management-section > .user-management-roles {
    padding: 30px 36px 35px;
    border-radius: 0 0 29px 29px;
}

.user-management-section .user-management-roles pre {
    margin: 18px 0 24px;
}

.user-management-section > .dark.gray-bottom.diagram {
    border-radius: 0;
}

@media (max-width: 650px) {
    .user-management-section .user-management-diagram > img {
        margin-bottom: 22px;
    }

    .user-management-section .user-management-divider {
        min-height: 76px;
        padding: 18px 20px 18px 59px;
    }

    .user-management-section .user-management-divider::before {
        top: 50%;
        transform: translateY(-50%);
        border-top-width: 30px;
        border-bottom-width: 30px;
        border-left-width: 40px;
    }

    .user-management-section > .user-management-roles {
        padding: 20px 17px 24px;
        border-radius: 0 0 20px 20px;
    }
}

/* Guided overview: model → database → generated resources → API requests. */
.build-journey { margin: 62px 0 76px; }
.journey-heading { max-width: 650px; margin-bottom: 28px; }
.journey-eyebrow { color: #3f7e73; font-size: 12px; font-weight: 700; letter-spacing: .1em; margin: 0 0 12px; }
.journey-heading h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.12; margin: 0 0 15px; font-weight: 700; }
.journey-heading > p:last-child { color: #666; line-height: 1.5; margin: 0; }
.journey-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.journey-tabs button { appearance: none; text-align: left; font: inherit; color: #555; background: #f5f5f5; border: 1px solid #ddd; border-radius: 13px; padding: 17px 13px; cursor: pointer; min-width: 0; transition: background .15s, border-color .15s; }
.journey-tabs button > span { display: block; font-size: 13px; font-weight: 700; color: #666; margin-bottom: 13px; }
.journey-tabs strong { display: block; font-size: 15px; line-height: 1.25; }
.journey-tabs small { display: block; font-size: 11px; line-height: 1.4; margin-top: 6px; }
.journey-tabs button:hover { background: #edf6f4; border-color: #63c5b4; }
.journey-tabs button[aria-selected="true"] { background: #f7f2d7; border-color: #cdba39; color: #333; box-shadow: inset 0 3px #cdba39; }
.journey-tabs button:focus-visible, .journey-panel:focus-visible { outline: 3px solid #3f7e73; outline-offset: 4px; }
.journey-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #ddd; border-radius: 20px; overflow: hidden; background: #fafafa; }
#journey-panel-1 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.journey-panel[hidden] { display: none; }
.journey-panel + .journey-panel { margin-top: 16px; }
.journey-enhanced .journey-panel { margin-top: 0; }
.journey-copy { padding: 30px 26px; }
.journey-copy h3 { font-size: 25px; line-height: 1.16; margin: 0 0 20px; }
.journey-copy > p:not(.journey-eyebrow) { font-size: 15px; line-height: 1.55; margin: 0 0 17px; }
.journey-copy > p.journey-note { font-size: 12px; color: #666; border-top: 1px solid #ddd; padding-top: 16px; margin: 22px 0 0; }
.journey-visual { background: #292929; color: #f5f5f5; padding: 27px 23px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.journey-visual-label { display: block; font-size: 10px; letter-spacing: .08em; color: #ccc; margin-bottom: 25px; line-height: 1.5; }
.journey-visual code { font-family: Inconsolata, monospace; background: transparent; color: inherit; padding: 0; }
.journey-model { background: #292929; color: #f5f5f5; padding: 27px 20px; }
.journey-model .journey-visual-label { color: #ccc; }
.journey-model-viewport { border: 0; background: #292929; }
.journey-model-viewport:focus-visible { outline: 3px solid #3f7e73; outline-offset: 3px; }
.journey-model-viewport .journey-model-svg { display: block; width: 100%; max-width: 100%; height: auto; cursor: zoom-in; }
.journey-model-caption { text-align: center; font-size: 12px; line-height: 1.5; color: #ccc; margin: 14px 0 0; }
.journey-model-caption a { color: #ccc; text-decoration: underline; }
.journey-schema > div { background: #333; border: 1px solid #999; border-radius: 9px; overflow: hidden; }
.journey-schema strong { display: block; padding: 10px 15px; border-bottom: 1px solid #999; }
.journey-schema code { display: block; padding: 6px 15px; font-size: 13px; }
.journey-schema .journey-key { color: #63c5b4; }
.journey-schema > span { display: block; text-align: center; color: #63c5b4; padding: 6px; }
.journey-checklist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.journey-checklist span { font-size: 11px; background: #444; padding: 6px 9px; border-radius: 5px; }
.journey-visual .journey-visual-foot { color: #ccc; font-size: 12px; line-height: 1.5; margin: 22px 0 0; }
.journey-config > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid #666; font-size: 12px; line-height: 1.5; }
.journey-config strong { color: #ccc; font-size: 11px; }
.journey-config-note { font-size: 11px; color: #ccc; line-height: 1.5; }
.journey-generated { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 10px; }
.journey-generated > span { color: #63c5b4; font-size: 25px; }
.journey-generated > strong { border: 1px solid #63c5b4; border-radius: 8px; padding: 13px 25px; color: #63c5b4; }
.journey-generated > code { font-size: 12px; }
.journey-requests > div { margin-bottom: 18px; }
.journey-requests small { color: #ccc; font-size: 12px; }
.journey-requests pre { margin: 8px 0 0; padding: 13px; background: #222; border: 1px solid #666; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.65; }
.journey-requests b { color: #63c5b4; }
@media (max-width: 640px) {
    .journey-tabs { grid-template-columns: 1fr 1fr; }
    .journey-tabs button { padding: 13px; }
    .journey-tabs button > span { margin-bottom: 6px; }
    .journey-panel { grid-template-columns: 1fr; }
    #journey-panel-1 { grid-template-columns: 1fr; }
    .journey-copy, .journey-visual { padding: 25px 20px; }
    .build-journey { margin-top: 45px; }
}
@media (min-width: 641px) and (max-width: 900px) {
    #journey-panel-1 { grid-template-columns: 1fr; }
    #journey-panel-1 .journey-copy { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .journey-tabs button { transition: none; }
}

/* Presentation controls stay with the component in native fullscreen. */
.journey-toolbar { display: flex; align-items: center; gap: 18px; margin: 0 0 16px; }
.journey-toolbar[hidden], .journey-toolbar button[hidden] { display: none; }
.journey-presentation-hint { font-size: 12px; color: #666; margin-right: auto; }
.journey-presentation-nav { display: flex; align-items: center; gap: 12px; }
.journey-toolbar button { font: inherit; font-size: 13px; border: 1px solid #ccc; border-radius: 8px; padding: 9px 12px; background: #f5f5f5; color: #3f7e73; cursor: pointer; }
.journey-toolbar button:disabled { opacity: .35; cursor: default; }
.journey-toolbar button:focus-visible { outline: 3px solid #3f7e73; outline-offset: 3px; }
.journey-toolbar .journey-fullscreen { display: flex; gap: 9px; align-items: center; }
.journey-step-status { font-size: 12px; color: #666; min-width: 30px; text-align: center; }
.journey-fullscreen-status:empty { display: none; }
.build-journey:fullscreen { width: 100%; height: 100%; margin: 0; padding: 24px 32px; background: #fff; display: flex; flex-direction: column; overflow: auto; }
.build-journey:fullscreen .journey-heading { display: none; }
.build-journey:fullscreen .journey-toolbar { flex-shrink: 0; }
.build-journey:fullscreen .journey-presentation-hint { font-size: 14px; }
.build-journey:fullscreen .journey-tabs { flex-shrink: 0; }
.build-journey:fullscreen .journey-tabs button { padding: 12px 16px; }
.build-journey:fullscreen .journey-tabs button > span { margin-bottom: 5px; }
.build-journey:fullscreen .journey-tabs small { display: none; }
.build-journey:fullscreen .journey-panels { flex: 1; min-height: 0; }
.build-journey:fullscreen .journey-panel:not([hidden]) { height: 100%; min-height: 0; }
.build-journey:fullscreen #journey-panel-1 { grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr); }
.build-journey:fullscreen .journey-visual { min-height: 0; }
.build-journey:fullscreen .journey-model-viewport { flex: 1; min-height: 0; border: 0; }
.build-journey:fullscreen .journey-model-svg { height: 100%; width: 100%; object-fit: contain; }
.build-journey:fullscreen .journey-model .journey-visual-label { margin-bottom: 12px; }
@media (max-width: 640px) {
    .journey-presentation-hint { display: none; }
    .journey-toolbar { justify-content: space-between; }
    .build-journey:fullscreen { padding: 12px; }
    .build-journey:fullscreen #journey-panel-1 { grid-template-columns: 1fr; }
    .build-journey:fullscreen .journey-panel:not([hidden]) { height: auto; }
    .build-journey:fullscreen .journey-model-svg { height: auto; }
}

/* Illustrated steps, in the same visual language as the Wizard illustrations. */
.journey-tabs { gap: 12px; }
.journey-tabs button { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 15px; padding: 22px 16px 16px; border-radius: 16px; background: #f5f5f5; }
.journey-tabs button > .journey-step-number { position: absolute; top: 9px; left: 12px; margin: 0; font-size: 10px; letter-spacing: .08em; color: #666; }
.journey-tab-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 96px; height: 70px; color: #63c5b4; transition: transform .18s ease; }
.journey-tabs strong { grid-column: 2; align-self: end; }
.journey-tabs small { grid-column: 2; align-self: start; color: #666; }
.journey-tabs button:hover .journey-tab-icon { transform: translateY(-2px); }
.journey-tabs button[aria-selected="true"] { background: #f7f2d7; border-color: #cdba39; box-shadow: inset 0 -3px #cdba39, 0 3px 10px #29292910; }
.journey-tabs button[aria-selected="true"] > .journey-step-number { color: #3f7e73; }
.build-journey:fullscreen .journey-tabs button { grid-template-columns: 74px minmax(0, 1fr); grid-template-rows: 1fr; padding: 13px 16px; }
.build-journey:fullscreen .journey-tab-icon { width: 74px; height: 54px; grid-row: 1; }
.build-journey:fullscreen .journey-tabs strong { grid-column: 2; align-self: center; text-align: left; }
.build-journey:fullscreen .journey-tabs button > .journey-step-number { margin: 0; top: 5px; left: 8px; font-size: 9px; }
@media (min-width: 641px) and (max-width: 1000px) {
    .journey-tabs button { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 5px; }
    .journey-tab-icon { grid-row: 1; justify-self: center; }
    .journey-tabs strong, .journey-tabs small { grid-column: 1; text-align: center; }
}
@media (max-width: 640px) {
    .journey-tabs { gap: 8px; }
    .journey-tabs button { grid-template-columns: 52px minmax(0, 1fr); column-gap: 9px; padding: 19px 10px 12px; }
    .journey-tab-icon { width: 52px; height: 48px; }
    .journey-tabs strong { font-size: 12px; }
    .journey-tabs small { font-size: 10px; }
    .build-journey:fullscreen .journey-tabs button { grid-template-columns: 40px minmax(0, 1fr); padding: 13px 8px; gap: 7px; }
    .build-journey:fullscreen .journey-tab-icon { width: 40px; height: 35px; }
}
@media (prefers-reduced-motion: reduce) {
    .journey-tab-icon { transition: none; }
    .journey-tabs button:hover .journey-tab-icon { transform: none; }
}

/* Joined arrow tabs express the progression between development steps. */
.journey-tabs { gap: 0; border: 1px solid #ccc; border-radius: 15px; background: #fff; }
.journey-tabs button { --step-fill: #f5f5f5; background: var(--step-fill); border: 0; border-radius: 0; padding-left: 32px; padding-right: 18px; box-shadow: none; }
.journey-tabs button:first-child { padding-left: 16px; border-radius: 14px 0 0 14px; z-index: 4; }
.journey-tabs button:nth-child(2) { z-index: 3; }
.journey-tabs button:nth-child(3) { z-index: 2; }
.journey-tabs button:last-child { border-radius: 0 14px 14px 0; z-index: 1; }
.journey-tabs button:not(:last-child)::before,
.journey-tabs button:not(:last-child)::after { content: ''; position: absolute; top: 0; height: 100%; pointer-events: none; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.journey-tabs button:not(:last-child)::before { right: -25px; width: 25px; background: #fff; }
.journey-tabs button:not(:last-child)::after { right: -20px; width: 21px; background: var(--step-fill); }
.journey-tabs button:hover { --step-fill: #edf6f4; background: var(--step-fill); }
.journey-tabs button[aria-selected="true"] { --step-fill: #f7f2d7; background: var(--step-fill); box-shadow: inset 0 -3px #cdba39; }
.journey-tabs button:focus-visible { outline: 3px solid #3f7e73; outline-offset: -4px; }
.journey-tabs button > .journey-step-number { left: 31px; }
.journey-tabs button:first-child > .journey-step-number { left: 12px; }
.build-journey:fullscreen .journey-tabs button { padding-left: 32px; padding-right: 18px; }
.build-journey:fullscreen .journey-tabs button:first-child { padding-left: 16px; }
.build-journey:fullscreen .journey-tabs button > .journey-step-number { left: 31px; }
.build-journey:fullscreen .journey-tabs button:first-child > .journey-step-number { left: 12px; }
@media (max-width: 640px) {
    .journey-tabs { row-gap: 7px; border: 0; background: transparent; }
    .journey-tabs button { padding-left: 25px; padding-right: 8px; }
    .journey-tabs button:nth-child(odd) { border-radius: 12px 0 0 12px; padding-left: 10px; }
    .journey-tabs button:nth-child(even) { border-radius: 0 12px 12px 0; }
    .journey-tabs button:nth-child(2)::before, .journey-tabs button:nth-child(2)::after { display: none; }
    .journey-tabs button > .journey-step-number { left: 25px; }
    .journey-tabs button:nth-child(odd) > .journey-step-number { left: 10px; }
    .build-journey:fullscreen .journey-tabs button { padding-left: 25px; padding-right: 8px; }
    .build-journey:fullscreen .journey-tabs button:nth-child(odd) { padding-left: 10px; }
    .build-journey:fullscreen .journey-tabs button > .journey-step-number { left: 25px; }
    .build-journey:fullscreen .journey-tabs button:nth-child(odd) > .journey-step-number { left: 10px; }
}

/* Trial: the step strip and its content share one continuous outer frame. */
.journey-tabs { margin-bottom: 0; border-radius: 18px 18px 0 0; border-bottom: 0; }
.journey-tabs button:first-child { border-radius: 17px 0 0 0; }
.journey-tabs button:last-child { border-radius: 0 17px 0 0; }
.journey-panels > .journey-panel { border-radius: 0 0 18px 18px; border-color: #ccc; }
@media (max-width: 640px) {
    .journey-tabs { row-gap: 0; border: 1px solid #ccc; border-bottom: 0; background: #fff; }
    .journey-tabs button:nth-child(odd), .journey-tabs button:nth-child(even) { border-radius: 0; }
    .journey-tabs button:first-child { border-radius: 17px 0 0 0; }
    .journey-tabs button:nth-child(2) { border-radius: 0 17px 0 0; }
    .journey-tabs button:nth-child(n+3) { border-top: 1px solid #ccc; }
}

/* Give the arrow joins a clear contour against the pale step backgrounds. */
.journey-tabs button:not(:last-child)::before {
    right: -21px;
    width: 22px;
    z-index: 2;
    clip-path: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 100' preserveAspectRatio='none'%3E%3Cpath d='M.5 0 20.5 50 .5 100' fill='none' stroke='%23ccc' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.journey-tabs button:not(:last-child)::after { right: -20px; width: 21px; }

/* The example introduction leads directly into its guided presentation. */
.university-example { margin-top: 58px; }
.university-example .note { margin-bottom: 0; }
.university-example + .build-journey { margin-top: 32px; }
@media (max-width: 640px) {
    .university-example { margin-top: 36px; }
    .university-example + .build-journey { margin-top: 24px; }
    .build-journey:fullscreen .journey-presentation-hint { display: inline; font-size: 11px; }
    .build-journey:fullscreen .journey-toolbar { gap: 8px; flex-wrap: wrap; }
}

/* Frame the bulb introduction with the existing three-dot divider. */
.university-example { display: flow-root; margin-top: 0; }
.university-example > .wizard-divider { margin: 40px auto; }
.university-example > .wizard-divider:last-child { margin-top: 60px; }
.university-example + .build-journey { margin-top: 0; }
@media (max-width: 640px) {
    .university-example > .wizard-divider { margin: 28px auto; }
    .university-example > .wizard-divider:last-child { margin-top: 42px; }
}
