:root,
:root[data-theme="light"] {
    color-scheme: light;
    --gh-canvas: #ffffff;
    --gh-surface: #ffffff;
    --gh-surface-raised: #ffffff;
    --gh-subtle: #ffffff;
    --gh-text: #090909;
    --gh-text-strong: #000000;
    --gh-muted: #5f5f5f;
    --gh-border: #e2e2e2;
    --gh-border-strong: #c9c9c9;
    --gh-red: #c51f32;
    --gh-red-strong: #a91628;
    --gh-red-soft: #fff1f3;
    --gh-gold: #d6a12e;
    --gh-gold-strong: #a9780d;
    --gh-gold-soft: #fff8e8;
    --gh-success: #19724b;
    --gh-success-soft: #edf9f3;
    --gh-danger: #a82431;
    --gh-danger-soft: #fff1f2;
    --gh-shadow: 0 16px 48px rgba(0, 0, 0, .08);
    --gh-focus: 0 0 0 3px rgba(197, 31, 50, .22);
}

/* Goldenheart shared hybrid demo application. */
.gh-demo {
    min-height: calc(100dvh - 7rem);
    overflow: hidden;
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    border-radius: 1.4rem;
    background: var(--gh-canvas);
    box-shadow: var(--gh-shadow);
}

.gh-demo-topbar {
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--gh-border);
    background: var(--gh-surface);
}

.gh-demo-brand,
.gh-demo-brand > span,
.gh-demo-profile,
.gh-demo-profile > div,
.gh-demo-sidebar-note,
.gh-demo-security > div {
    display: flex;
    align-items: center;
}

.gh-demo-brand {
    gap: .7rem;
    color: var(--gh-text-strong);
    text-decoration: none;
}

.gh-demo-brand img {
    width: 2.85rem;
    height: 2.85rem;
    object-fit: contain;
}

.gh-demo-brand > span,
.gh-demo-profile > div,
.gh-demo-sidebar-note > span,
.gh-demo-security span {
    align-items: flex-start;
    flex-direction: column;
}

.gh-demo-brand strong {
    font-family: Georgia, serif;
    font-size: 1.08rem;
}

.gh-demo-brand small,
.gh-demo-profile small,
.gh-demo-sidebar-note small,
.gh-demo-security small {
    color: var(--gh-muted);
    font-size: .62rem;
}

.gh-demo-topbar-actions,
.gh-demo-live,
.gh-demo-hero-chips,
.gh-demo-hero-chips span {
    display: flex;
    align-items: center;
}

.gh-demo-topbar-actions,
.gh-demo-hero-chips {
    gap: .5rem;
}

.gh-demo-live,
.gh-demo-organization,
.gh-demo-hero-chips span {
    min-height: 2rem;
    padding: .35rem .6rem;
    border: 1px solid var(--gh-border);
    border-radius: 999px;
    background: var(--gh-surface);
    font-size: .62rem;
    font-weight: 800;
}

.gh-demo-live {
    gap: .4rem;
    color: var(--gh-success);
}

.gh-demo-live i {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
}

.gh-demo-organization {
    color: var(--gh-gold-strong);
}

.gh-demo-shell {
    min-height: calc(100dvh - 11.5rem);
    display: grid;
    grid-template-columns: 15.5rem minmax(0, 1fr);
}

.gh-demo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-right: 1px solid var(--gh-border);
    background: var(--gh-surface);
}

.gh-demo-profile {
    gap: .65rem;
    padding: .7rem;
    border: 1px solid var(--gh-border);
    border-radius: .9rem;
    background: var(--gh-canvas);
}

.gh-demo-profile > span {
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: .72rem;
    background: linear-gradient(145deg, var(--gh-red), var(--gh-gold-strong));
    font-size: .72rem;
    font-weight: 850;
}

.gh-demo-profile strong,
.gh-demo-sidebar-note strong {
    color: var(--gh-text-strong);
    font-size: .7rem;
}

.gh-demo-personas,
.gh-demo-nav-links {
    display: grid;
    gap: .4rem;
}

.gh-demo-personas button {
    width: 100%;
    min-height: 3.4rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .7rem;
    color: var(--gh-muted);
    border: 1px solid transparent;
    border-radius: .85rem;
    background: transparent;
    text-align: left;
}

