:root{
      color-scheme:dark;
      --bg:#050505;
      --bg2:#0a0a0a;
      --surface:#111;
      --surface-2:#171717;
      --surface-3:rgba(255,255,255,.03);
      --line:rgba(255,255,255,.07);
      --line-2:rgba(255,255,255,.12);
      --ink:#f0f0f0;
      --muted:#999;
      --muted-2:#666;
      --accent:#4f8df4;
      --accent-2:#76a9ff;
      --good:#22c55e;
      --shadow:0 12px 40px rgba(0,0,0,.22);
      --glow:rgba(79,141,244,.22);
      --glow-2:rgba(118,169,255,.34);
      --max:1520px;
      --radius:22px;
      --radius-2:16px;
    }
    html[data-theme="light"]{
      color-scheme:light;
      --bg:#eff2f7;
      --bg2:#f8fafc;
      --surface:#ffffff;
      --surface-2:#eef2f7;
      --surface-3:rgba(12,18,28,.04);
      --line:rgba(28,40,58,.12);
      --line-2:rgba(28,40,58,.18);
      --ink:#111827;
      --muted:#5f6b7b;
      --muted-2:#7b8794;
      --shadow:0 16px 42px rgba(15,23,42,.10);
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
      color:var(--ink);
      background:
        radial-gradient(ellipse 70% 40% at 30% -5%, color-mix(in srgb, var(--accent) 18%, transparent), transparent),
        radial-gradient(ellipse 50% 30% at 80% 15%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent),
        var(--bg);
      min-height:100vh;
      line-height:1.5;
    }
    body::after{
      content:"";
      position:fixed;
      inset:0;
      pointer-events:none;
      background:
        radial-gradient(ellipse 70% 42% at 78% 4%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
        linear-gradient(rgba(5,5,5,.86), rgba(5,5,5,.92));
      opacity:.2;
      z-index:-1;
    }
    body::before{
      content:"";
      position:fixed;
      inset:0;
      pointer-events:none;
      background-image:
        radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent) 1.5px, transparent 1.5px);
      background-size:24px 24px;
      mask-image:radial-gradient(circle at 76% 18%, #000, transparent 44%);
      opacity:.12;
      z-index:-1;
    }
    a{color:inherit;text-decoration:none}
    img{display:block;max-width:100%}
    .shell{position:relative;z-index:1}
    .nav{
      position:fixed;
      top:0;
      left:50%;
      transform:translateX(-50%);
      z-index:100;
      width:100%;
      max-width:var(--max);
      padding:16px 24px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      backdrop-filter:blur(18px) saturate(1.3);
      -webkit-backdrop-filter:blur(18px) saturate(1.3);
      background:color-mix(in srgb, var(--bg) 82%, transparent);
      border-bottom:1px solid var(--line);
      border-radius:0 0 16px 16px;
    }
    .navin{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      width:100%;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:12px;
      font-weight:700;
      font-size:15px;
      letter-spacing:-.04em;
    }
    .brand img{
      width:28px;
      height:28px;
      border-radius:50%;
      box-shadow:0 0 0 1px var(--line);
    }
    .actions{
      display:flex;
      align-items:center;
      gap:10px;
      flex-wrap:wrap;
    }
    .theme-toggle{
      position:relative;
      width:46px;
      min-width:46px;
      min-height:42px;
      padding:0;
      font-size:20px;
    }
    .theme-toggle .icon-sun,
    .theme-toggle .icon-moon{
      position:absolute;
      inset:0;
      display:grid;
      place-items:center;
      transition:transform .22s ease, opacity .22s ease;
    }
    .theme-toggle .icon-sun{
      opacity:0;
      transform:scale(.72) rotate(-18deg);
    }
    .theme-toggle .icon-moon{
      opacity:1;
      transform:scale(1) rotate(0deg);
    }
    html[data-theme="light"] .theme-toggle .icon-sun{
      opacity:1;
      transform:scale(1) rotate(0deg);
    }
    html[data-theme="light"] .theme-toggle .icon-moon{
      opacity:0;
      transform:scale(.72) rotate(18deg);
    }
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:11px 16px;
      border-radius:10px;
      border:1px solid var(--line-2);
      background:var(--surface-3);
      color:var(--ink);
      font-weight:700;
      font-size:15px;
      transition:transform .18s ease, background .18s ease, border-color .18s ease;
    }
    .btn:hover{
      border-color:color-mix(in srgb, var(--accent) 38%, transparent);
      background:color-mix(in srgb, var(--accent) 12%, transparent);
    }
    .btn-primary{
      border-color:transparent;
      color:#fff;
      background:linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow:0 4px 24px var(--glow);
    }
    .store-btn{
      gap:0;
      min-width:52px;
      padding-inline:14px;
    }
    .store-btn svg{
      width:24px;
      height:24px;
      flex:0 0 auto;
    }
    .sr-only{
      position:absolute;
      width:1px;
      height:1px;
      padding:0;
      margin:-1px;
      overflow:hidden;
      clip:rect(0, 0, 0, 0);
      white-space:nowrap;
      border:0;
    }
    .hero{
      max-width:var(--max);
      margin:0 auto;
      min-height:min(100vh, 980px);
      padding:108px 32px 56px;
      display:grid;
      grid-template-columns:minmax(0, 1.02fr) minmax(0, .98fr);
      gap:26px 30px;
      align-items:center;
    }
    .hero-copy{
      max-width:920px;
    }
    .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding:0;
      border:0;
      background:transparent;
      color:var(--accent-2);
      font:400 12px/1 ui-monospace,SFMono-Regular,"Roboto Mono",Menlo,Consolas,monospace;
      text-transform:uppercase;
      letter-spacing:.1em;
    }
    .eyebrow::before{
      content:"";
      display:inline-block;
      width:32px;
      height:2px;
      border-radius:0;
      background:var(--accent-2);
      box-shadow:none;
    }
    h1{
      margin:22px 0 18px;
      font-size:clamp(48px,6vw,82px);
      line-height:1;
      letter-spacing:-.05em;
    }
    .cut{
      color:transparent;
      background:linear-gradient(135deg, var(--accent), var(--accent-2), #f87171);
      -webkit-background-clip:text;
      background-clip:text;
    }
    .lead{
      max-width:52ch;
      color:var(--muted);
      font-size:19px;
      line-height:1.7;
      margin:0;
    }
    .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px;margin-bottom:28px}
    .stats{
      display:grid;
      grid-template-columns:minmax(0, 1.2fr) minmax(180px, .8fr);
      gap:14px;
      max-width:620px;
      padding-top:24px;
      border-top:1px solid var(--line);
    }
    .stat{
      min-width:170px;
      padding:20px 22px;
      border:1px solid var(--line);
      border-radius:16px;
      background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 78%, transparent));
    }
    .stat strong{
      display:block;
      font-size:clamp(40px,5vw,64px);
      font-weight:800;
      letter-spacing:-.03em;
      line-height:1;
    }
    .stat span{
      display:block;
      color:var(--muted-2);
      font-size:12px;
      margin-top:4px;
      font-weight:600;
      text-transform:uppercase;
      letter-spacing:.08em;
    }
    .stat small{
      display:block;
      margin-top:10px;
      color:var(--muted);
      font-size:14px;
      line-height:1.5;
    }
    .mini-stats{
      display:grid;
      gap:14px;
    }
    .mini-stat{
      min-height:calc(50% - 7px);
      padding:18px 18px 16px;
      border:1px solid var(--line);
      border-radius:16px;
      background:color-mix(in srgb, var(--surface) 84%, transparent);
    }
    .mini-stat strong{
      display:block;
      font-size:28px;
      line-height:1;
      letter-spacing:-.04em;
    }
    .mini-stat span{
      display:block;
      margin-top:8px;
      color:var(--muted);
      font-size:12px;
      font-weight:700;
      text-transform:uppercase;
      letter-spacing:.08em;
    }
    .hero-viewer{
      position:relative;
      padding:18px 18px 0;
      min-height:clamp(240px, 34vh, 420px);
      border:1px solid var(--line);
      border-radius:34px;
      overflow:hidden;
      background:
        radial-gradient(circle at 50% 24%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 52%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 88%, transparent));
      box-shadow:var(--shadow);
      contain:layout paint;
    }
    .hero-viewer img{
      width:100%;
      height:100%;
      min-height:clamp(240px, 34vh, 420px);
      object-fit:cover;
      border-radius:24px;
      box-shadow:0 18px 38px rgba(0,0,0,.24);
    }
    .hero-caption{
      position:absolute;
      left:18px;
      right:18px;
      bottom:18px;
      padding:18px 20px;
      border:1px solid color-mix(in srgb, var(--line-2) 88%, transparent);
      border-radius:22px;
      background:color-mix(in srgb, var(--bg) 72%, transparent);
      backdrop-filter:blur(20px) saturate(1.2);
      -webkit-backdrop-filter:blur(20px) saturate(1.2);
    }
    .hero-caption strong{
      display:block;
      font-size:clamp(26px, 3vw, 40px);
      letter-spacing:-.04em;
    }
    .hero-caption span{
      display:block;
      margin-top:6px;
      color:#d4dbec;
      font-size:15px;
    }
    .hero-strip{
      display:grid;
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:14px;
      margin-top:18px;
    }
    .hero-tile{
      padding:0;
      border:1px solid var(--line);
      border-radius:18px;
      overflow:hidden;
      background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 84%, transparent));
      color:inherit;
      text-align:left;
      cursor:pointer;
      transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .hero-tile:hover{
      transform:translateY(-2px);
      border-color:color-mix(in srgb, var(--accent) 34%, var(--line));
    }
    .hero-tile.is-active{
      border-color:color-mix(in srgb, var(--accent) 72%, transparent);
      box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 36%, transparent), 0 16px 28px var(--glow);
      background:color-mix(in srgb, var(--accent) 10%, var(--surface));
    }
    .hero-tile img{
      width:100%;
      aspect-ratio:16 / 9;
      object-fit:cover;
      border-bottom:1px solid var(--line);
    }
    .hero-tile-copy{
      padding:12px 14px 14px;
    }
    .hero-tile-copy strong{
      display:block;
      font-size:14px;
      color:var(--ink);
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .hero-tile-copy span{
      display:block;
      margin-top:5px;
      color:var(--muted);
      font-size:12px;
      line-height:1.4;
      display:-webkit-box;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    .thumbs{
      display:grid;
      grid-template-columns:repeat(2, minmax(0,1fr));
      gap:10px;
      margin-top:14px;
    }
    .thumb{
      min-height:96px;
      border:1px solid var(--line);
      border-radius:12px;
      overflow:hidden;
      background:color-mix(in srgb, var(--surface) 92%, transparent);
    }
    section{padding:36px 20px 70px}
    .inner{max-width:var(--max);margin:0 auto}
    .head{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:22px;
      margin-bottom:24px;
    }
    .kicker{
      margin-bottom:10px;
      color:var(--accent-2);
      font:800 12px/1 ui-monospace,SFMono-Regular,"Roboto Mono",Menlo,Consolas,monospace;
      text-transform:uppercase;
      letter-spacing:.1em;
    }
    h2{
      margin:0;
      font-size:clamp(34px, 4.8vw, 58px);
      line-height:1;
      letter-spacing:-.06em;
    }
    .desc{
      max-width:600px;
      color:var(--muted);
      font-size:20px;
      line-height:1.7;
    }
    .grid{
      display:grid;
      grid-template-columns:repeat(auto-fit, minmax(380px,1fr));
      gap:18px;
      align-items:stretch;
    }
    #appsGrid{
      grid-template-columns:1fr;
      gap:14px;
      max-width:1120px;
      margin:0 auto;
    }
    .app-row{
      display:grid;
      grid-template-columns:88px minmax(0, 1fr) minmax(220px, 300px);
      gap:18px;
      align-items:start;
      padding:18px;
      border:1px solid var(--line);
      border-radius:20px;
      background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 86%, transparent));
      box-shadow:var(--shadow);
      transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    }
    .app-row:hover{
      transform:translateY(-2px);
      border-color:color-mix(in srgb, var(--accent) 28%, var(--line));
      box-shadow:0 18px 36px rgba(0,0,0,.22);
    }
    .app-row-icon-wrap{
      display:grid;
      place-items:center;
      width:88px;
      height:88px;
      border-radius:22px;
      border:1px solid var(--line);
      background:color-mix(in srgb, var(--bg) 86%, transparent);
    }
    .app-row-icon{
      width:72px;
      height:72px;
      border-radius:18px;
      object-fit:contain;
    }
    .app-row-copy{
      min-width:0;
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    .app-row-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:14px;
    }
    .app-row-head h3{
      margin:0;
      font-size:24px;
      line-height:1.08;
      letter-spacing:-.04em;
    }
    .app-row-install{
      flex:0 0 auto;
      padding:8px 10px;
      border:1px solid var(--line);
      border-radius:999px;
      background:color-mix(in srgb, var(--surface) 88%, transparent);
      color:var(--muted);
      font-size:12px;
      font-weight:700;
      white-space:nowrap;
    }
    .app-row-description{
      margin:0;
      color:var(--muted);
      font-size:15px;
      line-height:1.65;
      display:-webkit-box;
      -webkit-line-clamp:3;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    .app-row-tags{
      margin-bottom:0;
    }
    .app-row-actions{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
    }
    .app-row-preview{
      align-self:center;
      min-width:0;
      border:1px solid var(--line);
      border-radius:18px;
      overflow:hidden;
      background:color-mix(in srgb, var(--bg2) 94%, transparent);
      height:168px;
    }
    .app-row-preview img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }
    .app-row-preview.is-fallback img{
      object-fit:contain;
      padding:18px;
      background:radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 52%), color-mix(in srgb, var(--surface) 92%, transparent);
    }
    .card{
      display:flex;
      flex-direction:column;
      height:100%;
      overflow:hidden;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 78%, transparent));
      box-shadow:var(--shadow);
      transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    }
    .card:hover{
      transform:translateY(-3px);
      border-color:color-mix(in srgb, var(--accent) 34%, var(--line));
      box-shadow:0 20px 46px rgba(0,0,0,.28);
    }
    .card-banner{
      position:relative;
      aspect-ratio:16 / 9;
      overflow:hidden;
      border-bottom:1px solid var(--line);
      background:
        radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 48%),
        color-mix(in srgb, var(--surface) 90%, transparent);
    }
    .card-banner img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .28s ease;
    }
    .card:hover .card-banner img{transform:scale(1.035)}
    .card-badge{
      position:absolute;
      left:14px;
      top:14px;
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:8px 10px;
      border:1px solid color-mix(in srgb, var(--line-2) 88%, transparent);
      border-radius:999px;
      background:color-mix(in srgb, var(--bg) 70%, transparent);
      backdrop-filter:blur(12px);
      color:#fff;
      font:700 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
      letter-spacing:-.01em;
    }
    .card-body{
      display:flex;
      flex-direction:column;
      flex:1;
      padding:20px 20px 22px;
    }
    .card-top{
      display:flex;
      align-items:center;
      gap:12px;
      margin-bottom:14px;
    }
    .card-top img{
      width:64px;
      height:64px;
      padding:6px;
      border-radius:16px;
      border:1px solid var(--line);
      background:color-mix(in srgb, var(--bg) 88%, transparent);
      object-fit:contain;
    }
    .card h3{
      margin:0;
      font-size:24px;
      letter-spacing:-.04em;
      line-height:1.05;
    }
    .card .meta{
      color:var(--muted);
      font-size:14px;
      margin-top:4px;
    }
    .card .install-meta{
      margin:0 0 12px;
    }
    .card p{
      margin:0 0 16px;
      color:var(--muted);
      display:-webkit-box;
      -webkit-line-clamp:4;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    .pillrow{
      display:flex;
      gap:8px;
      flex-wrap:wrap;
      margin-bottom:18px;
    }
    .card-foot{
      display:flex;
      gap:10px;
      margin-top:auto;
    }
    .card-foot .btn{flex:1}
    .pill{
      padding:6px 10px;
      border:1px solid var(--line);
      border-radius:999px;
      background:rgba(255,255,255,.03);
      color:var(--muted);
      font-size:13px;
      font-weight:700;
    }
    .split{
      display:grid;
      grid-template-columns:1.2fr .8fr;
      gap:18px;
      align-items:stretch;
    }
    .platform-shell{
      max-width:980px;
      grid-template-columns:1fr;
    }
    .panel{
      display:flex;
      flex-direction:column;
      height:100%;
      padding:30px;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 78%, transparent));
      box-shadow:var(--shadow);
    }
    .contact-shell{
      max-width:980px;
    }
    .list{
      display:grid;
      gap:12px;
    }
    .item{
      display:flex;
      justify-content:space-between;
      gap:16px;
      padding:12px 0;
      border-bottom:1px solid var(--line);
    }
    .item:last-child{border-bottom:0}
    .item span{color:var(--muted);font-size:16px}
    .modal{
      position:fixed;
      inset:0;
      z-index:200;
      display:grid;
      place-items:center;
      padding:24px;
      background:color-mix(in srgb, var(--bg) 76%, transparent);
      backdrop-filter:blur(12px);
    }
    .modal[hidden]{display:none}
    .modal-card{
      width:min(1160px, 100%);
      max-height:min(90vh, 980px);
      overflow:auto;
      border:1px solid var(--line);
      border-radius:28px;
      background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, transparent), color-mix(in srgb, var(--surface-2) 92%, transparent));
      box-shadow:0 30px 80px rgba(0,0,0,.45);
    }
    .modal-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      padding:22px 24px 18px;
      border-bottom:1px solid var(--line);
    }
    .modal-title{
      display:flex;
      align-items:center;
      gap:16px;
    }
    .modal-title img{
      width:70px;
      height:70px;
      border-radius:18px;
      border:1px solid var(--line);
    }
    .modal-title h3{
      margin:0 0 6px;
      font-size:28px;
      letter-spacing:-.04em;
    }
    .modal-close{
      width:48px;
      height:48px;
      border-radius:999px;
      border:1px solid var(--line);
      background:rgba(255,255,255,.03);
      color:var(--ink);
      font-size:28px;
      line-height:1;
      cursor:pointer;
    }
    .modal-body{
      display:grid;
      grid-template-columns:1.3fr .9fr;
      gap:24px;
      padding:24px;
    }
    .modal-main{
      min-height:460px;
      border:1px solid var(--line);
      border-radius:24px;
      overflow:hidden;
      background:color-mix(in srgb, var(--bg2) 94%, transparent);
      display:grid;
      place-items:center;
    }
    .modal-main img{
      width:100%;
      height:100%;
      max-height:66vh;
      object-fit:contain;
      padding:24px;
      background:
        radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.02), transparent);
    }
    .modal-side p{
      margin:0 0 18px;
      color:var(--muted);
      font-size:17px;
      line-height:1.7;
    }
    .modal-thumbs{
      margin-top:8px;
    }
    .modal-thumb-btn{
      padding:0;
      cursor:pointer;
    }
    .modal-thumb-btn img{
      width:100%;
      height:96px;
      object-fit:cover;
      border-radius:12px;
    }
    footer{
      padding:30px 20px 46px;
      color:var(--muted);
    }
    .foot{
      max-width:var(--max);
      margin:0 auto;
      padding-top:24px;
      border-top:1px solid var(--line);
      display:flex;
      justify-content:space-between;
      gap:16px;
      flex-wrap:wrap;
      font-size:15px;
    }
    .foot-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
    .legal-link{
      color:var(--muted);
      font-size:13px;
      opacity:.82;
      transition:opacity .18s ease, color .18s ease;
    }
    .legal-link:hover{opacity:1;color:var(--ink)}
    .dot{color:rgba(255,255,255,.22)}
    .mono{font-family:ui-monospace,SFMono-Regular,"Roboto Mono",Menlo,Consolas,monospace}
    .search-bar{
      display:flex;
      align-items:center;
      gap:16px;
      margin-bottom:24px;
    }
    .search-wrap{
      position:relative;
      flex:1;
      min-width:200px;
      max-width:480px;
    }
    .search-icon{
      position:absolute;
      left:16px;
      top:50%;
      transform:translateY(-50%);
      color:var(--muted-2);
      pointer-events:none;
    }
    .search-input{
      width:100%;
      padding:14px 42px 14px 48px;
      border:1px solid var(--line);
      border-radius:14px;
      background:color-mix(in srgb, var(--surface) 92%, transparent);
      color:var(--ink);
      font:400 15px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
      outline:none;
      transition:border-color .2s ease, box-shadow .2s ease;
    }
    .search-input:focus{
      border-color:color-mix(in srgb, var(--accent) 44%, var(--line));
      box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 8px 24px var(--glow);
    }
    .search-input::placeholder{color:var(--muted-2)}
    .search-clear{
      position:absolute;
      right:8px;
      top:50%;
      transform:translateY(-50%);
      display:none;
      width:32px;
      height:32px;
      border:0;
      border-radius:999px;
      background:var(--surface-3);
      color:var(--muted);
      font-size:20px;
      line-height:1;
      cursor:pointer;
      transition:background .18s ease;
    }
    .search-clear:hover{background:color-mix(in srgb, var(--accent) 16%, transparent);color:var(--ink)}
    .result-count{
      flex:0 0 auto;
      color:var(--muted-2);
      font-size:14px;
      font-weight:600;
      letter-spacing:-.02em;
      white-space:nowrap;
    }
    .no-results{
      grid-column:1 / -1;
      text-align:center;
      padding:48px 24px;
      color:var(--muted);
    }
    .no-results strong{
      display:block;
      font-size:22px;
      letter-spacing:-.04em;
      color:var(--ink);
      margin-bottom:8px;
    }
    @media (max-width: 980px){
      .hero,.split{grid-template-columns:1fr}
      .hero{
        padding-top:92px;
        align-items:start;
        min-height:auto;
      }
      .stats{grid-template-columns:1fr}
      .hero-viewer,
      .hero-viewer img{min-height:34vh}
      .grid{grid-template-columns:repeat(auto-fit, minmax(320px,1fr))}
      #appsGrid{grid-template-columns:1fr}
      .app-row{grid-template-columns:80px minmax(0, 1fr)}
      .app-row-preview{grid-column:1 / -1; min-height:200px}
      .hero-strip{grid-template-columns:repeat(2, minmax(0, 1fr))}
      .modal-body{grid-template-columns:1fr}
      .modal-main{min-height:320px}
    }
    @media (max-width: 760px){
      #appsGrid{grid-template-columns:1fr}
      .app-row{grid-template-columns:1fr; padding:16px}
      .app-row-icon-wrap{width:76px;height:76px}
      .app-row-icon{width:62px;height:62px}
      .app-row-head{flex-direction:column;align-items:flex-start}
      .app-row-preview{min-height:180px}
    }
    @media (max-width: 640px){
      .nav{padding:12px 16px}
      .navin{padding:0}
      .nav .actions{gap:8px;flex-wrap:nowrap}
      .nav .btn,
      .nav .theme-toggle,
      .nav .store-btn{width:auto;flex:0 0 auto}
      .hero{padding:84px 16px 36px}
      .lead,.desc{font-size:17px}
      section,footer{padding-left:14px;padding-right:14px}
      .stats{grid-template-columns:1fr}
      .hero-actions{flex-direction:row}
      .hero-actions .btn{flex:1}
      .panel .actions,
      #contact .actions,
      .card-foot{flex-direction:column}
      .btn{width:100%}
      .hero-viewer,
      .hero-viewer img{min-height:30vh}
      .hero-viewer{padding:12px 12px 0}
      .hero-caption{left:14px;right:14px;bottom:14px;padding:14px 16px}
      .app-row-actions{flex-direction:column}
      .app-row-actions .btn{width:100%}
      .thumbs{grid-template-columns:1fr}
      .card-body{padding:18px}
      .modal{padding:0}
      .modal-card{width:100%;max-height:100vh;border-radius:0}
      .modal-head,.modal-body{padding:16px}
      .modal-title h3{font-size:22px}
      .modal-title img{width:56px;height:56px}
      .modal-main img{padding:14px}
      .search-bar{flex-direction:column;align-items:stretch;gap:10px}
      .search-wrap{max-width:none}
    }
    @media (max-width: 420px){
      .brand span{display:none}
      h1{font-size:clamp(36px, 12vw, 48px)}
      .hero-actions{flex-direction:column}
      .card-top img{width:56px;height:56px}
      .card h3{font-size:22px}
    }

