/* ==========================================================================
   MINT10HOBBY — Legal Centre & Footer Identity
   v3.3 palette only: #005CBA · #77C02B · #28C2FF · #0B1B3D · #E3F4FC · #060F22
   Prefix: m10-   (frontend)
   ========================================================================== */

:root {
    --m10-legal-blue: #005CBA;
    --m10-legal-mint: #77C02B;
    --m10-legal-cyan: #28C2FF;
    --m10-legal-navy: #0B1B3D;
    --m10-legal-ice: #E3F4FC;
    --m10-legal-surface: #FFFFFF;
    --m10-legal-line: rgba(11, 27, 61, .12);
    --m10-legal-text: #0B1B3D;
    --m10-legal-muted: rgba(11, 27, 61, .66);
}

[data-theme="dark"] {
    --m10-legal-surface: #0F1E38;
    --m10-legal-line: rgba(227, 244, 252, .14);
    --m10-legal-text: #E3F4FC;
    --m10-legal-muted: rgba(227, 244, 252, .68);
}

/* ── Footer legal identity card ─────────────────────────────────────────── */

.m10-footer-legal-card {
    display: block;
    margin: 1rem 0 0;
    padding: .85rem 1rem;
    border-left: 3px solid var(--m10-legal-cyan);
    background: rgba(227, 244, 252, .08);
    border-radius: 0 8px 8px 0;
    font-style: normal;
    font-size: .8125rem;
    line-height: 1.65;
}

.m10-footer-legal-name {
    display: block;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: .95rem;
    text-transform: uppercase;
    color: #FFFFFF;
}

.m10-footer-legal-meta {
    display: block;
    opacity: .78;
}

.m10-footer-legal-meta a {
    color: var(--m10-legal-cyan);
    text-decoration: none;
}

.m10-footer-legal-meta a:hover {
    text-decoration: underline;
}

.m10-footer-bottom-legal {
    font-weight: 600;
}

.m10-footer-bottom-reg {
    font-size: .78rem;
    opacity: .72;
    margin-top: .2rem;
}

.m10-footer-bottom-note {
    font-size: .78rem;
    opacity: .62;
    margin-top: .35rem;
}

.m10-footer-sep {
    opacity: .45;
    margin: 0 .35rem;
}

/* ── Legal Centre ───────────────────────────────────────────────────────── */

.m10-legal {
    padding: 0 0 4rem;
}

.m10-legal-hero {
    background: linear-gradient(160deg, var(--m10-legal-ice) 0%, rgba(40, 194, 255, .16) 100%);
    border-bottom: 1px solid var(--m10-legal-line);
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
}

[data-theme="dark"] .m10-legal-hero {
    background: linear-gradient(160deg, #0B1B3D 0%, #060F22 100%);
}

.m10-legal-eyebrow {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .75rem;
    color: var(--m10-legal-blue);
}

[data-theme="dark"] .m10-legal-eyebrow {
    color: var(--m10-legal-cyan);
}

.m10-legal-hero h1 {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    color: var(--m10-legal-text);
    margin: .25rem 0 .5rem;
}

.m10-legal-entity {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .85rem;
    border: 1px solid var(--m10-legal-blue);
    border-radius: 999px;
    background: var(--m10-legal-surface);
    font-weight: 700;
    font-size: .8125rem;
    letter-spacing: .03em;
    color: var(--m10-legal-blue);
}

[data-theme="dark"] .m10-legal-entity {
    border-color: var(--m10-legal-cyan);
    color: var(--m10-legal-cyan);
}

.m10-legal-updated {
    font-size: .8125rem;
    color: var(--m10-legal-muted);
    margin-top: .6rem;
}

/* Sidebar navigation */

.m10-legal-nav {
    position: sticky;
    top: 90px;
    border: 1px solid var(--m10-legal-line);
    border-radius: 12px;
    background: var(--m10-legal-surface);
    overflow: hidden;
}

.m10-legal-nav a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--m10-legal-text);
    text-decoration: none;
    border-bottom: 1px solid var(--m10-legal-line);
    transition: background .15s ease, color .15s ease;
}

.m10-legal-nav a:last-child {
    border-bottom: 0;
}

.m10-legal-nav a:hover {
    background: var(--m10-legal-ice);
    color: var(--m10-legal-blue);
}

[data-theme="dark"] .m10-legal-nav a:hover {
    background: rgba(40, 194, 255, .12);
    color: var(--m10-legal-cyan);
}

.m10-legal-nav a.active {
    background: var(--m10-legal-blue);
    color: #FFFFFF;
}

.m10-legal-nav a.active:hover {
    background: var(--m10-legal-blue);
    color: #FFFFFF;
}

.m10-legal-nav i {
    width: 1.1rem;
    text-align: center;
}

/* Document body */

.m10-legal-doc {
    border: 1px solid var(--m10-legal-line);
    border-radius: 12px;
    background: var(--m10-legal-surface);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    color: var(--m10-legal-text);
}

.m10-legal-doc h2 {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    margin: 2rem 0 .75rem;
    padding-top: .5rem;
    color: var(--m10-legal-text);
    scroll-margin-top: 90px;
}

.m10-legal-doc h2:first-of-type {
    margin-top: .5rem;
}

.m10-legal-doc h3 {
    font-weight: 700;
    font-size: 1rem;
    margin: 1.25rem 0 .5rem;
}

.m10-legal-doc p,
.m10-legal-doc li {
    font-size: .9375rem;
    line-height: 1.75;
    color: var(--m10-legal-text);
}

.m10-legal-doc ul,
.m10-legal-doc ol {
    padding-left: 1.25rem;
}

