/* Security (v2/security.html). Markup: tools/security_page.py; behaviour: ../js/security-page.js */
.scp { --ink: #242426; --sub: #5d5d63; --mute: #68686f; --line: #ececf1; --soft: #f6f5fa; --lav: #efe9ff; --dark: #16151b; color: var(--ink); }
.tp-page main.scp { padding-bottom: 72px; }
.scp h1, .scp h2, .scp h3 { color: var(--ink); }
.scp svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.scp .btn > i svg { width: 18px; height: 18px; stroke-width: 2.2; }
.scp [id^="sec-"], .scp #policy { scroll-margin-top: 110px; }

/* hero */
.scp-hero { position: relative; isolation: isolate; margin: 86px 30px 0; padding: 40px 0 76px; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(50% 75% at 85% 20%, rgba(125, 64, 255, 0.42), rgba(125, 64, 255, 0) 65%), radial-gradient(45% 60% at 5% 115%, rgba(125, 64, 255, 0.22), rgba(125, 64, 255, 0) 70%), #111312; }
.scp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px) 0 0 / 24px 24px; -webkit-mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); }
.scp-crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.scp-crumb a { color: rgba(255, 255, 255, 0.72); text-decoration: none; } .scp-crumb a:hover { color: #fff; }
.scp-crumb b { font-weight: 500; color: #c9b6ff; }
.scp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 64px; margin-top: 40px; }
.scp .scp-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(48px, 6.4vw, 92px); font-weight: 400; line-height: 1; letter-spacing: -0.05em; color: #fff; }
.scp-lead { max-width: 44ch; margin: 22px 0 0; font-size: 18.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); }
.scp-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.scp-hero .btn--line, .scp-cta .btn--line { border: 0; background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); backdrop-filter: none; }
.scp-hero .btn--line:hover { background: rgba(255, 255, 255, 0.12); }
.scp-hero .btn--line > i, .scp-cta .btn--line > i { background: rgba(255, 255, 255, 0.14); color: #fff; }
.scp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.scp-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }
.scp-meta svg { width: 15px; height: 15px; stroke-width: 1.9; color: #c9b6ff; }
/* infrastructure card */
.scp-vis-card { position: relative; padding: 18px 0 46px; }
.scp-chip { position: absolute; z-index: 2; top: 0; right: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.5); }
.scp-chip i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.25); }
.scp-infra { padding: 24px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, 0.9); }
.scp-infra__hd { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.scp-infra__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--brand); color: #fff; }
.scp-infra__ic svg { width: 21px; height: 21px; stroke-width: 1.8; }
.scp-infra__hd b { display: block; font-size: 16.5px; font-weight: 600; }
.scp-infra__hd small { display: block; font-size: 13px; color: var(--mute); }
.scp-infra__pill { margin-left: auto; padding: 6px 11px; border-radius: 999px; background: var(--lav); font-size: 12.5px; font-weight: 600; color: var(--brand); }
.scp-infra__rows { margin: 6px 0 0; padding: 0; list-style: none; }
.scp-infra__rows li { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--sub); }
.scp-infra__rows li:last-child { border-bottom: 0; padding-bottom: 2px; }
.scp-infra__rows i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.18); }
.scp-infra__rows b { margin-left: auto; padding: 4px 10px; border-radius: 8px; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.scp-toast { position: absolute; left: -24px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--dark); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.scp-toast__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: #fff; }
.scp-toast__ic svg { width: 19px; height: 19px; stroke-width: 1.9; }
.scp-toast b { display: block; font-size: 15.5px; font-weight: 600; color: #fff; }
.scp-toast small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }

/* the short version: four commitments as a bento */
.scp-band { padding: 104px 0 0; }
.scp .scp-h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -0.045em; }
.scp-keys__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.scp-keys__head p { max-width: 44ch; margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--sub); }
.scp-keys__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.scp-key { display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -42px rgba(30, 20, 70, 0.5); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease; }
.scp-key:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(125, 64, 255, 0.3), 0 30px 50px -34px rgba(60, 30, 140, 0.5); }
.scp-key__top { display: flex; align-items: center; gap: 10px; }
.scp-key__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--lav); color: var(--brand); }
.scp-key__ic svg { width: 20px; height: 20px; stroke-width: 1.8; }
.scp-key__tag { font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; }
.scp-key > p { margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--sub); }
.scp-vis { margin-top: auto; padding-top: 20px; }
.scp-vis--row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.scp-vis span { padding: 6px 10px; border-radius: 10px; background: var(--soft); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.scp-vis span.is-on { background: var(--brand); color: #fff; }
.scp-vis span.is-off { color: var(--mute); text-decoration: line-through; }
.scp-vis__arrow { width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 4px, transparent 4px 7px); }
.scp-vis__code { display: flex; gap: 6px; margin-bottom: 10px; }
.scp-vis__code i { width: 22px; height: 28px; border-radius: 7px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.scp-vis__code i:nth-child(-n+4) { background: var(--lav); box-shadow: inset 0 0 0 1.5px rgba(125, 64, 255, 0.4); }
.scp-vis--time p { display: flex; justify-content: space-between; margin: 0; }
.scp-vis--time p span { padding: 0; background: none; font-size: 12.5px; color: var(--sub); }
.scp-vis__track { display: block; height: 8px; margin: 8px 0; padding: 0 !important; border-radius: 99px; background: #f0eef6 !important; overflow: hidden; }
.scp-vis__track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b99bff, var(--brand)); }
.scp-vis__scale span { font-size: 11.5px !important; color: var(--mute) !important; }
.scp-key:first-child { background: radial-gradient(90% 60% at 100% 0%, rgba(125, 64, 255, 0.5), rgba(125, 64, 255, 0) 65%), var(--dark); box-shadow: 0 40px 70px -40px rgba(40, 15, 110, 0.75); }
.scp-key:first-child .scp-key__tag { color: #fff; }
.scp-key:first-child > p { color: rgba(255, 255, 255, 0.66); }
.scp-key:first-child .scp-key__ic { background: var(--brand); color: #fff; }
.scp-key:first-child .scp-vis span { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.scp-key:first-child .scp-vis span.is-off { color: rgba(255, 255, 255, 0.45); }
.scp-key:first-child .scp-vis span.is-on { background: var(--brand); color: #fff; }

/* the policy: a sticky contents list and the sections as cards */
.scp-doc__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.scp-toc { position: sticky; top: 110px; }
.scp-toc__btn { display: none; }
.scp-toc__panel { padding: 20px 14px 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -40px rgba(30, 20, 70, 0.45); }
.scp-toc__hd { display: flex; align-items: baseline; justify-content: space-between; margin: 0 8px; font-size: 13px; }
.scp-toc__hd b { font-weight: 600; } .scp-toc__hd span { color: var(--mute); }
.scp-toc__bar { display: block; height: 4px; margin: 12px 8px 10px; border-radius: 99px; background: #f0eef6; overflow: hidden; }
.scp-toc__bar i { display: block; width: 11%; height: 100%; border-radius: inherit; background: var(--brand); transition: width 0.4s ease; }
.scp-toc ul { margin: 0; padding: 0; list-style: none; }
.scp-toc a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--sub); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.scp-toc a:hover { background: var(--soft); color: var(--ink); }
.scp-toc__ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--soft); color: var(--mute); transition: background 0.2s ease, color 0.2s ease; }
.scp-toc__ic svg { width: 14px; height: 14px; stroke-width: 1.9; }
.scp-toc a.is-done .scp-toc__ic { background: var(--lav); color: var(--brand); }
.scp-toc a.is-on { background: #f6f2ff; color: var(--brand); }
.scp-toc a.is-on .scp-toc__ic { background: var(--brand); color: #fff; }
.scp-body { display: grid; gap: 16px; }
.scp-lede { display: flex; gap: 18px; padding: 26px 28px; border-radius: 24px; background: radial-gradient(70% 80% at 100% 0%, rgba(184, 155, 255, 0.3), rgba(184, 155, 255, 0) 70%), linear-gradient(180deg, #f7f4ff, #faf9fd); box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.12); }
.scp-lede__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; }
.scp-lede__ic svg { width: 22px; height: 22px; stroke-width: 1.8; }
.scp-lede p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink); }
.scp-sec { padding: 28px 30px 26px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -44px rgba(30, 20, 70, 0.45); }
.scp-sec__hd { display: flex; align-items: center; gap: 14px; }
.scp-sec__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--lav); color: var(--brand); }
.scp-sec__ic svg { width: 21px; height: 21px; stroke-width: 1.8; }
.scp .scp-sec h2 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 500; letter-spacing: -0.035em; }
.scp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.scp-list li { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--soft); }
.scp-list__ic { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--brand); color: #fff; }
.scp-list__ic svg { width: 12px; height: 12px; stroke-width: 3; }
.scp-list b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.scp-list li > span:last-child > span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--sub); }
.scp-sec__p { margin: 18px 0 0; font-size: 16px; line-height: 1.7; color: var(--sub); }
.scp-mail { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: 13.5px; color: var(--mute); }
.scp-mail a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.scp-mail a:hover { background: var(--lav); color: var(--brand); }
.scp-mail a i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; }
.scp-mail a i svg { width: 15px; height: 15px; stroke-width: 1.9; }

