:root {
  --bg: #090a0a;
  --bg2: #101211;
  --panel: rgba(235, 232, 222, 0.075);
  --panel2: rgba(235, 232, 222, 0.115);
  --paper: #f4efe4;
  --muted: #b8b3a8;
  --soft: #8d908b;
  --line: rgba(244, 239, 228, 0.16);
  --foil: #d9d9d2;
  --leaf: #b9bab5;
  --cyan: #a7d8df;
  --uptime: #8dff72;
  --uptime-soft: rgba(141, 255, 114, 0.18);
  --uptime-ring: rgba(141, 255, 114, 0.34);
  --warm: #c9b98e;
  --warn: #e2bc68;
  --bad: #e27d68;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --radius: 26px;
  --radius2: 38px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--paper);
  font: 16px/1.65 var(--font-body);
  background:
    radial-gradient(
      900px 520px at 12% -8%,
      rgba(185, 190, 180, 0.18),
      transparent 64%
    ),
    radial-gradient(
      760px 520px at 90% 8%,
      rgba(185, 186, 181, 0.12),
      transparent 60%
    ),
    linear-gradient(135deg, #080909, #111311 48%, #090a0a);
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      115deg,
      transparent 0 47%,
      rgba(255, 255, 255, 0.05) 48%,
      transparent 52% 100%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.026) 0 1px,
      transparent 1px 80px
    );
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
body:after {
  content: "";
  position: fixed;
  inset: auto -20% -40% -20%;
  height: 55vh;
  z-index: -1;
  background: radial-gradient(
    closest-side,
    rgba(217, 217, 210, 0.16),
    transparent
  );
  filter: blur(18px);
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 11, 10, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.navlinks a {
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background-image: linear-gradient(
    90deg,
    rgba(217, 217, 210, 0.16),
    rgba(217, 217, 210, 0.1)
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: 0.22s ease;
}
.navlinks a:hover,
.navlinks a[aria-current="page"] {
  color: var(--paper);
  background-size: 100% 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 850;
  background: var(--paper);
  color: #121311;
  box-shadow: 0 14px 34px rgba(244, 239, 228, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn.alt {
  background: rgba(244, 239, 228, 0.08);
  color: var(--paper);
  border-color: var(--line);
  box-shadow: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}
.lang button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  font-size: 12px;
  line-height: 1;
  padding: 8px 9px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  color: #111315;
  background: var(--foil);
}
.lang button:focus-visible {
  outline: 3px solid rgba(217, 217, 210, 0.35);
  outline-offset: 2px;
}
.btn-ghost {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: rgba(244, 239, 228, 0.28);
  background: rgba(255, 255, 255, 0.085);
}

.hero {
  position: relative;
  padding: 86px 0 46px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: stretch;
}
.kicker {
  display: none;
  gap: 8px;
  align-items: center;
  color: var(--foil);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}
.kicker:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: none;
  background: var(--foil);
  box-shadow: none;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    transform: scale(0.72);
    box-shadow:
      0 0 0 11px rgba(217, 217, 210, 0.05),
      0 0 18px rgba(217, 217, 210, 0.24);
  }
}
h1, h2, h3,
.section h2,
.card h3,
.step h3,
.hero-panel h3,
article h1,
article h2,
article h3 {
  font-family: var(--font-heading);
}
p,
li,
.lead,
.section-text,
.card p,
.step p,
.line small,
.answer,
.footer {
  font-family: var(--font-body);
}
h1 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.91;
  letter-spacing: -0.075em;
  margin: 16px 0 20px;
  max-width: 980px;
}
.lead {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
  color: #d7d1c4;
  max-width: 770px;
}
.hl {
  background-image: linear-gradient(
    100deg,
    rgba(217, 217, 210, 0),
    rgba(217, 217, 210, 0.3),
    rgba(217, 217, 210, 0.2)
  );
  background-repeat: no-repeat;
  background-size: 100% 38%;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-panel,
.card,
.feature,
.seo-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(244, 239, 228, 0.105),
    rgba(244, 239, 228, 0.045)
  );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 26px;
  min-height: 360px;
}