.m10-legal-doc li {
    margin-bottom: .4rem;
}

.m10-legal-doc a {
    color: var(--m10-legal-blue);
    font-weight: 600;
}

[data-theme="dark"] .m10-legal-doc a {
    color: var(--m10-legal-cyan);
}

.m10-legal-toc {
    border: 1px dashed var(--m10-legal-line);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: rgba(227, 244, 252, .35);
}

[data-theme="dark"] .m10-legal-toc {
    background: rgba(40, 194, 255, .07);
}

.m10-legal-toc ol {
    margin: .5rem 0 0;
    columns: 2;
    column-gap: 2rem;
}

@media (max-width: 575.98px) {
    .m10-legal-toc ol {
        columns: 1;
    }
}

/* Registration data table */

.m10-legal-facts {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 .5rem;
    font-size: .9rem;
}

.m10-legal-facts th,
.m10-legal-facts td {
    padding: .6rem .75rem;
    border-bottom: 1px solid var(--m10-legal-line);
    text-align: left;
    vertical-align: top;
}

.m10-legal-facts th {
    width: 38%;
    font-weight: 700;
    color: var(--m10-legal-muted);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.m10-legal-facts td {
    font-weight: 600;
}

.m10-legal-facts tr:last-child th,
.m10-legal-facts tr:last-child td {
    border-bottom: 0;
}

/* Callouts */

.m10-legal-callout {
    border-left: 4px solid var(--m10-legal-mint);
    background: rgba(119, 192, 43, .1);
    border-radius: 0 10px 10px 0;
    padding: .9rem 1.1rem;
    margin: 1.25rem 0;
    font-size: .9rem;
}

.m10-legal-callout.is-blue {
    border-left-color: var(--m10-legal-blue);
    background: rgba(0, 92, 186, .09);
}

.m10-legal-callout.is-cyan {
    border-left-color: var(--m10-legal-cyan);
    background: rgba(40, 194, 255, .12);
}

.m10-legal-callout strong {
    display: block;
    margin-bottom: .2rem;
}

.m10-legal-steps {
    counter-reset: m10step;
    list-style: none;
    padding-left: 0;
}

.m10-legal-steps > li {
    counter-increment: m10step;
    position: relative;
    padding-left: 2.6rem;
    margin-bottom: 1rem;
    min-height: 1.9rem;
}

.m10-legal-steps > li::before {
    content: counter(m10step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--m10-legal-blue);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
}

.m10-legal-print {
    font-size: .82rem;
    color: var(--m10-legal-muted);
    border-top: 1px solid var(--m10-legal-line);
    margin-top: 2rem;
    padding-top: 1rem;
}

@media print {
    .m10-navbar,
    .m10-bottom-nav,
    .m10-footer,
    .m10-legal-nav {
        display: none !important;
    }

    .m10-legal-doc {
        border: 0;
        padding: 0;
    }
}

/* ── Homepage: hero legal credit line ───────────────────────────────────── */

.m10-hero-legal {
    margin: 1.5rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid var(--m10-legal-line);
    font-size: .8125rem;
    line-height: 1.7;
    color: var(--m10-legal-muted);
    max-width: 40rem;
}

.m10-hero-legal strong {
    color: var(--m10-legal-text);
    font-weight: 700;
    letter-spacing: .02em;
}

.m10-hero-legal a {
    color: var(--m10-legal-blue);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

[data-theme="dark"] .m10-hero-legal a {
    color: var(--m10-legal-cyan);
}

.m10-hero-legal a:hover {
    text-decoration: underline;
}

/* ── Homepage: registered business band ─────────────────────────────────── */

.m10-trust-band {
    background: linear-gradient(135deg, var(--m10-legal-navy) 0%, #060F22 100%);
    color: #E3F4FC;
    padding: 3rem 0;
    margin-top: 1rem;
}

.m10-trust-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .72rem;
    color: var(--m10-legal-mint);
}

.m10-trust-name {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: .35rem 0 .6rem;
}

.m10-trust-copy {
    font-size: .9rem;
    line-height: 1.75;
    color: rgba(227, 244, 252, .78);
    max-width: 38rem;
    margin-bottom: 1.1rem;
}

.m10-trust-copy strong {
    color: #FFFFFF;
    font-weight: 700;
}

.m10-trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.m10-trust-links a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .8rem;
    border: 1px solid rgba(227, 244, 252, .24);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    color: #E3F4FC;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.m10-trust-links a:hover {
    border-color: var(--m10-legal-cyan);
    background: rgba(40, 194, 255, .14);
    color: var(--m10-legal-cyan);
}

.m10-trust-facts {
    margin: 0;
    border: 1px solid rgba(227, 244, 252, .16);
    border-radius: 12px;
    padding: .35rem 1.1rem;
    background: rgba(227, 244, 252, .05);
}

.m10-trust-facts > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: .62rem 0;
    border-bottom: 1px solid rgba(227, 244, 252, .1);
}

.m10-trust-facts > div:last-child {
    border-bottom: 0;
}

.m10-trust-facts dt {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(227, 244, 252, .6);
    margin: 0;
    flex-shrink: 0;
}

.m10-trust-facts dd {
    margin: 0;
    font-size: .84rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: right;
}

.m10-trust-facts dd a {
    color: var(--m10-legal-cyan);
    text-decoration: none;
}

.m10-trust-facts dd a:hover {
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .m10-trust-facts > div {
        flex-direction: column;
        gap: .15rem;
    }

    .m10-trust-facts dd {
        text-align: left;
    }
}
