/* The security page (templates/public/security.html, _security_parts.html,
   js/security.js; owner, 2026-12-02: mock-up v1,
   https://claude.ai/artifact/HkMZmr9mSu4gsuzK5VzDi3).
   One picture of the walls around your system up top, then each promise as a
   small working piece of the app beside its words, and the honest "not yet"
   notes left in plain sight. Every rule names an `se-` class or a
   `data-se-` hook, so this sheet restyles nothing else. The served markup is
   the finished picture; a state is hidden only under a class security.js
   sets (`se-run`, `se-live`, `data-state="ready|press|full"`). */

.se-hero, .se-sb, .se-vuln-sec, .se-faq { --se-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.se-ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.se-ic.sm { width: 12px; height: 12px; }
.se-mono { font-family: var(--se-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- hero */
.se-hero .page-hero-in { padding-bottom: 0; }
.se-hero .h1 { font-size: clamp(2.2rem, 4.9vw, 3.8rem); }
.se-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 28px; max-width: 760px; font-size: 14.5px; font-weight: 500; }
.se-points li { display: inline-flex; align-items: center; gap: 8px; }
.se-points .se-ic { width: 16px; height: 16px; color: var(--green); }
.se-vt-wrap { position: relative; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); }

/* the walls around your system */
.se-vt { max-width: 980px; margin-inline: auto; box-shadow: var(--shadow); }
.se-vt-in { position: relative; display: grid; gap: 16px; padding: clamp(16px, 3vw, 30px); background-color: var(--soft); background-image: radial-gradient(circle, var(--line-2) 1px, transparent 1.6px); background-size: 22px 22px; }
.se-gate { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; }
.se-gate b { font-weight: 600; }
.se-gate .se-ic { width: 16px; height: 16px; color: var(--green); stroke-width: 2.2; }
.se-gate small { font-size: 12.5px; color: var(--muted); }
.se-lanes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.se-ten { position: relative; display: grid; gap: 8px; min-width: 0; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.se-ten > b { padding-right: 24px; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-part { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); font-size: 12.5px; font-weight: 500; }
.se-part .se-ic { width: 15px; height: 15px; color: var(--muted); }
.se-ten.other { opacity: .55; }
.se-ten.other .se-part { border-style: dashed; }
.se-ten.me { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow); }
.se-ten.me .se-part { background: var(--blue-tint); border-color: var(--blue-pale); }
.se-ten.me .se-part .se-ic { color: var(--blue); }
.se-ten .se-lk { position: absolute; top: 12px; right: 12px; width: 17px; height: 17px; color: var(--faint); }
.se-ten.me .se-lk { color: var(--blue); }
/* the request comes in only through the gate, only into your column */
.se-req { position: absolute; left: 50%; top: -22px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 20%, transparent); opacity: .9; }
.motion .se-vt.se-live .se-req { animation: se-req 3.6s cubic-bezier(.4, .1, .3, 1) infinite; }
@keyframes se-req { 0% { opacity: 0; transform: translateY(-14px); } 15% { opacity: 1; } 55% { opacity: 1; transform: translateY(64px); } 70%, 100% { opacity: 0; transform: translateY(64px); } }
.se-night { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--card); font-size: 13px; }
.se-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); }
.se-ico .se-ic { width: 16px; height: 16px; }
.se-txt { display: grid; min-width: 0; }
.se-txt b { font-weight: 600; }
.se-txt small { font-size: 12px; color: var(--muted); }
.se-sealed { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 11.5px; font-weight: 600; white-space: nowrap; flex: none; }
.se-flow { position: relative; display: block; height: 2px; border-radius: 2px; overflow: hidden; background: var(--line-2); grid-column: 1 / -1; }
.se-flow i { position: absolute; inset: 0; width: 30%; background: var(--blue); opacity: .7; transform: translateX(120%); }
.motion .se-live .se-flow i { animation: se-flow 2.8s linear infinite; }
@keyframes se-flow { from { transform: translateX(-110%); } to { transform: translateX(360%); } }
@media (max-width: 640px) {
  .se-lanes { grid-template-columns: minmax(0, 1fr); }
  .se-ten.me { order: -1; }
  .se-ten.other { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
  .se-ten.other > b { flex: 1; }
  .se-ten.other .se-part { display: none; }
  .se-ten.other .se-lk { position: static; }
  .se-req { display: none; }
}

/* ---------------------------------------------- the page's own menu */
.se-subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 74px); z-index: 30; display: flex; justify-content: center; margin-top: 8px; padding-inline: var(--gutter); pointer-events: none; }
.se-subnav ul { display: flex; gap: 2px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: var(--shadow); pointer-events: auto; }
.se-subnav ul::-webkit-scrollbar { display: none; }
.se-subnav a { display: block; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color .18s, background-color .25s; }
.se-subnav a:hover { color: var(--text); }
.se-subnav a.se-on { background: var(--ink); color: var(--on-ink); }
@media (max-width: 639px) { .se-subnav { top: calc(env(safe-area-inset-top, 0px) + 66px); } .se-subnav a { padding: 6px 12px; font-size: 13.5px; } }
.se-sb, .se-faq { scroll-margin-top: 132px; }