/* closing */
.scp-cta { padding: 104px 0 0; }
.scp .scp-cta h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; line-height: 1.1; letter-spacing: -0.04em; color: #fff; }
.scp-cta__acts { position: relative; flex: none; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.scp .scp-cta .tp-cta p.scp-cta__acts { margin: 0; }

@media (max-width: 1180px) {
  .scp-keys__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .scp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .scp-vis-card { max-width: 520px; }
  .scp-toast { left: auto; right: 16px; }
  .scp-doc__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .scp-toc { top: 84px; z-index: 6; }
  body:has(.hd.is-hide) .scp-toc { top: 12px; }
  .scp-toc__btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 18px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(30, 20, 70, 0.5); backdrop-filter: blur(12px); font: inherit; text-align: left; cursor: pointer; }
  .scp-toc__btn span { font-size: 13px; color: var(--mute); }
  .scp-toc__btn b { flex: 1; font-size: 15px; font-weight: 600; color: var(--brand); }
  .scp-toc__btn i { width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s ease; }
  .scp-toc.is-open .scp-toc__btn i { transform: rotate(-135deg); }
  .scp-toc__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: none; max-height: 60vh; overflow: auto; }
  .scp-toc.is-open .scp-toc__panel { display: block; }
}
@media (max-width: 760px) {
  .scp-hero { margin: 78px 12px 0; padding: 28px 0 44px; border-radius: 22px; }
  .scp-lead { font-size: 16.5px; }
  .scp-acts .btn { width: 100%; }
  .scp-infra { padding: 18px; }
  .scp-infra__hd { flex-wrap: wrap; }
  .scp-infra__pill { margin-left: 56px; }
  .scp-band, .scp-cta { padding-top: 72px; }
  .scp-keys__head { flex-direction: column; align-items: flex-start; }
  .scp-keys__grid, .scp-list { grid-template-columns: minmax(0, 1fr); }
  .scp-lede { flex-direction: column; padding: 22px 20px; }
  .scp-sec { padding: 22px 18px; }
  .scp-mail { flex-wrap: wrap; }
}

/* ---- responsive rhythm pass (tablets ~88px between sections, compact stat cards on phones) ---- */
@media (min-width: 761px) and (max-width: 1024px) { .scp-band, .scp-cta { padding-top: 88px; } }

/* ---- desktop/tablet pass: small laptops (961-1100px) keep the two-column hero instead of stacking it ---- */
@media (min-width: 961px) and (max-width: 1100px) { .scp-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 36px; align-items: center; } }

/* No status dots in front of labels anywhere on the site */
.scp-chip i, .scp-infra__rows i { display: none !important; }
