:root{
    --bg0: #05060a;
    --bg1: #0a0d16;
    --card: rgba(10, 12, 18, 0.62);
    --card2: rgba(10, 12, 18, 0.80);
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.72);
    --line: rgba(255,255,255,0.14);
    --shine: rgba(255,255,255,0.18);
    --shadow: 0 18px 60px rgba(0,0,0,0.45);
    --radius: 18px;
  }
  
  *{ box-sizing: border-box; }
  html,body{ height:100%; }
  body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    color: var(--text);
    background: #05060a;
    overflow-x: hidden;
  }
  
  a{ color: var(--text); text-decoration: none; }
  a:hover{ text-decoration: underline; text-underline-offset: 3px; }
  
  .skip-link{
    position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
  }
  .skip-link:focus{
    left: 12px; top: 12px; width:auto; height:auto; padding:10px 12px;
    background: rgba(0,0,0,0.75); border: 1px solid var(--line); border-radius: 10px;
    z-index: 1000;
  }
  
  .site-header{
    position: relative;
    z-index: 5;
    display:flex;
    justify-content: space-between;
    align-items:center;
    padding: 18px 22px;
  }
  
  .brand-link{
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: 18px;
  }
  
  .nav a{
    margin-left: 16px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
  }
  .nav a:hover{
    border-color: var(--line);
    background: rgba(255,255,255,0.04);
    text-decoration: none;
  }
  .nav a[aria-current="page"]{
    border-color: var(--line);
    background: rgba(255,255,255,0.06);
  }
  
  .card{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .hero{
    position: relative;
    z-index: 4;
    min-height: calc(100vh - 120px);
    display:flex;
    justify-content:center;
    align-items:center;
    padding: 22px;
  }
  
  .hero-card{
    max-width: 820px;
    width: 100%;
    padding: 34px 30px;
  }
  
  .title{
    margin: 0 0 8px 0;
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.6px;
  }
  .title-mark{
    opacity: 0.92;
  }
  
  .subtitle{
    margin: 0 0 18px 0;
    font-size: 16px;
    color: var(--muted);
  }
  
  .lede{
    margin: 0 0 22px 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
  }
  .lede .soft{ color: var(--muted); }
  
  .cta-row{
    display:flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    margin-bottom: 18px;
  }
  
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
    text-decoration: none !important;
  }
  .btn:hover{
    background: rgba(255,255,255,0.10);
  }
  .btn-ghost{
    background: rgba(0,0,0,0.12);
  }
  
  .fineprint{
    margin: 10px 0 0 0;
    color: rgba(255,255,255,0.60);
    font-size: 13px;
  }
  
  .site-footer{
    position: relative;
    z-index: 5;
    padding: 18px 22px 26px;
    color: rgba(255,255,255,0.55);
  }
  
  .page{
    position: relative;
    z-index: 4;
    padding: 24px 22px 46px;
    display:flex;
    justify-content:center;
  }
  .page > .card{
    max-width: 900px;
    width: 100%;
    padding: 28px 26px;
    background: var(--card2);
  }
  
  .page-title{
    margin: 0 0 8px 0;
    font-size: 34px;
    letter-spacing: -0.3px;
  }
  .muted{ color: var(--muted); }
  
  article h2{
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 18px;
  }
  article p, article li{
    line-height: 1.65;
  }
  article ul{
    padding-left: 18px;
  }
  
  .credits-table{
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 24px;
    font-size: 14px;
  }
  .credits-table th{
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
  }
  .credits-table td{
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: top;
  }
  .credits-table tr:last-child td{
    border-bottom: none;
  }
  .credits-table a{
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.3);
  }
  .credits-table a:hover{
    text-decoration-color: var(--text);
  }

  .privacy-app-list{
    list-style: none;
    padding: 0;
    margin: 18px 0;
  }
  .privacy-app-list li{
    margin-bottom: 10px;
  }
  .privacy-app-list a{
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    transition: background 0.2s ease;
  }
  .privacy-app-list a:hover{
    background: rgba(255,255,255,0.08);
    text-decoration: none;
  }

  .contact-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
  }
  .contact-item{
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,0.04);
  }
  .contact-item h2{
    margin: 0 0 6px 0;
    font-size: 16px;
    color: var(--muted);
  }
  .contact-item p{
    margin: 0;
    font-size: 16px;
  }
  
  @media (max-width: 740px){
    .contact-grid{ grid-template-columns: 1fr; }
    .hero-card{ padding: 28px 20px; }
  }
  
  /* Background styles */
  .bg-home{
    background: #05060a;
  }
  .bg-plain{
    background: radial-gradient(900px 650px at 50% 20%, #1a2237 0%, #080a12 65%, #05060a 100%);
  }

  /* Map background image layer */
  .bg-home::after{
    content:"";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: url('/yolo_ca_old_map.png') center 30% / cover no-repeat;
    opacity: 0.18;
    z-index: 0;
  }

  /* Vignette + center glow overlay */
  .bg-home::before{
    content:"";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(700px 550px at 50% 38%, rgba(180,160,120,0.10), rgba(0,0,0,0) 65%),
      radial-gradient(1400px 1000px at 50% 50%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.60) 55%, rgba(0,0,0,0.88) 100%);
    z-index: 1;
  }
  
  /* ===== APPS SECTION ===== */

.apps-section{
    position: relative;
    z-index: 4;
    padding: 40px 22px 80px;
    display: flex;
    justify-content: center;
  }
  
  .apps-container{
    max-width: 1000px;
    width: 100%;
  }
  
  .apps-title{
    font-size: 22px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    color: var(--muted);
  }
  
  .apps-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }
  
  .app-card{
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease;
  }
  
  .app-card:hover{
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
  }
  
  .app-icon-placeholder{
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    border: 1px solid var(--line);
  }
  
  .app-content{
    flex: 1;
  }
  
  .app-name{
    margin: 0 0 6px 0;
    font-size: 18px;
  }
  
  .app-description{
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
  }
  
  .badge{
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
  }
  
  .apps-footnote{
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
  }
  