* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.automation-command-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.2fr) auto;
    gap: 22px;
    align-items: center;
    margin: 20px 0;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 32px;
    background:
        radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--color-primary) 14%, transparent), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 241, 232, 0.78));
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.1);
}

.automation-command-copy h2,
.automation-editor-head h3 {
    margin: 0;
    font-family: 'Fraunces', serif;
}

.automation-command-copy p,
.automation-editor-head p {
    margin: 8px 0 0;
    color: rgba(17, 24, 39, 0.62);
    line-height: 1.65;
}

.automation-command-grid,
.automation-editor-grid {
    display: grid;
    gap: 14px;
}

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

.automation-command-grid div,
.automation-editor-card,
.webhook-preview {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
}

.automation-command-grid div {
    padding: 16px;
}

.automation-command-grid span,
.automation-command-grid small,
.webhook-preview span {
    display: block;
    color: rgba(17, 24, 39, 0.58);
    font-weight: 800;
}

.automation-command-grid strong {
    display: block;
    margin: 8px 0;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1;
}

.automation-settings-section {
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--color-primary) 12%, transparent), transparent 34%),
        rgba(246, 241, 232, 0.72);
}

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

.automation-editor-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.automation-editor-head {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.automation-editor-head > span {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    box-shadow: 0 16px 34px color-mix(in srgb, var(--color-primary) 26%, transparent);
}

.webhook-preview {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.webhook-preview code {
    display: block;
    overflow-wrap: anywhere;
    color: var(--color-primary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.staff-timeline {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.staff-timeline-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.staff-timeline-item.is-now {
    border-color: color-mix(in srgb, var(--color-primary) 32%, rgba(17, 24, 39, 0.08));
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 10%, #fff), #fff);
}

.timeline-time {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 4px;
    min-height: 86px;
    border-radius: 22px;
    background: rgba(246, 241, 232, 0.9);
}

.timeline-time strong {
    font-family: 'Fraunces', serif;
    font-size: 1.7rem;
    line-height: 1;
}

.timeline-time span,
.timeline-title-row p,
.timeline-meta,
.timeline-adjusted {
    color: rgba(17, 24, 39, 0.62);
}

.timeline-body {
    display: grid;
    gap: 10px;
}

.timeline-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.timeline-title-row h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.timeline-title-row p,
.timeline-adjusted {
    margin: 4px 0 0;
}

.timeline-meta,
.timeline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.timeline-meta > span:not(.badge) {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    font-weight: 800;
    font-size: 0.82rem;
}

.now-pill {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: var(--color-primary);
    font-weight: 900;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.timeline-actions form {
    margin: 0;
}

@media (max-width: 980px) {
    .automation-command-card {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .automation-command-grid,
    .automation-editor-grid {
        grid-template-columns: 1fr;
    }

    .staff-timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-time {
        grid-template-columns: auto auto;
        justify-content: start;
        padding: 14px 16px;
        min-height: auto;
    }

    .desktop-booking-table {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(217, 119, 6, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(31, 41, 55, 0.08), transparent 25%),
        linear-gradient(180deg, #f9f6ef 0%, #fcfaf5 48%, #f4ede0 100%);
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom);
}

.register-wizard-page,
.register-wizard-page input,
.register-wizard-page select,
.register-wizard-page textarea,
.register-wizard-page button {
    font-family: 'Manrope', sans-serif;
}

.register-wizard-page h1,
.register-wizard-page h2,
.register-wizard-page strong,
.register-wizard-page .register-plan-card strong {
    font-family: 'Space Grotesk', sans-serif;
}

.field-hint {
    display: block;
    min-height: 18px;
    margin-top: 7px;
    color: rgba(17, 24, 39, 0.52);
    font-size: 0.82rem;
    font-weight: 800;
}

.field-hint[data-state="available"] {
    color: #047857;
}

.field-hint[data-state="taken"] {
    color: #b42318;
}

.field-hint[data-state="checking"] {
    color: #6f4df6;
}

body.platform-body {
    --platform-ink: #f8f7ff;
    --platform-muted: rgba(248, 247, 255, 0.68);
    --platform-line: rgba(255, 255, 255, 0.1);
    color: var(--platform-ink);
    background:
        radial-gradient(circle at 78% 18%, rgba(124, 58, 237, 0.42), transparent 34%),
        radial-gradient(circle at 52% 72%, rgba(37, 99, 235, 0.2), transparent 34%),
        linear-gradient(180deg, #05051a 0%, #09061f 54%, #050516 100%);
}

body.platform-body .site-backdrop {
    background:
        radial-gradient(circle at 24% 28%, rgba(139, 92, 246, 0.18), transparent 28%),
        radial-gradient(circle at 78% 58%, rgba(236, 72, 153, 0.12), transparent 26%);
}

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

a,
button,
.button {
    -webkit-user-select: none;
    user-select: none;
}

button,
input,
select,
textarea {
    font: inherit;
    touch-action: manipulation;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 50%),
        linear-gradient(325deg, rgba(217, 119, 6, 0.08), transparent 40%);
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0;
    backdrop-filter: blur(16px);
    background: rgba(249, 246, 239, 0.72);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

body.platform-body .topbar {
    background: rgba(5, 5, 26, 0.72);
    border-bottom-color: var(--platform-line);
}

body.platform-body .brand small,
body.platform-body .topnav a,
body.platform-body .lang-switch span {
    color: var(--platform-muted);
}

body.platform-body .brand-logo-box,
body.platform-body .lang-switch,
body.platform-body .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--platform-line);
}

body.platform-body .lang-switch a.active {
    background: #fff;
    color: #09061f;
}

body.platform-body .brand-mark {
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 58px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    min-width: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), #111827);
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.18);
}

.brand-logo-box {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

.brand-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo-wide,
body.platform-body .brand-logo-wide {
    width: 172px;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo-wide img {
    width: 172px;
    height: auto;
    display: block;
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong,
.brand-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand small {
    display: block;
    color: rgba(17, 24, 39, 0.62);
    font-weight: 500;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary);
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topnav-links,
.topnav-tools {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.72);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.topnav a:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.58);
}

body.platform-body .topnav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-size: 0.88rem;
}

.lang-switch span {
    color: rgba(17, 24, 39, 0.56);
}

.lang-switch a {
    padding: 6px 8px;
    border-radius: 999px;
}

.lang-switch a.active {
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
}

.page-shell {
    position: relative;
    padding-bottom: 64px;
}

.hero {
    padding: 70px 0 32px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.hero-title,
.section-head h2,
.soft-card h3,
.form-card h2,
.table-card h2,
.empty-card h1,
.empty-card h3,
.admin-section h1 {
    margin: 0;
    font-family: 'Fraunces', serif;
    line-height: 1.04;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    max-width: 12ch;
}

.hero-copy,
.muted-copy,
.soft-card p,
.empty-card p {
    color: rgba(17, 24, 39, 0.72);
    line-height: 1.75;
}

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

.hero-actions,
.action-list,
.feature-list,
.checklist,
.list-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 18px;
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button-small {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.92rem;
}

.button:hover {
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--color-accent) 46%, transparent);
    outline-offset: 3px;
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #111827);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.18);
}

.button-secondary,
.button-ghost {
    color: var(--color-primary);
    border-color: rgba(17, 24, 39, 0.12);
    background: rgba(255, 255, 255, 0.82);
}

.button-block {
    width: 100%;
}

.hero-card,
.soft-card,
.form-card,
.table-card,
.empty-card,
.pricing-card,
.service-card,
.stat-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

.hero-card,
.soft-card,
.table-card,
.empty-card,
.pricing-card {
    padding: 28px;
}

.form-card {
    padding: 28px;
}

.form-card-wide {
    width: 100%;
}

.mini-grid,
.pricing-grid,
.stats-grid,
.admin-grid,
.service-grid,
.two-col {
    display: grid;
    gap: 20px;
}

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

.mini-stat {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(246, 241, 232, 0.95), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.mini-stat span,
.stat-card span,
.service-row span,
.service-row small {
    display: block;
    color: rgba(17, 24, 39, 0.62);
}

.mini-stat strong,
.stat-card strong,
.price {
    display: block;
    margin-top: 6px;
    font-size: 1.45rem;
}

.note-card {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.92));
    color: #f8f4eb;
}

.note-card p {
    margin-bottom: 0;
    color: rgba(248, 244, 235, 0.78);
}

.section {
    padding: 18px 0 34px;
}

.marketing-hero {
    padding: 92px 0 54px;
    overflow: hidden;
}

.marketing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 52px;
    align-items: center;
}

.marketing-hero-copy h1,
.marketing-section-head h2,
.industries-panel h2,
.final-cta h2,
.legal-hero h1 {
    margin: 0;
    font-family: 'Fraunces', serif;
    line-height: 0.98;
}

.marketing-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(3.8rem, 8vw, 7.2rem);
    letter-spacing: -0.08em;
}

.marketing-hero-copy p {
    max-width: 720px;
    margin: 28px 0 0;
    color: var(--platform-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.75;
}

.marketing-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(248, 247, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--platform-line);
}

.marketing-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #8b5cf6;
    box-shadow: 0 0 22px #8b5cf6;
}

