/* ============================================================
   My Markets Holdings Ltd — verification page
   Clean, corporate, fintech-grade design
   ============================================================ */

:root {
    --navy-900: #0a2540;
    --navy-800: #0f3158;
    --navy-700: #1a4273;
    --accent:   #2563eb;
    --accent-soft: #eaf2ff;
    --ink:      #0b1120;
    --body:     #334155;
    --muted:    #64748b;
    --line:     #e2e8f0;
    --line-soft:#eef1f6;
    --bg:       #ffffff;
    --bg-soft:  #f8fafc;
    --bg-warm:  #fafbfd;
    --gold:     #b08a3e;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.08);

    --max-width: 1080px;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
                 "Liberation Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--body);
    background-color: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover,
a:focus-visible {
    color: var(--navy-800);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.95em;
    letter-spacing: 0.01em;
}

.muted {
    color: var(--muted);
}

/* ============================================================
   Top navigation / brand
   ============================================================ */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(140%) blur(8px);
    background-color: rgba(255, 255, 255, 0.9);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
}

.brand:hover,
.brand:focus-visible {
    color: var(--ink);
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    letter-spacing: -0.02em;
    box-shadow: var(--shadow-sm);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand__name {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.brand__sub {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    color: var(--body);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    opacity: 1;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    background:
        radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(176, 138, 62, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: #e6edf5;
    padding: 96px 0 112px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    max-width: 820px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d1dbe8;
    margin-bottom: 28px;
}

.hero__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

.hero__title {
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 24px;
}

.hero__lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #c5d1e0;
    max-width: 680px;
    margin-bottom: 36px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn--primary {
    background: #fff;
    color: var(--navy-900);
    border-color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: #f1f5f9;
    color: var(--navy-900);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Trust bar
   ============================================================ */
.trust-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    margin-top: -32px;
    position: relative;
    z-index: 2;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.trust-item {
    padding: 22px 24px;
    border-right: 1px solid var(--line-soft);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.trust-item__value {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

/* ============================================================
   Main content / panels
   ============================================================ */
.main-content {
    padding: 80px 28px 56px;
}

.panel {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 96px;
}

.panel:first-child {
    border-top: none;
    padding-top: 8px;
}

.panel__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.panel__number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0;
}

.panel__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin-bottom: 4px;
}

.panel__subtitle {
    font-size: 0.92rem;
    color: var(--muted);
    font-weight: 400;
}

.panel__body {
    padding-left: 64px;
}

.prose p {
    margin-bottom: 16px;
    color: var(--body);
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose a {
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}

/* ============================================================
   Data grid (dl rows)
   ============================================================ */
.data-grid {
    background: var(--bg-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.data-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line-soft);
    transition: background-color 0.15s ease;
}

.data-row:last-child {
    border-bottom: none;
}

.data-row:hover {
    background-color: #fff;
}

.data-row dt {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.005em;
    padding-top: 2px;
}

.data-row dd {
    font-size: 0.97rem;
    color: var(--ink);
    font-weight: 500;
    margin-left: 0;
}

.data-row dd a {
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}

.caption {
    font-size: 0.88rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 16px;
    padding-left: 4px;
    border-left: 3px solid var(--line);
    padding: 8px 0 8px 14px;
}

/* ============================================================
   Address card
   ============================================================ */
.address-card {
    background: linear-gradient(135deg, #fff 0%, var(--bg-warm) 100%);
    border: 1px solid var(--line);
    border-left: 4px solid var(--navy-800);
    border-radius: var(--radius-md);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
    max-width: 520px;
}

.address-card address {
    font-style: normal;
    line-height: 1.8;
    color: var(--ink);
    font-size: 0.97rem;
}

.address-card strong {
    font-weight: 600;
    color: var(--ink);
}

/* ============================================================
   Contact cards
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    padding: 20px 22px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--ink);
    transition: all 0.15s ease;
    box-shadow: var(--shadow-sm);
}

.contact-card:hover,
.contact-card:focus-visible {
    border-color: var(--accent);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.contact-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-card__value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.005em;
    word-break: break-word;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--navy-900);
    color: #aab7c9;
    padding: 56px 0;
    margin-top: 64px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-footer__brand .brand__mark {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.site-footer__meta {
    color: #8ea0b8;
    font-size: 0.85rem;
    margin-top: 2px;
}

.site-footer__legal {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #8ea0b8;
    max-width: 720px;
}

/* ============================================================
   Responsive
   ============================================================ */
.br-desktop {
    display: inline;
}

@media (max-width: 860px) {
    .br-desktop {
        display: none;
    }

    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-right: 1px solid var(--line-soft);
        border-bottom: 1px solid var(--line-soft);
    }

    .trust-item:nth-child(2n) {
        border-right: none;
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    .site-header__inner {
        height: 64px;
    }

    .site-nav {
        display: none;
    }

    .hero {
        padding: 64px 0 80px;
    }

    .hero__lead {
        font-size: 1rem;
    }

    .main-content {
        padding: 56px 20px 40px;
    }

    .panel {
        padding: 32px 0;
    }

    .panel__header {
        gap: 14px;
        margin-bottom: 24px;
    }

    .panel__number {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .panel__title {
        font-size: 1.25rem;
    }

    .panel__body {
        padding-left: 0;
    }

    .data-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 18px;
    }

    .data-row dt {
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .address-card {
        padding: 20px 22px;
    }

    .btn {
        width: 100%;
    }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
    body {
        font-size: 10.5pt;
        color: #000;
        background: #fff;
    }

    .site-header,
    .site-nav,
    .hero__actions {
        display: none !important;
    }

    .hero {
        background: #fff;
        color: #000;
        padding: 0 0 24pt;
        border-bottom: 2px solid #000;
    }

    .hero__title,
    .hero__lead,
    .hero__eyebrow {
        color: #000 !important;
    }

    .hero__eyebrow {
        background: none;
        border: 1px solid #000;
    }

    .hero::before {
        display: none;
    }

    .trust-bar__grid {
        box-shadow: none;
        border: 1px solid #000;
    }

    .panel {
        page-break-inside: avoid;
        border-top: 1px solid #000;
    }

    .panel__number {
        background: #fff;
        border: 1px solid #000;
        color: #000;
    }

    .data-grid,
    .address-card,
    .contact-card {
        background: #fff;
        border: 1px solid #000;
        box-shadow: none;
    }

    .site-footer {
        background: #fff;
        color: #000;
        border-top: 2px solid #000;
        padding: 16pt 0;
    }

    .site-footer__name,
    .site-footer__legal,
    .site-footer__meta {
        color: #000 !important;
    }

    a {
        color: #000 !important;
    }
}
