/* Shared Oleusbase dark-tech system for the six standalone app pages. */
:root {
    color-scheme: dark;
    --midnight: #0B0F19;
    --deep-surface: #101525;
    --card-surface: #151C2D;
    --border: #303B54;
    --cloud: #F2F5FF;
    --muted: #AAB4CC;
    --lime: #C9FF5A;
    --violet: #8B63FF;
    --cyan: #43DFD1;
    --dark: var(--midnight);
    --dark-light: var(--deep-surface);
    --light: var(--cloud);
    --white: var(--cloud);
    --gray: var(--muted);
    --primary: var(--violet);
    --primary-dark: #7048E8;
    --secondary: var(--cyan);
    --secondary-light: var(--lime);
    --gradient-primary: linear-gradient(135deg, var(--violet), var(--cyan));
    --gradient-secondary: linear-gradient(135deg, var(--lime), var(--cyan));
    --gradient-dark: linear-gradient(145deg, var(--midnight), var(--deep-surface) 60%, #17172B);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
    overflow-x: clip;
    background: var(--gradient-dark);
    color: var(--cloud);
    font-family: "Poppins", system-ui, sans-serif;
    line-height: 1.65;
}
h1, h2, h3, .nav-logo span, .footer-logo span {
    font-family: "Space Grotesk", "Poppins", sans-serif;
}
a { color: #D7CEFF; }
a:hover { color: var(--lime); }
:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 8px;
    left: 8px;
    padding: .75rem 1rem;
    transform: translateY(-160%);
    border-radius: 8px;
    background: var(--lime);
    color: #111725;
    font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.nav {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    padding: .75rem max(1rem, calc((100vw - 1200px) / 2));
    border-bottom: 1px solid rgb(170 180 204 / 16%);
    background: rgb(11 15 25 / 95%);
    backdrop-filter: blur(18px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.nav-logo, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--cloud);
    text-decoration: none;
    white-space: nowrap;
}
.nav-logo img { width: auto; height: 36px; }
.nav-logo span, .footer-logo span { font-size: 1.1rem; font-weight: 600; }
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 1.8vw, 1.6rem);
    list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #C4CBE0;
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cloud); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: .35rem; }
.nav-cta {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: .5rem .95rem;
    border-radius: 10px;
    background: var(--lime);
    color: #111725 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.nav-cta:hover { background: #D9FF8B; color: #111725 !important; }
.dropdown {
    position: absolute;
    top: calc(100% + .4rem);
    left: -.75rem;
    min-width: 260px;
    max-height: min(75vh, 520px);
    overflow-y: auto;
    padding: .5rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #12192A;
    box-shadow: 0 18px 50px rgb(0 0 0 / 45%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .45rem .6rem;
    border-radius: 8px;
    color: #D7DDF0;
    font-size: .87rem;
    text-decoration: none;
}
.dropdown a:hover { background: rgb(139 99 255 / 16%); color: var(--cloud); }
.dropdown-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #382968, #164047);
}
.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card-surface);
    color: var(--cloud);
    cursor: pointer;
}
.nav-toggle span {
    position: absolute;
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); }