.hero-cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(244, 239, 228, 0.14);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  margin: 0 0 20px;
  background: rgba(0, 0, 0, 0.22);
}
.hero-panel:before,
.card:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    420px 170px at var(--mx, 18%) -20%,
    rgba(255, 255, 255, 0.18),
    transparent 55%
  );
  pointer-events: none;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.stat {
  padding: 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(244, 239, 228, 0.12);
}
.stat b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.05em;
}
.stat span {
  color: var(--muted);
  font-size: 13px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
  opacity: 0.72;
}
.orb.one {
  width: 180px;
  height: 180px;
  right: 26px;
  top: 34px;
  background: radial-gradient(
    circle at 35% 28%,
    #fff,
    rgba(217, 217, 210, 0.45) 22%,
    rgba(217, 217, 210, 0.13) 54%,
    transparent 72%
  );
  animation: float 8s ease-in-out infinite;
}
.orb.two {
  width: 92px;
  height: 92px;
  right: 210px;
  bottom: 52px;
  background: radial-gradient(
    circle at 30% 30%,
    #fff,
    rgba(167, 216, 223, 0.32),
    transparent 72%
  );
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  50% {
    transform: translateY(-16px) translateX(8px);
  }
}
.section {
  padding: 42px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}
.section h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0;
}
.section-text {
  color: var(--muted);
  max-width: 620px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  padding: 22px;
  min-height: 210px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 239, 228, 0.28);
  background: linear-gradient(
    145deg,
    rgba(244, 239, 228, 0.13),
    rgba(244, 239, 228, 0.055)
  );
}
.card .meta,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--foil);
  font-weight: 900;
}
.card h3 {
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 14px 0 10px;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.chip {
  border: 1px solid var(--line);
  background: rgba(244, 239, 228, 0.06);
  color: #d7d1c4;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.rail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 228, 0.045);
  margin-top: 28px;
}
.rail-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 10px;
  animation: marquee 28s linear infinite;
}
.rail span {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--muted);
  font-weight: 700;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  counter-increment: step;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(244, 239, 228, 0.07);
  min-height: 240px;
  transform: translateY(var(--y, 0));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}
.step:before {
  content: "0" counter(step);
  font-size: 42px;
  line-height: 1;
  color: var(--foil);
  font-weight: 950;
  letter-spacing: -0.08em;
}
.step h3 {
  font-size: 22px;
  line-height: 1.05;
  margin: 14px 0 8px;
  letter-spacing: -0.04em;
}
.step p {
  color: var(--muted);
  margin: 0;
}
.timeline {
  display: grid;
  gap: 12px;
}
.line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(244, 239, 228, 0.055);
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--foil);
  box-shadow: 0 0 0 8px rgba(217, 217, 210, 0.12);
}
.status {
  font-size: 12px;
  color: var(--foil);
  font-weight: 900;
}
.diag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checklist label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 239, 228, 0.05);
  margin-bottom: 10px;
  color: #ddd6ca;
}
.checklist input {
  accent-color: #b9bab5;
  margin-top: 5px;
}
.answer {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px dashed rgba(244, 239, 228, 0.22);
  background: rgba(0, 0, 0, 0.2);
}
.answer strong {
  color: var(--paper);
}
.footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ded8cc;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--soft);
  margin-top: 22px;
}
.breadcrumbs a {
  color: var(--muted);
}
.schema-note {
  font-size: 13px;
  color: var(--soft);
}

.prose {
  max-width: 860px;
  margin: 0 auto;
  color: #ddd6ca;
}
.prose h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 34px 0 12px;
}
.prose p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}
.prose .callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 228, 0.07);
  color: #e7e0d4;
  padding: 20px;
}
.prose .callout strong {
  color: var(--paper);
}
@media (max-width: 900px) {
  .hero-grid,
  .grid,
  .grid.two,
  .steps,
  .diag {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 54px;
  }
  .hero-panel {
    min-height: 260px;
  }
  .nav {
    align-items: center;
  }
  .navlinks {
    display: none;
  }
  .nav .btn {
    min-height: 42px;
    padding: 0 13px;
    font-size: 14px;
  }
  .brand span:last-child {
    display: none;
  }
  .lang button {
    padding: 7px 8px;
  }
  .section-head {
    display: block;
  }
  .steps .step {
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.brand-logo {
  object-fit: contain;
  background: #050606;
}

/* Foli my-ip tool */
.ip-hero-card h3 {
  font-size: clamp(28px, 4vw, 44px);
  overflow-wrap: anywhere;
}
.ip-location,
.ip-note {
  color: var(--muted);
}
.ip-copy {
  margin-top: 18px;
}
.ip-copy:disabled {
  cursor: wait;
  opacity: 0.58;
}
.ip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ip-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(244, 239, 228, 0.09), rgba(244, 239, 228, 0.04));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}
.ip-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.ip-card small {
  color: var(--muted);
}
@media (max-width: 900px) {
  .ip-grid {
    grid-template-columns: 1fr;
  }
}

