/* PowerScan. Measurements taken from the reference layout: #0d1032 field, 1200px container, 74px
   transparent header, 48px hero address, 590px twin columns, 12px labels over 16px values, folder-tab
   card headers. Rubik is self-hosted (OFL); nothing is fetched from a third party. */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/rubik-latin.woff2?v=6530bc2bba") format("woff2"); }
:root {
  --bg: #0d1032;
  --band: #261d52;
  --panel: rgba(255, 255, 255, .04);
  --panel-line: rgba(255, 255, 255, .1);
  --card: linear-gradient(167.9deg, rgba(255, 255, 255, .07) 0.01%, rgba(213, 124, 255, .05) 99.57%);
  --card-head: rgba(255, 255, 255, .08);
  --tile: linear-gradient(167.9deg, rgba(255, 255, 255, .2) 0.01%, rgba(213, 124, 255, .2) 99.57%);
  --text: #fff;
  --muted: rgba(255, 255, 255, .6);
  --red: #fb5138;
  --teal: #19d3ff;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font: 14px/1.5 "Rubik", "PingFang SC", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
body::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(780px 440px at 50% 40px, rgba(84, 70, 190, .45), transparent 70%),
    radial-gradient(560px 480px at 85% 1500px, rgba(120, 60, 200, .18), transparent 70%),
    radial-gradient(520px 480px at 10% 2600px, rgba(60, 90, 220, .16), transparent 70%); }
.deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ring { position: absolute; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; animation: drift 14s ease-in-out infinite alternate; }
.r2 { animation-duration: 9s; } .r3 { animation-duration: 11s; animation-delay: -4s; } .r4 { animation-duration: 18s; animation-delay: -7s; } .r5 { animation-duration: 22s; animation-delay: -10s; }
.r1 { width: 160px; height: 160px; left: 24%; top: 120px; }
.r2 { width: 60px; height: 60px; left: 28%; top: 260px; }
.r3 { width: 110px; height: 110px; right: 14%; top: 150px; }
.r4 { width: 420px; height: 420px; right: -120px; top: -60px; }
.r5 { width: 820px; height: 820px; left: -300px; top: 260px; }
.wrap { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; position: relative; z-index: 1; }
.sprite { position: absolute; }
.ic { width: 18px; height: 18px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }
a { color: inherit; }