/* UI polish pass 20260629-ui1: matte, compact, app-first */
:root{
  --bg:#070708;
  --bg2:#0b0c10;
  --surface:#101116;
  --surface-2:#15171d;
  --surface-3:rgba(255,255,255,.045);
  --line:rgba(255,255,255,.075);
  --line-2:rgba(255,255,255,.15);
  --ink:#f5f5f7;
  --muted:#a2a6b3;
  --muted-2:#707684;
  --accent:#7c5cff;
  --accent-2:#36c5ff;
  --shadow:0 18px 50px rgba(0,0,0,.28);
  --glow:rgba(124,92,255,.22);
  --glow-2:rgba(54,197,255,.22);
  --max:1220px;
  --radius:18px;
}
html[data-theme="light"]{
  --bg:#f3f4f8;
  --bg2:#e9ecf3;
  --surface:rgba(255,255,255,.74);
  --surface-2:rgba(255,255,255,.92);
  --surface-3:rgba(20,24,34,.045);
  --line:rgba(20,24,34,.09);
  --line-2:rgba(20,24,34,.16);
  --ink:#10131a;
  --muted:#596171;
  --muted-2:#7b8495;
  --shadow:0 18px 46px rgba(18,24,38,.08);
}
body{
  background:
    radial-gradient(ellipse 72% 42% at 74% -8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 64%),
    radial-gradient(ellipse 48% 34% at 18% 8%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 58%),
    linear-gradient(180deg,var(--bg),var(--bg2));
}
body::after{opacity:.16;background:linear-gradient(rgba(5,5,5,.72),rgba(5,5,5,.78));}
body::before{opacity:.07;background-size:28px 28px;}
.nav{
  top:10px;width:calc(100% - 24px);border:1px solid var(--line);border-radius:18px;
  background:color-mix(in srgb,var(--bg) 78%,transparent);box-shadow:0 10px 36px rgba(0,0,0,.18);
}
.brand img{border-radius:9px;}
.btn{min-height:38px;padding:9px 14px;border-radius:11px;font-size:14px;background:color-mix(in srgb,var(--surface) 86%,transparent);box-shadow:none;}
.btn:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 34%,var(--line-2));}
.btn-primary{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 92%,#000),color-mix(in srgb,var(--accent-2) 78%,var(--accent)));box-shadow:0 10px 26px var(--glow);}
.hero{min-height:min(92vh,800px);padding:118px 24px 48px;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:48px;}
.hero-copy{max-width:660px;}
.eyebrow,.kicker{letter-spacing:.14em;color:color-mix(in srgb,var(--accent-2) 82%,var(--ink));}
h1{margin:18px 0 16px;font-size:clamp(46px,6vw,78px);letter-spacing:-.065em;}
.cut{background:linear-gradient(120deg,#fff 0%,var(--accent-2) 42%,var(--accent) 100%);-webkit-background-clip:text;background-clip:text;}
.lead{max-width:38ch;font-size:18px;line-height:1.55;color:color-mix(in srgb,var(--muted) 92%,var(--ink));}
.hero-actions{margin-top:24px;margin-bottom:24px;}
.stats{max-width:560px;grid-template-columns:minmax(0,1fr) 170px;gap:10px;padding-top:18px;}
.stat,.mini-stat{border-radius:14px;background:color-mix(in srgb,var(--surface) 88%,transparent);box-shadow:none;}
.stat{padding:16px 18px;}
.stat strong{font-size:clamp(34px,4vw,48px);}
.stat small{font-size:12px;line-height:1.35;}
.mini-stats{gap:10px;}
.mini-stat{padding:14px 14px 12px;}
.mini-stat strong{font-size:24px;}
.hero-viewer{max-width:520px;margin-left:auto;border-radius:28px;padding:14px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 90%,transparent),color-mix(in srgb,var(--bg) 70%,transparent));}
.hero-viewer img{border-radius:20px;object-fit:cover;}
.hero-caption{left:14px;right:14px;bottom:14px;padding:14px 16px;border-radius:18px;background:color-mix(in srgb,var(--bg) 76%,transparent);}
.hero-caption strong{font-size:clamp(22px,2.4vw,32px);}
section{padding:42px 20px 58px;}
#apps .inner{max-width:1080px;}
.head{align-items:flex-end;margin-bottom:18px;}
h2{font-size:clamp(32px,4.5vw,50px);}
.desc{max-width:430px;font-size:16px;line-height:1.5;}
.search-bar{margin-bottom:16px;}
.search-input{height:42px;padding-top:10px;padding-bottom:10px;border-radius:12px;background:color-mix(in srgb,var(--surface) 78%,transparent);}
.result-count{font-size:12px;}
#appsGrid{max-width:920px;gap:10px;}
.app-row{grid-template-columns:68px minmax(0,1fr);gap:14px;align-items:center;padding:14px;border-radius:16px;background:color-mix(in srgb,var(--surface) 82%,transparent);box-shadow:none;}
.app-row:hover{box-shadow:none;transform:translateY(-1px);}
.app-row-icon-wrap{width:68px;height:68px;border-radius:16px;background:color-mix(in srgb,var(--bg) 72%,transparent);}
.app-row-icon{width:54px;height:54px;border-radius:13px;}
.app-row-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;align-items:center;}
.app-row-head{grid-column:1;align-items:center;justify-content:flex-start;flex-wrap:wrap;}
.app-row-head h3{font-size:21px;letter-spacing:-.045em;}
.app-row-head .meta{display:inline-flex;margin-top:4px;color:var(--muted);font-size:13px;}
.app-row-install{padding:5px 8px;font-size:11px;background:transparent;color:var(--muted-2);}
.app-row-description{grid-column:1;max-width:none;font-size:14px;line-height:1.45;-webkit-line-clamp:2;}
.app-row-tags{grid-column:1;gap:6px;margin-bottom:0;}
.pill{padding:4px 8px;font-size:12px;background:color-mix(in srgb,var(--surface-3) 80%,transparent);}
.app-row-actions{grid-column:2;grid-row:1 / span 3;gap:8px;justify-content:flex-end;flex-wrap:nowrap;align-self:center;}
.app-row-actions .btn{min-height:34px;padding:7px 12px;font-size:13px;}
.app-row-preview{display:none;height:124px;border-radius:14px;}
.panel{box-shadow:none;background:color-mix(in srgb,var(--surface) 74%,transparent);}
.contact-band{max-width:920px;display:block;padding:22px 24px;border-radius:18px;}
.contact-band .desc{margin:8px 0 0;}
.contact-band h2,.contact-band .kicker,.contact-band .desc{text-align:left;}
.contact-band .actions{justify-content:flex-start;margin-top:16px;}
footer{padding-top:12px;}
@media (max-width: 980px){
  .hero{grid-template-columns:1fr;gap:28px;min-height:auto;}
  .hero-viewer{margin:0;max-width:none;}
  .stats{grid-template-columns:1fr 150px;}
  .app-row{grid-template-columns:64px minmax(0,1fr);}
  .contact-band{grid-template-columns:1fr;}
  .contact-band .actions{justify-content:flex-start;}
}
@media (max-width: 640px){
  .nav{top:8px;width:calc(100% - 16px);padding:10px 12px;}
  .hero{padding:92px 14px 26px;}
  h1{font-size:clamp(38px,12vw,54px);}
  .lead{font-size:16px;}
  .stats{grid-template-columns:1fr 1fr;}
  .stat{grid-column:1 / -1;}
  .mini-stats{grid-template-columns:1fr 1fr;grid-column:1 / -1;}
  .hero-actions .btn{width:auto;}
  .hero-viewer,.hero-viewer img{min-height:260px;}
  section{padding:30px 14px 42px;}
  .head{display:block;}
  .desc{font-size:15px;}
  .app-row{grid-template-columns:56px minmax(0,1fr);padding:12px;gap:10px;}
  .app-row-icon-wrap{width:56px;height:56px;border-radius:14px;}
  .app-row-icon{width:44px;height:44px;border-radius:11px;}
  .app-row-head{align-items:flex-start;}
  .app-row-head h3{font-size:18px;}
  .app-row-install{margin-top:2px;}
  .app-row-copy{grid-template-columns:1fr;}
  .app-row-description{grid-column:1 / -1;font-size:13px;-webkit-line-clamp:2;}
  .app-row-preview{display:none;}
  .app-row-actions{grid-column:1 / -1;grid-row:auto;flex-direction:row;}
  .app-row-actions .btn{width:auto;flex:1;}
  .app-row-tags{display:none;}
  .contact-band{padding:18px;}
}

