@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+Georgian:wght@500;600;700;800;900&family=Space+Grotesk:wght@600;700&display=swap");

:root {
    color-scheme: dark;
    --hash-bg: #090711;
    --hash-bg-strong: #211734;
    --hash-surface: #15111f;
    --hash-surface-soft: #1d172b;
    --hash-ink: #f3f3f3;
    --hash-muted: #a8a0b8;
    --hash-line: rgba(243, 243, 243, 0.12);
    --hash-line-strong: rgba(243, 243, 243, 0.22);
    --hash-accent: #9767f7;
    --hash-accent-strong: #7f4feb;
    --hash-success: #2f7d42;
    --hash-blue: #4f6ff7;
    --hash-orange: #f0a21b;
    --hash-red: #db4c3f;
    --hash-radius-lg: 30px;
    --hash-radius-md: 20px;
    --hash-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --hash-font: "Manrope", "Space Grotesk", sans-serif;
    --hash-display-font: "Space Grotesk", "Manrope", sans-serif;
    --hash-ka-font: "Noto Sans Georgian", "Manrope", sans-serif;
}

html,
body {
    min-height: 100%;
    font-family: var(--hash-font);
    color: var(--hash-ink);
    background:
        radial-gradient(circle at top left, rgba(151, 103, 247, 0.34), transparent 34rem),
        radial-gradient(circle at 85% 12%, rgba(151, 103, 247, 0.16), transparent 26rem),
        linear-gradient(135deg, var(--hash-bg), #110d1c 62%, #08060d);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(243, 243, 243, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243, 243, 243, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a,
.btn-link {
    color: var(--hash-ink);
}

code {
    color: #ded8ef;
}

pre {
    white-space: pre-wrap;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.18rem rgba(151, 103, 247, 0.35);
}

.hash-nav {
    position: sticky;
    top: 10px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1280px, calc(100% - 24px));
    min-height: 58px;
    margin: 10px auto 0;
    padding: 8px 10px 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(14, 10, 23, 0.9);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.hash-nav.is-ka,
.hash-page-container.is-ka {
    font-family: var(--hash-ka-font);
}

.hash-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #f3f3f3;
    text-decoration: none;
}

.hash-brand__mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hash-brand__mark img {
    width: 22px;
    height: 22px;
}

.hash-brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.hash-brand__text strong {
    color: #ffffff;
    font-family: var(--hash-font);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hash-nav.is-ka .hash-brand__text strong {
    font-family: var(--hash-font);
}

.hash-brand__text span {
    color: rgba(243, 243, 243, 0.68);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hash-nav__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.hash-nav__meta span,
.hash-nav__meta a {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(243, 243, 243, 0.72);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.hash-nav__meta a:hover {
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    background: rgba(151, 103, 247, 0.22);
}

.hash-nav__cta {
    border-color: var(--hash-accent) !important;
    color: #ffffff !important;
    background: var(--hash-accent) !important;
}

.hash-language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--hash-ink);
    background: rgba(255, 255, 255, 0.09);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    transition: background 180ms ease;
}

.hash-language-switcher:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hash-language-switcher svg {
    width: 22px;
    height: 22px;
    color: currentColor;
}

.hash-page-container {
    width: min(1280px, calc(100% - 24px));
    margin: 0 auto;
    padding: 34px 0 72px;
}

.nav-section-title {
    margin: 18px 18px 7px;
    color: rgba(243, 243, 243, 0.48);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.demo-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding: clamp(28px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--hash-radius-lg);
    background:
        radial-gradient(circle at 88% 18%, rgba(151, 103, 247, 0.34), transparent 18rem),
        linear-gradient(135deg, rgba(25, 19, 39, 0.96), rgba(15, 11, 24, 0.95));
    box-shadow: var(--hash-shadow);
}

.demo-hero::after {
    position: absolute;
    right: -90px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(243, 243, 243, 0.12);
    border-radius: 50%;
    content: "";
}

.demo-hero__content,
.demo-hero__actions {
    position: relative;
    z-index: 1;
}

.demo-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #ffffff;
    background: var(--hash-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.demo-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 6.8rem);
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 0.88;
    text-transform: uppercase;
    font-family: var(--hash-display-font);
}

.hash-page-container.is-ka .demo-hero h1,
.hash-page-container.is-ka .landing-section-heading h2,
.hash-page-container.is-ka .landing-help-card h3,
.hash-page-container.is-ka .landing-journey h2,
.hash-page-container.is-ka .demo-entry-card h2 {
    font-family: var(--hash-ka-font);
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-transform: none;
}

.hash-page-container.is-ka .demo-hero h1 {
    max-width: 980px;
    font-size: clamp(2rem, 5.2vw, 5.2rem);
}

.demo-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--hash-muted);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    font-weight: 650;
}