.hero {
    min-height: 70vh;
    padding: 9rem 1.5rem 5rem;
    background-color: var(--midnight);
    background-image:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgb(139 99 255 / 20%), transparent 75%),
        radial-gradient(ellipse 34% 32% at 82% 65%, rgb(67 223 209 / 9%), transparent 72%);
}
.hero::before {
    background:
        radial-gradient(ellipse 65% 45% at 50% 0%, rgb(139 99 255 / 20%), transparent 75%),
        radial-gradient(ellipse 32% 30% at 82% 65%, rgb(67 223 209 / 9%), transparent 72%);
}
.floating-element { animation: none; }
.floating-element:nth-child(1) {
    background: radial-gradient(circle, rgb(139 99 255 / 12%), transparent 70%);
}
.floating-element:nth-child(2) {
    background: radial-gradient(circle, rgb(67 223 209 / 9%), transparent 70%);
}
.hero-content { width: min(960px, 100%); margin: 0 auto; text-align: center; }
.back-link { min-height: 44px; color: var(--muted); }
.back-link:hover { color: var(--cloud); }
.app-icon-large, .app-icon, .page-icon {
    border: 1px solid rgb(255 255 255 / 10%);
    background: linear-gradient(135deg, #382968, #164047);
    box-shadow: 0 18px 45px rgb(139 99 255 / 20%);
}
.app-icon-large svg, .app-icon svg, .feature-icon svg, .page-icon svg { fill: var(--cloud); }
.hero h1, .page-header h1 { color: var(--cloud); letter-spacing: -.045em; }
.gradient-text {
    background: none;
    color: var(--lime);
    -webkit-text-fill-color: currentColor;
}
.hero-tagline, .section-subtitle, .feature-card p, .cta p, .privacy-link-card p,
.page-header .subtitle, .privacy-section p, .privacy-section ul, .policy-section p,
.policy-section ul, .data-item p, .step p, .note { color: #B5BED3; }
.btn {
    min-height: 48px;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--lime); color: #111725; box-shadow: 0 8px 26px rgb(201 255 90 / 16%); }
.btn-primary:hover { background: #D9FF8B; color: #111725; transform: translateY(-2px); }
.btn-secondary { background: #171E30; border-color: #39445D; color: var(--cloud); }
.btn-secondary:hover { background: #202941; border-color: #68748F; color: var(--cloud); }

.features, .section-alt, .cta { background: #0D1220; border-color: rgb(170 180 204 / 12%); }
.section-label, .eyebrow { color: var(--lime); }
.feature-card, .step, .hero-stat, .privacy-link-card, .privacy-card, .policy-card, .data-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card-surface);
}
.feature-card { min-height: 0; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.feature-card:hover { border-color: #69758F; background: #192237; }
.feature-icon, .page-icon, .section-mark, .info-item-icon {
    color: #E6DFFF;
    background: linear-gradient(135deg, #382968, #164047);
}
.feature-icon svg, .page-icon svg, .info-item-icon svg { fill: currentColor; }
.provider-chip { border-color: #39445D; background: #151C2D; color: #E2E8F0; }
.step::before { color: #B9A1FF; }
.privacy-callout { border-color: #39445D; background: linear-gradient(115deg, rgb(139 99 255 / 12%), rgb(67 223 209 / 6%)); }
.privacy-callout p { color: #B5BED3; }
.privacy-link-card a, .privacy-section a, .policy-section a, .policy-section a:visited {
    color: var(--lime);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}
.privacy-link-card a:hover, .privacy-section a:hover, .policy-section a:hover { color: #E2FF9F; }
.privacy-link-card h3 svg, .privacy-section h2 svg { fill: var(--lime); }
.highlight-box, .highlight { border-color: rgb(67 223 209 / 35%); background: rgb(67 223 209 / 8%); color: var(--cloud); }
.highlight-box p { color: var(--cloud); }
.privacy-section h2 { color: #D8CCFF; }
.privacy-section strong, .policy-section strong, .info-item-value { color: var(--cloud); }
.info-item { border-color: var(--border); background: #101828; }
code { overflow-wrap: anywhere; }

/* Legal documents: narrow measure, calm accenting, same shell. */
.main {
    min-height: 80vh;
    padding: 7.5rem 1.25rem 4rem;
    background: radial-gradient(ellipse 70% 30% at 50% 0%, rgb(139 99 255 / 15%), transparent 75%);
}
.main::before {
    background: radial-gradient(ellipse 70% 30% at 50% 0%, rgb(139 99 255 / 15%), transparent 75%);
}
.main .container { width: min(760px, 100%); }
.privacy-card, .policy-card {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #121929;
    box-shadow: 0 22px 60px rgb(0 0 0 / 20%);
}
.privacy-section + .privacy-section, .policy-section + .policy-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(170 180 204 / 16%);
}
.privacy-section p, .policy-section p, .privacy-section li, .policy-section li {
    max-width: 72ch;
    line-height: 1.8;
}
.privacy-section h2, .policy-section h2 { color: #D8CCFF; }
.privacy-section ul, .policy-section ul { padding-left: 1.4rem; }
.info-item-value { overflow-wrap: anywhere; }
.data-item { background: #101828; }
.page-header .subtitle { line-height: 1.6; }
.footer { border-top: 1px solid var(--border); background: #090D16; }
.footer-content { max-width: 1200px; }
.footer-text, .footer-links { color: var(--muted); }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.footer-links a:hover { color: var(--lime); }

@media (max-width: 1024px) {
    .feature-grid, .features-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-container { gap: 1rem; }
    .nav-links { gap: .8rem; }
    .dropdown { max-height: 65vh; }
}
@media (max-width: 767px) {
    .nav { padding: .55rem 1rem; }
    .nav-logo { gap: .5rem; }
    .nav-logo img { height: 32px; }
    .nav-logo span { font-size: 1rem; }
    .nav-links {
        position: absolute;
        top: calc(100% + .35rem);
        left: 1rem;
        right: 1rem;
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: .15rem;
        padding: .75rem;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #0F1626;
        box-shadow: 0 18px 42px rgb(0 0 0 / 45%);
    }
    html.js .nav-links { display: none; }
    html.js .nav-links.active { display: flex; }
    html.js .nav-toggle { display: flex; position: relative; }
    .nav-links > li > a { width: 100%; padding: .35rem .55rem; }
    .dropdown, .nav-links > li:hover .dropdown, .nav-links > li:focus-within .dropdown {
        position: static;
        display: grid;
        gap: .1rem;
        min-width: 0;
        max-height: none;
        margin: 0;
        padding: .15rem 0 .35rem .5rem;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .dropdown a { padding: .3rem .5rem; }
    .hero { min-height: 0; padding: 7.5rem 1rem 3.5rem; }
    .hero-tagline { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn, .privacy-callout .btn { width: 100%; }
    .section, .features, .cta, .privacy-section { padding: 4rem 1rem; }
    .feature-grid, .features-grid, .steps, .data-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .privacy-callout { align-items: stretch; flex-direction: column; padding: 1.35rem; }
    .main { padding: 7rem 1rem 3rem; }
    .privacy-card, .policy-card { padding: 1.25rem; }
    .page-header { margin-bottom: 2rem; }
    .page-header h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .info-item { align-items: flex-start; gap: .7rem; padding: .85rem; }
    .footer { padding: 2rem 1rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .nav { padding-inline: 1rem; }
    .nav-container { gap: .6rem; }
    .nav-logo { gap: .45rem; }
    .nav-logo img { height: 32px; }
    .nav-logo span { font-size: .95rem; }
    .nav-links {
        position: static;
        flex-direction: row;
        gap: .55rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }
    .nav-links > li > a { font-size: .82rem; }
    .nav-cta { padding-inline: .65rem; }
    .nav-toggle { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
