/* ══════════════════════════════════════════════════════════════
   1. OVERVIEW  —  the intro line at the top of the sketch
   ══════════════════════════════════════════════════════════════ */
.overview{display:flex;gap:13px;align-items:flex-start}
.overview h1{margin:0;font-family:var(--display);font-size:24px;font-weight:700;letter-spacing:.1px;line-height:1.2}
.overview p{margin:6px 0 0;font-size:14px;color:var(--text-2);max-width:78ch;line-height:1.6}
.overview .meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:9px;font-family:var(--mono);font-size:11px;color:var(--muted)}
.overview .meta b{color:var(--text);font-weight:600}

/* ══════════════════════════════════════════════════════════════
   2. THE THREE PROXY TYPES
   ══════════════════════════════════════════════════════════════ */
.tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tier{display:flex;flex-direction:column}
.tier .panel-head{gap:10px}
.tier.premium{--c:var(--violet)}
.tier.standard{--c:var(--teal)}
.tier.classic{--c:var(--coral)}
/* whole card is a link — the chevron is the affordance */
.tier{cursor:pointer;transition:border-color .15s, transform .15s}
.tier:hover{border-color:var(--c);transform:translateY(-1px)}
.tier:focus-visible{outline:2px solid var(--c);outline-offset:2px}
.tier .chev{
  margin-left:auto;width:24px;height:24px;flex:0 0 24px;border-radius:50%;
  display:grid;place-items:center;color:var(--c);
  background:var(--panel-3);border:1px solid var(--line);
  transition:transform .15s, background .15s
}
.tier .chev svg{width:13px;height:13px;display:block}
.tier:hover .chev{transform:translateX(3px);background:var(--panel-2);border-color:var(--c)}
.tier:hover .panel-head h3{color:var(--c)}
.tier .panel-head h3{transition:color .15s}
/* body = artwork on the left, one line of copy on the right */
.tier .panel-body{flex:1;display:flex;gap:14px;align-items:center;padding:15px 14px}
.tier .panel-body p{margin:0;font-size:12.8px;color:var(--text-2);line-height:1.55}
/* the PNGs are white line-art on transparent, so they're drawn as a mask —
   that way each one takes its tier colour and works in both themes */
.tier-art{
  width:54px;height:54px;flex:0 0 54px;background-color:var(--c);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  transition:transform .15s
}
/* paths are relative to this stylesheet, so ../images/ reaches the site root */
.tier.premium  .tier-art{-webkit-mask-image:url('../images/Premium Proxy.png');mask-image:url('../images/Premium Proxy.png')}
.tier.standard .tier-art{-webkit-mask-image:url('../images/Standard Proxy.png');mask-image:url('../images/Standard Proxy.png')}
.tier.classic  .tier-art{-webkit-mask-image:url('../images/Classic Proxy.png');mask-image:url('../images/Classic Proxy.png')}
.tier:hover .tier-art{transform:scale(1.06)}

/* ══════════════════════════════════════════════════════════════
   3. GEO CHECKER  —  deliberately NOT in a card
   ══════════════════════════════════════════════════════════════ */
.geo{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:26px;align-items:center;padding:4px 2px}
.globe-box{position:relative;width:100%;aspect-ratio:1/1;max-height:330px;display:grid;place-items:center}
.globe-box canvas{
  width:100%;height:100%;display:block;cursor:grab;
  /* pan-y, not none: a vertical swipe scrolls the page as normal and
     only a sideways drag is taken as a rotation. */
  touch-action:pan-y;
}
.globe-box canvas:active{cursor:grabbing}
.globe-hint{
  position:absolute;bottom:2px;left:50%;transform:translateX(-50%);
  font-family:var(--mono);font-size:9.5px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);
  display:flex;align-items:center;gap:6px;pointer-events:none;white-space:nowrap
}
.globe-hint svg{width:12px;height:12px}

.geo-main{min-width:0}
.geo-ip{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-bottom:4px}
.flag{
  display:block;width:38px;height:27px;flex:0 0 38px;
  border-radius:4px;overflow:hidden;
  background:var(--panel-2);box-shadow:0 0 0 1px var(--line)
}
/* The image has to fill the box. Without this the <img> sat at its
   own natural size inside a box painted with a hardcoded Nigerian
   gradient, so every visitor saw a small flag over a green stripe. */
.flag img{width:100%;height:100%;object-fit:cover;display:block}
.geo-ip .label{font-family:var(--mono);font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted)}
.geo-ip .addr{font-family:var(--mono);font-size:27px;font-weight:600;letter-spacing:-1px;line-height:1.1}
.copy{width:26px;height:26px;border-radius:var(--r);display:grid;place-items:center;border:1px solid var(--line);background:var(--panel-2);color:var(--muted)}
.copy:hover{color:var(--text)}
.copy svg{width:13px;height:13px}
.geo-place{font-size:16px;font-weight:600;color:var(--text-2);margin-bottom:14px}