/* Red legal-theme alignment 20260629-red1 */
:root{
  --bg:#0a0a0c;
  --bg2:#120707;
  --surface:#121214;
  --surface-2:#181316;
  --surface-3:rgba(220,38,38,.06);
  --line:rgba(255,255,255,.08);
  --line-2:rgba(220,38,38,.22);
  --ink:#e8e8ed;
  --muted:#a2a2aa;
  --muted-2:#707076;
  --accent:#dc2626;
  --accent-2:#ff6a3d;
  --glow:rgba(220,38,38,.24);
  --glow-2:rgba(255,106,61,.26);
}
html[data-theme="light"]{
  --bg:#fff7f7;
  --bg2:#fff1f1;
  --surface:rgba(255,255,255,.82);
  --surface-2:rgba(255,248,248,.96);
  --surface-3:rgba(220,38,38,.055);
  --line:rgba(116,10,10,.11);
  --line-2:rgba(220,38,38,.24);
  --ink:#1b1010;
  --muted:#6c5555;
  --muted-2:#8b7373;
  --glow:rgba(220,38,38,.16);
  --glow-2:rgba(255,106,61,.18);
}
body{
  background:
    radial-gradient(ellipse 72% 42% at 72% -8%, rgba(220,38,38,.20), transparent 64%),
    radial-gradient(ellipse 48% 34% at 18% 8%, rgba(255,106,61,.13), transparent 58%),
    linear-gradient(180deg,var(--bg),var(--bg2));
}
body::before{
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
}
.eyebrow,.kicker{color:var(--accent);}
.cut{background:linear-gradient(120deg,#fff 0%, var(--accent-2) 40%, var(--accent) 100%);-webkit-background-clip:text;background-clip:text;}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 10px 26px var(--glow);}
.btn:hover,.app-row:hover,.hero-tile:hover{border-color:color-mix(in srgb,var(--accent) 42%,var(--line-2));}
.hero-viewer,.stat,.mini-stat,.app-row,.panel,.modal-card{border-color:rgba(220,38,38,.13);}
.app-row-icon-wrap,.card-top img,.modal-title img{border-color:rgba(220,38,38,.16);}
.search-input:focus{border-color:rgba(220,38,38,.46);box-shadow:0 0 0 1px rgba(220,38,38,.18),0 8px 24px var(--glow);}
.legal-link:hover{color:var(--accent);}
.dot{color:rgba(220,38,38,.32);}