.marketing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.marketing-cta {
    min-width: 190px;
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    box-shadow: 0 22px 56px rgba(79, 70, 229, 0.35);
}

body.platform-body .button-secondary,
body.platform-body .button-ghost {
    color: #f8f7ff;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--platform-line);
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    color: rgba(248, 247, 255, 0.66);
}

.trust-row span {
    color: #9f7aea;
    letter-spacing: 0.08em;
}

.hero-visual-card {
    position: relative;
    min-height: 430px;
    border-radius: 32px;
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid var(--platform-line);
    box-shadow: 0 34px 90px rgba(37, 99, 235, 0.24);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    color: #fff;
    background: rgba(8, 8, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.floating-card span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #8b5cf6;
    box-shadow: 0 0 20px #8b5cf6;
}

.floating-card small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
}

.floating-card-top {
    top: -16px;
    right: -14px;
}

.floating-card-bottom {
    left: -26px;
    bottom: -24px;
}

.platform-console-card {
    position: relative;
    min-height: 430px;
    padding: 26px;
    border-radius: 30px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at 72% 20%, rgba(139, 92, 246, 0.42), transparent 34%),
        rgba(8, 8, 32, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.platform-console-card::before {
    content: "";
    position: absolute;
    inset: 18% -20% auto auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.28);
    filter: blur(18px);
}

.platform-console-top,
.platform-console-main,
.platform-console-list {
    position: relative;
    z-index: 1;
}

.platform-console-top {
    display: flex;
    gap: 8px;
}

.platform-console-top span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
}

.platform-console-main {
    margin-top: 58px;
    max-width: 360px;
}

.platform-console-main strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.platform-console-main p {
    margin: 16px 0 0;
    color: var(--platform-muted);
}

.platform-console-list {
    display: grid;
    gap: 10px;
    margin-top: 42px;
}

.platform-console-list div {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.platform-console-list span,
.platform-console-list em {
    color: var(--platform-muted);
    font-style: normal;
    font-size: 0.9rem;
}

.marketing-section {
    padding: 58px 0;
}

.marketing-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 24px;
}

.marketing-section-head h2,
.industries-panel h2,
.final-cta h2,
.legal-hero h1 {
    font-size: clamp(2.5rem, 4.6vw, 5rem);
    letter-spacing: -0.06em;
}

.marketing-section-head p,
.industries-panel p,
.final-cta p,
.legal-hero p,
.legal-card p {
    color: var(--platform-muted);
    line-height: 1.75;
}

.feature-cloud,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-tile,
.step-card,
.industries-panel,
.final-cta,
.legal-hero,
.legal-card {
    border: 1px solid var(--platform-line);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
}

.feature-tile,
.step-card,
.legal-card {
    padding: 24px;
    border-radius: 26px;
}

.feature-tile span,
.step-card span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    font-weight: 900;
}

.feature-tile h3,
.step-card h3,
.legal-card h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.feature-tile p,
.step-card p {
    margin: 0;
    color: var(--platform-muted);
    line-height: 1.65;
}

