/* Security and standards, the privacy policy and the consent text: pages opened from
   "Подробнее" under the verification and from the consent screen. Tokens and buttons come
   from identy.css; nothing moves. */
body.sec-page { background: var(--bg); }
.sp-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .sp-wrap { padding: 0 20px; } }

.sp-bar { border-bottom: 1px solid var(--line); background: var(--bg); }
.sp-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-top: env(safe-area-inset-top); }

/* the opening: the claim and an emblem of the standards around a shield */
.sp-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
@media (max-width: 860px) { .sp-hero { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; padding-bottom: 36px; } }
.sp-hero .kicker { margin-bottom: 14px; }
.sp-title { margin: 0; font: 400 clamp(38px, 5.4vw, 60px)/1.05 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.sp-lead { margin: 20px 0 0; max-width: 560px; color: var(--ink-2); font-size: 19px; line-height: 1.6; }
.sp-emblem svg { display: block; width: 100%; max-width: 420px; margin: 0 auto; overflow: visible; }
.em-ring { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; }
.em-ring2 { fill: var(--card); stroke: var(--line); stroke-width: 1.2; }
.em-shield { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; }
.em-check { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.em-chip rect { fill: var(--card); stroke: var(--line-2); stroke-width: 1.2; }
.em-chip text { font: 600 13px/1 var(--font); fill: var(--ink); text-anchor: middle; }

/* numbers */
.sp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-stats div { padding: 26px 20px 24px 0; }
.sp-stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.sp-stats b { display: block; font: 400 clamp(34px, 4vw, 44px)/1 var(--serif); letter-spacing: -.02em; }
.sp-stats span { display: block; margin-top: 10px; color: var(--ink-3); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 760px) {
  .sp-stats { grid-template-columns: 1fr 1fr; }
  .sp-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sp-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* sections */
.sp-sec { padding-top: 56px; padding-bottom: 24px; }
.sp-h2 { margin: 0 0 24px; font: 400 clamp(28px, 3.4vw, 40px)/1.12 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.sp-stds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .sp-stds { grid-template-columns: 1fr; } }
.sp-stds article { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.sp-stds article:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sp-stds .rg { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.sp-stds h3 { margin: 14px 0 0; font: 500 24px/1.15 var(--serif); letter-spacing: -.01em; }
.sp-stds p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.sp-you { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .sp-you { grid-template-columns: 1fr; } }
.sp-you li { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); }
.sp-you .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.sp-you .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sp-you b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sp-you p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* the way back */
.sp-end { padding-top: 64px; padding-bottom: 72px; text-align: center; }
.sp-end .sp-h2 { margin-bottom: 10px; }
.sp-end p { margin: 0 0 24px; color: var(--ink-2); font-size: 17px; }
.sp-end .btn { width: auto; padding-left: 28px; padding-right: 28px; }
.sp-foot { padding: 24px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }

/* a way past the header for keyboards and screen readers */
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

/* sections of the standards page: a number, a title, a line of context, cards with what we do */
.sp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.sp-jump a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--card); font-size: 14.5px; font-weight: 500; }
.sp-jump a:hover { border-color: var(--line-3); }
.sp-n { margin: 0 0 6px; color: var(--accent); font: 600 13px/1 var(--font); letter-spacing: .06em; }
.sp-intro { margin: -10px 0 24px; max-width: 640px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.sp-stds ul { margin: 12px 0 0; padding: 0; list-style: none; }
.sp-stds li { position: relative; padding: 5px 0 5px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.sp-stds li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 5px; border-left: 1.8px solid var(--ok); border-bottom: 1.8px solid var(--ok); transform: rotate(-45deg); }
.sp-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .sp-docs { grid-template-columns: 1fr; } }
.sp-docs a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.sp-docs a:hover { border-color: var(--line-3); }
.sp-docs b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sp-docs span { display: block; margin-top: 4px; color: var(--ink-3); font-size: 14.5px; line-height: 1.45; }
.sp-fine { margin: 18px 0 0; max-width: 760px; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.sp-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--ink-3); }
.sp-foot-in nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sp-foot-in a { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }

/* documents: the privacy policy and the consent text */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
@media (max-width: 600px) { .doc { padding-top: 30px; } }
.doc-title { margin: 0; font: 400 clamp(32px, 4.6vw, 46px)/1.1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.doc-lead { margin: 16px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.doc h2 { margin: 40px 0 10px; font: 500 24px/1.25 var(--serif); letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.doc p { margin: 10px 0 0; }
.doc ul { margin: 10px 0 0; padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc li b { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.doc-list { margin: 8px 0 0; padding-left: 22px; }
.doc-list > li::marker { font: 500 20px var(--serif); color: var(--ink-3); }
.doc-list h2 { margin-top: 30px; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.doc-toc a { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--card); font-size: 14px; text-decoration: none; }
.doc-cases { list-style: none; padding: 0 !important; }
.doc-cases li { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.doc-terms { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.doc-terms li { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-terms b { color: var(--ink); font-weight: 600; text-align: right; }
@media (max-width: 600px) { .doc-terms li { flex-direction: column; gap: 2px; } .doc-terms b { text-align: left; } }
.doc-note { margin-top: 32px !important; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3) !important; font-size: 14.5px !important; }
.doc-form { margin-top: 40px; padding: 4px 24px 26px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
@media (max-width: 600px) { .doc-form { padding: 2px 18px 22px; } }
.doc-form .btn { margin-top: 18px; }
.doc-small { color: var(--ink-3) !important; font-size: 14px !important; }
.doc-status { min-height: 24px; font-weight: 500; }
.doc-status.ok { color: var(--ok) !important; }
.doc-status.bad { color: var(--bad) !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* how we test ourselves: the same cards with a status line — what is proven by us, what no one
   outside has checked yet */
.sp-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .sp-proof { grid-template-columns: 1fr; } }
.sp-proof article { display: flex; flex-direction: column; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.sp-proof .rg { align-self: flex-start; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.sp-proof h3 { margin: 14px 0 0; font: 500 24px/1.15 var(--serif); letter-spacing: -.01em; }
.sp-proof p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.sp-proof ul { margin: 12px 0 0; padding: 0; list-style: none; }
.sp-proof li { position: relative; padding: 5px 0 5px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.sp-proof li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 5px; border-left: 1.8px solid var(--ok); border-bottom: 1.8px solid var(--ok); transform: rotate(-45deg); }
.sp-proof .st { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 16px; }
.st span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.st-ok { background: var(--ok-soft); color: var(--ok); }
.st-ok::before { content: ""; width: 8px; height: 4px; margin-top: -3px; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(-45deg); }
.st-no { background: var(--bg-3); color: var(--ink-2); }
.st-no::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.6px solid currentColor; }
.sp-stds a, .sp-proof a, .sp-rules a { text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }

/* reporting a vulnerability: the rules and the form side by side */
.sp-disc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .sp-disc { grid-template-columns: 1fr; } }
.sp-rules h3, .sp-disc form h3 { margin: 4px 0 8px; font: 500 21px/1.2 var(--serif); letter-spacing: -.01em; }
.sp-rules h3 + ul { margin-bottom: 18px; }
.sp-rules ul { margin: 0; padding: 0; list-style: none; }
.sp-rules li { position: relative; padding: 6px 0 6px 18px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.sp-rules li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sp-disc .doc-form { margin-top: 0; padding-top: 18px; }