/* ruled rows, Whoer style */
.geo-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px}
.geo-row{display:flex;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px solid var(--line-2)}
.geo-row dt{font-size:12.5px;color:var(--muted);flex:0 0 96px}
.geo-row dd{margin:0;font-family:var(--mono);font-size:12.5px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.geo-row dd.ok{color:var(--accent)}
.geo-row dd.bad{color:var(--coral)}

/* ══════════════════════════════════════════════════════════════
   4. DISGUISE BAR  —  the full-width bar under the geo block
   ══════════════════════════════════════════════════════════════ */
.disguise{
  display:flex;align-items:center;gap:14px;padding:13px 16px;
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--panel);
  position:relative;overflow:hidden
}
.disguise::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:0;
  background:linear-gradient(90deg, rgba(240,113,79,.22), rgba(240,113,79,.05));
  transition:width 1.5s cubic-bezier(.16,1,.3,1)
}
.disguise.filled::before{width:100%}
.disguise > *{position:relative;z-index:1}
.disguise .shield{width:26px;height:26px;flex:0 0 26px;color:var(--coral)}
.disguise .shield svg{width:100%;height:100%}
.disguise .txt{flex:1;min-width:0}
.disguise .txt b{font-size:14px;font-weight:600}
.disguise .txt b .pct{font-family:var(--mono);color:var(--coral)}
.disguise .txt p{margin:1px 0 0;font-size:12.3px;color:var(--text-2)}
.disguise .btn{flex:0 0 auto}

/* ══════════════════════════════════════════════════════════════
   5. APP DOWNLOAD CARDS
   ══════════════════════════════════════════════════════════════ */
/* section heading used by both blocks below */
.sec-head{margin-bottom:14px}
.sec-head h2{margin:0;font-family:var(--display);font-size:20px;font-weight:700;letter-spacing:.1px}
.sec-head p{margin:4px 0 0;font-size:13px;color:var(--text-2);max-width:70ch}

.apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.app{display:flex;flex-direction:column}
.app-body{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:18px 14px 16px}
/* One plate for every icon, so the tile reads the same in both themes.
   Without it the black app icons vanish into a dark card but sit as hard
   black squares on a light one. */
.app-tile{
  width:62px;height:62px;border-radius:16px;display:grid;place-items:center;margin-bottom:5px;
  border:1px solid var(--line);background:var(--panel-2);color:var(--text)
}
.app-tile svg{width:28px;height:28px}
.app-tile.tg{color:#4d8dff}
.app-tile.img{padding:7px}
.app-tile.img img{width:100%;height:100%;object-fit:contain;display:block}
.app h4{margin:0;font-family:var(--display);font-size:15px;font-weight:700}
.app-kind{
  font-family:var(--mono);font-size:9.5px;letter-spacing:1.1px;text-transform:uppercase;
  font-weight:600;color:var(--accent)
}
.app-rate{font-size:11.5px;color:var(--text-2)}
.stars{color:var(--gold);letter-spacing:1px}
.app.soon{opacity:.72}

/* store button — two-line label like a real store badge.
   Both variants share a min-height so all four footers line up. */
.btn.store,.btn.disabled{min-height:42px;padding:6px 12px;gap:10px;background:none;border-color:transparent}
.btn.store:hover{background:var(--panel-2);border-color:var(--line)}
.btn.store svg{width:19px;height:19px;flex:0 0 19px}
.btn.store span{display:block;text-align:left;line-height:1.15}
.btn.store small{display:block;font-family:var(--mono);font-size:7.5px;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted)}
.btn.store b{display:block;font-size:13px;font-weight:600}
.btn.disabled{
  opacity:.65;cursor:default;justify-content:center;
  font-family:var(--mono);font-size:11px;letter-spacing:1.2px;text-transform:uppercase
}
.btn.disabled svg{width:13px;height:13px;flex:0 0 13px}
.spin{animation:spin 2.4s linear infinite;transform-origin:50% 50%}
@keyframes spin{to{transform:rotate(360deg)}}

/* every card body ends at the same place regardless of text length */
.app-rate{min-height:2.9em;display:flex;align-items:center;text-align:center}