.gh-demo-personas button:hover,
.gh-demo-personas button.is-active {
    color: var(--gh-text-strong);
    border-color: color-mix(in srgb, var(--gh-red) 24%, var(--gh-border));
    background: var(--gh-red-soft);
}

.gh-demo-personas button.is-active {
    box-shadow: inset 3px 0 0 var(--gh-red);
}

.gh-demo-personas button > span {
    min-width: 0;
    display: grid;
}

.gh-demo-personas strong {
    font-size: .7rem;
}

.gh-demo-personas small {
    overflow: hidden;
    color: var(--gh-muted);
    font-size: .57rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gh-demo-nav-links {
    padding-top: .8rem;
    border-top: 1px solid var(--gh-border);
}

.gh-demo-nav-links a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .7rem;
    color: var(--gh-muted);
    border-radius: .75rem;
    font-size: .68rem;
    font-weight: 750;
    text-decoration: none;
}

.gh-demo-nav-links a:hover,
.gh-demo-nav-links a.is-active {
    color: var(--gh-red);
    background: var(--gh-red-soft);
}

.gh-demo-sidebar-note {
    gap: .6rem;
    margin-top: auto;
    padding: .75rem;
    color: var(--gh-success);
    border: 1px solid color-mix(in srgb, var(--gh-success) 25%, var(--gh-border));
    border-radius: .85rem;
    background: var(--gh-success-soft);
}

.gh-demo-main {
    min-width: 0;
    padding: 1rem;
}

.gh-demo-hero {
    min-height: 13rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2.4rem);
    border: 1px solid var(--gh-border);
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--gh-gold) 22%, transparent), transparent 19rem),
        radial-gradient(circle at 5% 110%, color-mix(in srgb, var(--gh-red) 11%, transparent), transparent 18rem),
        var(--gh-surface);
}

.gh-demo-eyebrow {
    color: var(--gh-red);
    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gh-demo-hero h1 {
    margin: .45rem 0 .55rem;
    color: var(--gh-text-strong);
    font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 760;
    letter-spacing: -.045em;
}

.gh-demo-hero p {
    max-width: 48rem;
    margin: 0;
    color: var(--gh-muted);
    font-size: .8rem;
    line-height: 1.65;
}

.gh-demo-hero-chips {
    flex-wrap: wrap;
    margin-top: 1rem;
}

.gh-demo-hero-chips span {
    gap: .35rem;
    color: var(--gh-text);
}

.gh-demo-hero-art {
    position: relative;
    width: 10rem;
    height: 10rem;
    flex: 0 0 auto;
}

.gh-demo-hero-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gh-demo-hero-art > span {
    position: absolute;
    z-index: 2;
    right: -.2rem;
    bottom: .4rem;
    width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    color: var(--gh-red);
    border: 1px solid var(--gh-gold);
    border-radius: 1.2rem;
    background: var(--gh-surface);
    box-shadow: var(--gh-shadow);
}

.gh-demo-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .75rem;
}

.gh-demo-metrics article {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .9rem;
    border: 1px solid var(--gh-border);
    border-radius: 1rem;
    background: var(--gh-surface);
}

.gh-demo-metrics article > span,
.gh-demo-focus-icon,
.gh-demo-feature-grid article > span {
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--gh-red);
    border: 1px solid color-mix(in srgb, var(--gh-gold) 55%, var(--gh-border));
    border-radius: .72rem;
    background: var(--gh-gold-soft);
}

.gh-demo-metrics small,
.gh-demo-metrics strong,
.gh-demo-metrics p {
    display: block;
}

