/* GPI — Inscription admin · wizard premium Pivot */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

.pivot-register {
    --reg-teal: #5BC4BF;
    --reg-teal-deep: #3A9B96;
    --reg-lime: #8DC63F;
    --reg-orange: #F58220;
    --reg-ink: #0f172a;
    --reg-muted: #64748b;
    --reg-surface: rgba(255, 255, 255, 0.94);
    --reg-border: rgba(15, 23, 42, 0.08);
    --reg-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
    font-family: 'Source Sans 3', system-ui, sans-serif;
    color: var(--reg-ink);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(91, 196, 191, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(141, 198, 63, 0.16) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 15%, rgba(245, 130, 32, 0.1) 0%, transparent 45%),
        linear-gradient(160deg, #f7fbfb 0%, #eef8f7 40%, #f8faf8 100%);
}

.pivot-register *,
.pivot-register *::before,
.pivot-register *::after { box-sizing: border-box; }

.pivot-register a {
    color: var(--reg-teal-deep);
    text-decoration: none;
    font-weight: 600;
}

.pivot-register a:hover { color: var(--reg-teal); }

/* Orbs */
.pivot-register .pivot-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pivot-register .pivot-orb {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0.55;
}

.pivot-register .pivot-orb--1 {
    width: 420px; height: 280px; left: -80px; top: 8%;
    border-color: rgba(91, 196, 191, 0.45);
    background: radial-gradient(ellipse at center, rgba(91, 196, 191, 0.12), transparent 70%);
    animation: reg-orbit-a 18s ease-in-out infinite;
}

.pivot-register .pivot-orb--2 {
    width: 340px; height: 220px; left: 40px; top: 18%;
    border-color: rgba(141, 198, 63, 0.4);
    animation: reg-orbit-b 22s ease-in-out infinite;
}

.pivot-register .pivot-orb--3 {
    width: 260px; height: 170px; right: -40px; bottom: 12%;
    border-color: rgba(245, 130, 32, 0.35);
    animation: reg-orbit-c 16s ease-in-out infinite;
}

.pivot-register .pivot-orb--4 {
    width: 180px; height: 120px; right: 18%; top: 10%;
    border-color: rgba(58, 155, 150, 0.35);
    animation: reg-pulse 8s ease-in-out infinite;
}

@keyframes reg-orbit-a {
    0%, 100% { transform: rotate(-12deg) translate(0, 0) scale(1); }
    50% { transform: rotate(8deg) translate(24px, 18px) scale(1.05); }
}
@keyframes reg-orbit-b {
    0%, 100% { transform: rotate(18deg) translate(0, 0) scale(1); }
    50% { transform: rotate(-6deg) translate(-20px, 12px) scale(1.08); }
}
@keyframes reg-orbit-c {
    0%, 100% { transform: rotate(-20deg) translate(0, 0); }
    50% { transform: rotate(10deg) translate(-16px, -20px); }
}
@keyframes reg-pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* Layout */
.pivot-register__shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

@media (max-width: 960px) {
    .pivot-register__shell {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem 2rem;
    }
}

/* Brand panel */
.pivot-register__brand {
    padding: 1rem 0.5rem;
    animation: reg-fade-up 0.7s ease both;
}

.pivot-register__brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 0.65rem;
}

.pivot-register__brand-name span {
    background: linear-gradient(120deg, var(--reg-teal-deep), var(--reg-teal) 45%, var(--reg-lime));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pivot-register__tagline {
    font-size: 1rem;
    color: var(--reg-muted);
    max-width: 28rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.pivot-register__hero-card {
    border-radius: 22px;
    border: 1px solid rgba(91, 196, 191, 0.28);
    background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(230,248,247,0.75));
    box-shadow: 0 16px 40px rgba(91, 196, 191, 0.12);
    padding: 1.35rem 1.25rem;
    backdrop-filter: blur(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.pivot-register__hero-step {
    display: none;
    animation: reg-fade-up 0.45s ease both;
}

.pivot-register__hero-step.is-active { display: block; }

.pivot-register__hero-step h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.pivot-register__hero-step p {
    font-size: 0.88rem;
    color: var(--reg-muted);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.pivot-register__features {
    display: grid;
    gap: 0.65rem;
}

.pivot-register__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--reg-border);
}

.pivot-register__feature i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 196, 191, 0.15);
    color: var(--reg-teal-deep);
    flex-shrink: 0;
}

