/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
    --black:   #03010A;
    --navy:    #07041A;
    --card:    #0D0925;
    --purple:  #7C3AED;
    --purpleL: #A78BFA;
    --purpleX: #C084FC;
    --white:   #F1EFFE;
    --muted:   rgba(241,239,254,.45);
    --border:  rgba(124,58,237,.18);
    --borderH: rgba(124,58,237,.48);
    --amber:   #F59E0B;
    --amberL:  #FCD34D;
  }
  
  /* ─────────────────────────────────────────────
     RESET + BASE
  ───────────────────────────────────────────── */
  *, *::before, *::after { box-sizing:border-box; margin:0; padding:0 }
  html { scroll-behavior:smooth }
  body {
    font-family:'DM Sans', sans-serif;
    background:var(--black);
    color:var(--white);
    overflow-x:hidden;
    line-height:1.5;
  }
  
  /* Film-grain overlay */
  body::after {
    content:'';
    position:fixed; inset:0; z-index:9999; pointer-events:none;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity:.032;
    background-size:256px 256px;
  }
  
  /* ─────────────────────────────────────────────
     NAV — exact ConceptA2 match
  ───────────────────────────────────────────── */
  nav {
    position:sticky;
    top:0;
    z-index:800;
    height:62px;
    display:flex;
    align-items:center;
    padding:0 48px;
    gap:4px;
    background:rgba(3,1,10,.88);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border);
    transition:background .3s, border-color .3s;
  }
  nav.scrolled {
    background:rgba(3,1,10,.97);
    border-bottom-color:rgba(124,58,237,.3);
  }
  .nav-logo { flex-shrink:0; cursor:pointer; margin-right:20px }
  .nav-logo img { height:28px; display:block }
  .nav-links { display:flex; align-items:center; gap:2px; flex:1 }
  .nl {
    font-size:13.5px; font-weight:500; color:var(--muted);
    padding:7px 14px; border-radius:7px; cursor:pointer;
    transition:all .2s; text-decoration:none; letter-spacing:.01em;
  }
  .nl:hover { color:var(--white); background:rgba(124,58,237,.1) }
  .nl-spotlight {
    display:flex; align-items:center; gap:7px;
    color:var(--purpleL); background:rgba(124,58,237,.1);
    border:1px solid rgba(124,58,237,.25); padding:7px 14px;
    border-radius:7px; font-size:13.5px; font-weight:600;
    letter-spacing:.01em; cursor:pointer; transition:all .25s;
  }
  .nl-spotlight:hover {
    background:rgba(124,58,237,.22);
    border-color:rgba(124,58,237,.5);
    color:var(--white);
  }
  .spot-dot {
    width:7px; height:7px; border-radius:50%;
    background:var(--purple); box-shadow:0 0 6px var(--purple);
    animation:spotNavPulse 2s ease-in-out infinite; flex-shrink:0;
  }
  @keyframes spotNavPulse {
    0%,100% { box-shadow:0 0 6px var(--purple); opacity:1 }
    50%      { box-shadow:0 0 14px var(--purpleX), 0 0 24px rgba(192,132,252,.3); opacity:.75 }
  }
  .nav-right { display:flex; align-items:center; gap:10px; flex-shrink:0; margin-left:auto }
  .nav-signin {
    font-size:13.5px; font-weight:500; color:var(--muted);
    cursor:pointer; padding:8px 12px; transition:color .2s;
  }
  .nav-signin:hover { color:var(--white) }
  .nav-cta {
    background:var(--purple); color:var(--white); border:none;
    border-radius:8px; font-family:'DM Sans',sans-serif;
    font-size:13.5px; font-weight:600; padding:9px 20px;
    cursor:pointer; transition:all .25s;
  }
  .nav-cta:hover { background:#6D28D9; box-shadow:0 0 20px rgba(124,58,237,.4); transform:translateY(-1px) }
  .nav-hamburger {
    display:none; background:none; border:none;
    cursor:pointer; padding:8px; color:var(--white);
  }
  .mobile-menu {
    display:none; position:fixed; inset:62px 0 0;
    background:rgba(3,1,10,.98); z-index:799;
    padding:24px; flex-direction:column; gap:4px;
  }
  .mobile-menu.open { display:flex }
  .mm-item {
    padding:14px 16px; border-radius:8px; font-size:15px;
    font-weight:500; color:var(--muted); cursor:pointer; transition:all .2s;
  }
  .mm-item:hover { background:rgba(124,58,237,.1); color:var(--white) }
  .mm-spot {
    color:var(--purpleL); background:rgba(124,58,237,.08);
    border:1px solid rgba(124,58,237,.2);
  }
  .mm-cta {
    margin-top:12px; background:var(--purple); color:var(--white);
    text-align:center; padding:14px; border-radius:8px;
    font-size:15px; font-weight:600; cursor:pointer;
  }
  
  /* ─────────────────────────────────────────────
     PAGE HEADER — slim, left-aligned
  ───────────────────────────────────────────── */
  .page-header {
    background:var(--navy);
    border-bottom:1px solid rgba(124,58,237,.2);
    padding:44px 48px 40px;
    position:relative;
    overflow:hidden;
  }
  /* Subtle glow */
  .page-header::before {
    content:'';
    position:absolute; top:-40px; left:-60px;
    width:500px; height:300px; pointer-events:none;
    background:radial-gradient(ellipse 60% 70% at 20% 50%,
      rgba(124,58,237,.1) 0%, transparent 70%);
  }
  .ph-title {
    font-family:'Bebas Neue', cursive;
    font-size:clamp(48px, 6vw, 68px);
    letter-spacing:.03em;
    line-height:1;
    color:var(--white);
    margin-bottom:14px;
    position:relative; z-index:2;
  }
  .ph-meta {
    font-family:'Space Mono', monospace;
    font-size:10px;
    letter-spacing:.12em;
    color:rgba(241,239,254,.3);
    position:relative; z-index:2;
  }
  
  
  
  /* ─────────────────────────────────────────────
     CONTENT AREA
  ───────────────────────────────────────────── */
  .content-area {
    background:var(--black);
    padding:52px 40px 80px;
    max-width:720px;
    margin:0 auto;
  }
  
  /* ─────────────────────────────────────────────
     SECTION STRUCTURE
  ───────────────────────────────────────────── */
  .doc-section {
    margin-bottom:0;
    padding-bottom:0;
    /* Offset anchor so heading clears the sticky nav */
    scroll-margin-top:80px;
  }
  
  .section-divider {
    height:1px;
    background:rgba(124,58,237,.12);
    margin:40px 0;
  }
  
  .section-num {
    font-family:'Space Mono', monospace;
    font-size:9px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:var(--purpleL);
    margin-bottom:8px;
    display:block;
  }
  
  .section-heading {
    font-family:'DM Sans', sans-serif;
    font-size:18px;
    font-weight:700;
    color:var(--white);
    margin-bottom:16px;
    line-height:1.3;
  }
  
  .section-body {
    font-family:'DM Sans', sans-serif;
    font-size:15px;
    line-height:1.8;
    color:rgba(241,239,254,.7);
  }
  .section-body p {
    margin-bottom:16px;
  }
  .section-body p:last-child {
    margin-bottom:0;
  }
  
  /* Custom bullet list — left border, no dot */
  .doc-list {
    list-style:none;
    padding-left:0;
    margin:12px 0 16px;
    border-left:2px solid rgba(124,58,237,.4);
    padding-left:16px;
  }
  .doc-list li {
    font-family:'DM Sans', sans-serif;
    font-size:14px;
    line-height:1.7;
    color:rgba(241,239,254,.6);
    margin-bottom:8px;
    padding-left:2px;
  }
  .doc-list li:last-child { margin-bottom:0 }
  
  /* Inline amber links */
  .inline-link {
    color:var(--amber);
    text-decoration:none;
    font-weight:500;
    transition:text-decoration .15s;
  }
  .inline-link:hover { text-decoration:underline }
  
  
  
  /* ─────────────────────────────────────────────
     BACK TO TOP BUTTON
  ───────────────────────────────────────────── */
  .back-to-top {
    position:fixed;
    bottom:28px;
    right:28px;
    z-index:700;
    background:var(--purple);
    color:var(--white);
    border:none;
    border-radius:24px;
    padding:9px 16px;
    font-family:'Space Mono', monospace;
    font-size:10px;
    letter-spacing:.1em;
    text-transform:uppercase;
    cursor:pointer;
    opacity:0;
    transform:translateY(12px);
    transition:opacity .25s ease, transform .25s ease, background .2s;
    pointer-events:none;
    box-shadow:0 4px 20px rgba(124,58,237,.35);
  }
  .back-to-top.visible {
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .back-to-top:hover { background:#6D28D9 }
  
  /* ─────────────────────────────────────────────
     FOOTER — exact ConceptA2 match
  ───────────────────────────────────────────── */
  footer {
    background:var(--navy);
    border-top:1px solid var(--border);
    padding:60px 48px 28px;
  }
  .footer-grid {
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:48px;
    margin-bottom:48px;
  }
  .fg-brand img { height:26px; margin-bottom:16px; display:block }
  .fg-brand p { font-size:13.5px; color:var(--muted); line-height:1.75; max-width:260px }
  .fg-social { display:flex; gap:10px; margin-top:20px }
  .fg-sicon {
    width:34px; height:34px; border-radius:7px;
    border:1px solid var(--border); display:flex;
    align-items:center; justify-content:center;
    font-size:13px; cursor:pointer; color:var(--muted);
    transition:all .2s; font-family:'DM Sans',sans-serif;
    font-weight:700; text-decoration:none;
  }
  .fg-sicon:hover { border-color:rgba(124,58,237,.4); background:rgba(124,58,237,.1); color:var(--white) }
  .fg-col h5 {
    font-family:'Space Mono', monospace; font-size:10px;
    letter-spacing:.16em; text-transform:uppercase;
    color:var(--purpleL); margin-bottom:16px;
  }
  .fg-col a {
    display:block; font-size:13.5px; color:var(--muted);
    text-decoration:none; margin-bottom:10px;
    cursor:pointer; transition:color .2s;
  }
  .fg-col a:hover { color:var(--white) }
  .footer-bottom {
    display:flex; align-items:center; justify-content:space-between;
    padding-top:24px; border-top:1px solid var(--border);
  }
  .fb-copy {
    font-family:'Space Mono', monospace; font-size:10px;
    letter-spacing:.08em; color:rgba(241,239,254,.25);
  }
  .fb-links { display:flex; gap:20px }
  .fb-links a {
    font-size:11.5px; color:rgba(241,239,254,.3);
    text-decoration:none; cursor:pointer; transition:color .2s;
  }
  .fb-links a:hover { color:rgba(241,239,254,.6) }
  
  /* ─────────────────────────────────────────────
     RESPONSIVE — 768–1023px (tablet)
  ───────────────────────────────────────────── */
  
    .content-area { padding:44px 36px 72px 36px }
  }
  
  /* ─────────────────────────────────────────────
     RESPONSIVE — ≤767px (mobile)
  ───────────────────────────────────────────── */
  @media (max-width:767px) {
    nav { padding:0 20px }
    .nav-links, .nav-right { display:none }
    .nav-hamburger { display:flex; margin-left:auto }
  
    .page-header { padding:32px 20px 28px }
  
  
  
    /* Content goes full width */
    .page-body { flex-direction:column }
    .content-area {
      padding:28px 20px 60px;
    }
  
    .section-body { font-size:14px; line-height:1.9 }
  
    footer { padding:44px 20px 24px }
    .footer-grid { grid-template-columns:1fr 1fr; gap:28px }
    .back-to-top { bottom:20px; right:16px }
  }
  
  @media (max-width:479px) {
    .footer-grid { grid-template-columns:1fr }
    .ph-title { font-size:46px }
  }
  

  .tier-premium{background:rgba(245,158,11,.25);border:1px solid rgba(245,158,11,.5);color:#FCD34D}