.gh-demo-metrics small {
    color: var(--gh-muted);
    font-size: .57rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gh-demo-metrics strong {
    margin: .1rem 0;
    color: var(--gh-text-strong);
    font-size: 1.45rem;
}

.gh-demo-metrics p {
    overflow: hidden;
    margin: 0;
    color: var(--gh-muted);
    font-size: .58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gh-demo-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: .75rem;
    margin-top: .75rem;
}

.gh-demo-panel {
    padding: 1rem;
    border: 1px solid var(--gh-border);
    border-radius: 1rem;
    background: var(--gh-surface);
}

.gh-demo-panel-heading {
    min-height: 2.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.gh-demo-panel-heading h2 {
    margin: .1rem 0 0;
    color: var(--gh-text-strong);
    font-size: 1.05rem;
    font-weight: 760;
}

.gh-demo-panel-heading > span {
    color: var(--gh-muted);
    font-size: .62rem;
}

.gh-demo-focus-grid,
.gh-demo-side-stack {
    display: grid;
    gap: .65rem;
}

.gh-demo-focus-grid article {
    min-height: 5rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    border: 1px solid var(--gh-border);
    border-radius: .85rem;
    background: var(--gh-canvas);
}

.gh-demo-focus-grid strong,
.gh-demo-focus-grid p,
.gh-demo-focus-grid small {
    display: block;
}

.gh-demo-focus-grid strong {
    color: var(--gh-text-strong);
    font-size: .72rem;
}

.gh-demo-focus-grid p {
    margin: .2rem 0;
    color: var(--gh-muted);
    font-size: .61rem;
    line-height: 1.45;
}

.gh-demo-focus-grid small {
    color: var(--gh-muted);
    font-size: .56rem;
}

.gh-demo-state {
    padding: .35rem .5rem;
    border-radius: 999px;
    font-size: .55rem;
    font-weight: 850;
    white-space: nowrap;
}

.gh-demo-state.is-ready {
    color: var(--gh-success);
    background: var(--gh-success-soft);
}

.gh-demo-state.is-review {
    color: var(--gh-gold-strong);
    background: var(--gh-gold-soft);
}

.gh-demo-state.is-attention {
    color: var(--gh-red);
    background: var(--gh-red-soft);
}

.gh-demo-chart {
    height: 7.2rem;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: .4rem;
    padding: .4rem .2rem 0;
    border-bottom: 1px solid var(--gh-border);
}

.gh-demo-chart > span {
    height: 100%;
    display: flex;
    align-items: flex-end;
    border-radius: .5rem .5rem 0 0;
    background: var(--gh-canvas);
}

.gh-demo-chart i {
    width: 100%;
    height: var(--gh-demo-bar);
    border-radius: .5rem .5rem 0 0;
    background: linear-gradient(180deg, var(--gh-red), var(--gh-gold));
}

.gh-demo-chart-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .4rem;
    margin-top: .35rem;
    color: var(--gh-muted);
    font-size: .52rem;
    text-align: center;
}

.gh-demo-quick-panel > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.gh-demo-quick-panel button {
    min-height: 4rem;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .3rem;
    padding: .5rem;
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    border-radius: .75rem;
    background: var(--gh-canvas);
    font-size: .58rem;
    font-weight: 750;
}

.gh-demo-quick-panel button:hover {
    color: var(--gh-red);
    border-color: var(--gh-gold);
}

.gh-demo-feature-panel {
    margin-top: .75rem;
}

.gh-demo-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.gh-demo-feature-grid article {
    min-width: 0;
    min-height: 9.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: .8rem;
    border: 1px solid var(--gh-border);
    border-radius: .85rem;
    background: var(--gh-canvas);
}

.gh-demo-feature-grid strong {
    display: block;
    margin-top: .65rem;
    color: var(--gh-text-strong);
    font-size: .68rem;
}

.gh-demo-feature-grid p {
    margin: .25rem 0 .55rem;
    color: var(--gh-muted);
    font-size: .58rem;
    line-height: 1.45;
}

.gh-demo-add-service,
.gh-demo-feature-form-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border-radius: .65rem;
    font-size: .57rem;
    font-weight: 800;
    text-decoration: none;
}

.gh-demo-add-service {
    min-height: 2.35rem;
    padding: .45rem .7rem;
    color: #fff;
    border: 1px solid var(--gh-red);
    background: var(--gh-red);
}

.gh-demo-feature-form-link {
    width: 100%;
    min-height: 2.25rem;
    margin: .15rem 0 .65rem;
    padding: .4rem .55rem;
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
}

.gh-demo-add-service:hover,
.gh-demo-feature-form-link:hover {
    color: var(--gh-red);
    border-color: var(--gh-gold);
    background: var(--gh-gold-soft);
}