/* Expanded my-ip content */
.ip-story,
.ip-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
}
.ip-visual-card,
.ip-offer-card,
.ip-vpn-band,
.ip-device-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(244, 239, 228, 0.1), rgba(244, 239, 228, 0.04));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}
.ip-visual-card {
  min-height: 260px;
  padding: 28px;
}
.ip-visual-card strong {
  display: block;
  margin: 18px 0;
  font-size: clamp(30px, 5vw, 58px);
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}
.ip-vpn-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px;
}
.ip-vpn-band p,
.ip-offer p,
.ip-offer li,
.ip-offer-card small,
.ip-visual-card p,
.ip-device-panel p {
  color: var(--muted);
}
.ip-device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.ip-device-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 228, 0.06);
  color: var(--text);
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}
.ip-device-tabs button.active,
.ip-device-tabs button:hover {
  background: var(--text);
  color: #10120f;
}
.ip-device-panel {
  padding: 24px;
}
.ip-device-panel h3 {
  margin: 10px 0;
  font-size: clamp(24px, 3vw, 38px);
}
.ip-offer-card {
  padding: 26px;
  display: grid;
  gap: 14px;
}
.ip-offer-card strong {
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.07em;
}
@media (max-width: 900px) {
  .ip-story,
  .ip-offer {
    grid-template-columns: 1fr;
  }
  .ip-vpn-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* My-IP Blanc-style block rhythm, original Foli visuals */
.ip-visual-stack {
  display: grid;
  gap: 16px;
}
.ip-visual-card.compact {
  min-height: 190px;
}
.ip-visual-card.compact strong {
  font-size: clamp(24px, 3.2vw, 38px);
}
.ip-device-tabs button {
  margin-bottom: 2px;
}
.ip-visual-stack .ip-visual-card strong {
  font-size: clamp(26px, 3.4vw, 44px);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .ip-visual-stack .ip-visual-card strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Minimal technical my-ip mode */
.ip-grid-dense .ip-card {
  min-height: 132px;
  padding: 16px;
}
.ip-grid-dense .ip-card strong {
  font-size: clamp(18px, 1.9vw, 26px);
  letter-spacing: -0.035em;
}
.tech-console,
.tech-cta,
.tech-notes article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(244,239,228,.08), rgba(244,239,228,.035));
}
.tech-console {
  overflow: hidden;
}
.tech-console-head,
.tech-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}
.tech-console-head h2,
.tech-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}
.tech-console pre {
  margin: 0;
  padding: 18px;
  max-height: 460px;
  overflow: auto;
  border-top: 1px solid var(--line);
  color: #d9d9d2;
  background: rgba(0,0,0,.24);
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.tech-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tech-notes article {
  padding: 18px;
}
.tech-notes h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.tech-notes p,
.tech-cta p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .tech-notes { grid-template-columns: 1fr; }
  .tech-console-head,
  .tech-cta { align-items: flex-start; flex-direction: column; }
}

/* My-IP map-first aluminum panel */
.ip-map-panel {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 360px;
  padding: 26px;
  overflow: hidden;
  border-color: rgba(244, 239, 228, 0.18);
  background:
    radial-gradient(circle at 82% 14%, rgba(217, 217, 210, 0.16), transparent 32%),
    linear-gradient(150deg, rgba(244, 239, 228, 0.105), rgba(244, 239, 228, 0.045));
}
.ip-map-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.055), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 76px);
  opacity: .42;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.ip-map-top,