.section-ink {
    position: relative;
    background:
        radial-gradient(circle at 18% 24%, rgba(139, 92, 246, 0.16), transparent 30%),
        rgba(255, 255, 255, 0.03);
}

.product-showcase-section {
    position: relative;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.product-shot-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--platform-line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.2), transparent 34%),
        rgba(255, 255, 255, 0.065);
    box-shadow: 0 28px 78px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
}

.product-shot-card::after {
    content: "";
    position: absolute;
    inset: auto 18px -80px;
    height: 120px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.22);
    filter: blur(34px);
    pointer-events: none;
}

.product-shot-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 32, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.product-shot-card div {
    position: relative;
    z-index: 1;
}

.product-shot-card h3 {
    margin: 0 0 8px;
    font-size: 1.22rem;
}

.product-shot-card p {
    margin: 0;
    color: var(--platform-muted);
    line-height: 1.65;
}

.product-copy-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 26px;
    border-radius: 30px;
    border: 1px solid var(--platform-line);
    background:
        radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.2), transparent 34%),
        rgba(255, 255, 255, 0.065);
    box-shadow: 0 28px 78px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
}

.product-copy-card span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 38px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 900;
}

.product-copy-card h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.product-copy-card p {
    margin: 0;
    color: var(--platform-muted);
    line-height: 1.65;
}

.pricing-grid-premium {
    align-items: stretch;
}

.pricing-card-premium {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #f8f7ff;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--platform-line);
    min-height: 100%;
}

.pricing-card-premium.is-featured {
    background:
        linear-gradient(180deg, rgba(139, 92, 246, 0.22), rgba(255, 255, 255, 0.07));
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 34px 90px rgba(79, 70, 229, 0.28);
}

.pricing-card-premium .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #fff;
    font-size: 2.8rem;
}

.pricing-card-premium .price span {
    color: var(--platform-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.pricing-card-premium .pricing-top p {
    color: var(--platform-muted);
}

.plan-ribbon {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    font-weight: 800;
}

.limit-list {
    display: grid;
    gap: 10px;
}

.limit-list div {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--platform-line);
    color: rgba(248, 247, 255, 0.82);
}

.pricing-card-premium .feature-list {
    flex: 1;
}

.pricing-card-premium .button {
    margin-top: auto;
}

.pricing-card-premium .feature-list div {
    color: rgba(248, 247, 255, 0.78);
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--platform-line);
}

.industries-panel,
.final-cta,
.legal-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.7fr);
    gap: 32px;
    align-items: center;
    padding: 34px;
    border-radius: 34px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.industry-tags span {
    padding: 12px 14px;
    border-radius: 999px;
    color: #f8f7ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--platform-line);
    font-weight: 800;
}

.final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
}

.missing-tenant-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 74px;
}

.missing-tenant-hero::before {
    content: "";
    position: absolute;
    inset: 10% auto auto 52%;
    width: 560px;
    height: 560px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 68%);
    pointer-events: none;
}

.missing-tenant-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
    gap: 28px;
    align-items: stretch;
}

.missing-tenant-copy,
.missing-tenant-panel {
    border: 1px solid var(--platform-line);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.missing-tenant-copy {
    padding: clamp(28px, 5vw, 54px);
    border-radius: 38px;
}

.missing-tenant-copy h1 {
    max-width: 11ch;
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.missing-tenant-copy > p {
    max-width: 760px;
    margin: 26px 0 0;
    color: var(--platform-muted);
    font-size: clamp(1.02rem, 1.3vw, 1.18rem);
    line-height: 1.78;
}

.missing-domain-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    padding: 14px;
    border: 1px solid var(--platform-line);
    border-radius: 26px;
    background: rgba(8, 8, 32, 0.54);
}

.missing-domain-card div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

.missing-domain-card span,
.missing-domain-card small {
    display: block;
    color: var(--platform-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.missing-domain-card strong {
    display: block;
    margin-top: 6px;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 1.08rem;
}

.missing-domain-card small {
    grid-column: 1 / -1;
    padding: 10px 12px;
    border-radius: 999px;
    color: #d8b4fe;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.missing-tenant-actions {
    margin-top: 28px;
}

.missing-login-link {
    display: inline-flex;
    margin-top: 18px;
    color: rgba(248, 247, 255, 0.78);
    font-weight: 900;
}

.missing-tenant-panel {
    display: grid;
    gap: 24px;
    align-content: start;
    padding: 28px;
    border-radius: 34px;
}

.missing-panel-orb {
    display: grid;
    place-items: center;
    min-height: 180px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.34), transparent 18%),
        radial-gradient(circle at 50% 48%, rgba(139, 92, 246, 0.9), transparent 28%),
        radial-gradient(circle at 64% 36%, rgba(236, 72, 153, 0.56), transparent 30%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(8, 8, 32, 0.9));
    border: 1px solid var(--platform-line);
}

.missing-panel-orb span {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    box-shadow: 0 24px 70px rgba(79, 70, 229, 0.42);
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
}

.missing-tenant-panel h2 {
    margin: 0 0 16px;
    font-size: 1.4rem;
}

.missing-step-list {
    display: grid;
    gap: 12px;
}

.missing-step-list div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--platform-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.missing-step-list span {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    font-weight: 900;
}

.missing-step-list p,
.missing-note p {
    margin: 0;
    color: var(--platform-muted);
    line-height: 1.65;
}

.missing-note {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--platform-line);
}

.missing-note strong {
    display: block;
    margin-bottom: 8px;
}

.site-footer {
    position: relative;
    padding: 26px 0 34px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

body.platform-body .site-footer {
    border-top-color: var(--platform-line);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(17, 24, 39, 0.62);
}

body.platform-body .site-footer-inner {
    color: var(--platform-muted);
}

.site-footer-inner strong,
.site-footer-inner span {
    display: block;
}

.site-footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer-inner a {
    font-weight: 800;
}

.legal-page {
    padding-top: 40px;
}

.legal-shell {
    display: grid;
    gap: 22px;
}

.legal-hero {
    display: block;
}

.legal-hero small {
    color: var(--platform-muted);
    font-weight: 800;
}

.legal-stack {
    display: grid;
    gap: 16px;
}

.legal-note-card,
.legal-mini-card,
.legal-preview-panel,
.faq-hero,
.faq-card,
.faq-sidebar {
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.07);
}

