@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #eef3f8;
    --bg-soft: #f8fafd;
    --surface: #ffffff;
    --surface-soft: #fafcff;
    --surface-subtle: #f1f5fa;
    --surface-dark: #071427;
    --surface-dark-soft: #0f2241;
    --text: #0f1829;
    --text-soft: #4e5e78;
    --text-muted: #6f8099;
    --primary: #0f325f;
    --primary-strong: #091b34;
    --primary-soft: #d8e5f6;
    --accent: #178873;
    --accent-strong: #0f6a59;
    --accent-soft: #d7efe9;
    --success: #177757;
    --warning: #9f6e22;
    --danger: #b34b39;
    --line: rgba(15, 24, 41, 0.08);
    --line-strong: rgba(15, 24, 41, 0.14);
    --shadow: 0 18px 44px rgba(8, 17, 35, 0.07);
    --shadow-soft: 0 12px 28px rgba(8, 17, 35, 0.05);
    --radius-xl: 28px;
    --radius: 22px;
    --radius-sm: 16px;
    --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    min-height: 100vh;
    direction: rtl;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(15, 50, 95, 0.08), transparent 28%),
        radial-gradient(circle at left center, rgba(23, 136, 115, 0.06), transparent 24%),
        linear-gradient(180deg, #f5f8fb 0%, var(--bg) 44%, #e8eef5 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(9, 26, 49, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 26, 49, 0.028) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 84%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

code {
    font-family: Consolas, "Courier New", monospace;
}

small {
    color: var(--text-muted);
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 20, 39, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.site-footer {
    margin-top: 44px;
    background: linear-gradient(180deg, #071223 0%, #09172b 100%);
    color: #edf4fd;
}

.footer-inner-centered {
    justify-content: center;
    text-align: center;
}

.footer-copyright {
    font-size: 0.98rem;
    line-height: 1.9;
}

.footer-copyright a {
    color: rgba(236, 243, 252, 0.96);
    text-decoration: none;
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-inner {
    padding: 18px 0;
}

.footer-inner {
    padding: 24px 0 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #1a4c90 0%, #0b1f40 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
}

.site-header .brand,
.site-footer strong,
.auth-logo,
.brand-admin {
    color: #fff;
}

.site-header .brand small,
.site-footer p,
.site-footer .footer-meta span,
.brand-admin small {
    color: rgba(230, 238, 248, 0.7);
}

.top-nav,
.admin-nav,
.page-intro-actions,
.page-intro-meta,
.hero-actions,
.list-inline,
.auth-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.top-nav,
.page-intro-actions,
.page-intro-meta,
.hero-actions,
.auth-links {
    align-items: center;
}

.table-actions {
    gap: 8px;
}

.table-actions form,
.impersonation-banner form {
    margin: 0;
}

.impersonation-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.top-nav > a:not(.button),
.admin-nav a,
.admin-sidebar-footer a {
    padding: 10px 14px;
    border-radius: 14px;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.top-nav > a:not(.button) {
    color: rgba(228, 236, 248, 0.74);
}

.top-nav > a:not(.button):hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.top-nav > a.is-active:not(.button) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(8, 20, 39, 0.18);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(8, 20, 39, 0.2);
}

.button.ghost {
    background: var(--surface-subtle);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--line);
}

.button.secondary {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 16px 30px rgba(13, 121, 104, 0.2);
}

.button.small {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.94rem;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: inset 0 0 0 1px var(--line);
}

.site-header .button.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.page-shell {
    position: relative;
    z-index: 1;
    padding: 0 0 88px;
}

.home-page .page-shell {
    padding-top: 0;
}

.section {
    padding: 34px 0;
}

.hero,
.marketing-hero {
    padding: 0;
}

.hero-grid,
.card-grid,
.metrics-grid,
.steps,
.field-row,
.info-grid,
.identity-grid,
.feature-strip,
.feature-strip-auth,
.surface-grid,
.split-layout {
    display: grid;
    gap: 22px;
}

.hero-grid,
.surface-grid,
.split-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-strip-auth,
.field-row,
.info-grid,
.identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy,
.glass-card,
.panel,
.table-card,
.auth-card,
.state-card,
.metric-card,
.hero-panel,
.surface-panel {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy,
.glass-card,
.panel,
.table-card,
.auth-card,
.metric-card,
.hero-panel,
.surface-panel {
    padding: 30px;
}

.hero-copy-marketing {
    padding: 40px;
}

.metric-card {
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.hero-band {
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    background: linear-gradient(180deg, #071223 0%, #0b1a32 55%, #102541 100%);
}

.hero-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(21, 160, 136, 0.18), transparent 34%),
        radial-gradient(circle at 82% 16%, rgba(117, 145, 255, 0.14), transparent 22%);
}

.hero-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.2;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), transparent 88%);
}

.hero-band-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 34px;
    align-items: stretch;
    padding: 52px 0 64px;
}

.hero-lead {
    max-width: 680px;
}

.brand-kicker {
    margin: 0 0 10px;
    color: rgba(224, 234, 248, 0.72);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-band h1,
.workspace-shell h1,
.auth-side h1,
.page-intro h1,
.state-card h1,
.auth-card h1,
.admin-page-head h1 {
    margin: 0 0 14px;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero-band h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    color: #f4f8ff;
}

.workspace-shell h1,
.page-intro h1,
.state-card h1,
.auth-card h1,
.admin-page-head h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.auth-card h2,
.surface-panel h2,
.panel h2,
.table-card h2,
.glass-card h3,
.compact-card h3,
.panel-head h3 {
    margin: 0 0 12px;
    line-height: 1.22;
}

.auth-card h2 {
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.panel-head h3 {
    font-size: 1.3rem;
}

.hero-band p,
.page-intro p,
.section-title p,
.muted,
.state-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.85;
}

.hero-band p {
    max-width: 40rem;
    color: rgba(229, 238, 248, 0.76);
    font-size: 1.04rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(18, 53, 103, 0.08);
    border: 1px solid rgba(18, 53, 103, 0.08);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-band .eyebrow,
.workspace-shell .eyebrow,
.auth-side .eyebrow,
.surface-panel-contrast .eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2ebfb;
}

.hero-band .hero-actions,
.panel > .hero-actions,
.auth-card > .hero-actions,
.final-cta .hero-actions {
    margin-top: 24px;
}

td .hero-actions {
    margin-top: 0;
}

.hero-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 0;
    padding: 0;
}