/* ------------------------------------------------- one block a promise */
.se-sb { padding-block: clamp(48px, 7vw, 96px); }
.se-sb + .se-sb { border-top: 1px solid var(--line); }
.se-sb.flip { background: var(--soft); }
.se-top { display: grid; gap: 32px; align-items: center; }
.se-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.se-copy .h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
.se-copy .lead { font-size: 1.04rem; }
.se-copy .link { margin-top: 4px; }
.se-scene { width: 100%; min-width: 0; max-width: 540px; justify-self: center; }
.se-pic { box-shadow: var(--shadow); }
@media (min-width: 960px) {
  .se-top { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: 76px; }
  .se-sb.flip .se-copy { order: 2; }
  .se-sb .se-scene { justify-self: end; }
  .se-sb.flip .se-scene { justify-self: start; }
}
.se-pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line); }
.se-pts li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 4px 12px; min-width: 0; padding: 22px 28px 22px 0; border-bottom: 1px solid var(--line); }
.se-pts li:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.se-pts li.last-odd { grid-column: 1 / -1; }
.se-pts li > .se-ic { grid-row: span 2; margin-top: 3px; color: var(--green); }
.se-pts h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.se-pts p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 820px) { .se-pts { grid-template-columns: minmax(0, 1fr); } .se-pts li, .se-pts li:nth-child(even) { padding: 20px 0; border-left: 0; } }
.se-notyet { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--card); font-size: 15px; color: var(--muted); }
.se-notyet .tag { flex: none; background: var(--orange-tint); }
@media (max-width: 520px) { .se-notyet { flex-direction: column; } }