/* ── responsive: homepage only ────────────────────────────── */
@media (max-width:1180px){
  .apps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1080px){
  .geo{grid-template-columns:1fr;gap:16px;justify-items:center}
  .globe-box{max-width:320px}
  .geo-main{width:100%}
}
@media (max-width:900px){
  .tiers{grid-template-columns:1fr}
  .geo-rows{grid-template-columns:1fr;gap:0}
}
@media (max-width:680px){
  .disguise{flex-wrap:wrap}
  .disguise .btn{width:100%;justify-content:center}
  .geo-ip .addr{font-size:22px}
  .overview h1{font-size:20px}
}
@media (max-width:560px){
  .apps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .app-body{padding:14px 9px 12px;gap:5px}
  .app-tile{width:50px;height:50px;border-radius:13px}
  .app-tile.img{padding:5px}
  .app-tile svg{width:22px;height:22px}
  .app h4{font-size:13px}
  .app-kind{font-size:8.5px;letter-spacing:.8px}
  .app-rate{font-size:10.5px;min-height:3.2em}
  .app .panel-foot{padding:9px}
  .btn.store,.btn.disabled{min-height:38px;padding:5px 8px;gap:7px}
  .btn.store svg{width:16px;height:16px;flex:0 0 16px}
  .btn.store b{font-size:11.5px}
  .btn.store small{font-size:7px}
  .btn.disabled{font-size:9.5px;letter-spacing:.9px}
}


/* ══════════════════════════════════════════════════════════════
   DISGUISE METER
   The bar is the headline; the list below is the evidence for it,
   because a score nobody can inspect is just a decoration.
   ══════════════════════════════════════════════════════════════ */
.disguise{ display:block; }
.dg-top{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.dg-top .txt{ flex:1 1 240px; }
.dg-top .btn{ flex:0 0 auto; }

.dg-meter{
  position:relative; height:7px; margin-top:14px;
  background:var(--line); border-radius:99px; overflow:hidden;
}
.dg-fill{
  display:block; height:100%; width:0;
  border-radius:99px; background:var(--good, #3fb950);
  transition:width .9s cubic-bezier(.2,.8,.2,1), background-color .4s;
}
.dg-fill.mid{ background:#d9a441; }
.dg-fill.low{ background:#e0605f; }

.dg-list{
  list-style:none; margin:16px 0 0; padding:0;
  border-top:1px solid var(--line);
}
.dg-list li{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 0; border-bottom:1px solid var(--line);
  font-size:13px; line-height:1.5;
}
.dg-list .mark{ flex:0 0 16px; font-size:13px; line-height:1.5; }
.dg-list .pass .mark{ color:var(--good, #3fb950); }
.dg-list .warn .mark{ color:#d9a441; }
.dg-list .fail .mark{ color:#e0605f; }
.dg-list .unknown .mark{ color:var(--text-3, #7d8590); }
.dg-list b{ font-weight:600; display:block; }
.dg-list span.why{ color:var(--text-2); }

@media (max-width:560px){
  .dg-top .btn{ width:100%; }
}


/* A field we genuinely do not know, said plainly rather than left
   showing the example value the page shipped with. */
.geo-row dd.unknown,
.geo-ip .addr.unknown{ color:var(--muted); font-style:italic; }


/* ══════════════════════════════════════════════════════════════
   DISGUISE — same look as the IP checker page: plain card, green
   shield and percentage, segmented meter. Replaces the coral wash.
   ══════════════════════════════════════════════════════════════ */
.disguise{padding:18px}
.disguise::before{display:none}
.disguise .shield{width:34px;height:34px;flex:0 0 34px;color:var(--accent)}
.disguise .txt b{font-size:15px}
.disguise .txt b .pct{color:var(--accent)}
.disguise .txt p{margin:3px 0 0;font-size:13px;line-height:1.55}
.dg-meter{height:12px;border-radius:3px;
  -webkit-mask:repeating-linear-gradient(90deg,#000 0 calc(5% - 3px),transparent calc(5% - 3px) 5%);
          mask:repeating-linear-gradient(90deg,#000 0 calc(5% - 3px),transparent calc(5% - 3px) 5%)}
.dg-fill{border-radius:0}
.dg-list li{padding:11px 0;line-height:1.55}
.dg-list .mark{font-family:var(--mono);font-weight:700}

/* ── disguise severity: green only at 100% ─────────────────
   Below that the bar blends from green into the warning colour,
   so the fill itself shows it is not complete, and the shield and
   the number take the same colour. */
body .disguise.sev-ok   .shield, body .disguise.sev-ok   .txt .pct{color:var(--accent)}
body .disguise.sev-warn .shield, body .disguise.sev-warn .txt .pct{color:#d9a441}
body .disguise.sev-bad  .shield, body .disguise.sev-bad  .txt .pct{color:#e0605f}
body .disguise.sev-ok   .dg-fill{background:var(--accent)}
body .disguise.sev-warn .dg-fill{background:linear-gradient(90deg, #3fb950 0%, #9fbf45 45%, #d9a441 100%)}
body .disguise.sev-bad  .dg-fill{background:linear-gradient(90deg, #d9a441 0%, #e0605f 100%)}

/* App and support icons sit straight on the card — no plate. */
.app-tile{border:0;background:none}
.app-tile.img{padding:0}
.support .agent{border:0;background:none;width:auto;height:auto}
.support .agent svg{width:40px;height:40px}.app-tile svg{width:40px;height:40px}