.gh-demo-add-service:focus-visible,
.gh-demo-feature-form-link:focus-visible {
    outline: 0;
    box-shadow: var(--gh-focus);
}

.gh-demo-feature-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
}

.gh-demo-feature-grid small {
    color: var(--gh-red);
    font-size: .52rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gh-demo-feature-meta > span {
    max-width: 68%;
    color: var(--gh-muted);
    font-size: .5rem;
    line-height: 1.35;
    text-align: right;
}

.gh-demo-security {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .75rem;
}

.gh-demo-security > div {
    gap: .7rem;
    padding: .85rem;
    color: var(--gh-success);
    border: 1px solid color-mix(in srgb, var(--gh-success) 22%, var(--gh-border));
    border-radius: .9rem;
    background: var(--gh-success-soft);
}

.gh-demo-security strong {
    color: var(--gh-text-strong);
    font-size: .65rem;
}

.gh-demo-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem .2rem .1rem;
    color: var(--gh-muted);
    font-size: .57rem;
}

.gh-demo-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    color: #fff;
    border: 1px solid var(--gh-red);
    border-radius: .7rem;
    background: var(--gh-red);
    text-decoration: none;
}

/* Dedicated Add/Edit/Update service form; configuration never expands inline. */
.gh-service-form-shell {
    min-height: calc(100dvh - 7rem);
    overflow: hidden;
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    border-radius: 1.35rem;
    background: var(--gh-canvas);
    box-shadow: var(--gh-shadow);
}

.gh-service-form-header {
    position: relative;
    min-height: 13rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.4rem, 3vw, 2.6rem);
    border-bottom: 1px solid var(--gh-border);
    background:
        radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--gh-gold) 22%, transparent), transparent 18rem),
        radial-gradient(circle at 2% 112%, color-mix(in srgb, var(--gh-red) 10%, transparent), transparent 20rem),
        var(--gh-surface);
}

.gh-service-form-header h1 {
    margin: .45rem 0 .55rem;
    color: var(--gh-text-strong);
    font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 760;
    letter-spacing: -.045em;
}

.gh-service-form-header p {
    max-width: 48rem;
    margin: 0;
    color: var(--gh-muted);
    font-size: .78rem;
    line-height: 1.6;
}

.gh-service-form-header img {
    width: clamp(6.5rem, 11vw, 9rem);
    height: clamp(6.5rem, 11vw, 9rem);
    flex: 0 0 auto;
    object-fit: contain;
}

.gh-service-form-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    padding: .8rem 1rem 0;
}

.gh-service-form-context > span {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .15rem .55rem;
    align-items: center;
    padding: .75rem;
    color: var(--gh-red);
    border: 1px solid var(--gh-border);
    border-radius: .85rem;
    background: var(--gh-surface);
}

.gh-service-form-context .gh-icon {
    grid-row: 1 / 3;
}

.gh-service-form-context strong,
.gh-service-form-context small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gh-service-form-context strong {
    color: var(--gh-text-strong);
    font-size: .65rem;
}

.gh-service-form-context small {
    color: var(--gh-muted);
    font-size: .55rem;
}

.gh-service-form-message,
.gh-service-validation-summary {
    margin: .8rem 1rem 0;
    padding: .75rem .85rem;
    border-radius: .8rem;
    font-size: .65rem;
}

.gh-service-form-message {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--gh-success);
    border: 1px solid color-mix(in srgb, var(--gh-success) 28%, var(--gh-border));
    background: var(--gh-success-soft);
}

.gh-service-validation-summary {
    color: var(--gh-danger);
    border: 1px solid color-mix(in srgb, var(--gh-danger) 28%, var(--gh-border));
    background: var(--gh-danger-soft);
}

.gh-service-validation-summary:empty {
    display: none;
}

.gh-service-form-shell form {
    padding: 1rem;
}

.gh-service-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.gh-service-form-section {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--gh-border);
    border-radius: 1rem;
    background: var(--gh-surface);
}

.gh-service-form-section-heading {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .45rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--gh-border);
}

.gh-service-form-section-heading > span {
    width: 2.45rem;
    height: 2.45rem;
    display: grid;
    place-items: center;
    color: var(--gh-red);
    border: 1px solid color-mix(in srgb, var(--gh-gold) 55%, var(--gh-border));
    border-radius: .72rem;
    background: var(--gh-gold-soft);
}