.demo-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.demo-hero--landing {
    align-items: center;
}

.demo-hero--landing .demo-hero__actions {
    max-width: 260px;
    flex-direction: column;
}

.demo-hero--landing .btn {
    width: 100%;
}

.btn-hash-primary,
.btn-hash-secondary,
.btn-hash-outline {
    border-radius: 999px;
    font-weight: 850;
}

.btn-hash-primary {
    border-color: var(--hash-accent);
    color: #ffffff;
    background: var(--hash-accent);
    box-shadow: 0 16px 32px rgba(151, 103, 247, 0.26);
}

.btn-hash-primary:hover {
    border-color: var(--hash-accent-strong);
    color: #ffffff;
    background: var(--hash-accent-strong);
}

.btn-hash-secondary,
.btn-hash-outline {
    border-color: var(--hash-line-strong);
    color: var(--hash-ink);
    background: rgba(255, 255, 255, 0.06);
}

.btn-hash-secondary:hover,
.btn-hash-outline:hover {
    border-color: var(--hash-ink);
    color: #ffffff;
    background: var(--hash-accent);
}

.demo-control-panel,
.demo-metrics,
.demo-status-grid {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.demo-control-panel {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.flow-switch {
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--hash-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.flow-switch__button {
    flex: 1;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    color: var(--hash-muted);
    background: transparent;
    font-weight: 850;
}

.flow-switch__button.is-active {
    color: #ffffff;
    background: var(--hash-accent);
    box-shadow: inset 0 0 0 1px rgba(243, 243, 243, 0.08);
}

.demo-progress-card,
.demo-metric,
.demo-status-card,
.hash-notice {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--hash-radius-md);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.demo-progress-card {
    padding: 16px;
}

.demo-progress-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--hash-muted);
    font-size: 0.88rem;
    font-weight: 850;
}

.demo-progress-card__header strong {
    color: var(--hash-ink);
}

.demo-progress {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--hash-bg-strong);
}

.demo-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hash-accent), var(--hash-ink));
    transition: width 220ms ease;
}

.demo-metrics {
    grid-template-columns: 0.75fr 1.35fr 1.35fr 0.65fr;
}

.demo-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-metric,
.demo-status-card {
    min-width: 0;
    padding: 16px 18px;
}