.hero-specs div {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-specs dt {
    color: rgba(220, 231, 247, 0.64);
    font-size: 0.82rem;
}

.hero-specs dd {
    margin: 8px 0 0;
    color: #fff;
    font-size: 1.04rem;
    font-weight: 700;
}

.hero-art {
    display: grid;
    gap: 16px;
    align-content: center;
}

.hero-signal,
.hero-ledger {
    border-radius: 28px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.signal-row {
    display: grid;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-row:first-child {
    padding-top: 0;
}

.signal-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.signal-row span,
.ledger-head span {
    color: rgba(222, 232, 247, 0.62);
    font-size: 0.84rem;
}

.signal-row strong,
.ledger-head strong {
    color: #fff;
    font-size: 1.08rem;
}

.ledger-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.hero-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    counter-reset: hero-step;
}

.hero-timeline li {
    position: relative;
    padding: 14px 52px 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #eef4fb;
    line-height: 1.8;
}

.hero-timeline li::before {
    counter-increment: hero-step;
    content: counter(hero-step);
    position: absolute;
    right: 14px;
    top: 14px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 800;
}

.surface-panel {
    padding: 30px;
}

.surface-panel-contrast {
    background: linear-gradient(180deg, #0b1830 0%, #102340 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 56px rgba(8, 17, 35, 0.16);
    color: #eef4fb;
}

.surface-panel-contrast h2,
.surface-panel-contrast strong,
.surface-panel-contrast .surface-value,
.surface-panel-contrast .instruction-list {
    color: #f4f8ff;
}

.surface-panel-contrast p,
.surface-panel-contrast .surface-key,
.surface-panel-contrast .muted {
    color: rgba(229, 238, 249, 0.72);
}

.surface-list {
    display: grid;
    gap: 0;
}

.surface-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease;
}

.surface-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.surface-panel-contrast .surface-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.surface-item:hover {
    transform: translateX(-2px);
}

.surface-key {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.surface-value {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 700;
}

.final-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.final-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.final-cta .button.ghost,
.surface-panel-contrast .button.ghost,
.workspace-shell .button.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.workspace-shell {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #081427 0%, #0f2140 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 64px rgba(8, 17, 35, 0.14);
    color: #eef4fb;
}

.workspace-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(21, 160, 136, 0.18), transparent 26%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 46%);
}

.workspace-shell > * {
    position: relative;
    z-index: 1;
}

.workspace-hero,
.page-intro,
.admin-page-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.workspace-hero {
    margin-bottom: 26px;
}

.page-intro {
    margin-bottom: 22px;
}

.page-intro-inline {
    margin-bottom: 18px;
}

.page-intro-header {
    max-width: 780px;
}

.workspace-shell p,
.workspace-shell .muted {
    color: rgba(229, 238, 249, 0.74);
}

.workspace-aside {
    min-width: 280px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.status-chip {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-chip span {
    display: block;
    margin-bottom: 6px;
    color: rgba(223, 233, 247, 0.62);
    font-size: 0.82rem;
}

.status-chip strong {
    color: #fff;
    font-size: 1.08rem;
}

.metric-card strong,
.mini-stat strong,
.stat strong {
    display: block;
    margin-bottom: 8px;
}

.metric-card strong {
    font-size: 2.1rem;
    line-height: 1.02;
    color: var(--primary-strong);
}

.workspace-shell .metric-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.workspace-shell .metric-card strong {
    color: #fff;
}

.workspace-shell .metric-card p {
    color: rgba(229, 238, 249, 0.72);
}

.feature-strip,
.feature-strip-auth {
    margin-top: 28px;
}

.mini-stat,
.stat,
.stack-item,
.step-card,
.workflow-step {
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--surface-subtle);
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.mini-stat,
.stat,
.step-card {
    padding: 18px;
}

.stack-item,
.workflow-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 18px;
}

.mini-stat:hover,
.stat:hover,
.stack-item:hover,
.step-card:hover,
.workflow-step:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.auth-side .stack-item,
.workspace-shell .stack-item,
.surface-panel-contrast .stack-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.stack-list,
.workflow-list,
.status-list {
    display: grid;
    gap: 14px;
}

.stack-item strong,
.workflow-step strong {
    display: block;
    margin-bottom: 6px;
}

.status-list {
    gap: 4px;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.status-row:last-child {
    border-bottom: 0;
}

.status-label {
    color: var(--text-muted);
}

.status-value {
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
}

.step-number {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(18, 53, 103, 0.08);
    color: var(--primary);
    font-weight: 800;
}

.auth-side .step-number,
.workspace-shell .step-number,
.surface-panel-contrast .step-number {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.section-title {
    margin-bottom: 20px;
    max-width: 760px;
}

.section-title h2 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.table-responsive {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 24, 41, 0.18) transparent;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-card form {
    margin: 0;
}

thead th {
    padding: 0 12px 14px;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

th,
td {
    padding: 16px 12px;
    text-align: right;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

tbody tr {
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

tbody tr:hover {
    background: var(--surface-subtle);
}

.request-row-active,
.request-row-active:hover {
    background: rgba(61, 96, 250, 0.08);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.auth-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #071223 0%, #10213d 36%, #edf2f7 36%, #edf2f7 100%);
}

.auth-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 28px, 1180px);
    margin: 0 auto;
    padding: 40px 0 56px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    margin: 0 auto 22px;
}

.auth-logo strong {
    display: block;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 22px;
    align-items: stretch;
}

.auth-side {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #081427 0%, #10223f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
    color: #eef4fb;
}

.auth-side h1,
.auth-side strong {
    color: #fff;
}

.auth-side .muted {
    color: rgba(230, 238, 248, 0.74);
}

.auth-copy {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    line-height: 1.95;
}

.auth-copy p,
.auth-side-note {
    margin: 0;
}

.auth-side-note {
    margin-top: 20px;
    color: rgba(230, 238, 248, 0.86);
    line-height: 1.9;
}

.auth-side a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.auth-form-shell {
    align-self: stretch;
}

.auth-card form,
.panel form {
    display: grid;
    gap: 16px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-soft);
    line-height: 1.9;
}

.form-check input {
    width: auto;
    margin: 4px 0 0;
    flex: 0 0 auto;
}

.form-check span {
    display: block;
}

.subdomain-builder {
    display: grid;
    gap: 14px;
}

.parked-domain-section {
    display: grid;
    gap: 14px;
}

.parked-domain-list {
    display: grid;
    gap: 14px;
}

.parked-domain-box {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 18px;
    background: var(--surface-soft);
}

.parked-domain-head {
    display: grid;
    grid-template-columns: minmax(220px, 420px) auto;
    gap: 12px;
    align-items: end;
    justify-content: start;
}

.parked-subdomain-builder {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.subdomain-builder-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.subdomain-list {
    display: grid;
    gap: 12px;
}

.subdomain-row {
    display: grid;
    grid-template-columns: minmax(180px, 360px) auto;
    gap: 10px;
    align-items: center;
    justify-content: start;
}

.space-top {
    margin-top: 18px;
}

.space-top-lg {
    margin-top: 24px;
}

.log-card-header,
.log-meta,
.log-pagination,
.pagination-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.log-card-header,
.log-pagination {
    justify-content: space-between;
}

.log-meta,
.log-pagination-summary,
.pagination-current {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.app-log-card.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.log-location {
    max-width: 320px;
    word-break: break-all;
}

.log-entry-details summary {
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
}

.log-entry-details pre {
    max-width: min(540px, 72vw);
    max-height: 220px;
    margin: 10px 0 0;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.auth-links {
    margin-top: 18px;
    color: var(--primary);
}

.auth-links a {
    font-weight: 700;
}

.auth-caption {
    margin-top: 18px;
    font-size: 0.94rem;
}

.auth-facts {
    margin-top: 24px;
}

.state-panel {
    display: grid;
    place-items: center;
    min-height: 60vh;
}

.state-card {
    width: min(100%, 620px);
    padding: 38px;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(18, 53, 103, 0.32);
    box-shadow: 0 0 0 4px rgba(18, 53, 103, 0.08);
    background: #fff;
}

input[readonly] {
    background: rgba(243, 247, 252, 0.92);
}

textarea {
    resize: vertical;
}

hr {
    margin: 10px 0 4px;
    border: 0;
    border-top: 1px solid var(--line);
}

.alert {
    width: min(100%, var(--container));
    margin: 0 auto 18px;
    padding: 14px 18px;
    border-radius: 18px;
    line-height: 1.8;
    border: 1px solid transparent;
}

.alert a {
    color: inherit;
    text-decoration: underline;
}

.alert-success {
    background: rgba(23, 119, 87, 0.1);
    color: #105a42;
    border-color: rgba(23, 119, 87, 0.14);
}

.alert-error {
    background: rgba(179, 75, 57, 0.1);
    color: #8f3020;
    border-color: rgba(179, 75, 57, 0.14);
}

.alert-warning {
    background: rgba(159, 110, 34, 0.1);
    color: #825211;
    border-color: rgba(159, 110, 34, 0.14);
}

.alert-info {
    background: rgba(18, 53, 103, 0.08);
    color: var(--primary);
    border-color: rgba(18, 53, 103, 0.12);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.badge-info {
    background: rgba(18, 53, 103, 0.08);
    color: var(--primary);
}

.badge-success {
    background: rgba(23, 119, 87, 0.12);
    color: #105a42;
}

.badge-warning {
    background: rgba(159, 110, 34, 0.12);
    color: #825211;
}

.badge-danger {
    background: rgba(179, 75, 57, 0.12);
    color: #8f3020;
}

.badge-muted {
    background: rgba(84, 98, 122, 0.1);
    color: var(--text-soft);
}

.workspace-shell .badge-info,
.workspace-shell .badge-muted {
    background: rgba(255, 255, 255, 0.1);
    color: #f2f7ff;
}

.workspace-shell .badge-success {
    background: rgba(21, 160, 136, 0.18);
    color: #d5f3ec;
}

.workspace-shell .badge-warning {
    background: rgba(255, 196, 92, 0.16);
    color: #ffe6af;
}

.workspace-shell .badge-danger {
    background: rgba(255, 137, 114, 0.16);
    color: #ffd2cb;
}

.copy-box {
    position: relative;
    padding: 16px 18px;
    border-radius: 18px;
    background: #0d1f38;
    color: #edf3fa;
    direction: ltr;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    font-family: Consolas, "Courier New", monospace;
}

.copy-button {
    position: absolute;
    top: 12px;
    left: 12px;
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background 0.18s ease;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.certificate-code-box {
    max-height: 360px;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ssl-code-list {
    display: grid;
    gap: 18px;
}

.admin-body {
    background: linear-gradient(180deg, #e9eef5 0%, #e5ebf3 100%);
}

.admin-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 28px 22px;
    background: linear-gradient(180deg, #071223 0%, #0d1d38 100%);
    color: #edf4fb;
}

.admin-sidebar-inner {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 24px;
}

.admin-nav {
    flex-direction: column;
    align-items: stretch;
}

.admin-nav a,
.admin-sidebar-footer a {
    color: rgba(237, 244, 251, 0.82);
}

.admin-nav a:hover,
.admin-sidebar-footer a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-nav a.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-sidebar-footer {
    display: grid;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-main {
    padding: 32px;
    background: linear-gradient(180deg, #edf2f7 0%, #e8eef5 100%);
}

.admin-page-head {
    margin-bottom: 18px;
}

.footer-meta {
    display: grid;
    gap: 8px;
    text-align: left;
}

.empty-state {
    padding: 48px 24px;
    text-align: center;
}

.instruction-list {
    margin: 0;
    padding-inline-start: 18px;
    color: var(--text-soft);
    line-height: 2;
}

@media (max-width: 1180px) {
    .hero-grid,
    .surface-grid,
    .split-layout,
    .card-grid,
    .auth-layout,
    .steps,
    .field-row,
    .info-grid,
    .identity-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .feature-strip,
    .feature-strip-auth {
        grid-template-columns: 1fr;
    }

    .hero-band-inner {
        grid-template-columns: 1fr;
    }

    .workspace-hero,
    .page-intro,
    .admin-page-head {
        flex-direction: column;
    }

    .workspace-aside {
        min-width: 0;
        width: 100%;
    }

    .admin-sidebar-inner {
        position: static;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .header-inner,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .top-nav {
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
        gap: 10px;
    }

    .top-nav > a:not(.button),
    .top-nav .button {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
        width: auto;
        text-align: center;
        white-space: normal;
    }

    .hero-band-inner {
        padding: 38px 0 48px;
    }

    .hero-band h1 {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .hero-specs,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .glass-card,
    .panel,
    .table-card,
    .auth-card,
    .metric-card,
    .hero-panel,
    .surface-panel,
    .state-card,
    .workspace-shell,
    .auth-side {
        padding: 24px;
        border-radius: 24px;
    }

    .button {
        width: auto;
    }

    .page-intro-actions,
    .page-intro-meta,
    .hero-actions,
    .auth-links {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions > *,
    .page-intro-actions > * {
        width: 100%;
    }

    .hero-actions > form .button,
    .page-intro-actions > form .button,
    .auth-card form > .button,
    .panel form > .button,
    .table-card form > .button,
    .empty-state .button {
        width: 100%;
    }

    .subdomain-builder-head,
    .parked-domain-head,
    .subdomain-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .surface-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .table-responsive {
        overflow: visible;
    }

    .table-responsive table.is-stack-table,
    .table-responsive table.is-stack-table thead,
    .table-responsive table.is-stack-table tbody,
    .table-responsive table.is-stack-table tr,
    .table-responsive table.is-stack-table td {
        display: block;
        width: 100%;
    }

    .table-responsive table.is-stack-table thead {
        display: none;
    }

    .table-responsive table.is-stack-table tbody {
        display: grid;
        gap: 14px;
    }

    .table-responsive table.is-stack-table tr {
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: var(--surface-soft);
        box-shadow: var(--shadow-soft);
    }

    .table-responsive table.is-stack-table tbody tr:hover {
        background: var(--surface-soft);
    }

    .table-responsive table.is-stack-table td {
        display: grid;
        grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
        gap: 12px;
        padding: 0;
        border: 0;
        align-items: start;
    }

    .table-responsive table.is-stack-table td + td {
        margin-top: 10px;
    }

    .table-responsive table.is-stack-table td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.7;
    }

    .table-responsive table.is-stack-table td .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .table-responsive table.is-stack-table td .hero-actions > * {
        width: 100%;
    }

    .footer-meta {
        text-align: right;
    }

    .admin-main {
        padding: 22px 16px 32px;
    }
}

@media (max-width: 560px) {
    .auth-shell {
        width: min(100% - 16px, 1180px);
        padding: 28px 0 42px;
    }

    .brand {
        align-items: flex-start;
    }

    .top-nav > a:not(.button),
    .top-nav .button {
        flex-basis: 100%;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .hero-copy,
    .glass-card,
    .panel,
    .table-card,
    .auth-card,
    .metric-card,
    .hero-panel,
    .surface-panel,
    .state-card,
    .workspace-shell,
    .auth-side {
        padding: 20px;
        border-radius: 22px;
    }

    .workspace-shell h1,
    .page-intro h1,
    .state-card h1,
    .auth-card h1,
    .auth-side h1,
    .admin-page-head h1 {
        font-size: clamp(1.72rem, 8.4vw, 2.15rem);
        line-height: 1.14;
        letter-spacing: -0.03em;
    }

    .table-responsive table.is-stack-table td {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .hero-timeline li {
        padding: 14px 48px 14px 14px;
    }

    .copy-button {
        position: static;
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Dashboard redesign */

:root {
    --bg: #f3f6fc;
    --bg-soft: #f8faff;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-soft: #f7f9fd;
    --surface-subtle: #eef3fb;
    --surface-dark: #0b1732;
    --surface-dark-soft: #13254b;
    --text: #11203a;
    --text-soft: #50617d;
    --text-muted: #7d8ba1;
    --primary: #3d60fa;
    --primary-strong: #2547cf;
    --primary-soft: #eaf0ff;
    --accent: #10b7a6;
    --accent-strong: #0c9385;
    --accent-soft: #dff7f3;
    --success: #17b26a;
    --warning: #f59e0b;
    --danger: #f04467;
    --line: rgba(125, 139, 161, 0.2);
    --line-strong: rgba(82, 96, 122, 0.28);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.06);
    --shadow-strong: 0 34px 90px rgba(15, 23, 42, 0.14);
    --radius-xl: 32px;
    --radius: 26px;
    --radius-sm: 18px;
    --container: 1280px;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(61, 96, 250, 0.08), transparent 26%),
        radial-gradient(circle at left 18%, rgba(16, 183, 166, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f2f6fc 40%, #eef3fb 100%);
}

body::before {
    background-image:
        linear-gradient(rgba(17, 32, 58, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 32, 58, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
}

.container {
    width: min(100% - 28px, var(--container));
}

.section {
    padding: 20px 0;
}

.section-tight {
    padding-top: 8px;
}

.section-compact {
    padding: 14px 0;
}

.button {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    box-shadow: 0 18px 34px rgba(37, 71, 207, 0.22);
}

.button:hover {
    box-shadow: 0 24px 42px rgba(37, 71, 207, 0.25);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(61, 96, 250, 0.12);
}

.button.secondary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 18px 34px rgba(16, 183, 166, 0.22);
}

.button.small {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 14px;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: inset 0 0 0 1px var(--line);
}

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.badge-info {
    background: rgba(49, 88, 212, 0.1);
    color: #2448b5;
}

.badge-success {
    background: rgba(19, 138, 98, 0.12);
    color: #138a62;
}

.badge-warning {
    background: rgba(183, 107, 0, 0.14);
    color: #9a5b00;
}

.badge-danger {
    background: rgba(196, 49, 75, 0.12);
    color: #c4314b;
}

.badge-muted {
    background: rgba(125, 139, 161, 0.12);
    color: var(--text-soft);
}

.eyebrow {
    background: rgba(61, 96, 250, 0.09);
    border-color: rgba(61, 96, 250, 0.08);
    color: var(--primary-strong);
}

.panel,
.table-card,
.auth-card,
.state-card,
.metric-card,
.surface-panel,
.workspace-shell,
.hero-copy,
.glass-card {
    border: 1px solid rgba(125, 139, 161, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.panel,
.table-card,
.auth-card,
.metric-card,
.surface-panel,
.workspace-shell,
.hero-copy,
.glass-card {
    padding: 28px;
}

.panel h2,
.table-card h2,
.auth-card h1,
.auth-card h2,
.surface-panel h2,
.workspace-shell h1,
.page-intro h1,
.state-card h1,
.dashboard-banner h1,
.dashboard-page-banner h1 {
    letter-spacing: -0.03em;
}

.muted,
.table-card p,
.panel p,
.page-intro p {
    color: var(--text-soft);
}

.page-intro,
.workspace-hero {
    align-items: flex-end;
    gap: 18px;
}

.page-intro {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(125, 139, 161, 0.14);
}

.page-intro-inline {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 18px;
}

.card-grid,
.dashboard-grid,
.surface-grid,
.split-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-grid {
    display: grid;
    gap: 22px;
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.card-head h2 {
    margin-bottom: 8px;
}

.dashboard-card {
    position: relative;
    overflow: hidden;
}

.dashboard-body .panel,
.dashboard-body .table-card,
.dashboard-body .metric-card,
.dashboard-body .surface-panel,
.dashboard-body .workspace-shell,
.dashboard-body .glass-card,
.request-flow-card {
    border: 1px solid rgba(125, 139, 161, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.dashboard-body .panel,
.dashboard-body .table-card,
.request-flow-card {
    padding: 24px;
}

.dashboard-card::before,
.kpi-card::before,
.action-tile::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(61, 96, 250, 0.8), rgba(16, 183, 166, 0.7));
}

.request-flow-card {
    display: grid;
    gap: 18px;
}

.request-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.request-step {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
    min-height: 82px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(125, 139, 161, 0.12);
    background: #f8fafc;
}

.request-step-dot {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #e7edf6;
    color: var(--text-muted);
    font-weight: 800;
}

.request-step strong {
    color: var(--text);
    font-size: 0.98rem;
}

.request-step small {
    grid-column: 2;
    color: var(--text-muted);
    line-height: 1.7;
}

.request-step.is-complete {
    border-color: rgba(19, 138, 98, 0.18);
    background: rgba(19, 138, 98, 0.06);
}

.request-step.is-complete .request-step-dot {
    background: #138a62;
    color: transparent;
}

.request-step.is-complete .request-step-dot::before {
    content: "";
    width: 8px;
    height: 20px;
    border-inline-start: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg) translate(3px, 2px);
}

.request-step.is-current {
    border-color: rgba(49, 88, 212, 0.28);
    background: rgba(49, 88, 212, 0.07);
}

.request-step.is-current .request-step-dot {
    background: #3158d4;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(49, 88, 212, 0.26);
    animation: request-step-pulse 1.8s ease-out infinite;
}

.request-step.is-error {
    border-color: rgba(196, 49, 75, 0.22);
    background: rgba(196, 49, 75, 0.07);
}

.request-step.is-error .request-step-dot {
    background: #c4314b;
}

.request-create-section {
    padding-top: 20px;
}

.request-create-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
    gap: 20px;
    align-items: start;
}

.request-create-main,
.request-create-form,
.request-create-aside,
.request-summary-panel ol,
.request-form-card,
.parked-domain-list {
    display: grid;
}

.request-create-main,
.request-create-form,
.request-create-aside {
    gap: 16px;
}

.request-create-header {
    max-width: 820px;
}

.request-create-header h1 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.request-create-header p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.95;
}

.request-form-card,
.request-summary-panel {
    border: 1px solid rgba(125, 139, 161, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.request-form-card {
    gap: 18px;
    padding: 20px;
}

.request-form-card-head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.request-form-card-head-action {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
}

.request-form-card-head h2 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.45;
    letter-spacing: 0;
}

.request-form-card-head p,
.request-empty-note,
.request-submit-bar p,
.request-summary-panel p {
    margin: 0;
    line-height: 1.85;
}

.request-form-card-head p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.request-form-step {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #eef4fb;
    color: #3158d4;
    font-weight: 800;
}

.request-field {
    min-width: 0;
}

.request-field > input {
    max-width: 520px;
}

.request-inline-list {
    gap: 10px;
}

.request-create-form .subdomain-row {
    grid-template-columns: minmax(220px, 520px) auto;
    justify-content: stretch;
}

.request-create-form .subdomain-row input {
    max-width: none;
}

.request-remove-button {
    color: #9a3f32;
    background: #fff5f3;
    box-shadow: inset 0 0 0 1px rgba(179, 75, 57, 0.16);
}

.request-create-form .parked-domain-section {
    gap: 16px;
}

.request-create-form .parked-domain-list {
    gap: 12px;
}

.request-create-form .parked-domain-box {
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(125, 139, 161, 0.16);
    border-radius: 14px;
    background: #f8fafc;
}

.request-create-form .parked-domain-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    justify-content: stretch;
}

.parked-domain-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.request-create-form .parked-subdomain-builder {
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(125, 139, 161, 0.14);
    border-radius: 14px;
    background: #fff;
}

.request-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #0d1f3b;
    color: #fff;
    box-shadow: 0 18px 34px rgba(8, 17, 35, 0.12);
}

.request-submit-bar p {
    color: rgba(238, 244, 255, 0.74);
}

.request-submit-bar .button {
    flex: 0 0 auto;
    background: #fff;
    color: #0d1f3b;
    box-shadow: none;
}

.request-create-aside {
    position: sticky;
    top: 22px;
}

.request-summary-panel {
    gap: 14px;
    padding: 18px;
}

.request-summary-panel span {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.request-summary-panel ol {
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: request-summary;
}

.request-summary-panel li {
    position: relative;
    padding-inline-start: 34px;
    color: var(--text);
    line-height: 1.8;
}

.request-summary-panel li::before {
    counter-increment: request-summary;
    content: counter(request-summary);
    position: absolute;
    inset-inline-start: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: #eef4fb;
    color: #3158d4;
    font-size: 0.82rem;
    font-weight: 800;
}

.request-summary-panel-soft {
    background: #f8fafc;
}

.request-create-form [hidden] {
    display: none !important;
}

.dns-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(125, 139, 161, 0.12);
}

.dns-flow span {
    flex: 0 0 auto;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.dns-flow i {
    position: relative;
    flex: 1 1 44px;
    height: 2px;
    min-width: 34px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(49, 88, 212, 0.14);
}

.dns-flow i::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #3158d4;
    box-shadow: 0 0 0 5px rgba(49, 88, 212, 0.1);
    transform: translateY(-50%);
    animation: dns-flow-dot 2.1s ease-in-out infinite;
}

.dns-flow i:nth-of-type(2)::after {
    animation-delay: 0.28s;
}

.dns-flow i:nth-of-type(3)::after {
    animation-delay: 0.56s;
}

.dashboard-body {
    min-height: 100vh;
}

body.dashboard-body {
    --shadow: 0 10px 28px rgba(8, 17, 35, 0.055);
    --shadow-soft: 0 6px 18px rgba(8, 17, 35, 0.045);
    --line: rgba(15, 24, 41, 0.1);
    --line-strong: rgba(15, 24, 41, 0.16);
    background:
        radial-gradient(circle at top right, rgba(61, 96, 250, 0.12), transparent 24%),
        radial-gradient(circle at left center, rgba(16, 183, 166, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f2f6fc 42%, #eef3fb 100%);
}

body.dashboard-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(61, 96, 250, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 96, 250, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
}

body.dashboard-body::after {
    content: "";
    position: fixed;
    inset: auto auto 0 0;
    width: 440px;
    height: 440px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(61, 96, 250, 0.12) 0%, transparent 72%);
    filter: blur(10px);
}

.dashboard-layout {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 100vh;
    padding: 22px;
}

.dashboard-backdrop {
    display: none;
}

.dashboard-sidebar {
    position: fixed;
    inset-block-start: 22px;
    inset-inline-start: 22px;
    width: 300px;
    height: calc(100svh - 44px);
    border-radius: 32px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
        radial-gradient(circle at top right, rgba(61, 96, 250, 0.22), transparent 28%),
        linear-gradient(180deg, #0b1732 0%, #102245 52%, #162d59 100%);
    box-shadow: var(--shadow-strong);
    color: #edf3ff;
    scrollbar-width: thin;
}

.dashboard-sidebar-admin {
    background:
        radial-gradient(circle at top right, rgba(16, 183, 166, 0.18), transparent 28%),
        linear-gradient(180deg, #09142b 0%, #0f1f3d 52%, #173058 100%);
}

.dashboard-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
    padding: 24px;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.dashboard-brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(61, 96, 250, 1), rgba(16, 183, 166, 0.82));
    box-shadow: 0 20px 40px rgba(3, 12, 28, 0.34);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dashboard-brand-copy strong,
.dashboard-brand-copy small {
    display: block;
    min-width: 0;
}

.dashboard-brand-copy small {
    margin-top: 4px;
    color: rgba(232, 239, 252, 0.68);
    line-height: 1.7;
}

.dashboard-nav-group {
    display: grid;
    gap: 14px;
    flex: 1;
    padding-top: 18px;
}

.dashboard-nav-label {
    color: rgba(232, 239, 252, 0.54);
    font-size: 0.8rem;
    letter-spacing: 0;
}

.dashboard-nav {
    display: grid;
    gap: 10px;
    align-content: start;
}

.dashboard-nav-link {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    color: rgba(238, 244, 255, 0.74);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.dashboard-nav-link:hover {
    transform: translateX(-2px);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dashboard-nav-link.is-active {
    background: linear-gradient(135deg, rgba(61, 96, 250, 0.22), rgba(16, 183, 166, 0.14));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dashboard-nav-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dashboard-nav-copy strong,
.dashboard-nav-copy small {
    display: block;
    min-width: 0;
}

.dashboard-nav-copy strong {
    margin-bottom: 4px;
}

.dashboard-nav-copy small {
    color: rgba(232, 239, 252, 0.58);
    line-height: 1.65;
}

.dashboard-sidebar-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.dashboard-sidebar-card-label {
    color: rgba(232, 239, 252, 0.6);
    font-size: 0.8rem;
    letter-spacing: 0;
}

.dashboard-sidebar-card strong {
    display: block;
    color: #fff;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.dashboard-sidebar-card small {
    display: block;
    margin-top: 6px;
    color: rgba(232, 239, 252, 0.68);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.dashboard-sidebar .button.ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dashboard-sidebar-footer {
    display: grid;
    gap: 12px;
}

.dashboard-sidebar-footer .button {
    width: 100%;
    justify-content: center;
}

.dashboard-main-shell {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
    margin-inline-start: calc(300px + 22px);
}

.dashboard-main-shell-plain {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 44px);
}

.dashboard-topbar {
    position: sticky;
    top: 22px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(125, 139, 161, 0.16);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.dashboard-topbar-start,
.dashboard-topbar-actions,
.dashboard-user-chip,
.dashboard-page-banner-side,
.dashboard-banner-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-topbar-copy strong,
.dashboard-topbar-copy p {
    display: block;
    min-width: 0;
}

.dashboard-kicker {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
}

.dashboard-topbar-copy strong {
    font-size: 1rem;
}

.dashboard-topbar-copy p {
    margin: 4px 0 0;
    color: var(--text-soft);
    font-size: 0.93rem;
    overflow-wrap: anywhere;
}

.topbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 15px;
    background: rgba(61, 96, 250, 0.08);
    color: var(--primary-strong);
    font-weight: 700;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.topbar-action:hover {
    background: rgba(61, 96, 250, 0.14);
    transform: translateY(-1px);
}

.topbar-action.ghost {
    background: rgba(17, 32, 58, 0.05);
    color: var(--text);
}

.dashboard-user-chip {
    padding: 8px 12px 8px 10px;
    border-radius: 18px;
    background: rgba(17, 32, 58, 0.04);
    border: 1px solid rgba(125, 139, 161, 0.14);
    min-width: 0;
}

.dashboard-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(61, 96, 250, 0.18), rgba(16, 183, 166, 0.18));
    color: var(--primary-strong);
    font-weight: 800;
}

.dashboard-user-chip-copy strong,
.dashboard-user-chip-copy small {
    display: block;
    min-width: 0;
}

.dashboard-user-chip-copy small {
    color: var(--text-muted);
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.dashboard-main {
    min-width: 0;
    flex: 1 0 auto;
    padding-bottom: 36px;
}

.dashboard-main-shell .site-footer {
    margin-top: 8px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.admin-main {
    background: transparent;
    padding-inline: 0;
}

.dashboard-page-banner,
.dashboard-banner {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 26%),
        linear-gradient(135deg, #0d1e3d 0%, #163264 52%, #1a4775 100%);
    color: #f5f8ff;
    box-shadow: var(--shadow-strong);
}

.dashboard-banner::before,
.dashboard-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 36%),
        radial-gradient(circle at bottom left, rgba(16, 183, 166, 0.18), transparent 28%);
}

.dashboard-banner > *,
.dashboard-page-banner > * {
    position: relative;
    z-index: 1;
}

.dashboard-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 22px;
    align-items: stretch;
}

.dashboard-page-banner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 22px;
}

.dashboard-page-banner-admin {
    padding: 24px 28px;
    background:
        radial-gradient(circle at top right, rgba(16, 183, 166, 0.16), transparent 22%),
        linear-gradient(135deg, #0a1730 0%, #102446 48%, #173964 100%);
}

.dashboard-banner-copy,
.dashboard-page-banner-copy {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
}

.dashboard-banner-copy h1,
.dashboard-page-banner h1 {
    margin: 0;
    line-height: 1.08;
    color: #fff;
}

.dashboard-banner-copy h1 {
    font-size: clamp(2.35rem, 4vw, 3.8rem);
}

.dashboard-page-banner h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.dashboard-banner-copy p,
.dashboard-page-banner p {
    margin: 0;
    color: rgba(233, 240, 252, 0.76);
    line-height: 1.9;
    max-width: 52rem;
}

.dashboard-banner-side,
.dashboard-page-banner-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-page-banner-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: min(100%, 420px);
}

.banner-stat {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 128px;
    align-content: start;
    min-width: 0;
}

.banner-stat span {
    color: rgba(233, 240, 252, 0.66);
    font-size: 0.85rem;
}

.banner-stat strong {
    color: #fff;
    font-size: 1.7rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.banner-stat small {
    color: rgba(233, 240, 252, 0.72);
    line-height: 1.8;
}

.kpi-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.kpi-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 12px;
    min-height: 190px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(125, 139, 161, 0.12);
    box-shadow: var(--shadow-soft);
}

.kpi-card::after {
    content: "";
    position: absolute;
    top: -18px;
    inset-inline-end: -12px;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--card-glow) 0%, transparent 72%);
    pointer-events: none;
}

.kpi-card-primary {
    --card-glow: rgba(49, 88, 212, 0.14);
}

.kpi-card-success {
    --card-glow: rgba(19, 138, 98, 0.16);
}

.kpi-card-warning {
    --card-glow: rgba(183, 107, 0, 0.16);
}

.kpi-card-danger {
    --card-glow: rgba(196, 49, 75, 0.14);
}

.kpi-card-secondary {
    --card-glow: rgba(19, 138, 98, 0.14);
}

.kpi-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.kpi-note {
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.kpi-card strong {
    display: block;
    margin: 0;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1;
}

.kpi-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.85;
}

.progress-list,
.insight-list,
.action-grid {
    display: grid;
    gap: 14px;
}

.progress-row {
    display: grid;
    gap: 10px;
}

.progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.progress-copy strong {
    font-size: 0.98rem;
}

.progress-copy span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.progress-track {
    width: 100%;
    height: 12px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(125, 139, 161, 0.12);
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    min-width: 0;
}

.progress-track span.is-blue {
    background: linear-gradient(90deg, #3158d4 0%, #4f72e8 100%);
}

.progress-track span.is-green {
    background: linear-gradient(90deg, #138a62 0%, #17a777 100%);
}

.progress-track span.is-amber {
    background: linear-gradient(90deg, #b76b00 0%, #dc9a27 100%);
}

.progress-track span.is-rose {
    background: linear-gradient(90deg, #c4314b 0%, #e65f75 100%);
}

.action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-tile {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f6fc 100%);
    border: 1px solid rgba(125, 139, 161, 0.14);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.action-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(61, 96, 250, 0.2);
    box-shadow: var(--shadow-soft);
}

.action-tile strong {
    color: var(--text);
}

.action-tile span {
    color: var(--text-soft);
    line-height: 1.8;
}

.insight-list {
    margin-top: 18px;
}

.insight-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(125, 139, 161, 0.14);
}

.insight-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.insight-row span {
    color: var(--text-muted);
}

.insight-row strong {
    color: var(--text);
}

thead th {
    padding-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom-color: rgba(125, 139, 161, 0.18);
}

th,
td {
    padding: 16px 12px;
    border-bottom-color: rgba(125, 139, 161, 0.12);
}

tbody tr:hover {
    background: rgba(61, 96, 250, 0.04);
}

input,
select,
textarea {
    border-radius: 16px;
    border-color: rgba(125, 139, 161, 0.2);
    background: rgba(250, 252, 255, 0.95);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(61, 96, 250, 0.3);
    box-shadow: 0 0 0 4px rgba(61, 96, 250, 0.08);
}

.form-check {
    border-radius: 20px;
    background: linear-gradient(180deg, #fafcff 0%, #f5f8fd 100%);
}

.alert {
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    box-shadow: none;
}

.copy-box {
    min-height: 54px;
    padding: 16px 88px 16px 18px;
    border-radius: 14px;
    background: #0d1f3d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.copy-button {
    top: 14px;
    right: 14px;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
}

.copy-button.is-copied {
    background: rgba(19, 138, 98, 0.9);
}

.copy-button.is-copied::before {
    content: "";
    width: 11px;
    height: 7px;
    border-inline-start: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg) translate(1px, -1px);
}

.certificate-code-box {
    padding-right: 88px;
}

.certificate-code-box .copy-button {
    position: absolute;
    right: 14px;
    left: auto;
    margin-top: 0;
}

.empty-state {
    padding: 38px 20px;
}

.instruction-list {
    line-height: 2;
}

@keyframes request-step-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(49, 88, 212, 0.28);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(49, 88, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(49, 88, 212, 0);
    }
}

@keyframes dns-flow-dot {
    0% {
        inset-inline-start: 0;
        opacity: 0;
    }

    18%,
    78% {
        opacity: 1;
    }

    100% {
        inset-inline-start: calc(100% - 7px);
        opacity: 0;
    }
}

@keyframes dns-flow-dot-mobile {
    0% {
        top: 0;
        opacity: 0;
    }

    18%,
    78% {
        opacity: 1;
    }

    100% {
        top: calc(100% - 7px);
        opacity: 0;
    }
}

.sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: rgba(61, 96, 250, 0.08);
    cursor: pointer;
}

.dashboard-mobile-sidebar-toggle {
    position: sticky;
    top: 16px;
    z-index: 45;
    margin-inline-start: auto;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.sidebar-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: var(--primary-strong);
}

@media (max-width: 1180px) {
    .request-create-shell {
        grid-template-columns: 1fr;
    }

    .request-create-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .request-stepper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dns-flow {
        flex-wrap: wrap;
    }

    .dns-flow i {
        flex-basis: 64px;
    }

    .dashboard-layout,
    .card-grid,
    .dashboard-grid,
    .surface-grid,
    .split-layout,
    .auth-layout,
    .steps,
    .field-row,
    .info-grid,
    .identity-grid,
    .feature-strip,
    .feature-strip-auth,
    .dashboard-banner,
    .dashboard-page-banner,
    .dashboard-banner-side,
    .dashboard-page-banner-side {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .dashboard-main-shell {
        margin-inline-start: 0;
    }

    .dashboard-main-shell-plain {
        min-height: calc(100svh - 32px);
    }

    .dashboard-sidebar {
        position: fixed;
        inset-block: 16px;
        inset-inline-start: 16px;
        width: min(88vw, 320px);
        height: auto;
        max-height: calc(100svh - 32px);
        z-index: 80;
        transform: translateX(120%);
        transition: transform 0.24s ease;
    }

    .dashboard-body.dashboard-sidebar-open .dashboard-sidebar {
        transform: translateX(0);
    }

    .dashboard-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 70;
        border: 0;
        background: rgba(7, 15, 30, 0.46);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .dashboard-body.dashboard-sidebar-open .dashboard-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .dashboard-topbar {
        top: 16px;
    }

    .sidebar-toggle {
        display: inline-flex;
    }

    .dashboard-mobile-sidebar-toggle {
        align-self: flex-start;
        margin-inline-start: 0;
    }
}

@media (max-width: 900px) {
    .dashboard-topbar,
    .dashboard-topbar-start,
    .dashboard-topbar-actions,
    .page-intro,
    .workspace-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-user-chip,
    .topbar-action,
    .dashboard-topbar .button,
    .hero-actions > *,
    .page-intro-actions > * {
        width: 100%;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-banner-copy h1 {
        font-size: clamp(2.05rem, 7vw, 3rem);
    }
}

@media (max-width: 820px) {
    .request-form-card-head,
    .request-form-card-head-action,
    .request-create-form .parked-domain-head,
    .request-create-aside {
        grid-template-columns: 1fr;
    }

    .request-form-step {
        width: 34px;
        height: 34px;
    }

    .request-form-card-head-action > .button,
    .parked-domain-actions,
    .request-submit-bar {
        width: 100%;
    }

    .parked-domain-actions,
    .request-submit-bar {
        justify-content: stretch;
    }

    .parked-domain-actions > *,
    .request-submit-bar .button {
        flex: 1 1 auto;
    }

    .request-create-form .subdomain-row {
        grid-template-columns: 1fr;
    }

    .request-stepper,
    .dns-flow {
        grid-template-columns: 1fr;
    }

    .request-stepper {
        display: grid;
    }

    .dns-flow {
        display: grid;
        justify-items: stretch;
    }

    .dns-flow span {
        text-align: center;
    }

    .dns-flow i {
        width: 2px;
        height: 28px;
        min-width: 0;
        justify-self: center;
    }

    .dns-flow i::after {
        inset-inline-start: 50%;
        top: 0;
        transform: translateX(50%);
        animation-name: dns-flow-dot-mobile;
    }

    .panel,
    .table-card,
    .auth-card,
    .state-card,
    .metric-card,
    .surface-panel,
    .workspace-shell,
    .hero-copy,
    .glass-card,
    .dashboard-banner,
    .dashboard-page-banner,
    .kpi-card {
        padding: 22px;
        border-radius: 24px;
    }

    .dashboard-body .panel,
    .dashboard-body .table-card,
    .dashboard-body .kpi-card,
    .request-flow-card {
        border-radius: 16px;
        padding: 20px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 18px, var(--container));
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        padding: 10px;
        gap: 14px;
    }

    .dashboard-topbar {
        padding: 16px;
        border-radius: 22px;
    }

    .dashboard-mobile-sidebar-toggle {
        top: 10px;
    }

    .dashboard-main-shell-plain {
        min-height: calc(100svh - 20px);
    }

    .dashboard-sidebar {
        inset-block: 10px;
        inset-inline-start: 10px;
    }

    .panel,
    .table-card,
    .auth-card,
    .state-card,
    .metric-card,
    .surface-panel,
    .workspace-shell,
    .hero-copy,
    .glass-card,
    .dashboard-banner,
    .dashboard-page-banner,
    .kpi-card {
        padding: 18px;
        border-radius: 22px;
    }

    .dashboard-body .panel,
    .dashboard-body .table-card,
    .dashboard-body .kpi-card,
    .request-flow-card {
        border-radius: 16px;
        padding: 18px;
    }

    .request-form-card,
    .request-summary-panel,
    .request-submit-bar {
        padding: 16px;
    }

    .request-create-header .eyebrow {
        margin-bottom: 12px;
    }

    .copy-box {
        padding: 16px;
    }

    .copy-box .copy-button {
        position: static;
        display: flex;
        margin-top: 12px;
        width: max-content;
    }

    .dashboard-user-chip {
        padding: 8px 10px;
    }

    .dashboard-avatar {
        width: 36px;
        height: 36px;
    }

    .dashboard-main-shell .site-footer {
        border-radius: 22px;
    }
}

.header-register-link,
.site-footer .footer-meta a {
    color: rgba(236, 243, 252, 0.9);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.certify-home {
    position: relative;
    overflow: hidden;
}

.certify-home::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 16%, rgba(22, 178, 140, 0.08), transparent 24%),
        radial-gradient(circle at 86% 10%, rgba(86, 130, 255, 0.12), transparent 26%);
}

.certify-hero {
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(65, 121, 255, 0.24), transparent 28%),
        radial-gradient(circle at top left, rgba(24, 184, 146, 0.18), transparent 24%),
        linear-gradient(180deg, #06111f 0%, #0b1930 52%, #12284a 100%);
}

.certify-hero::before,
.certify-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.certify-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.18;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 90%);
}

.certify-hero::after {
    background: linear-gradient(180deg, rgba(6, 17, 31, 0) 68%, rgba(6, 17, 31, 0.72) 100%);
}

.certify-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 42px;
    align-items: center;
    min-height: calc(100svh - 92px);
    padding: 58px 0 72px;
}

.certify-hero-copy {
    max-width: 620px;
}

.certify-kicker,
.certify-section-label,
.certify-panel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.certify-kicker {
    color: #d7e9ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.certify-section-label,
.certify-panel-eyebrow {
    color: var(--primary);
    background: rgba(15, 50, 95, 0.08);
    border: 1px solid rgba(15, 50, 95, 0.08);
}

.certify-hero-copy h1,
.login-stage-copy h1 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.certify-hero-copy h1 {
    color: #f5f9ff;
    font-size: clamp(2.45rem, 4.6vw, 4.2rem);
}

.certify-hero-text,
.certify-section-head p,
.certify-method p,
.certify-panel-list,
.certify-delivery-copy p,
.certify-download-list,
.certify-cta-panel p,
.login-stage-text,
.login-stage-item p,
.login-stage-meta,
.login-helper p {
    margin: 0;
    line-height: 1.95;
}

.certify-hero-text {
    max-width: 38rem;
    margin-top: 18px;
    color: rgba(229, 238, 248, 0.84);
    font-size: 1.08rem;
}

.certify-hero-actions {
    margin-top: 28px;
}

.certify-light-button,
.login-ghost-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f4f8ff;
    box-shadow: none;
}

.certify-light-button:hover,
.login-ghost-button:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.certify-inline-points,
.certify-panel-list,
.certify-download-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.certify-inline-points {
    margin-top: 28px;
    max-width: 42rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.certify-inline-points li {
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(236, 243, 251, 0.88);
    line-height: 1.85;
}

.certify-hero-visual {
    position: relative;
}

.certify-stage {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
        linear-gradient(180deg, rgba(7, 20, 39, 0.82), rgba(9, 24, 45, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 70px rgba(1, 9, 20, 0.34);
    backdrop-filter: blur(14px);
}

.certify-stage-glow {
    position: absolute;
    inset: auto -70px -90px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 145, 255, 0.34), transparent 72%);
    filter: blur(8px);
    animation: certify-float 8s ease-in-out infinite;
}

.certify-stage-ribbon {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(232, 239, 248, 0.84);
    font-size: 0.88rem;
    font-weight: 700;
}

.certify-domain-sheet {
    position: relative;
    padding: 22px;
    border-radius: 26px;
    background: rgba(8, 19, 38, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.certify-domain-head,
.certify-domain-grid {
    display: grid;
    gap: 16px;
}

.certify-domain-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.certify-domain-head span,
.certify-domain-grid span {
    display: block;
    color: rgba(220, 231, 246, 0.62);
    font-size: 0.82rem;
}

.certify-domain-head strong,
.certify-domain-grid strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 1.02rem;
}

.certify-status-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(28, 174, 140, 0.16);
    color: #b9f5df;
    border: 1px solid rgba(28, 174, 140, 0.28);
    font-size: 0.82rem;
    font-weight: 700;
}

.certify-domain-grid {
    margin-top: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.certify-stage-steps {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.certify-stage-steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.certify-step-index,
.login-stage-item > span {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 800;
}

.certify-stage-steps strong,
.login-stage-item strong,
.certify-journey-item h3,
.certify-method h3,
.login-helper strong {
    display: block;
    margin-bottom: 6px;
}

.certify-stage-steps strong,
.login-stage-item strong {
    color: #fff;
    font-size: 1.02rem;
}

.certify-stage-steps p {
    margin: 0;
    color: rgba(228, 237, 248, 0.74);
    line-height: 1.84;
}

.certify-section {
    position: relative;
    padding: 42px 0;
}

.certify-section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0));
}

.certify-section-head {
    max-width: 720px;
}

.certify-section-head h2,
.certify-methods h2,
.certify-panel-note h2,
.certify-delivery-copy h2,
.certify-cta-panel h2 {
    margin: 0 0 14px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.certify-journey {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.certify-journey-item,
.certify-method {
    padding: 22px 0 0;
    border-top: 1px solid var(--line-strong);
}

.certify-journey-item span,
.certify-method-code {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--accent-strong);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.certify-journey-item h3,
.certify-method h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 1.38rem;
}

.certify-method-layout,
.certify-delivery {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: 30px;
    align-items: start;
}

.certify-method-list {
    display: grid;
    gap: 22px;
}

.certify-panel-note,
.certify-cta-panel {
    padding: 30px;
    border-radius: 30px;
}

.certify-panel-note {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.certify-panel-list li,
.certify-download-list li {
    position: relative;
    padding-right: 22px;
}

.certify-panel-list li::before,
.certify-download-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.certify-section-dark {
    background: linear-gradient(180deg, #091525 0%, #0e1d35 100%);
    color: #edf4fd;
}

.certify-section-dark .certify-section-label {
    color: #d9e8fb;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.certify-section-dark .certify-delivery-copy p,
.certify-section-dark .certify-download-list {
    color: rgba(228, 237, 248, 0.78);
}

.certify-cta-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 50px rgba(1, 8, 19, 0.28);
}

.certify-cta-panel h2,
.certify-cta-panel p,
.certify-section-dark .certify-download-list li {
    color: #fff;
}

.login-stage {
    gap: 28px;
}

.login-stage-copy {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(91, 145, 255, 0.18), transparent 30%),
        radial-gradient(circle at left center, rgba(23, 136, 115, 0.16), transparent 24%),
        linear-gradient(180deg, #071223 0%, #0f2240 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 68px rgba(0, 0, 0, 0.26);
    color: #eef4fb;
}

.login-stage-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
    opacity: 0.24;
    pointer-events: none;
}

.login-stage-copy > * {
    position: relative;
    z-index: 1;
}

.login-stage-copy h1 {
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.login-stage-text {
    max-width: 40rem;
    margin-top: 18px;
    color: rgba(228, 237, 248, 0.8);
    font-size: 1.02rem;
}

.login-stage-actions {
    margin-top: 24px;
}

.login-stage-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.login-stage-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.login-stage-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.login-stage-item p,
.login-stage-meta {
    color: rgba(228, 237, 248, 0.74);
}

.login-stage-meta {
    margin-top: 22px;
}

.login-form-card {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 52px rgba(8, 17, 35, 0.14);
}

.login-form-lead {
    margin-bottom: 4px;
}

.login-helper {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: var(--surface-subtle);
    border: 1px solid var(--line);
}

.login-helper strong {
    color: var(--text);
    font-size: 1rem;
}

.login-links {
    margin-top: 18px;
}

@keyframes certify-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-6px, -12px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .certify-stage-glow {
        animation: none;
    }
}

@media (max-width: 1120px) {
    .certify-hero-inner,
    .certify-method-layout,
    .certify-delivery,
    .auth-layout.login-stage {
        grid-template-columns: 1fr;
    }

    .certify-hero-inner {
        min-height: auto;
        padding: 54px 0 60px;
    }

    .certify-inline-points,
    .certify-domain-grid,
    .certify-journey {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .certify-hero-copy h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .certify-stage,
    .login-stage-copy {
        padding: 24px;
        border-radius: 28px;
    }

    .certify-panel-note,
    .certify-cta-panel {
        padding: 24px;
        border-radius: 26px;
    }
}

@media (max-width: 560px) {
    .certify-hero-actions > *,
    .login-stage-actions > *,
    .certify-cta-panel .hero-actions > * {
        width: 100%;
    }

    .certify-domain-head {
        grid-template-columns: 1fr;
    }

    .certify-stage-steps li,
    .login-stage-item {
        grid-template-columns: 1fr;
    }

    .certify-step-index,
    .login-stage-item > span {
        width: 32px;
        height: 32px;
    }
}

body.home-page {
    background:
        radial-gradient(circle at 18% 12%, rgba(54, 214, 176, 0.07), transparent 24%),
        radial-gradient(circle at 84% 6%, rgba(245, 163, 92, 0.1), transparent 20%),
        linear-gradient(180deg, #07121e 0%, #0b1827 36%, #f3efe6 36%, #f6f3ec 100%);
}

.home-page .site-header {
    background: rgba(7, 18, 31, 0.68);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.home-page .site-footer {
    margin-top: 0;
    background:
        radial-gradient(circle at top left, rgba(54, 214, 176, 0.14), transparent 22%),
        linear-gradient(180deg, #07111c 0%, #0a1625 100%);
}

.top-nav-anchor {
    color: rgba(228, 236, 248, 0.72);
}

.landing-home {
    position: relative;
    overflow: clip;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background:
        radial-gradient(circle at 10% 16%, rgba(54, 214, 176, 0.14), transparent 26%),
        radial-gradient(circle at 88% 10%, rgba(245, 163, 92, 0.18), transparent 22%),
        linear-gradient(180deg, #07121e 0%, #0c1a2b 100%);
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(7, 18, 30, 0), rgba(7, 18, 30, 0.86));
    pointer-events: none;
}

.landing-hero-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.24;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), transparent 88%);
}

.landing-hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr);
    gap: 48px;
    align-items: center;
    min-height: calc(100svh - 88px);
    padding: 54px 0 74px;
}

.landing-hero-copy {
    max-width: 620px;
}

.landing-kicker,
.landing-section-tag,
.landing-feature-tag,
.auth-redesign-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-kicker,
.auth-redesign-kicker {
    color: #f6eee2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-section-tag,
.landing-feature-tag {
    color: #153454;
    background: rgba(245, 163, 92, 0.12);
    border: 1px solid rgba(245, 163, 92, 0.14);
}

.landing-hero-copy h1,
.auth-redesign-copy h1 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 1;
}

.landing-hero-copy h1 {
    color: #fbf7f0;
    font-size: clamp(2.35rem, 4.2vw, 4.1rem);
    text-wrap: balance;
}

.landing-hero-copy p,
.landing-section-head p,
.landing-story-copy p,
.landing-feature p,
.landing-step p,
.landing-cta-copy p,
.landing-visual-caption,
.auth-redesign-copy p,
.auth-redesign-helper p {
    margin: 0;
    line-height: 1.95;
}

.landing-hero-copy p {
    margin-top: 18px;
    max-width: 40rem;
    color: rgba(240, 232, 222, 0.8);
    font-size: 1.06rem;
}

.landing-hero-actions {
    margin-top: 30px;
}

.landing-primary-button {
    background: linear-gradient(180deg, #f4a35c 0%, #d47d31 100%);
    color: #112033;
    box-shadow: 0 18px 38px rgba(245, 163, 92, 0.22);
}

.landing-primary-button:hover {
    box-shadow: 0 24px 44px rgba(245, 163, 92, 0.28);
}

.landing-secondary-button {
    background: #f6eee2;
    color: #112033;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 34px rgba(7, 18, 30, 0.18);
}

.landing-secondary-button:hover {
    background: #fff6ea;
    box-shadow: 0 22px 38px rgba(7, 18, 30, 0.22);
}

.auth-redesign-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.auth-redesign-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.landing-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.landing-hero-proof div {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-hero-proof strong,
.landing-mini-metrics strong,
.landing-trust-item strong,
.landing-visual-caption strong,
.auth-redesign-highlights strong {
    display: block;
}

.landing-hero-proof strong {
    color: #fffaf2;
    font-size: 1.02rem;
}

.landing-hero-proof span {
    display: block;
    margin-top: 8px;
    color: rgba(240, 232, 222, 0.68);
    font-size: 0.92rem;
}

.landing-hero-media {
    position: relative;
    min-height: 520px;
    perspective: 1400px;
    --parallax-rotate-x: 0deg;
    --parallax-rotate-y: 0deg;
}

.landing-hero-frame,
.auth-redesign-art {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
        linear-gradient(180deg, rgba(8, 19, 32, 0.96), rgba(10, 25, 42, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 78px rgba(2, 10, 19, 0.34);
    transform:
        rotateX(var(--parallax-rotate-x))
        rotateY(var(--parallax-rotate-y))
        translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
    transform-style: preserve-3d;
    transition: transform 0.32s ease;
}

.landing-hero-frame img,
.landing-visual-card img,
.auth-redesign-art img {
    display: block;
    width: 100%;
    height: auto;
}

.landing-floating-chip,
.auth-redesign-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(7, 18, 31, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8f4ed;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
    transition: transform 0.34s ease;
}

.landing-floating-chip-top,
.auth-redesign-chip-top {
    top: 28px;
    right: 18px;
    animation: landing-float 7.4s ease-in-out infinite;
}

.landing-floating-chip-bottom,
.auth-redesign-chip-bottom {
    right: -6px;
    bottom: 34px;
    animation: landing-float 9s ease-in-out infinite reverse;
}

.landing-trust-bar {
    position: relative;
    z-index: 1;
    margin-top: -48px;
    padding-bottom: 12px;
}

.landing-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-trust-item {
    padding: 24px;
    border-radius: 28px;
    background: rgba(7, 18, 31, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 52px rgba(4, 11, 20, 0.18);
    color: #fbf7f0;
}

.landing-trust-item span {
    display: block;
    margin-bottom: 10px;
    color: rgba(243, 235, 225, 0.64);
    font-size: 0.84rem;
}

.landing-trust-item strong {
    font-size: 1.06rem;
    line-height: 1.65;
}

.landing-section {
    position: relative;
    padding: 52px 0;
}

.landing-section-ivory {
    background:
        radial-gradient(circle at 88% 12%, rgba(54, 214, 176, 0.08), transparent 18%),
        linear-gradient(180deg, #f3efe6 0%, #f7f4ed 100%);
}

.landing-section-deep {
    background:
        radial-gradient(circle at top left, rgba(245, 163, 92, 0.12), transparent 18%),
        linear-gradient(180deg, #fffaf3 0%, #f4efe6 100%);
}

.landing-story-grid,
.landing-cta-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.92fr);
    gap: 34px;
    align-items: center;
}

.landing-story-copy,
.landing-cta-copy,
.landing-section-head {
    max-width: 720px;
}

.landing-story-copy h2,
.landing-section-head h2,
.landing-feature h3,
.landing-step h3,
.landing-cta-copy h2,
.auth-redesign-panel h2 {
    margin: 0 0 14px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.landing-story-copy h2,
.landing-section-head h2,
.landing-cta-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.55rem);
    text-wrap: balance;
}

.landing-bullet-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.landing-bullet-list article,
.landing-step {
    padding: 22px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(17, 32, 51, 0.08);
    box-shadow: 0 16px 38px rgba(8, 17, 35, 0.08);
}

.landing-bullet-list strong {
    display: block;
    margin-bottom: 8px;
    color: #0f2136;
    font-size: 1.02rem;
}

.landing-bullet-list p {
    color: #44576b;
}

.landing-story-visual {
    display: grid;
    gap: 16px;
}

.landing-visual-card {
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(180deg, #07131f 0%, #11243c 100%);
    border: 1px solid rgba(17, 32, 51, 0.08);
    box-shadow: 0 26px 52px rgba(8, 17, 35, 0.16);
}

.landing-visual-caption {
    display: grid;
    gap: 8px;
    padding: 0 8px;
    color: #4d5e70;
}

.landing-visual-caption span {
    color: #d47d31;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-feature-grid,
.landing-process {
    display: grid;
    gap: 20px;
}

.landing-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.landing-feature {
    display: grid;
    gap: 14px;
    padding: 28px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 32, 51, 0.08);
    box-shadow: 0 18px 42px rgba(8, 17, 35, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.landing-feature:hover,
.landing-step:hover,
.landing-bullet-list article:hover,
.landing-trust-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 125, 49, 0.22);
}

.landing-feature:hover,
.landing-trust-item:hover {
    box-shadow: 0 24px 48px rgba(8, 17, 35, 0.12);
}

.landing-feature h3,
.landing-step h3 {
    color: #0f2136;
    font-size: 1.5rem;
}

.landing-feature p,
.landing-step p,
.landing-section-head p,
.landing-story-copy p,
.landing-cta-copy p {
    color: #4d5e70;
}

.landing-feature-wide {
    grid-column: span 2;
    background:
        radial-gradient(circle at top right, rgba(245, 163, 92, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(11, 27, 46, 0.98), rgba(14, 31, 48, 0.94));
    color: #fbf7f0;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 56px rgba(7, 14, 24, 0.22);
}

.landing-feature-wide h3,
.landing-feature-wide p,
.landing-feature-wide .landing-feature-tag,
.landing-feature-accent h3,
.landing-feature-accent p {
    color: inherit;
}

.landing-feature-wide p {
    color: rgba(248, 242, 233, 0.78);
}

.landing-feature-wide .landing-feature-tag {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.landing-mini-metrics div {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-mini-metrics strong {
    color: #fff7ee;
    font-size: 1rem;
}

.landing-mini-metrics span {
    display: block;
    margin-top: 8px;
    color: rgba(248, 242, 233, 0.72);
    font-size: 0.92rem;
}

.landing-feature-accent {
    background:
        radial-gradient(circle at top right, rgba(54, 214, 176, 0.18), transparent 26%),
        linear-gradient(180deg, #0b2136 0%, #12283f 100%);
    color: #f8f4ed;
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-feature-accent .landing-feature-tag {
    color: #f8f4ed;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-feature-accent p {
    color: rgba(248, 242, 233, 0.74);
}

.landing-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.landing-step span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #d47d31;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.landing-cta-section {
    background:
        radial-gradient(circle at top left, rgba(54, 214, 176, 0.16), transparent 24%),
        linear-gradient(180deg, #07121e 0%, #0c1a2b 100%);
}

.landing-cta-shell {
    padding: 34px;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.24);
}

.landing-cta-copy h2,
.landing-cta-copy p,
.landing-cta-actions small {
    color: #f8f4ed;
}

.landing-cta-copy p {
    color: rgba(248, 242, 233, 0.74);
}

.landing-cta-actions {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.landing-cta-actions small {
    color: rgba(248, 242, 233, 0.62);
    line-height: 1.8;
}

.auth-login-page {
    background:
        radial-gradient(circle at 10% 14%, rgba(245, 163, 92, 0.18), transparent 24%),
        radial-gradient(circle at 86% 10%, rgba(54, 214, 176, 0.12), transparent 20%),
        linear-gradient(180deg, #07121e 0%, #101f31 42%, #f4efe6 42%, #f7f4ed 100%);
}

.auth-login-page .auth-shell {
    width: min(100% - 30px, 1220px);
    padding: 32px 0 60px;
}

.auth-login-page .auth-logo {
    margin: 0 0 22px;
}

.auth-login-page .auth-logo .brand-mark {
    background: linear-gradient(180deg, #f4a35c 0%, #d47d31 100%);
    color: #112033;
}

.auth-redesign {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
    gap: 26px;
    align-items: stretch;
}

.auth-redesign-visual {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: start;
    gap: 24px;
    padding: 42px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245, 163, 92, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(54, 214, 176, 0.14), transparent 22%),
        linear-gradient(180deg, #07121e 0%, #11243b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
    color: #f8f4ed;
}

.auth-redesign-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 86px 86px;
    opacity: 0.24;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 92%);
    pointer-events: none;
}

.auth-redesign-visual > * {
    position: relative;
    z-index: 1;
}

.auth-redesign-copy h1 {
    color: #fff9f1;
    font-size: clamp(1.95rem, 3.3vw, 2.9rem);
}

.auth-redesign-copy p {
    margin-top: 18px;
    max-width: 40rem;
    color: rgba(248, 242, 233, 0.76);
    font-size: 1.02rem;
}

.auth-redesign-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.auth-redesign-highlights article {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-redesign-highlights strong {
    margin-bottom: 10px;
    color: #f4a35c;
    font-size: 1.02rem;
}

.auth-redesign-highlights span {
    display: block;
    color: rgba(248, 242, 233, 0.78);
    line-height: 1.8;
}

.auth-redesign-frame {
    position: relative;
    perspective: 1400px;
    --parallax-rotate-x: 0deg;
    --parallax-rotate-y: 0deg;
}

.auth-redesign-panel {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 32px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 32, 51, 0.08);
    box-shadow: 0 28px 56px rgba(8, 17, 35, 0.14);
}

.auth-redesign-panel h2 {
    color: #0f2136;
    font-size: clamp(1.7rem, 2.8vw, 2.25rem);
}

.auth-redesign-lead {
    margin-top: -6px;
}

.auth-redesign-submit {
    width: 100%;
    background: linear-gradient(180deg, #0f2e4b 0%, #091b2f 100%);
}

.auth-redesign-helper {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #faf6ef 0%, #f2ece2 100%);
    border: 1px solid rgba(17, 32, 51, 0.08);
}

.auth-redesign-helper strong {
    color: #0f2136;
    font-size: 1rem;
}

.auth-redesign-actions {
    gap: 10px;
}

.auth-redesign-actions > * {
    flex: 1 1 180px;
}

.auth-redesign-register {
    background: linear-gradient(180deg, #f4a35c 0%, #d47d31 100%);
    color: #112033;
}

.auth-redesign-panel .auth-redesign-secondary {
    background: #edf2f8;
    color: #163454;
    border-color: rgba(17, 32, 51, 0.08);
}

.auth-redesign-panel .auth-redesign-secondary:hover {
    background: #e7edf5;
}

.auth-redesign-links {
    margin-top: 2px;
}

.auth-redesign-links a {
    color: #163454;
}

[data-parallax-layer] {
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
    transition: transform 0.32s ease;
    will-change: transform;
}

@keyframes landing-float {
    0%,
    100% {
        transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
    }

    50% {
        transform: translate3d(calc(var(--parallax-x, 0) + 4px), calc(var(--parallax-y, 0) - 10px), 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-floating-chip,
    .auth-redesign-chip {
        animation: none;
    }
}

@media (max-width: 1180px) {
    .landing-hero-shell,
    .landing-story-grid,
    .landing-cta-shell,
    .auth-redesign {
        grid-template-columns: 1fr;
    }

    .landing-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-hero-shell {
        min-height: auto;
        padding-top: 48px;
    }

    .landing-trust-grid,
    .auth-redesign-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .landing-hero-proof,
    .landing-process,
    .landing-mini-metrics,
    .landing-feature-grid {
        grid-template-columns: 1fr;
    }

    .landing-feature-wide {
        grid-column: auto;
    }

    .auth-redesign-visual {
        padding: 28px;
    }
}

@media (max-width: 720px) {
    .landing-hero-copy h1 {
        font-size: clamp(1.9rem, 7.4vw, 2.8rem);
    }

    .auth-redesign-copy h1 {
        font-size: clamp(1.8rem, 6.8vw, 2.35rem);
    }

    .landing-trust-bar {
        margin-top: -22px;
    }

    .landing-feature,
    .landing-bullet-list article,
    .landing-step,
    .auth-redesign-panel {
        padding: 22px;
        border-radius: 26px;
    }
}

@media (max-width: 560px) {
    .landing-hero-actions > *,
    .landing-cta-actions > *,
    .auth-redesign-actions > * {
        width: 100%;
    }

    .landing-hero-media {
        min-height: auto;
    }

    .landing-floating-chip,
    .auth-redesign-chip {
        position: static;
        margin-bottom: 12px;
    }

    .landing-hero-frame,
    .auth-redesign-art,
    .landing-visual-card,
    .landing-cta-shell,
    .auth-redesign-visual {
        border-radius: 28px;
    }
}