/* -------------------------------------------- the pictures' shared bits */
.se-bar { gap: 6px; }
.se-bar > span:not(.se-chip) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.se-bar .se-chip { margin-left: auto; padding: 1px 9px 1px 8px; font-size: 11.5px; font-weight: 500; color: var(--text); flex: none; }
.se-pad { position: relative; display: grid; gap: 12px; padding: 16px; background: var(--card); }
.se-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 13px; }
.se-row > .se-ic { width: 16px; height: 16px; color: var(--muted); }
.se-row > .se-txt { flex: 1; }
.se-row small { font-size: 11.5px; }
.se-row.me { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.se-row.me > .se-ic { color: var(--blue); }
.se-row.other { opacity: .55; border-style: dashed; }
.se-chip { padding: 1px 9px 1px 8px; font-size: 11.5px; }
.se-to { width: 16px; height: 16px; color: var(--faint); align-self: center; }

/* backups: the week's nights */
.se-nights { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.se-nt { display: grid; justify-items: center; gap: 6px; padding: 10px 2px 9px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line)); background: var(--card); font-size: 11.5px; font-weight: 600; transition: background-color .35s, border-color .35s, color .35s; }
.se-nt i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); transition: background-color .35s; }
.se-nt i .se-ic { width: 12px; height: 12px; color: #ffffff; transition: opacity .3s; }
.se-run .se-nt:not(.on) { border-color: var(--line); color: var(--muted); }
.se-run .se-nt:not(.on) i { background: var(--panel); }
.se-run .se-nt:not(.on) i .se-ic { opacity: 0; }
.se-run .se-nt.now { background: var(--blue-tint); border-color: var(--blue-pale); color: var(--text); }
.se-run .se-nt.now i { background: var(--blue); }
.se-down { display: flex; justify-content: center; }
.se-down .se-flow { width: 120px; }
.se-keep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.se-keep > span { display: grid; justify-items: center; gap: 2px; padding: 12px 4px; text-align: center; }
.se-keep > span + span { border-left: 1px solid var(--line); }
.se-keep b { font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.se-keep small { font-size: 11.5px; color: var(--muted); }

/* encryption: what you type is never what is kept */
.se-addr { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); font-size: 13px; }
.se-addr .se-ic { width: 15px; height: 15px; color: var(--green); stroke-width: 2.3; }
.se-addr span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-addr small { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.se-xf { display: grid; grid-template-columns: minmax(0, .7fr) auto minmax(0, 1.3fr); align-items: center; gap: 10px; }
.se-box { display: grid; gap: 3px; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.se-box small { font-size: 11px; font-weight: 500; color: var(--muted); }
.se-box.out { border-color: var(--blue-pale); background: var(--blue-tint); }
.se-box.out .se-mono { color: var(--blue); }
@media (max-width: 480px) { .se-xf { grid-template-columns: minmax(0, 1fr); } .se-xf .se-to { transform: rotate(90deg); justify-self: center; } .se-addr small { display: none; } }

/* signing in: who may do what, and the wrong tries that lock it */
.se-perm { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12.5px; }
.se-perm th:first-child { width: 34%; }
.se-perm th, .se-perm td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.se-perm th { font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--muted); }
.se-perm th:first-child, .se-perm td:first-child { padding-left: 2px; text-align: left; font-size: 13px; font-weight: 600; color: var(--text); }
.se-perm tr:last-child td { border-bottom: 0; }
.se-perm .se-ic { width: 15px; height: 15px; vertical-align: middle; }
.se-y { color: var(--green); }
.se-n { color: var(--faint); }
@media (max-width: 480px) { .se-perm th { font-size: 10.5px; overflow-wrap: anywhere; hyphens: auto; } .se-perm th, .se-perm td { padding-inline: 3px; } .se-perm td:first-child { font-size: 11.5px; } .se-perm th:first-child { width: 38%; } }
.se-tries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 12.5px; }
.se-tries > b { margin-right: auto; font-weight: 600; }
.se-pip { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transition: background-color .3s; }
.se-pip.bad { background: var(--red); }
.se-lock { background: var(--red-tint); transition: opacity .3s; }
.se-run.se-tries:not(.locked) .se-lock { opacity: 0; }

/* AI access: the key shown once, then only its beginning */
.se-scopes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.se-scopes > span { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.se-scopes > span i { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); }
.se-scopes > span.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.se-scopes > span.sel i { border: 4.5px solid var(--ink); }
.se-keyline { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 12px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--soft); }
.se-keyline > .se-ic { width: 16px; height: 16px; color: var(--muted); }
.se-k { position: relative; flex: 1; min-width: 0; height: 18px; }
.se-k > span { position: absolute; inset: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }
.se-once { background: var(--orange-tint); transition: opacity .4s; }
/* served masked: the full key and its "shown once" note are the replay's */
.se-k > .se-full { visibility: hidden; }
[data-se-key][data-state="full"] .se-k > .se-full { visibility: visible; }
[data-se-key][data-state="full"] .se-k > .se-masked { opacity: 0; }
[data-se-key][data-state="masked"] .se-once { visibility: hidden; }
.se-revoke { display: flex; justify-content: flex-end; }
.se-revoke span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--red); }
.se-revoke .se-ic { width: 14px; height: 14px; }