.legal-note-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 241, 232, 0.78));
}

.legal-note-card strong,
.legal-mini-card strong {
    color: var(--color-primary);
}

.legal-note-card span,
.legal-mini-card p,
.legal-preview-panel p {
    margin: 0;
    color: rgba(17, 24, 39, 0.68);
    line-height: 1.65;
}

.legal-mini-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.legal-preview-panel {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(246, 241, 232, 0.72));
}

.legal-preview-panel h2 {
    margin: 0 0 8px;
    font-family: 'Fraunces', serif;
}

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

.tenant-terms-preview {
    background: linear-gradient(135deg, rgba(246, 241, 232, 0.76), rgba(255, 255, 255, 0.88));
}

.faq-page {
    padding-top: 38px;
}

.faq-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 22px;
    align-items: stretch;
    padding: 26px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 12%, rgba(217, 119, 6, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(246, 241, 232, 0.78));
}

.faq-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.faq-hero p {
    max-width: 760px;
    margin: 14px 0 0;
    color: rgba(17, 24, 39, 0.68);
    line-height: 1.7;
}

.faq-hero-card {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
}

.faq-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 22px;
}

.faq-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
}

.faq-sidebar span {
    margin-bottom: 4px;
    color: var(--platform-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.faq-sidebar a {
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--color-primary);
    font-weight: 800;
    text-decoration: none;
}

.faq-sidebar a:hover {
    background: rgba(246, 241, 232, 0.9);
}

.faq-stack {
    display: grid;
    gap: 18px;
}

.faq-card {
    scroll-margin-top: 104px;
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
}

.faq-card-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.faq-card-head > span {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 900;
}

.faq-card h2 {
    margin: 0;
    font-family: 'Fraunces', serif;
}

.faq-card-head p {
    margin: 6px 0 0;
    color: rgba(17, 24, 39, 0.64);
    line-height: 1.55;
}

.faq-items {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: rgba(246, 241, 232, 0.55);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 15px 16px;
    color: var(--color-primary);
    font-weight: 900;
}

.faq-item p {
    margin: 0;
    padding: 0 16px 16px;
    color: rgba(17, 24, 39, 0.68);
    line-height: 1.66;
}

.faq-legal-card {
    align-items: start;
}

.faq-legal-card a {
    color: var(--color-primary);
    font-weight: 900;
}

.section-soft {
    padding-top: 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.section-head h1,
.section-head h2,
.section-head p {
    margin-top: 0;
}

.section-head p {
    max-width: 720px;
    margin-bottom: 0;
}

.section-head-tight {
    margin-bottom: 18px;
}

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

.pricing-top p {
    color: rgba(17, 24, 39, 0.7);
}

.feature-list div,
.action-list a,
.checklist div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(246, 241, 232, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.checklist .done {
    background: rgba(17, 24, 39, 0.92);
    color: #f8f4eb;
}

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

.auth-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 24px;
}

.auth-premium {
    padding-top: 34px;
}

.auth-panel {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    border-radius: 28px;
    color: #f8f4eb;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.92)),
        linear-gradient(45deg, rgba(217, 119, 6, 0.22), transparent);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 52px rgba(17, 24, 39, 0.18);
}

.auth-panel h1 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    line-height: 1.02;
}

.auth-panel p {
    color: rgba(248, 244, 235, 0.76);
    line-height: 1.75;
}

.auth-panel .eyebrow {
    color: #fbbf24;
}

.tenant-auth-panel {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--color-primary) 86%, #111827), rgba(17, 24, 39, 0.92)),
        linear-gradient(45deg, color-mix(in srgb, var(--color-accent) 34%, transparent), transparent);
}

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

.auth-proof-grid div,
.email-preview-card,
.summary-list div {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
}

.auth-proof-grid strong,
.auth-proof-grid span,
.email-preview-card span,
.email-preview-card small,
.summary-list span,
.summary-list strong {
    display: block;
}

.auth-proof-grid span,
.email-preview-card small {
    margin-top: 6px;
    color: rgba(248, 244, 235, 0.66);
    line-height: 1.5;
}

.email-preview-card {
    margin-top: 26px;
}

.email-preview-card strong {
    display: block;
    margin-top: 6px;
    font-family: 'Fraunces', serif;
    font-size: 2rem;
}

.form-card-premium {
    border-radius: 24px;
}

.form-section {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(246, 241, 232, 0.72);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.form-section > div:first-child {
    max-width: 760px;
}

.form-section h2 {
    margin: 6px 0 4px;
    font-family: 'Fraunces', serif;
}

.form-section p {
    margin: 0;
    color: rgba(17, 24, 39, 0.62);
    line-height: 1.55;
}

.form-section-kicker {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.86rem;
}

.booking-flow .auth-panel,
.booking-flow .form-card-premium {
    align-self: start;
}

.booking-service-groups,
.booking-service-list,
.booking-choice-grid,
.booking-slot-grid,
.booking-summary-stack,
.booking-legal-grid {
    display: grid;
    gap: 12px;
}

.booking-service-group {
    display: grid;
    gap: 10px;
}

.booking-choice-grid,
.booking-slot-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.booking-service-option,
.booking-choice-card,
.booking-slot-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.booking-service-option:hover,
.booking-choice-card:hover,
.booking-slot-option:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 24, 39, 0.18);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.booking-service-option input,
.booking-choice-card input,
.booking-slot-option input {
    margin-top: 4px;
    accent-color: var(--color-primary);
}

.booking-service-option span,
.booking-choice-card span,
.booking-slot-option span {
    display: grid;
    gap: 4px;
}

.booking-service-option small,
.booking-choice-card small,
.booking-summary-row small,
.booking-muted,
.booking-success-meta {
    color: rgba(17, 24, 39, 0.64);
    line-height: 1.5;
}

.booking-slot-option {
    align-items: center;
    justify-content: center;
}

.booking-slot-option span {
    font-weight: 800;
    color: var(--color-primary);
}

.booking-summary-card,
.booking-success-card,
.booking-legal-card {
    display: grid;
    gap: 14px;
}