.demo-metric span,
.demo-status-card span {
    display: block;
    color: var(--hash-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.demo-metric strong {
    display: block;
    overflow: hidden;
    margin-top: 7px;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-status-card strong {
    display: block;
    margin-top: 2px;
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hash-notice {
    margin-top: 16px;
    padding: 18px 20px;
    color: #ddd4f4;
    background: rgba(151, 103, 247, 0.14);
    font-weight: 650;
}

.workflow-groups {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.workflow-group-card,
.workflow-section {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--hash-radius-md);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.workflow-group-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.workflow-group-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--hash-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-group-card__top strong {
    color: var(--hash-ink);
    letter-spacing: 0;
}

.workflow-group-card h2 {
    margin: 0;
    color: var(--hash-ink);
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.workflow-group-card p {
    flex: 1;
    margin: 0;
    color: var(--hash-muted);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.45;
}

.workflow-sections {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.workflow-help-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 20px;
}

.workflow-topic-nav {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--hash-radius-md);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.workflow-topic-nav > span {
    display: block;
    margin: 2px 4px 8px;
    color: var(--hash-accent);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.workflow-topic-nav button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--hash-ink);
    background: rgba(255, 255, 255, 0.045);
    font: inherit;
    text-align: left;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.workflow-topic-nav button:hover {
    border-color: rgba(151, 103, 247, 0.45);
    background: rgba(151, 103, 247, 0.13);
    transform: translateY(-1px);
}

.workflow-topic-nav small {
    grid-column: 1 / -1;
    color: var(--hash-muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-topic-nav strong {
    overflow: hidden;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-topic-nav em {
    align-self: center;
    padding: 5px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(151, 103, 247, 0.26);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

.workflow-sections--help {
    margin-top: 0;
}

.workflow-section--help {
    scroll-margin-top: 100px;
}

.demo-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.landing-help {
    margin-top: 18px;
}

.landing-section-heading {
    display: grid;
    max-width: 820px;
    gap: 8px;
    margin-bottom: 16px;
}

.landing-section-heading span,
.landing-help-card span {
    color: var(--hash-accent);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.landing-section-heading h2 {
    margin: 0;
    color: var(--hash-ink);
    font-family: var(--hash-display-font);
    font-size: clamp(1.55rem, 3vw, 2.7rem);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.landing-section-heading p {
    margin: 0;
    color: var(--hash-muted);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.6;
}

.landing-help__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 14px;
}

.landing-help__categories span {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    color: rgba(243, 243, 243, 0.84);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
    font-weight: 850;
}

.landing-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.landing-help-card,
.landing-journey {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--hash-radius-md);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.landing-help-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    min-height: 210px;
}

.landing-help-card h3 {
    margin: 0;
    color: var(--hash-ink);
    font-family: var(--hash-display-font);
    font-size: 1.28rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.landing-help-card p {
    margin: 0;
    color: var(--hash-muted);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.58;
}

.landing-journey span {
    color: var(--hash-accent);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.landing-journey h2 {
    margin: 8px 0 0;
    color: var(--hash-ink);
    font-family: var(--hash-display-font);
    font-size: clamp(1.22rem, 2vw, 1.8rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.landing-journey p {
    margin: 12px 0 0;
    color: var(--hash-muted);
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.6;
}

.demo-entry-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--hash-radius-md);
    background:
        radial-gradient(circle at 100% 0, rgba(151, 103, 247, 0.18), transparent 12rem),
        rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.demo-entry-card--accent {
    background:
        radial-gradient(circle at 100% 0, rgba(151, 103, 247, 0.34), transparent 14rem),
        linear-gradient(135deg, rgba(34, 24, 55, 0.82), rgba(18, 13, 29, 0.92));
}

.demo-entry-card span {
    color: var(--hash-accent);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.demo-entry-card h2 {
    margin: 0;
    color: var(--hash-ink);
    font-family: var(--hash-display-font);
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.demo-entry-card p {
    flex: 1;
    margin: 0;
    color: var(--hash-muted);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.6;
}

.demo-entry-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-flow-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-flow-list li {
    position: relative;
    padding: 10px 12px 10px 34px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    color: rgba(243, 243, 243, 0.82);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.86rem;
    font-weight: 750;
}

.landing-flow-list li::before {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hash-accent);
    content: "";
    transform: translateY(-50%);
}

.landing-journey {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 22px;
    align-items: center;
    margin-top: 18px;
    padding: 24px;
}

.landing-journey__steps {
    display: grid;
    gap: 10px;
}

.landing-journey__steps span {
    display: block;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
    background: rgba(151, 103, 247, 0.16);
}

.corporate-hero {
    margin-bottom: 18px;
}

.corporate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.corporate-config-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--hash-radius-md);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.corporate-config-card {
    padding: 18px;
}

.corporate-workspace {
    min-width: 0;
}

.corporate-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.corporate-form__wide {
    grid-column: span 3;
}

.corporate-form label {
    display: grid;
    gap: 8px;
    color: var(--hash-muted);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.corporate-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.workflow-section {
    padding: 18px;
}

.workflow-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-section__header span {
    color: var(--hash-accent-soft);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.workflow-section__header h2 {
    margin: 3px 0 0;
    color: var(--hash-ink);
    font-size: 1.45rem;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.workflow-section__header p {
    max-width: 860px;
    margin: 6px 0 0;
    color: var(--hash-muted);
    font-weight: 650;
}

.steps-stack {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.step-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 6px solid transparent;
    border-radius: var(--hash-radius-md);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.workflow-section--help .step-card {
    box-shadow: none;
}

.step-card--done {
    border-left-color: var(--hash-success);
}

.step-card--error {
    border-left-color: var(--hash-red);
}

.step-card--running {
    border-left-color: var(--hash-blue);
}

.step-card--pending {
    border-left-color: var(--hash-line-strong);
}

.step-card__header {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
}

.step-card__identity {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: center;
}

.step-card__number {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--hash-accent);
    font-size: 1rem;
    font-weight: 950;
}

.step-card h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.step-card p {
    margin: 4px 0 0;
    color: var(--hash-muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.step-card__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.manual-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--hash-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.manual-toggle input {
    accent-color: var(--hash-red);
}

.manual-input-grid,
.manual-enum-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.manual-input-grid label,
.manual-enum-grid label {
    display: grid;
    gap: 6px;
    color: var(--hash-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.manual-input-grid input,
.manual-enum-grid select {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    outline: none;
    background: rgba(3, 8, 18, 0.84);
    color: var(--hash-text);
    font-size: 0.82rem;
    font-weight: 750;
}

.manual-input-grid input:focus,
.manual-enum-grid select:focus {
    border-color: rgba(236, 31, 38, 0.75);
    box-shadow: 0 0 0 3px rgba(236, 31, 38, 0.14);
}

.manual-request-editor {
    width: 100%;
    min-height: 220px;
    resize: vertical;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    outline: none;
    background: rgba(3, 8, 18, 0.72);
    color: var(--hash-text);
    font-family: "JetBrains Mono", "Cascadia Code", monospace;
    font-size: 0.82rem;
    line-height: 1.55;
}

.manual-request-editor:focus {
    border-color: rgba(236, 31, 38, 0.75);
    box-shadow: 0 0 0 3px rgba(236, 31, 38, 0.14);
}

.manual-file-box {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.manual-file-box strong {
    display: block;
    color: var(--hash-text);
    font-size: 0.86rem;
    font-weight: 900;
}

.manual-file-box span {
    display: block;
    margin-top: 2px;
    color: var(--hash-muted);
    font-size: 0.78rem;
    font-weight: 650;
}

.manual-file-box input[type="file"] {
    color: var(--hash-muted);
    font-size: 0.82rem;
}

.manual-file-box code {
    color: var(--hash-text);
    word-break: break-all;
}

.step-card__body {
    display: grid;
    gap: 12px;
    padding: 0 20px 20px 78px;
}

.step-section {
    min-width: 0;
}

.step-toggle {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 8px;
    align-items: center;
    padding: 0;
    border: 0;
    color: var(--hash-ink);
    background: transparent;
    text-align: left;
}

.step-toggle code {
    overflow: hidden;
    color: var(--hash-muted);
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.step-toggle__label {
    color: var(--hash-muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.step-toggle__state {
    margin-left: auto;
    color: var(--hash-muted);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.step-panel {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--hash-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
}

.step-panel__label {
    margin: 4px 0 6px;
    color: var(--hash-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.step-table {
    width: 100%;
    margin-bottom: 8px;
    border-collapse: separate;
    border-spacing: 0 5px;
    font-size: 0.78rem;
}

.step-table td:first-child {
    width: 1%;
    padding-right: 18px;
    color: var(--hash-muted);
    font-weight: 900;
    white-space: nowrap;
}

.step-table code,
.code-panel {
    word-break: break-all;
}

.code-panel {
    max-height: 280px;
    margin: 0;
    padding: 12px;
    overflow: auto;
    border: 1px solid var(--hash-line);
    border-radius: 14px;
    color: #e9e3f6;
    background: #0f0b18;
    font-size: 0.78rem;
}

.code-panel--compact {
    max-height: 160px;
    margin-bottom: 10px;
}

.code-panel--response {
    margin-top: 10px;
}

.tag-badge,
.status-badge,
.method-badge,
.http-badge,
.verify-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.tag-badge,
.status-badge,
.verify-badge {
    padding: 8px 10px;
}

.method-badge,
.http-badge {
    padding: 7px 9px;
}

.tag-badge--portal {
    color: #dbe8ff;
    background: rgba(79, 111, 247, 0.2);
}

.tag-badge--gateway {
    color: #f5e5b4;
    background: rgba(240, 162, 27, 0.2);
}

.tag-badge--local {
    color: #ddd4f4;
    background: rgba(255, 255, 255, 0.09);
}

.status-badge--done,
.verify-badge--ok,
.http-badge--ok,
.method-badge--post {
    color: #ffffff;
    background: var(--hash-success);
}

.status-badge--error,
.verify-badge--fail,
.http-badge--error,
.method-badge--delete {
    color: #ffffff;
    background: var(--hash-red);
}

.status-badge--running,
.method-badge--get {
    color: #ffffff;
    background: var(--hash-blue);
}

.status-badge--pending,
.verify-badge--muted,
.http-badge--muted,
.method-badge--local,
.method-badge--signature {
    color: #ddd4f4;
    background: rgba(255, 255, 255, 0.09);
}

.verify-badge--expected {
    color: #f5e5b4;
    background: rgba(240, 162, 27, 0.2);
}

.method-badge--patch,
.http-badge--warn {
    color: #201300;
    background: var(--hash-orange);
}

.step-error {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(219, 76, 63, 0.22);
    border-radius: 14px;
    color: #8b2119;
    background: rgba(219, 76, 63, 0.09);
    font-size: 0.86rem;
    font-weight: 700;
}

.access-shell,
.access-loading {
    display: grid;
    min-height: calc(100vh - 130px);
    place-items: center;
}

.access-loading {
    gap: 12px;
    color: var(--hash-muted);
    font-weight: 800;
}

.access-card {
    width: min(720px, 100%);
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--hash-radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(151, 103, 247, 0.28), transparent 18rem),
        linear-gradient(135deg, rgba(25, 19, 39, 0.96), rgba(15, 11, 24, 0.96));
    box-shadow: var(--hash-shadow);
}

.auth-brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 30px;
}

.auth-brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--hash-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.auth-brand__mark img {
    width: 24px;
    height: 24px;
}

.auth-brand strong,
.auth-brand small {
    display: block;
}

.auth-brand strong {
    font-family: var(--hash-font);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-brand small {
    color: var(--hash-muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.access-eyebrow {
    margin-bottom: 12px;
    color: var(--hash-accent);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.access-card h1 {
    max-width: 620px;
    margin: 0;
    font-family: var(--hash-display-font);
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 0.92;
}

.access-card p {
    max-width: 610px;
    margin: 18px 0 0;
    color: var(--hash-muted);
    font-weight: 650;
    line-height: 1.6;
}

.access-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 28px;
}

.access-input,
.access-textarea {
    width: 100%;
    border: 1px solid var(--hash-line);
    border-radius: 16px;
    color: var(--hash-ink);
    background: rgba(255, 255, 255, 0.075);
    font: inherit;
    font-weight: 700;
    outline: none;
}

.access-input {
    min-height: 46px;
    padding: 0 14px;
}

.access-textarea {
    min-height: 128px;
    padding: 12px 14px;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.82rem;
    resize: vertical;
}

.access-textarea--compact {
    min-height: 92px;
}

.access-input:focus,
.access-textarea:focus {
    border-color: var(--hash-accent);
    box-shadow: 0 0 0 0.18rem rgba(151, 103, 247, 0.28);
}

.access-error {
    margin-top: 12px;
    color: #ffd7d2;
    font-weight: 800;
}

.access-hint {
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid var(--hash-line);
    border-radius: 18px;
    color: var(--hash-muted);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    font-weight: 650;
}

.access-mode-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 13px;
    border: 1px solid var(--hash-line);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hash-notice--warning {
    border-color: rgba(240, 162, 27, 0.3);
    color: #f5e5b4;
    background: rgba(240, 162, 27, 0.12);
}

.access-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    padding: 24px;
    overflow: auto;
    place-items: center;
    background: rgba(5, 4, 9, 0.76);
    backdrop-filter: blur(12px);
}

.access-modal-card {
    position: relative;
    width: min(1040px, 100%);
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: #15111f;
    box-shadow: var(--hash-shadow);
}

.access-modal-card__header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.access-modal-card__header span {
    color: var(--hash-accent);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.access-modal-card__header h2 {
    margin: 4px 0 0;
    font-family: var(--hash-display-font);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 950;
    letter-spacing: -0.06em;
}

.access-modal-card__header p {
    max-width: 700px;
    margin: 8px 0 0;
    color: var(--hash-muted);
    font-weight: 650;
}

.access-modal-card__close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--hash-line);
    border-radius: 50%;
    color: var(--hash-ink);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 950;
}

.client-credentials-field {
    display: grid;
    gap: 8px;
    color: var(--hash-muted);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.client-credentials-field {
    margin-top: 16px;
}

.client-credentials-field span,
.client-credentials-field small {
    color: rgba(243, 243, 243, 0.58);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.access-modal-card__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.credentials-mode-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid var(--hash-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.credentials-mode-row span {
    color: var(--hash-muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.environment-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: rgba(9, 7, 17, 0.72);
    backdrop-filter: blur(14px);
}

.environment-loader__panel {
    display: grid;
    width: min(360px, calc(100% - 48px));
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--hash-line);
    border-radius: 22px;
    background: rgba(21, 17, 31, 0.88);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

.environment-loader__panel strong {
    color: var(--hash-ink);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.environment-loader__bar {
    position: relative;
    display: block;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.environment-loader__bar::before {
    position: absolute;
    inset: 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--hash-accent), #ffffff);
    content: "";
    animation: environment-loader-scan 1.15s ease-in-out infinite;
}

@keyframes environment-loader-scan {
    0% {
        transform: translateX(-120%);
    }

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

#blazor-error-ui {
    color-scheme: dark only;
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    padding: 14px 18px;
    border: 1px solid rgba(219, 76, 63, 0.22);
    border-radius: 18px;
    color: #ffd7d2;
    background: #241017;
    box-shadow: var(--hash-shadow);
    box-sizing: border-box;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 12px;
    right: 16px;
    cursor: pointer;
}

.blazor-error-boundary {
    padding: 1rem;
    border-radius: 18px;
    color: #ffd7d2;
    background: #241017;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--hash-success);
}

.invalid {
    outline: 1px solid var(--hash-red);
}

.validation-message {
    color: var(--hash-red);
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

@media (max-width: 1000px) {
    .demo-hero,
    .demo-control-panel,
    .demo-metrics,
    .demo-entry-grid,
    .landing-help-grid,
    .landing-journey,
    .workflow-help-layout,
    .corporate-layout {
        grid-template-columns: 1fr;
    }

    .workflow-topic-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-topic-nav > span {
        grid-column: 1 / -1;
    }

    .corporate-config-card {
        position: static;
    }

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

    .corporate-form__wide {
        grid-column: auto;
    }

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

    .demo-hero__actions {
        justify-content: flex-start;
    }

    .demo-hero--landing .demo-hero__actions {
        max-width: none;
    }

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

@media (max-width: 720px) {
    .hash-nav,
    .hash-page-container {
        width: min(100% - 20px, 1280px);
    }

    .hash-nav {
        position: static;
        align-items: center;
        border-radius: 18px;
    }

    .hash-nav__meta {
        width: 100%;
        justify-content: space-between;
    }

    .hash-nav__meta a {
        display: none;
    }

    .demo-hero {
        padding: 28px 22px;
    }

    .flow-switch,
    .access-form,
    .workflow-section__header,
    .step-card__header,
    .step-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .access-form {
        display: flex;
    }

    .workflow-groups {
        grid-template-columns: 1fr;
    }

    .workflow-topic-nav {
        grid-template-columns: 1fr;
    }

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

    .step-card__header {
        gap: 12px;
    }

    .step-card__identity {
        align-items: flex-start;
    }

    .step-card__body {
        padding: 0 16px 18px;
    }

    .step-toggle {
        flex-wrap: wrap;
    }

    .step-toggle code {
        width: 100%;
        white-space: normal;
    }
}
