/* ============================================================
   terms.css — NexVuel
   Black / white / grey glassmorphism · Wide layout
   ============================================================ */

:root {
    --nv-black:        #0a0a0a;
    --nv-ink:          #111111;
    --nv-grey-700:     #4a4a4a;
    --nv-grey-500:     #7a7a7a;
    --nv-grey-400:     #9a9a9a;
    --nv-grey-300:     #c8c8c8;
    --nv-grey-200:     #e2e2e2;
    --nv-grey-100:     #efefef;
    --nv-white:        #ffffff;

    --nv-glass-bg:     rgba(255, 255, 255, 0.55);
    --nv-glass-border: rgba(255, 255, 255, 0.85);
    --nv-glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.08),
                       0 2px 8px  rgba(0, 0, 0, 0.04);

    --nv-radius:       16px;
    --nv-transition:   all .25s cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------
   Page base
   ------------------------------------------------------------ */
.nv-terms-page {
    background:
        radial-gradient(1200px 600px at 15% -10%, #f5f5f5 0%, transparent 60%),
        radial-gradient(900px  500px at 90%  10%, #ededed 0%, transparent 55%),
        linear-gradient(180deg, #fafafa 0%, #f2f2f2 100%);
    color: var(--nv-ink);
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.nv-hero {
    position: relative;
    padding: 5rem 1.5rem 3rem;
    text-align: center;
    overflow: hidden;
}

.nv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    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;
}

.nv-hero-inner {
    position: relative;
    max-width: min(1000px, 90vw);
    margin: 0 auto;
}

.nv-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nv-grey-500);
    padding: .35rem .85rem;
    border: 1px solid var(--nv-grey-200);
    border-radius: 999px;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1.25rem;
}

.nv-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--nv-black);
    margin: 0 0 .75rem;
    line-height: 1.1;
}

.nv-hero-sub {
    font-size: 1.05rem;
    color: var(--nv-grey-700);
    line-height: 1.65;
    margin: 0;
}

/* ------------------------------------------------------------
   SECTION + WRAP
   ------------------------------------------------------------ */
.nv-section {
    padding: 1rem 1.5rem 6rem;
}

.nv-wrap {
    max-width: min(1400px, 92vw);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ------------------------------------------------------------
   GLASS CARD
   ------------------------------------------------------------ */
.nv-glass-card {
    position: relative;
    padding: 3.5rem 3rem;
    border-radius: var(--nv-radius);
    background: var(--nv-glass-bg);
    border: 1px solid var(--nv-glass-border);
    box-shadow: var(--nv-glass-shadow);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nv-glass-card { background: rgba(255, 255, 255, 0.85); }
}

.nv-glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.4), transparent 40%);
    pointer-events: none;
}

/* ------------------------------------------------------------
   POLICY / TERMS TYPOGRAPHY
   ------------------------------------------------------------ */
.nv-policy {
    position: relative;
    color: var(--nv-grey-700);
    font-size: 1rem;
    line-height: 1.75;
}

/* Keep every direct child at a comfortable reading width, centered */
.nv-policy > * {
    max-width: 78ch;
    margin-left: auto;
    margin-right: auto;
}

.nv-policy h2 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--nv-black);
    margin: 2.25rem auto 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--nv-grey-200);
}

.nv-policy h2:first-child {
    margin-top: 0;
}

.nv-policy h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--nv-black);
    margin: 1.75rem auto .75rem;
}

.nv-policy p {
    margin: 0 auto 1.1rem;
    color: var(--nv-grey-700);
}

.nv-policy ul,
.nv-policy ol {
    margin: 0 auto 1.4rem;
    padding-left: 1.4rem;
}

.nv-policy li {
    margin-bottom: .55rem;
    color: var(--nv-grey-700);
    padding-left: .25rem;
}

.nv-policy li::marker {
    color: var(--nv-grey-400);
}

.nv-policy strong {
    color: var(--nv-ink);
    font-weight: 600;
}

.nv-policy a {
    color: var(--nv-black);
    text-decoration: underline;
    text-decoration-color: var(--nv-grey-300);
    text-underline-offset: 3px;
    transition: var(--nv-transition);
}

.nv-policy a:hover {
    text-decoration-color: var(--nv-black);
}

/* ------------------------------------------------------------
   LOADING SPINNER
   ------------------------------------------------------------ */
.nv-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--nv-grey-200);
    border-top-color: var(--nv-black);
    border-radius: 50%;
    animation: nv-spin .7s linear infinite;
    margin: 0 auto;
}

@keyframes nv-spin {
    to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 720px) {
    .nv-hero       { padding: 3.5rem 1.25rem 2rem; }
    .nv-section    { padding: 0 1.25rem 4rem; }
    .nv-glass-card { padding: 2rem 1.5rem; }
    .nv-wrap       { padding: 0 .5rem; }

    .nv-policy h2  { font-size: 1.05rem; margin-top: 1.75rem; }
    .nv-policy     { font-size: .95rem; }
}