/* GDPR: the buyer asks, you press, the order forgets them */
.se-ask { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; background: var(--soft); font-size: 13px; font-style: italic; color: var(--muted); }
.se-ask .se-ic { width: 16px; height: 16px; margin-top: 1px; }
.se-flds { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.se-fld { display: grid; grid-template-columns: minmax(0, 96px) minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 9px 12px; font-size: 13px; }
.se-fld + .se-fld { border-top: 1px solid var(--line); }
.se-fld > small { font-size: 11.5px; color: var(--muted); }
.se-v { position: relative; min-width: 0; height: 19px; }
.se-v > span { position: absolute; inset: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .35s; }
.se-v .now { color: var(--muted); }
.se-v .now.gone { text-decoration: line-through; text-decoration-color: var(--faint); }
.se-fld.kept { background: var(--soft); }
.se-fld.kept .se-v .now { color: var(--text); }
.se-fld.kept .se-chip { background: var(--green-tint); }
.se-change { transition: opacity .35s; }
.se-v .was { visibility: hidden; }
[data-se-erase][data-state="ready"] .se-v .was, [data-se-erase][data-state="press"] .se-v .was { visibility: visible; }
[data-se-erase][data-state="ready"] .se-fld:not(.kept) .se-v .now, [data-se-erase][data-state="press"] .se-fld:not(.kept) .se-v .now { opacity: 0; }
[data-se-erase][data-state="ready"] .se-change, [data-se-erase][data-state="press"] .se-change { opacity: 0; }
.se-act { position: relative; display: grid; place-items: center; height: 44px; }
.se-act > .se-press, .se-act > .se-ok { grid-area: 1 / 1; }
.se-press { transition: transform .15s, opacity .3s; }
.se-ok { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 999px; background: var(--green-tint); transition: opacity .3s; }
.se-stamp { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 8px; border: 1.5px solid var(--green); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .02em; transform: rotate(-4deg); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.se-erase .se-press { visibility: hidden; }
[data-se-erase][data-state="ready"] .se-press, [data-se-erase][data-state="press"] .se-press { visibility: visible; }
[data-se-erase][data-state="press"] .se-press { transform: scale(.97); }
[data-se-erase][data-state="ready"] .se-ok, [data-se-erase][data-state="press"] .se-ok { opacity: 0; }
.se-pointer { position: absolute; right: 16%; bottom: 4px; width: 22px; height: 22px; visibility: hidden; transition: transform .35s; }
[data-se-erase][data-state="ready"] .se-pointer { visibility: visible; transform: translateY(-14px); }
[data-se-erase][data-state="press"] .se-pointer { visibility: visible; transform: translateY(-14px) scale(.86); }
@media (max-width: 480px) { .se-fld { grid-template-columns: minmax(0, 72px) minmax(0, 1fr); } .se-fld .se-chip { display: none; } }

/* payments: the card number goes to Stripe, only "paid" comes back */
.se-hand { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr) auto minmax(0, 1fr); align-items: stretch; gap: 8px; }
.se-hc { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; opacity: .5; transition: border-color .35s, opacity .35s, box-shadow .35s; }
.se-hc > small { font-size: 11px; font-weight: 600; color: var(--muted); }
.se-hc b { font-weight: 600; }
.se-hc > .se-ic { width: 18px; height: 18px; color: var(--muted); }
.se-hc .btn { justify-self: start; min-height: 30px; height: 30px; padding: 0 12px; font-size: 12.5px; }
.se-hc.stripe { border-style: dashed; }
.se-hc.stripe .se-mono { font-size: 11.5px; }
.se-paid { justify-self: start; background: var(--green-tint); }
[data-se-hand][data-se-step="1"] .se-hc:nth-of-type(1), [data-se-hand][data-se-step="2"] .se-hc:nth-of-type(2), [data-se-hand][data-se-step="3"] .se-hc:nth-of-type(3) { opacity: 1; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.se-wall { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); font-size: 12.5px; font-weight: 500; text-align: center; }
.se-wall .se-ic { color: var(--green); }
@media (max-width: 560px) { .se-hand { grid-template-columns: minmax(0, 1fr); } .se-hand .se-to { transform: rotate(90deg); justify-self: center; } }

/* ------------------------------------------------- found a hole? */
.se-vuln-sec { padding-block: clamp(48px, 6vw, 80px); }
.se-vuln { max-width: 860px; margin-inline: auto; }
.se-vuln .frame-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: clamp(20px, 3vw, 30px); }
.se-kicker { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); }
.se-kicker .se-ic { width: 22px; height: 22px; }
.se-vuln h2 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.se-vuln p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.se-vuln p a { font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .se-vuln .frame-in { grid-template-columns: minmax(0, 1fr); } .se-vuln .btn { justify-self: start; } }