.ip-map-frame,
.ip-map-meta,
.ip-map-link {
  position: relative;
  z-index: 1;
}
.ip-map-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.ip-map-top strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.ip-copy-inline {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(244, 239, 228, 0.24);
  border-radius: 12px;
  background: rgba(244, 239, 228, 0.08);
  color: var(--paper);
  font: 850 12px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.ip-copy-inline:hover,
.ip-copy-inline:focus-visible {
  background: rgba(244, 239, 228, 0.15);
  border-color: rgba(244, 239, 228, 0.42);
}
.ip-copy-inline:active { transform: translateY(1px); }
.ip-copy-inline:disabled { cursor: wait; opacity: .55; }
.ip-map-frame {
  min-height: 210px;
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(244,239,228,.08), rgba(244,239,228,.025)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 34px);
}
.ip-map-frame iframe {
  display: block;
  width: 100%;
  height: 210px;
  border: 0;
  filter: grayscale(1) contrast(1.08) brightness(.72);
}
.ip-map-placeholder {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}
.ip-map-placeholder[hidden],
.ip-map-frame iframe[hidden] { display: none; }
.ip-map-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.ip-map-meta span {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(244, 239, 228, 0.12);
  border-radius: 13px;
  background: rgba(8, 9, 9, 0.25);
  overflow-wrap: anywhere;
}
.ip-map-link {
  justify-self: start;
  color: var(--paper);
  font-weight: 800;
  border-bottom: 1px solid rgba(244, 239, 228, 0.36);
}
.hero h1 span[data-ip-main] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.075em;
  overflow-wrap: anywhere;
}
.ip-grid-technical .ip-card { min-height: 142px; }
.ip-grid-technical .ip-card strong {
  font-size: clamp(16px, 1.65vw, 22px);
  line-height: 1.16;
}
@media (max-width: 620px) {
  .ip-map-panel { min-height: auto; padding: 20px; }
  .ip-map-top { align-items: flex-start; }
  .ip-map-frame,
  .ip-map-frame iframe,
  .ip-map-placeholder { min-height: 190px; height: 190px; }
  .ip-map-meta { grid-template-columns: 1fr; }
}