.booking-summary-row,
.booking-summary-total,
.booking-success-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.booking-summary-total {
    padding-top: 12px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    align-items: center;
}

.booking-summary-total strong,
.booking-success-card strong:first-child {
    font-family: 'Fraunces', serif;
}

.booking-success-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 241, 232, 0.9));
}

.booking-legal-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.booking-account-page {
    padding-top: 32px;
}

.booking-account-shell {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.booking-account-sidebar,
.booking-account-detail,
.booking-list-stack {
    display: grid;
    gap: 18px;
}

.booking-account-person,
.booking-account-profile-note {
    display: grid;
    gap: 4px;
    color: rgba(17, 24, 39, 0.66);
}

.booking-list-head,
.booking-list-row,
.booking-list-meta,
.booking-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.booking-list-item {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.84);
    color: inherit;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.booking-list-item:hover,
.booking-list-item.is-active {
    transform: translateY(-1px);
    border-color: rgba(17, 24, 39, 0.18);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.booking-list-item.is-active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 241, 232, 0.9));
}

.booking-list-meta,
.booking-account-person span,
.booking-detail-head p,
.booking-detail-stat span {
    color: rgba(17, 24, 39, 0.64);
}

.booking-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    background: rgba(17, 24, 39, 0.08);
    color: rgba(17, 24, 39, 0.8);
}

.booking-status-badge.is-confirmed {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.booking-status-badge.is-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
}

.booking-status-badge.is-completed {
    background: rgba(59, 130, 246, 0.14);
    color: #1d4ed8;
}

.booking-status-badge.is-no-show,
.booking-button-cancel {
    background: rgba(239, 68, 68, 0.14);
    color: #991b1b;
}

.booking-status-badge.is-cancelled {
    background: rgba(107, 114, 128, 0.16);
    color: #374151;
}

.booking-detail-panel {
    display: grid;
    gap: 18px;
}

.booking-detail-head h2,
.booking-list-row strong {
    margin: 0;
    font-family: 'Fraunces', serif;
}

.booking-detail-head p {
    margin: 6px 0 0;
}

.booking-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.booking-detail-stat {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.05);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.booking-detail-actions,
.booking-reschedule-block {
    display: grid;
    gap: 14px;
}

.booking-button-cancel:hover {
    border-color: rgba(239, 68, 68, 0.34);
    box-shadow: 0 12px 24px rgba(127, 29, 29, 0.12);
}

@media (max-width: 980px) {
    .booking-account-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .booking-detail-grid {
        grid-template-columns: 1fr;
    }
}

.info-strip-error {
    display: grid;
    gap: 8px;
    color: #7f1d1d;
    background: rgba(254, 226, 226, 0.92);
    border-color: rgba(239, 68, 68, 0.22);
}

.form-link-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.form-link-row a,
.form-link-centered {
    color: var(--color-primary);
    font-weight: 800;
}

.form-link-centered {
    text-align: center;
}

.summary-list {
    display: grid;
    gap: 12px;
}

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

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

.social-preview-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-weight: 800;
}

.summary-list div {
    background: rgba(17, 24, 39, 0.06);
    border-color: rgba(17, 24, 39, 0.08);
}

.summary-list span {
    color: rgba(17, 24, 39, 0.58);
    font-size: 0.88rem;
    font-weight: 700;
}

.summary-list strong {
    margin-top: 6px;
    overflow-wrap: anywhere;
}

.summary-list-dark div {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.summary-list-dark span {
    color: rgba(248, 244, 235, 0.62);
}

.summary-list-dark strong {
    color: #f8f4eb;
}

.register-wizard-page {
    position: relative;
    overflow: hidden;
    padding-top: 42px;
}

.register-wizard-page::before,
.register-wizard-page::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.72;
    animation: wizardGlow 12s ease-in-out infinite alternate;
}

.register-wizard-page::before {
    width: 360px;
    height: 360px;
    top: 8%;
    right: 7%;
    background: rgba(139, 92, 246, 0.2);
}

.register-wizard-page::after {
    width: 260px;
    height: 260px;
    bottom: 6%;
    left: 4%;
    background: rgba(37, 99, 235, 0.16);
    animation-delay: -4s;
}

.register-wizard-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.register-wizard-intro {
    min-height: 680px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(10, 10, 34, 0.98), rgba(35, 24, 82, 0.94)),
        radial-gradient(circle at 24% 18%, rgba(139, 92, 246, 0.42), transparent 28%);
}

.register-wizard-intro::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.22);
    filter: blur(6px);
}

.register-wizard-card {
    position: relative;
    padding: 28px;
    color: #111827;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(248, 247, 255, 0.94)),
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 36%);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 30px 80px rgba(8, 8, 32, 0.32);
}

.wizard-heading,
.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wizard-heading {
    margin-bottom: 20px;
}

.wizard-heading h2 {
    margin: 8px 0 4px;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.wizard-heading p {
    margin: 0;
    color: rgba(17, 24, 39, 0.62);
}

.wizard-time {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: rgba(17, 24, 39, 0.68);
    font-weight: 900;
    white-space: nowrap;
}

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

.wizard-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    color: rgba(17, 24, 39, 0.54);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wizard-step:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, 0.28);
}

.wizard-step span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
    font-weight: 900;
}

.wizard-step strong {
    font-size: 0.95rem;
}

.wizard-step.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.18);
}

.wizard-step.is-active span {
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    color: #fff;
}

.wizard-step.is-complete {
    background: rgba(139, 92, 246, 0.12);
    color: #111827;
    border-color: rgba(139, 92, 246, 0.22);
}

.wizard-panel {
    border: 0;
    margin: 0;
    padding: 0;
    animation: wizardPanelIn 0.32s ease both;
}

.wizard-panel[hidden] {
    display: none;
}

.wizard-section {
    gap: 18px;
    padding: 22px;
    background: rgba(246, 241, 232, 0.6);
}

.register-wizard-form input,
.register-wizard-form select {
    background: #fff;
    border-color: rgba(17, 24, 39, 0.12);
}