.gh-service-form-section-heading h2,
.gh-service-form-section-heading p {
    margin: 0;
}

.gh-service-form-section-heading h2 {
    color: var(--gh-text-strong);
    font-size: .9rem;
    font-weight: 760;
}

.gh-service-form-section-heading p {
    margin-top: .12rem;
    color: var(--gh-muted);
    font-size: .57rem;
}

.gh-service-form-section > label,
.gh-service-platforms legend {
    margin: .65rem 0 .28rem;
    color: var(--gh-text-strong);
    font-size: .61rem;
    font-weight: 800;
}

.gh-service-form-section input[type="text"],
.gh-service-form-section select,
.gh-service-form-section textarea {
    width: 100%;
    min-height: 2.8rem;
    padding: .65rem .72rem;
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    border-radius: .7rem;
    outline: 0;
    background: var(--gh-canvas);
    font: inherit;
    font-size: .67rem;
}

.gh-service-form-section textarea {
    min-height: 5.6rem;
    resize: vertical;
    line-height: 1.5;
}

.gh-service-form-section input:focus,
.gh-service-form-section select:focus,
.gh-service-form-section textarea:focus {
    border-color: var(--gh-red);
    box-shadow: var(--gh-focus);
}

.gh-service-form-section .invalid {
    border-color: var(--gh-danger) !important;
}

.gh-service-form-section .validation-message {
    margin-top: .22rem;
    color: var(--gh-danger);
    font-size: .55rem;
}

.gh-service-platforms {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    margin: .65rem 0 0;
    padding: 0;
    border: 0;
}

.gh-service-platforms legend {
    grid-column: 1 / -1;
}

.gh-service-platforms label {
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .45rem;
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    border-radius: .65rem;
    background: var(--gh-canvas);
    font-size: .58rem;
    font-weight: 750;
}

.gh-service-platforms input {
    accent-color: var(--gh-red);
}

.gh-service-form-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-top: .8rem;
    padding: .85rem;
    color: var(--gh-gold-strong);
    border: 1px solid color-mix(in srgb, var(--gh-gold) 45%, var(--gh-border));
    border-radius: .85rem;
    background: var(--gh-gold-soft);
}

.gh-service-form-disclaimer span,
.gh-service-form-disclaimer strong,
.gh-service-form-disclaimer small {
    display: block;
}

.gh-service-form-disclaimer strong {
    color: var(--gh-text-strong);
    font-size: .65rem;
}

.gh-service-form-disclaimer small {
    margin-top: .2rem;
    color: var(--gh-muted);
    font-size: .57rem;
    line-height: 1.5;
}

.gh-service-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
    margin-top: .8rem;
}

.gh-service-form-actions a,
.gh-service-form-actions button {
    min-height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem .85rem;
    border-radius: .7rem;
    font-size: .65rem;
    font-weight: 800;
    text-decoration: none;
}

.gh-service-form-actions a {
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
}

.gh-service-form-actions a .gh-icon {
    transform: rotate(180deg);
}

.gh-service-form-actions button {
    color: #fff;
    border: 1px solid var(--gh-red);
    background: var(--gh-red);
}

.gh-service-form-actions a:hover,
.gh-service-form-actions button:hover {
    color: var(--gh-red);
    border-color: var(--gh-gold);
    background: var(--gh-gold-soft);
}