.pivot-register__feature strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
}

.pivot-register__feature span {
    font-size: 0.72rem;
    color: var(--reg-muted);
}

/* Form panel */
.pivot-register__panel {
    animation: reg-fade-up 0.7s ease 0.12s both;
}

.pivot-register__card {
    background: var(--reg-surface);
    backdrop-filter: blur(18px);
    border: 1px solid var(--reg-border);
    border-radius: 26px;
    box-shadow: var(--reg-shadow);
    padding: 1.65rem 1.55rem 1.4rem;
    position: relative;
    overflow: hidden;
}

.pivot-register__card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--reg-teal), var(--reg-lime), var(--reg-orange));
}

.pivot-register__card--step2 {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(240,252,251,0.95) 100%);
}

.pivot-register__card--step2::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 198, 63, 0.18), transparent 70%);
    pointer-events: none;
}

/* Stepper */
.pivot-register__stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.pivot-register__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pivot-register__step-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.pivot-register__step-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--reg-teal), var(--reg-lime));
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.pivot-register__step.is-done .pivot-register__step-bar span,
.pivot-register__step.is-active .pivot-register__step-bar span { width: 100%; }

.pivot-register__step-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--reg-muted);
}

.pivot-register__step.is-active .pivot-register__step-label { color: var(--reg-teal-deep); }
.pivot-register__step.is-done .pivot-register__step-label { color: var(--reg-lime); }

.pivot-register__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.2rem;
}

.pivot-register__sub {
    font-size: 0.88rem;
    color: var(--reg-muted);
    margin: 0 0 1.2rem;
}

/* Steps */
.pivot-register__steps-wrap {
    position: relative;
    min-height: 320px;
}

.pivot-register__step-panel {
    display: none;
    animation: reg-slide-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pivot-register__step-panel.is-active { display: block; }

.pivot-register__step-panel.is-leaving {
    display: block;
    animation: reg-slide-out 0.35s ease both;
}

@keyframes reg-slide-in {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes reg-slide-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-24px); }
}

@keyframes reg-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fields */
.pivot-reg-field {
    margin-bottom: 0.9rem;
}

.pivot-reg-field__label {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--reg-muted);
    margin-bottom: 0.32rem;
}

.pivot-reg-field__control {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    padding: 0.15rem 0.9rem;
    min-height: 48px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pivot-reg-field__control:focus-within {
    border-color: var(--reg-teal);
    box-shadow: 0 0 0 3px rgba(91, 196, 191, 0.22);
}

.pivot-reg-field__control.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.pivot-reg-field__control i {
    color: var(--reg-teal);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.pivot-reg-field__control input,
.pivot-reg-field__control select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 0.94rem;
    color: var(--reg-ink);
    padding: 0.65rem 0;
    min-width: 0;
}

.pivot-reg-field__error {
    margin-top: 0.3rem;
    font-size: 0.76rem;
    color: #dc2626;
    font-weight: 500;
}

.pivot-reg-field__control input::placeholder {
    color: #94a3b8;
}

.pivot-field__toggle {
    border: none;
    background: transparent;
    color: var(--reg-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: inline-flex;
}

.pivot-field__toggle:hover { color: var(--reg-teal-deep); }

/* Photo upload */
.pivot-reg-photo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem;
    border-radius: 16px;
    border: 1px dashed rgba(91, 196, 191, 0.45);
    background: rgba(91, 196, 191, 0.06);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.pivot-reg-photo:hover {
    border-color: var(--reg-teal);
    background: rgba(91, 196, 191, 0.1);
}

.pivot-reg-photo__preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(91, 196, 191, 0.25);
    flex-shrink: 0;
}

.pivot-reg-photo__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pivot-reg-photo__text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.pivot-reg-photo__text span {
    font-size: 0.75rem;
    color: var(--reg-muted);
}

.pivot-reg-photo input[type="file"] { display: none; }

/* Step 2 summary chip */
.pivot-reg-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(91,196,191,0.12), rgba(141,198,63,0.1));
    border: 1px solid rgba(91, 196, 191, 0.25);
    margin-bottom: 1rem;
}