.register-wizard-form input:focus,
.register-wizard-form select:focus {
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.register-checkbox {
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.register-checkbox input {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 3px;
    accent-color: #7c3aed;
}

.register-checkbox span {
    margin: 0;
    color: rgba(17, 24, 39, 0.72);
    line-height: 1.58;
}

.register-checkbox a {
    color: #5b21b6;
    font-weight: 900;
}

.register-legal-card {
    background: rgba(17, 24, 39, 0.05);
    border-color: rgba(17, 24, 39, 0.08);
}

.wizard-actions {
    margin-top: 4px;
}

.wizard-actions .button {
    min-width: 150px;
}

.wizard-actions .button[hidden] {
    display: none;
}

.wizard-actions .button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

@keyframes wizardPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wizardGlow {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(18px, -12px, 0) scale(1.08);
    }
}

.dev-helper-card {
    border-style: dashed;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-two,
.form-five {
    display: grid;
    gap: 14px;
}

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

.form-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.branding-studio {
    --brand-preview-primary: var(--color-primary);
    --brand-preview-secondary: var(--color-secondary);
    --brand-preview-accent: var(--color-accent);
    --brand-preview-surface: var(--color-surface);
    --brand-preview-text: var(--color-text);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 18px;
    align-items: stretch;
}

.branding-controls {
    display: grid;
    gap: 14px;
    align-content: start;
}

.brand-color-pickers label {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
}

.brand-color-pickers input[type="color"] {
    width: 100%;
    height: 58px;
    padding: 5px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.brand-color-pickers small {
    display: block;
    margin-top: 10px;
    color: rgba(17, 24, 39, 0.58);
    line-height: 1.45;
}

.branding-note {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.56)),
        radial-gradient(circle at top left, var(--brand-preview-secondary), transparent 58%);
}

.brand-simulation-card {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    padding: 24px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 10%, var(--brand-preview-secondary), transparent 34%),
        radial-gradient(circle at 82% 0%, var(--brand-preview-primary), transparent 24%),
        linear-gradient(145deg, #ffffff, var(--brand-preview-surface));
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.14);
    color: var(--brand-preview-text);
    isolation: isolate;
}

.brand-sim-glow {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    filter: blur(22px);
    opacity: 0.28;
    pointer-events: none;
}

.brand-sim-glow-one {
    top: -78px;
    right: -54px;
    background: var(--brand-preview-primary);
}

.brand-sim-glow-two {
    bottom: -70px;
    left: -40px;
    background: var(--brand-preview-secondary);
}

.brand-sim-phone {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    min-height: 450px;
    padding: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 30px 90px rgba(17, 24, 39, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}

.brand-sim-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-sim-logo {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--brand-preview-secondary);
    color: var(--brand-preview-primary);
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
}

.brand-sim-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

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

.brand-sim-top strong {
    font-size: 1rem;
}

.brand-sim-top small {
    margin-top: 3px;
    color: rgba(17, 24, 39, 0.58);
}

.brand-sim-hero {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 8%, var(--brand-preview-secondary), transparent 46%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68));
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.1);
}

.brand-sim-hero span {
    justify-self: start;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-preview-primary);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand-sim-hero h3 {
    margin: 0;
    max-width: 13ch;
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--brand-preview-primary);
}

.brand-sim-hero p {
    margin: 0;
    color: rgba(17, 24, 39, 0.66);
    line-height: 1.55;
}

.brand-sim-hero button {
    justify-self: start;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-preview-primary), var(--brand-preview-accent));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.22);
}

.brand-sim-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.brand-sim-service strong,
.brand-sim-service span {
    display: block;
}

.brand-sim-service span {
    margin-top: 4px;
    color: rgba(17, 24, 39, 0.56);
    font-size: 0.88rem;
}

.brand-sim-service em {
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--brand-preview-secondary);
    color: var(--brand-preview-primary);
    font-style: normal;
    font-weight: 900;
}

.brand-sim-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.brand-sim-slots span {
    padding: 11px 8px;
    border-radius: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-weight: 800;
}