@media (max-width: 1200px) {
    .gh-demo-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .gh-demo-shell {
        grid-template-columns: 5rem minmax(0, 1fr);
    }

    .gh-demo-profile > div,
    .gh-demo-personas button span,
    .gh-demo-nav-links a:not(.is-active),
    .gh-demo-sidebar-note span {
        display: none;
    }

    .gh-demo-profile,
    .gh-demo-personas button,
    .gh-demo-nav-links a,
    .gh-demo-sidebar-note {
        justify-content: center;
        padding-inline: .5rem;
    }

    .gh-demo-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .gh-demo-side-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 720px) {
    .gh-demo {
        min-height: 100dvh;
        border-radius: 0;
    }

    .gh-demo-topbar {
        min-height: 4rem;
        padding: .55rem .7rem;
    }

    .gh-demo-brand img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .gh-demo-brand small,
    .gh-demo-organization {
        display: none;
    }

    .gh-demo-shell {
        display: block;
    }

    .gh-demo-sidebar {
        position: sticky;
        z-index: 10;
        top: 0;
        display: block;
        padding: .55rem .7rem;
        border-right: 0;
        border-bottom: 1px solid var(--gh-border);
    }

    .gh-demo-profile,
    .gh-demo-nav-links,
    .gh-demo-sidebar-note {
        display: none;
    }

    .gh-demo-personas {
        grid-template-columns: repeat(3, 1fr);
    }

    .gh-demo-personas button {
        min-height: 2.9rem;
        justify-content: center;
    }

    .gh-demo-personas button span {
        display: grid;
    }

    .gh-demo-personas button small {
        display: none;
    }

    .gh-demo-main {
        padding: .7rem;
    }

    .gh-demo-hero {
        min-height: 18rem;
        align-items: flex-end;
        padding: 1.1rem;
    }

    .gh-demo-hero h1 {
        max-width: 11ch;
        font-size: 2.45rem;
    }

    .gh-demo-hero-art {
        position: absolute;
        top: 5.5rem;
        right: 1.2rem;
        width: 5rem;
        height: 5rem;
    }

    .gh-demo-hero-art > span {
        display: none;
    }

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

    .gh-demo-security {
        grid-template-columns: 1fr;
    }

    .gh-service-form-shell {
        min-height: 100dvh;
        border-radius: 0;
    }

    .gh-service-form-header {
        min-height: 15rem;
        align-items: flex-end;
        padding: 1.1rem;
    }

    .gh-service-form-header img {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 4.5rem;
        height: 4.5rem;
    }

    .gh-service-form-context,
    .gh-service-form-grid {
        grid-template-columns: 1fr;
    }

    .gh-service-form-shell form,
    .gh-service-form-context {
        padding-inline: .7rem;
    }

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

@media (max-width: 500px) {
    .gh-demo-live {
        padding-inline: .45rem;
        font-size: 0;
    }

    .gh-demo-metrics,
    .gh-demo-side-stack {
        grid-template-columns: 1fr;
    }

    .gh-demo-focus-grid article {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .gh-demo-state {
        grid-column: 2;
        justify-self: start;
    }

    .gh-demo-feature-grid {
        display: flex;
        gap: .65rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .gh-demo-feature-grid article {
        min-width: min(76vw, 18rem);
        scroll-snap-align: start;
    }

    .gh-demo-footer {
        flex-direction: column;
    }

    .gh-service-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .gh-service-form-actions a,
    .gh-service-form-actions button {
        width: 100%;
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --gh-canvas: #000000;
    --gh-surface: #000000;
    --gh-surface-raised: #000000;
    --gh-subtle: #000000;
    --gh-text: #f3f3f3;
    --gh-text-strong: #ffffff;
    --gh-muted: #a8a8a8;
    --gh-border: #262626;
    --gh-border-strong: #414141;
    --gh-red: #ef4054;
    --gh-red-strong: #ff5b6d;
    --gh-red-soft: #21070b;
    --gh-gold: #e0ad3c;
    --gh-gold-strong: #f4c65c;
    --gh-gold-soft: #1d1605;
    --gh-success: #5bc895;
    --gh-success-soft: #071a11;
    --gh-danger: #ff7a85;
    --gh-danger-soft: #21070b;
    --gh-shadow: none;
    --gh-focus: 0 0 0 3px rgba(239, 64, 84, .3);
}

html,
body {
    min-height: 100%;
    margin: 0;
    color: var(--gh-text);
    background: var(--gh-canvas);
    font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

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

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--gh-focus);
}

.gh-icon {
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: middle;
}

.gh-theme-toggle {
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .55rem .8rem;
    color: var(--gh-text);
    border: 1px solid var(--gh-border);
    border-radius: .75rem;
    background: var(--gh-surface);
    cursor: pointer;
    font-size: .76rem;
    font-weight: 750;
}

.gh-theme-toggle:hover {
    border-color: var(--gh-border-strong);
}

.gh-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
