:root {
    --bg-0: #04060f;
    --ink: #eaf1ff;
    --ink-dim: #8a96b8;
    --accent: #5b8cff;
    --accent-2: #b06bff;
    --accent-3: #00e5d1;
    --card-stroke: rgba(120, 150, 220, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-0);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 0%, rgba(91, 140, 255, 0.25), transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 10%, rgba(176, 107, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 229, 209, 0.10), transparent 60%),
        linear-gradient(180deg, #04060f 0%, #060a1c 50%, #04060f 100%);
    z-index: -2;
}
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(120, 150, 220, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 150, 220, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.wrap.nav { max-width: 1180px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #8fb1ff; text-decoration: underline; }

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; color: #fff; }

/* Header */
header {
    position: sticky;
    top: 0; z-index: 50;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(4, 6, 15, 0.6);
    border-bottom: 1px solid rgba(120, 150, 220, 0.08);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    color: #fff;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(91, 140, 255, 0.4);
}
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--ink-dim); }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white !important;
    font-weight: 600;
    font-size: 14px;
}
.nav-cta:hover { text-decoration: none; filter: brightness(1.1); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Page hero */
.page-hero { padding: 70px 0 40px; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(91, 140, 255, 0.12);
    border: 1px solid rgba(91, 140, 255, 0.3);
    font-size: 13px;
    color: #bcd0ff;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 18px;
    background: linear-gradient(120deg, #ffffff 0%, #b6c7ff 50%, #d6b3ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero .lead {
    color: var(--ink-dim);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 12px;
}
.page-hero .meta { color: var(--ink-dim); font-size: 13px; opacity: 0.7; }

/* Document body */
.doc { padding: 30px 0 100px; }
.doc .wrap {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid var(--card-stroke);
    border-radius: 22px;
    padding: 50px 50px;
}
.doc p { color: #c8d2ee; margin-bottom: 16px; font-size: 1rem; }
.doc h2 {
    font-size: 1.4rem;
    margin: 36px 0 14px;
    padding-top: 6px;
    color: #fff;
    border-top: 1px solid rgba(120,150,220,0.1);
    padding-top: 28px;
}
.doc h2:first-of-type { border-top: none; padding-top: 0; }
.doc h3 {
    font-size: 1.1rem;
    margin: 22px 0 10px;
    color: #d6e1ff;
    font-weight: 600;
}
.doc ul { color: #c8d2ee; margin: 0 0 18px 22px; }
.doc ul li { margin-bottom: 8px; }
.doc a { color: var(--accent-3); border-bottom: 1px dotted rgba(0,229,209,0.4); }
.doc a:hover { text-decoration: none; border-bottom-color: var(--accent-3); }

@media (max-width: 600px) { .doc .wrap { padding: 32px 24px; } }

/* Cards (support, delete-account) */
.contact-card {
    margin: 28px 0;
    padding: 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(91, 140, 255, 0.14), rgba(176, 107, 255, 0.10));
    border: 1px solid rgba(91, 140, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.contact-card .ico {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    flex-shrink: 0;
}
.contact-card .ico svg { width: 26px; height: 26px; color: #fff; }
.contact-card .info { flex: 1; min-width: 220px; }
.contact-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); margin-bottom: 4px; }
.contact-card .email {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff !important;
    border-bottom: none;
}
.contact-card .email:hover { color: var(--accent-3) !important; }

.steps-list {
    counter-reset: step;
    list-style: none;
    margin: 24px 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 14px;
}
.steps-list li {
    counter-increment: step;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-stroke);
    border-radius: 14px;
    padding: 18px 18px 18px 64px;
    position: relative;
    color: #c8d2ee;
    margin: 0 !important;
}
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    display: grid; place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.warn {
    background: rgba(245, 196, 81, 0.08);
    border: 1px solid rgba(245, 196, 81, 0.3);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 22px 0;
    color: #f5d585;
    font-size: 0.95rem;
}
.warn strong { color: #f5c451; }

/* Footer */
footer {
    border-top: 1px solid rgba(120, 150, 220, 0.1);
    padding: 30px 0;
    margin-top: 40px;
}
.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ink-dim);
    flex-wrap: wrap;
    gap: 14px;
}
.foot-bottom a { color: #c8d2ee; }
.foot-bottom a:hover { color: var(--accent); text-decoration: none; }
.foot-bottom .by a { color: #fff; border-bottom: 1px dotted var(--accent); padding-bottom: 1px; }
.foot-bottom .by a:hover { color: var(--accent); }