.brand-sim-slots .is-active {
    background: var(--brand-preview-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

label span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

label {
    display: block;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
}

input::placeholder,
textarea::placeholder {
    color: rgba(17, 24, 39, 0.42);
}

input[type="color"] {
    min-height: 52px;
    padding: 6px;
}

input[type="file"] {
    padding: 12px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(217, 119, 6, 0.6);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.inline-field {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inline-field input {
    min-width: 0;
}

.inline-field small {
    white-space: nowrap;
    color: rgba(17, 24, 39, 0.56);
}

.flash {
    margin: 18px 0 0;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.flash-success {
    background: rgba(17, 24, 39, 0.92);
    color: #f9f6ef;
}

.flash-error {
    background: rgba(127, 29, 29, 0.92);
    color: #fff5f5;
}

.flash-info {
    background: rgba(217, 119, 6, 0.12);
    color: var(--color-text);
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 20px;
}

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

.stat-card {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

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

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.table-card {
    margin-top: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 24, 39, 0.28) transparent;
}

.admin-grid > .table-card,
.panel-grid > .table-card {
    margin-top: 0;
}

.table-card-head,
.inline-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.table-card-head {
    margin-bottom: 16px;
}

.table-card-head h2 {
    margin-bottom: 8px;
}

.is-muted {
    opacity: 0.62;
}

.table-subsection {
    margin-bottom: 22px;
}

.table-subsection h3 {
    margin: 0 0 12px;
    font-family: 'Fraunces', serif;
}

.inline-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(246, 241, 232, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.inline-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inline-actions .button {
    flex: 0 0 auto;
}

.inline-actions form {
    margin: 0;
}

.info-strip {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(246, 241, 232, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-accent {
    color: var(--color-primary);
    background: rgba(217, 119, 6, 0.14);
    border: 1px solid rgba(217, 119, 6, 0.18);
}

.badge-success {
    color: #166534;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.18);
}

.badge-warning {
    color: #92400e;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.badge-danger {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.table-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    color: rgba(17, 24, 39, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
}

.mini-badge-warning {
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
}

.client-action-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    min-width: 780px;
}

.table th,
.table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    text-align: left;
    vertical-align: top;
}

.table th {
    color: rgba(17, 24, 39, 0.62);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.table tbody tr {
    transition: background 0.16s ease;
}

.table tbody tr:hover {
    background: rgba(246, 241, 232, 0.45);
}

.employee-avatar,
.staff-photo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.employee-avatar-fallback,
.staff-photo-fallback {
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    font-weight: 900;
}

.hours-grid {
    display: grid;
    gap: 12px;
}

.hour-row {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(246, 241, 232, 0.78);
}

.hour-row-blocks {
    grid-template-columns: 1.05fr 0.85fr minmax(260px, 2.4fr);
    align-items: start;
}

.working-blocks {
    display: grid;
    gap: 8px;
}

.working-block {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.working-block span {
    color: rgba(17, 24, 39, 0.58);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkbox-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.checkbox-row input {
    width: auto;
    min-height: auto;
    margin: 0;
    margin-top: 4px;
}

.checkbox-row span {
    margin-bottom: 0;
    line-height: 1.55;
}

.settings-intro-card {
    margin-bottom: 18px;
}

.settings-intro-card a {
    color: var(--color-primary);
    font-weight: 700;
}

.settings-flag-grid,
.availability-stack {
    display: grid;
    gap: 14px;
}

.settings-actions {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

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

.availability-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.availability-filter {
    min-width: min(320px, 100%);
}

.availability-filter label {
    display: grid;
    gap: 8px;
}

.availability-mini-note {
    margin-bottom: 18px;
}

.availability-list {
    display: grid;
    gap: 12px;
}

.availability-list-item {
    margin-top: 16px;
}

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

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

.staff-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.staff-card h3 {
    margin: 0;
}

.staff-card p {
    margin: 4px 0 0;
    color: rgba(17, 24, 39, 0.62);
}

.service-card-head p {
    color: rgba(17, 24, 39, 0.68);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.service-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.service-price {
    text-align: right;
    white-space: nowrap;
}

.tenant-highlight {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tenant-logo-box {
    display: grid;
    place-items: center;
    min-height: 150px;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(246, 241, 232, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.tenant-logo-box img {
    width: 100%;
    max-width: 260px;
    max-height: 110px;
    object-fit: contain;
}

.tenant-chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--color-primary);
    font-weight: 700;
}

.tenant-meta {
    padding-left: 18px;
    color: rgba(17, 24, 39, 0.72);
    line-height: 1.8;
}

.empty-card {
    text-align: center;
    padding: 48px 28px;
}

.dashboard-filter-card {
    margin-bottom: 20px;
}

.dashboard-filter {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.dashboard-filter-actions {
    display: flex;
    align-items: center;
}

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

.chart-card {
    overflow: hidden;
}

.chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.chart-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(246, 241, 232, 0.86);
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-size: 0.9rem;
    color: rgba(17, 24, 39, 0.78);
}

.chart-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.platform-admin-page .section-head {
    margin-bottom: 22px;
}

.platform-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.platform-plan-pill,
.ticket-mini-row,
.ticket-row,
.ticket-message {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(246, 241, 232, 0.66);
}

.platform-plan-pill {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 20px;
}

.platform-plan-pill strong {
    font-size: 2rem;
    line-height: 1;
}

.platform-plan-pill small,
.ticket-mini-row small,
.ticket-row small,
.ticket-message span,
.platform-tenant-table small {
    display: block;
    color: rgba(17, 24, 39, 0.62);
}

.ticket-mini-list,
.ticket-list,
.ticket-message-list {
    display: grid;
    gap: 12px;
}

.ticket-mini-row,
.ticket-row {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    color: var(--color-primary);
    text-decoration: none;
}

.ticket-row.is-active {
    background: rgba(217, 119, 6, 0.16);
    border-color: rgba(217, 119, 6, 0.28);
}

.tenant-control-form {
    display: grid;
    min-width: 260px;
    gap: 10px;
}

.tenant-control-form label span {
    font-size: 0.78rem;
}

.ticket-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.ticket-filter,
.ticket-update-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ticket-filter input,
.ticket-filter select,
.ticket-update-form select {
    min-width: 150px;
}

.ticket-detail-card {
    margin-top: 22px;
}

.ticket-message {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.ticket-message.is-internal {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(31, 41, 55, 0.9));
    color: #fff;
}

.ticket-message.is-internal span,
.ticket-message.is-internal p {
    color: rgba(255, 255, 255, 0.72);
}

.ticket-message p {
    margin: 0;
    line-height: 1.65;
}

.ticket-reply-form {
    margin-top: 18px;
}

.platform-admin-faq-stack {
    margin-top: 22px;
}

.chart-legend-wrap {
    max-width: 52%;
}

.chart-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.chart-grid-line {
    stroke: rgba(17, 24, 39, 0.08);
    stroke-width: 1;
}

.chart-point {
    stroke: rgba(255, 255, 255, 0.92);
    stroke-width: 2;
}

.chart-axis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.84rem;
    color: rgba(17, 24, 39, 0.54);
}

@media (max-width: 1024px) {
    .hero-grid,
    .marketing-hero-grid,
    .marketing-section-head,
    .feature-cloud,
    .steps-grid,
    .product-showcase-grid,
    .missing-tenant-grid,
    .industries-panel,
    .final-cta,
    .auth-grid,
    .pricing-grid,
    .admin-grid,
    .panel-grid,
    .branding-studio,
    .chart-grid,
    .service-grid,
    .staff-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

    .hero-visual-card {
        min-height: 360px;
    }

    .hero-visual-card img {
        min-height: 360px;
    }

    .form-five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pricing-card-premium.is-featured {
        transform: none;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, 1160px);
    }

    .topbar {
        padding: 12px 0;
    }

    .topbar-inner {
        min-height: 52px;
        gap: 12px;
    }

    .brand {
        max-width: calc(100% - 62px);
        gap: 10px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .brand-logo-box {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .brand small {
        display: none;
    }

    body.platform-body .topnav {
        background: rgba(8, 8, 32, 0.94);
        border-color: var(--platform-line);
    }

    body.platform-body .topnav-links a {
        background: rgba(255, 255, 255, 0.07);
        border-color: var(--platform-line);
    }

    .marketing-hero {
        padding: 44px 0 36px;
    }

    .marketing-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(3rem, 15vw, 4.6rem);
        letter-spacing: -0.07em;
    }

    .marketing-hero-copy p {
        margin-top: 22px;
        font-size: 1rem;
    }

    .marketing-actions,
    .final-cta .button {
        width: 100%;
    }

    .marketing-actions .button,
    .final-cta .button {
        width: 100%;
    }

    .floating-card {
        position: static;
        margin-top: 12px;
    }

    .pricing-card-premium.is-featured {
        transform: none;
    }

    .industries-panel,
    .final-cta,
    .legal-hero {
        padding: 24px;
        border-radius: 26px;
    }

    .feature-tile,
    .step-card,
    .legal-card,
    .form-card,
    .table-card,
    .empty-card,
    .pricing-card,
    .soft-card,
    .hero-card,
    .stat-card {
        padding: 20px;
        border-radius: 22px;
    }

    .auth-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .form-section {
        padding: 16px;
        border-radius: 18px;
    }

    .topbar-inner {
        align-items: center;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .topnav {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        max-height: 0;
        margin-top: 0;
        padding: 0 16px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid transparent;
        box-shadow: none;
        transition: max-height 0.32s ease, margin-top 0.24s ease, padding 0.24s ease, opacity 0.22s ease, visibility 0.22s ease, transform 0.28s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }

    .topnav.is-open {
        max-height: 620px;
        margin-top: 14px;
        padding: 16px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        border-color: rgba(17, 24, 39, 0.08);
        box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
    }

    body.tenant-menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.tenant-menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.tenant-menu-open .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .topnav-links,
    .topnav-tools {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .topnav-links a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(246, 241, 232, 0.78);
        border: 1px solid rgba(17, 24, 39, 0.08);
    }

    .topnav-tools .lang-switch {
        width: 100%;
        justify-content: space-between;
    }

    .brand-color-pickers {
        grid-template-columns: 1fr;
    }

    .brand-simulation-card {
        min-height: auto;
        padding: 14px;
        border-radius: 28px;
    }

    .brand-sim-phone {
        min-height: auto;
        padding: 14px;
        border-radius: 24px;
    }

    .brand-sim-hero {
        padding: 18px;
    }

    .brand-sim-hero h3 {
        font-size: 2.2rem;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-title {
        font-size: 2.6rem;
        max-width: 100%;
    }

    .hero-actions,
    .form-two,
    .form-five,
    .availability-grid,
    .legal-preview-grid,
    .faq-hero,
    .faq-layout,
    .platform-plan-grid,
    .ticket-layout,
    .social-preview-grid,
    .client-social-grid,
    .missing-domain-card,
    .stats-grid,
    .stats-grid-wide,
    .dashboard-filter,
    .mini-grid,
    .auth-proof-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .inline-field {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .inline-field small {
        padding-left: 4px;
    }

    .dashboard-filter-actions {
        width: 100%;
    }

    .dashboard-filter-actions .button {
        width: 100%;
    }

    .chart-head {
        flex-direction: column;
    }

    .chart-legend,
    .chart-legend-wrap {
        max-width: 100%;
        justify-content: flex-start;
    }

    .table {
        min-width: 720px;
    }

    .client-action-form {
        min-width: 180px;
    }

    .hour-row {
        grid-template-columns: 1fr;
    }

    .working-block {
        grid-template-columns: 1fr;
    }

    .service-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-price {
        text-align: left;
    }

    .inline-card {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .faq-sidebar {
        position: static;
    }

    .faq-card-head {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .register-wizard-shell {
        grid-template-columns: 1fr;
    }

    .register-wizard-intro {
        min-height: auto;
    }

    .platform-console-card {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .brand-logo-wide,
    body.platform-body .brand-logo-wide,
    .brand-logo-wide img {
        width: 146px;
        height: auto;
    }

    .register-wizard-page {
        padding-top: 26px;
    }

    .register-wizard-card {
        padding: 18px;
        border-radius: 24px;
    }

    .wizard-heading,
    .wizard-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wizard-time {
        width: max-content;
    }

    .wizard-progress {
        grid-template-columns: 1fr;
    }

    .wizard-step {
        min-height: 50px;
    }

    .wizard-section {
        padding: 16px;
    }

    .wizard-actions .button {
        width: 100%;
    }

    .platform-console-card {
        min-height: 0;
        padding: 20px;
        border-radius: 24px;
    }

    .platform-console-main {
        margin-top: 36px;
    }

    .platform-console-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.register-wizard-page {
    background:
        radial-gradient(circle at 16% 10%, rgba(139, 92, 246, 0.12), transparent 30%),
        linear-gradient(180deg, #faf7f0, #f4efe6);
}

.register-wizard-shell {
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
    align-items: stretch;
}

.register-wizard-intro {
    color: #111827;
    background:
        radial-gradient(circle at 92% 8%, rgba(139, 92, 246, 0.18), transparent 28%),
        rgba(255, 253, 248, 0.72);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.register-wizard-intro::after {
    background: rgba(139, 92, 246, 0.12);
}

.register-wizard-intro .eyebrow {
    color: #6f4df6;
}

.register-wizard-intro h1 {
    font-size: clamp(3rem, 5vw, 5.8rem);
    letter-spacing: -0.065em;
}

.register-wizard-intro p,
.register-wizard-intro .auth-proof-grid span,
.register-plan-card small {
    color: rgba(17, 24, 39, 0.62);
}

.register-wizard-intro .auth-proof-grid div,
.register-plan-card {
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(17, 24, 39, 0.08);
}

.register-wizard-card {
    border-radius: 36px;
    background: rgba(255, 253, 248, 0.86);
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.12);
}

.register-wizard-card .wizard-section {
    padding: 0;
    border: 0;
    background: transparent;
}

.register-wizard-card .wizard-step {
    border-radius: 999px;
    background: #f0ebe2;
}

.register-wizard-card .wizard-step.is-active {
    background: #111827;
}

.register-wizard-card .wizard-step.is-active span {
    background: #6f4df6;
}

.register-wizard-form input,
.register-wizard-form select {
    min-height: 58px;
    border-radius: 18px;
    background: #fff;
}

@media (max-width: 1024px) {
    .register-wizard-shell {
        grid-template-columns: 1fr;
    }
}