/* Header: 74px, transparent, wordmark left, icon links and an outlined pill right. */
.top { position: relative; z-index: 2; }
.bar { display: flex; align-items: center; height: 74px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 26px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; color: #fff; }
.brand b { font-weight: 700; color: #fff; }
.brand .ic { width: 24px; height: 24px; color: var(--teal); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; opacity: .95; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav .ic { width: 18px; height: 18px; opacity: .9; }
.pill-btn { height: 34px; padding: 0 12px; border-radius: 8px; border: .8px solid #fff; background: rgba(255, 255, 255, .2); }
.pill-btn:hover { text-decoration: none; background: rgba(255, 255, 255, .28); }

/* Hero: centred 48px address with the pin on the left and two round actions on the right. */
.hero { text-align: center; padding: 42px 0 30px; }
.ip-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pin { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--teal); }
.pin .ic { width: 22px; height: 22px; }
.pin { position: relative; }
.pin.scanning::before, .pin.scanning::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal); animation: pulse 1.6s ease-out infinite; }
.pin.scanning::after { animation-delay: .8s; }
.ip { margin: 0; font-size: 48px; line-height: 72px; font-weight: 400; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ip.bad { color: var(--red); }
.round { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; cursor: pointer; }
.round:hover:not(:disabled), .round:focus-visible { background: rgba(255, 255, 255, .3); outline: none; }
.round:disabled { opacity: .35; cursor: default; }
.round.done { background: rgba(74, 255, 189, .35); }
.loc { margin: 4px 0 0; font-size: 24px; line-height: 36px; font-weight: 400; }
.loc .cc { display: inline-block; margin-left: 10px; padding: 0 7px; border-radius: 4px; font-size: 13px; line-height: 22px; font-weight: 500; letter-spacing: .06em; background: rgba(255, 255, 255, .14); vertical-align: 3px; }

/* The overview card: two columns of 45px rows, 120px bold label, value, hairline separators. */
.hero-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; padding: 16px 16px; background: var(--panel); border: 1px solid var(--panel-line); border-radius: 12px; box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .7); }
.hc-col { margin: 0; min-width: 0; }
.hc-col > div { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 10px; border-bottom: 1px solid var(--panel-line); }
.hc-col > div:last-child { border-bottom: 0; }
.hc-col dt { display: flex; align-items: center; gap: 6px; width: 150px; flex: none; font-size: 16px; font-weight: 700; white-space: nowrap; }
.hc-col dt .ic { color: var(--teal); }
.hc-col dd { margin: 0; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-col dd.bad { color: var(--red); }
.hc-col dd.mute { color: var(--muted); }
.hc-col dd a, .hc-col dd .lnk { margin-left: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: #fff; cursor: pointer; }

/* Score: a 40px pill track with an orange fill and a teal action on the right. */
.score { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.track { flex: 1; height: 40px; border-radius: 40px; background: var(--panel); overflow: hidden; }
.fill { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; width: 0; min-width: 320px; border-radius: 40px; background: linear-gradient(90deg, #cc9933, #ff9933); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); color: #fff; font-size: 16px; overflow: hidden; }
.fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 2.8s ease-in-out infinite; }
.score-text { position: relative; font-variant-numeric: tabular-nums; }
.mask { position: absolute; left: 14px; top: 8px; width: 24px; height: 24px; }
.mask .ic { width: 24px; height: 24px; }
.cta { display: inline-grid; place-items: center; height: 40px; padding: 0 25px; border-radius: 40px; border: 0; background: linear-gradient(90deg, #00b4ff, #4affbd); color: #000; text-decoration: none; font: inherit; font-size: 14px; cursor: pointer; }
.cta:hover { filter: brightness(1.08); }

/* Findings band: full-bleed indigo strip with title + red badge + explanation. */
.band { margin-top: 42px; padding: 24px 0 14px; background: var(--band); position: relative; z-index: 1; }
.band ul { list-style: none; margin: 0 auto; padding: 0; overflow: hidden; max-height: 600px; transition: max-height .45s ease, opacity .3s ease; }
.band.collapsed ul { max-height: 0; opacity: 0; }
.band-note { margin: 0 auto; font-size: 14px; color: var(--muted); display: none; }
.band.collapsed .band-note { display: block; }
.band.collapsed { padding-bottom: 24px; }
.band li { margin-bottom: 18px; animation: rise .5s both; }
.band strong { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 400; }
.badge { padding: 1px 8px; border-radius: 10px; font-size: 12px; background: var(--red); color: #fff; }
.badge.ok { background: #1fbf8f; }
.band p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* What websites see about you. */
.sees { padding-top: 24px; position: relative; z-index: 1; }
.big-h { margin: 0; text-align: center; font-size: 40px; line-height: 60px; font-weight: 700; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 42px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.tile { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 20px; border-radius: 12px; background: var(--tile); color: #fff; text-decoration: none; font-size: 16px; }
.tile { transition: transform .2s ease, filter .2s ease; }
.tile:hover { filter: brightness(1.12); transform: translateY(-2px); }
.tile .ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); flex: none; }
.tile .ico .ic { width: 22px; height: 22px; }
.tile small { display: block; font-size: 12px; color: var(--muted); }
.card { background: var(--card); border-radius: 12px; }
.card:not(.settled) { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.col > :nth-child(2):not(.settled) { animation-delay: .08s; } .col > :nth-child(3):not(.settled) { animation-delay: .16s; } .col > :nth-child(4):not(.settled) { animation-delay: .24s; } .col > :nth-child(5):not(.settled) { animation-delay: .32s; }
.card > header, .card > summary { display: flex; align-items: center; padding: 16px 20px; min-height: 68px; background: var(--card-head); border-radius: 12px 12px 0 0;
  clip-path: polygon(0 0, 58% 0, calc(58% + 28px) 14px, 100% 14px, 100% 100%, 0 100%); }
.card h2, .card h3 { margin: 0; font-size: 24px; line-height: 36px; font-weight: 400; }
.card > summary { cursor: pointer; list-style: none; }
.card > summary::-webkit-details-marker { display: none; }
.rows { margin: 0; padding: 20px 30px 10px; }
.rows > div { position: relative; padding: 0 0 20px; }
.rows dt { display: flex; align-items: center; justify-content: space-between; font-size: 12px; line-height: 18px; color: var(--muted); }
.rows dt .ic { width: 14px; height: 14px; opacity: .7; }
.rows dd { margin: 6px 0 0; font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.rows dd[data-copy], .hc-col dd[data-copy] { cursor: copy; border-radius: 4px; transition: background .15s ease; }
.rows dd[data-copy]:hover, .hc-col dd[data-copy]:hover { background: rgba(255, 255, 255, .08); }
.rows dd.mono { font-variant-numeric: tabular-nums; }
.rows dd.bad, .rows dd.nt { color: var(--muted); }
.rows dd.pending { color: var(--muted); }
.skel { display: inline-block; width: 42%; max-width: 220px; height: 14px; border-radius: 7px; vertical-align: middle; background: linear-gradient(90deg, rgba(255, 255, 255, .08) 25%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, .08) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.hc-col dd .skel { height: 12px; width: 120px; }
.rows dd.hot { color: var(--red); text-decoration: underline dashed; text-underline-offset: 4px; }
.rows dd .pill { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 10px; font-size: 11px; line-height: 17px; color: var(--muted); border: 1px solid var(--panel-line); vertical-align: 2px; white-space: nowrap; }
.fonts-body { padding: 20px 30px 24px; }
.fonts-body .note { margin: 0 0 12px; color: var(--muted); }
.btn { height: 36px; padding: 0 20px; border: 0; border-radius: 40px; background: linear-gradient(90deg, #00b4ff, #4affbd); color: #000; font: inherit; font-size: 14px; cursor: pointer; }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible, .card > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.out { margin: 14px 0 0; font-size: 15px; overflow-wrap: anywhere; }

/* Profile summary: one plain, copyable block of what this page sees. */
.summary { padding: 20px 30px 24px; }
.summary pre { margin: 0 0 14px; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.7 var(--mono); color: rgba(255, 255, 255, .9); background: rgba(0, 0, 0, .25); border-radius: 8px; padding: 14px 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 40px; background: #fff; color: #0d1032; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 9; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes sweep { 0%, 15% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 22px, 0); } }

/* Blog: index cards and the article column. */
.blog main { padding-top: 36px; }
.blog-head { text-align: center; margin-bottom: 36px; }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-card { display: block; padding: 24px 26px; border-radius: 12px; background: var(--card); color: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(0, 180, 255, .55); }
.post-card h2 { margin: 0 0 8px; font-size: 20px; line-height: 28px; font-weight: 500; }
.post-card p { margin: 0 0 12px; color: var(--muted); }
.meta { display: block; font-size: 13px; color: var(--muted); }
.post { max-width: 760px; margin: 0 auto; }
.post .eyebrow a { color: var(--teal); text-decoration: none; }
.post h1 { margin: 0 0 10px; font-size: 40px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.post .meta { margin-bottom: 28px; }
.post .lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.post p, .post li { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .86); }
.post h2 { margin: 32px 0 10px; font-size: 24px; line-height: 32px; font-weight: 500; }
.post code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); font: 14px/1.5 var(--mono); color: #fff; overflow-wrap: anywhere; }
.post .back { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--panel-line); }
.post .back a { color: var(--teal); }

.privacy { margin-top: 56px; color: var(--muted); max-width: 820px; }
.privacy h2 { color: #fff; font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.privacy p { margin: 0 0 10px; }
.foot { margin-top: 60px; padding: 36px 0 44px; background: rgba(23, 26, 66, .8); position: relative; z-index: 1; color: var(--muted); font-size: 13px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 22px; }

@media (max-width: 1000px) {
  .cols { grid-template-columns: 1fr; }
  .hero-card { grid-template-columns: 1fr; }
  .hc-col:first-child > div:last-child { border-bottom: 1px solid var(--panel-line); }
  .nav a:not(.pill-btn) span { display: none; }
}
@media (max-width: 640px) {
  .wrap { max-width: calc(100% - 24px); }
  .bar { height: 60px; gap: 12px; }
  .brand { font-size: 22px; }
  .nav { gap: 12px; }
  .nav a:not(.pill-btn) { display: none; }
  .hero { padding: 24px 0 20px; }
  .ip-row { flex-wrap: wrap; gap: 10px; }
  .ip { font-size: 30px; line-height: 40px; width: 100%; order: -1; }
  .loc { font-size: 18px; line-height: 28px; }
  .hero-card { padding: 6px 4px; }
  .hc-col dt { width: 124px; font-size: 14px; }
  .fill { min-width: 220px; font-size: 14px; }
  .cta { padding: 0 16px; }
  .big-h { font-size: 28px; line-height: 38px; }
  .cols { margin-top: 28px; gap: 16px; }
  .col { gap: 16px; }
  .tiles { gap: 12px; }
  .tile { min-height: 64px; padding: 8px 14px; font-size: 15px; }
  .card h2, .card h3 { font-size: 20px; line-height: 30px; }
  .card > header, .card > summary { min-height: 60px; padding: 14px 16px; }
  .rows { padding: 16px 16px 6px; }
  .fonts-body { padding: 16px; }
  .summary { padding: 16px; }
  .blog-list { grid-template-columns: 1fr; gap: 14px; }
  .post h1 { font-size: 28px; }
  .post-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fill { transition: none; } .fill::after, .ring, .pin.scanning::before, .pin.scanning::after, .skel, .card, .band li { animation: none !important; } .band ul { transition: none; } }