/* My-IP privacy/security score */
.security-score-panel {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.45fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0 0, rgba(217, 217, 210, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(244,239,228,.085), rgba(244,239,228,.035));
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}
.security-score-main {
  min-height: 250px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(244, 239, 228, 0.14);
  border-radius: 22px;
  background: rgba(8, 9, 9, 0.26);
  transition: border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.security-score-main strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font: 900 clamp(76px, 10vw, 128px)/0.88 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.095em;
  font-variant-numeric: tabular-nums;
}
.security-score-main small {
  color: var(--muted);
  font: 800 22px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.04em;
}
.security-score-main p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
}
.security-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.security-check-grid article {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(244, 239, 228, 0.13);
  border-radius: 18px;
  background: rgba(8, 9, 9, 0.24);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.security-check-grid article:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
}
.security-check-grid article[data-state="good"] {
  border-color: rgba(141, 255, 114, 0.34);
  background:
    radial-gradient(circle at 18% 0, rgba(141, 255, 114, 0.18), transparent 58%),
    rgba(8, 9, 9, 0.25);
  box-shadow: inset 0 0 0 1px rgba(141, 255, 114, 0.075);
}
.security-check-grid article[data-state="warn"] {
  border-color: rgba(226, 188, 104, 0.42);
  background:
    radial-gradient(circle at 18% 0, rgba(226, 188, 104, 0.17), transparent 58%),
    rgba(8, 9, 9, 0.25);
  box-shadow: inset 0 0 0 1px rgba(226, 188, 104, 0.07);
}
.security-check-grid article[data-state="bad"] {
  border-color: rgba(226, 125, 104, 0.44);
  background:
    radial-gradient(circle at 18% 0, rgba(226, 125, 104, 0.16), transparent 58%),
    rgba(8, 9, 9, 0.25);
  box-shadow: inset 0 0 0 1px rgba(226, 125, 104, 0.07);
}
.security-check-grid article[data-state="neutral"] {
  border-color: rgba(201, 208, 210, 0.24);
  background:
    radial-gradient(circle at 18% 0, rgba(201, 208, 210, 0.12), transparent 58%),
    rgba(8, 9, 9, 0.25);
}
.security-check-grid article[data-state] span:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 18px rgba(217, 217, 210, 0.2);
}
.security-check-grid article[data-state="good"] span:before {
  background: var(--uptime);
  box-shadow: 0 0 18px rgba(141, 255, 114, 0.34);
}
.security-check-grid article[data-state="warn"] span:before {
  background: var(--warn);
  box-shadow: 0 0 18px rgba(226, 188, 104, 0.32);
}
.security-check-grid article[data-state="bad"] span:before {
  background: var(--bad);
  box-shadow: 0 0 18px rgba(226, 125, 104, 0.32);
}
.security-check-grid span {
  display: block;
  color: var(--soft);
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.security-check-grid strong {
  display: block;
  margin: 13px 0 8px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.security-check-grid small {
  color: var(--muted);
  line-height: 1.35;
}
.security-score-panel[data-score-level="хорошая"] .security-score-main {
  border-color: rgba(141, 255, 114, 0.36);
  background:
    radial-gradient(circle at 18% 0, rgba(141, 255, 114, 0.2), transparent 56%),
    rgba(8, 9, 9, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(141, 255, 114, 0.09),
    0 22px 52px rgba(141, 255, 114, 0.08);
}
.security-score-panel[data-score-level="средняя"] .security-score-main {
  border-color: rgba(226, 188, 104, 0.44);
  background:
    radial-gradient(circle at 18% 0, rgba(226, 188, 104, 0.18), transparent 56%),
    rgba(8, 9, 9, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(226, 188, 104, 0.08),
    0 22px 52px rgba(226, 188, 104, 0.06);
}
.security-score-panel[data-score-level="слабая"] .security-score-main {
  border-color: rgba(226, 125, 104, 0.48);
  background:
    radial-gradient(circle at 18% 0, rgba(226, 125, 104, 0.18), transparent 56%),
    rgba(8, 9, 9, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(226, 125, 104, 0.08),
    0 22px 52px rgba(226, 125, 104, 0.06);
}
@media (max-width: 980px) {
  .security-score-panel { grid-template-columns: 1fr; }
  .security-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .security-check-grid { grid-template-columns: 1fr; }
  .security-score-main strong { font-size: clamp(64px, 22vw, 94px); }
}

/* Foli diagnostics result panel */
.diag-result {
  display: grid;
  gap: 12px;
}
.diag-result h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.diag-result p {
  margin: 0;
  color: var(--muted);
}
.diag-progress {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 228, 0.14);
  background: rgba(244, 239, 228, 0.055);
}
.diag-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--foil), rgba(141, 255, 114, 0.72));
  box-shadow: 0 0 24px rgba(217, 217, 210, 0.18);
  transition: width 0.22s ease;
}
.support-template {
  margin: 4px 0 0;
  max-height: 210px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid rgba(244, 239, 228, 0.12);
  border-radius: 18px;
  padding: 14px;
  color: #e8e1d6;
  background: rgba(0, 0, 0, 0.24);
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.copy-mini {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(244, 239, 228, 0.08);
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.ip-map-tile {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  filter: saturate(0.42) contrast(1.12) brightness(0.82);
}
.ip-map-tile:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(244,239,228,.18), transparent 20%), linear-gradient(180deg, transparent, rgba(7,8,8,.28));
}
.ip-map-tile span {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px 999px 999px 3px;
  transform: rotate(45deg);
  background: var(--paper);
  box-shadow: 0 0 0 7px rgba(244,239,228,.16), 0 10px 28px rgba(0,0,0,.42);
}
.ip-map-tile span:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #151614;
}

/* QA 2026-05-09: secondary pages need calmer mobile headings. */
@media (max-width: 520px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 50px; }
  h1 {
    font-size: clamp(36px, 10.6vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.052em;
    overflow-wrap: normal;
  }
  .lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
}

/* Mobile-friendly tap target floor for Yandex Webmaster */
.brand { min-width: 44px; min-height: 44px; padding: 5px; margin: -5px; border-radius: 999px; }
.brand img, .brand-logo { flex: 0 0 auto; }
.btn, .btn-ghost, button.btn, a.btn { min-height: 44px; }
.lang button { min-width: 44px; min-height: 44px; padding: 0 10px; }
.breadcrumbs a, .footer-links a, .ip-map-link { display: inline-flex; align-items: center; min-height: 44px; }
.ip-copy-inline, .copy-mini { min-height: 44px; }
@media (max-width: 900px) {
  .nav .btn { min-height: 44px; }
  .lang button { min-width: 44px; min-height: 44px; padding: 0 10px; }
}
.content-table a { display: inline-flex; align-items: center; min-height: 44px; }

/* Mobile overflow guard: tables and copyable code must not widen viewport */
.content-table { width: 100%; max-width: 100%; table-layout: fixed; }
.content-table th, .content-table td { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
pre { max-width: 100%; overflow: auto; }
pre code { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 700px) {
  .content-table { font-size: 13px; }
  .content-table th, .content-table td { padding: 10px 8px; }
}
.raw-report-details summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; }