.pivot-reg-summary__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    flex-shrink: 0;
}

.pivot-reg-summary__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pivot-reg-summary__name {
    font-weight: 700;
    font-size: 0.88rem;
}

.pivot-reg-summary__email {
    font-size: 0.75rem;
    color: var(--reg-muted);
}

/* Password strength */
.pivot-reg-strength {
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    margin-top: 0.4rem;
    overflow: hidden;
}

.pivot-reg-strength span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    transition: width 0.3s, background 0.3s;
}

/* Actions */
.pivot-reg-actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.pivot-reg-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    border-radius: 14px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pivot-reg-btn--primary {
    background: linear-gradient(135deg, var(--reg-teal-deep), var(--reg-teal) 55%, var(--reg-lime));
    color: #fff;
    box-shadow: 0 10px 24px rgba(58, 155, 150, 0.35);
}

.pivot-reg-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(58, 155, 150, 0.4);
}

.pivot-reg-btn--ghost {
    background: #fff;
    color: var(--reg-ink);
    border: 1px solid var(--reg-border);
}

.pivot-reg-btn--ghost:hover {
    background: rgba(91, 196, 191, 0.08);
}

.pivot-reg-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.75rem 0;
    font-size: 0.82rem;
    color: var(--reg-muted);
}

.pivot-reg-check input {
    margin-top: 0.15rem;
    accent-color: var(--reg-teal);
}

.pivot-reg-alert {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.pivot-reg-alert--error {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.pivot-reg-alert--success {
    background: rgba(141, 198, 63, 0.12);
    color: #4d7c0f;
    border: 1px solid rgba(141, 198, 63, 0.3);
}

.pivot-reg-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--reg-muted);
}

.pivot-theme-btn {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--reg-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--reg-ink);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pivot-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.65rem;
}

@media (max-width: 560px) {
    .pivot-reg-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ DARK THEME ═══════════════ */
[data-theme="dark"] .pivot-register {
    --reg-ink: #e2e8f0;
    --reg-muted: #94a3b8;
    --reg-surface: rgba(15, 23, 42, 0.95);
    --reg-border: rgba(148, 163, 184, 0.18);
    --reg-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(91, 196, 191, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(141, 198, 63, 0.06) 0%, transparent 50%),
        linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #e2e8f0;
}

/* Card */
[data-theme="dark"] .pivot-register__card {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(148, 163, 184, 0.15);
}

[data-theme="dark"] .pivot-register__card--step2 {
    background: linear-gradient(180deg, rgba(15,23,42,0.98) 0%, rgba(30,41,59,0.95) 100%);
}

[data-theme="dark"] .pivot-register__card--step2::after {
    background: radial-gradient(circle, rgba(141, 198, 63, 0.08), transparent 70%);
}

/* Hero card */
[data-theme="dark"] .pivot-register__hero-card {
    background: linear-gradient(145deg, rgba(30,41,59,0.95), rgba(15,23,42,0.85));
    border-color: rgba(91, 196, 191, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pivot-register__feature {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .pivot-register__feature i {
    background: rgba(91, 196, 191, 0.2);
}

/* Form controls */
[data-theme="dark"] .pivot-reg-field__control {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .pivot-reg-field__control input,
[data-theme="dark"] .pivot-reg-field__control select {
    color: #e2e8f0;
}

[data-theme="dark"] .pivot-reg-field__control select option {
    background: #1e293b;
    color: #e2e8f0;
}

[data-theme="dark"] .pivot-reg-field__control input::placeholder {
    color: #64748b;
}

[data-theme="dark"] .pivot-reg-field__control:focus-within {
    border-color: var(--reg-teal);
    box-shadow: 0 0 0 3px rgba(91, 196, 191, 0.15);
}

/* Buttons */
[data-theme="dark"] .pivot-reg-btn--ghost {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

[data-theme="dark"] .pivot-reg-btn--ghost:hover {
    background: rgba(91, 196, 191, 0.12);
}

/* Photo upload */
[data-theme="dark"] .pivot-reg-photo {
    border-color: rgba(91, 196, 191, 0.3);
    background: rgba(91, 196, 191, 0.05);
}

[data-theme="dark"] .pivot-reg-photo:hover {
    background: rgba(91, 196, 191, 0.08);
}

[data-theme="dark"] .pivot-reg-photo__preview {
    border-color: #334155;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Summary chip */
[data-theme="dark"] .pivot-reg-summary {
    background: linear-gradient(135deg, rgba(91,196,191,0.1), rgba(141,198,63,0.06));
    border-color: rgba(91, 196, 191, 0.2);
}

[data-theme="dark"] .pivot-reg-summary__avatar {
    border-color: #334155;
}

/* Password strength bar */
[data-theme="dark"] .pivot-reg-strength {
    background: rgba(148, 163, 184, 0.15);
}

/* Stepper */
[data-theme="dark"] .pivot-register__step-bar {
    background: rgba(148, 163, 184, 0.15);
}

/* Checkbox */
[data-theme="dark"] .pivot-reg-check {
    color: #94a3b8;
}

[data-theme="dark"] .pivot-reg-check a {
    color: var(--reg-teal);
}

/* Alerts */
[data-theme="dark"] .pivot-reg-alert--error {
    background: rgba(220, 38, 38, 0.12);
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.25);
}

[data-theme="dark"] .pivot-reg-alert--success {
    background: rgba(141, 198, 63, 0.1);
    color: #a3e635;
    border-color: rgba(141, 198, 63, 0.25);
}

/* Theme toggle button */
[data-theme="dark"] .pivot-theme-btn {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Footer */
[data-theme="dark"] .pivot-reg-footer {
    color: #64748b;
}

[data-theme="dark"] .pivot-reg-footer a {
    color: var(--reg-teal);
}

/* Orbs (dimmed in dark) */
[data-theme="dark"] .pivot-orb {
    opacity: 0.25;
}

/* Logo stage orbits */
[data-theme="dark"] .pivot-logo-stage span {
    opacity: 0.4 !important;
}

[data-theme="dark"] .pivot-logo-stage div {
    background: #1e293b !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important;
}

/* Brand name in dark */
[data-theme="dark"] .pivot-register__brand-name {
    color: #f1f5f9;
}

/* Page Conditions d'utilisation */
.pivot-legal {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem 1.15rem 3rem;
}

.pivot-legal__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pivot-legal__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    font-family: Outfit, sans-serif;
}

.pivot-legal__brand img {
    width: 42px;
    height: auto;
}

.pivot-legal__card {
    background: var(--reg-surface);
    border: 1px solid var(--reg-border);
    border-radius: 22px;
    box-shadow: var(--reg-shadow);
    padding: 1.6rem 1.5rem 2rem;
}

.pivot-legal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--reg-teal-deep);
    background: rgba(91, 196, 191, 0.14);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
}

.pivot-legal h1 {
    font-family: Outfit, sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0.7rem 0 0.35rem;
    line-height: 1.2;
}

.pivot-legal__updated {
    color: var(--reg-muted);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.pivot-legal__toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
    margin: 0 0 1.6rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(91, 196, 191, 0.08);
    list-style: none;
}

.pivot-legal__toc a {
    font-size: 0.86rem;
    font-weight: 600;
}

.pivot-legal h2 {
    font-family: Outfit, sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    margin: 1.6rem 0 0.55rem;
    padding-top: 0.35rem;
    scroll-margin-top: 1.2rem;
    color: var(--reg-ink);
}

.pivot-legal p,
.pivot-legal li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--reg-ink);
}

.pivot-legal p { margin: 0 0 0.7rem; }

.pivot-legal ul {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.pivot-legal li { margin-bottom: 0.35rem; }

.pivot-legal__note {
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(245, 130, 32, 0.1);
    border: 1px solid rgba(245, 130, 32, 0.22);
    font-size: 0.88rem;
    color: var(--reg-muted);
}

.pivot-legal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .pivot-legal__toc { grid-template-columns: 1fr; }
    .pivot-legal__card { padding: 1.2rem 1rem 1.5rem; }
}

[data-theme="dark"] .pivot-legal__card {
    background: rgba(15, 23, 42, 0.92);
}

[data-theme="dark"] .pivot-legal__toc {
    background: rgba(91, 196, 191, 0.12);
}
