/* SECURITY v66: the security page, after Stripe. Loaded on /security only and scoped to .scv. The dark hero keeps its
   gate of strands, now under the copy instead of in a band of its own; the audit trail reads as sentences; sections are
   eyebrow, title, one line, then plain columns under hairlines. Status pills lose their dots. Nothing loops. */
.scv .guides { display: none; }
.scv .band { padding: 112px 0; }
.scv .eyebrow { font-size: 16px; font-weight: 500; color: var(--accent); }
.scv .stat::before { display: none; }
.scv .stat { height: 22px; padding: 0 9px; font-size: 12px; }

/* hero: the gate is a labelled diagram along the foot: every ticket comes in on the left, passes one waist where Trace
   checks it, and leaves in three bundles, one per outcome. The labels sit just above each bundle. */
.inner .page-hero.sc-hero { padding-bottom: 340px; }
.sc-flow { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 300px; }
.sc-flow canvas[data-chrome] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 92%, transparent); }
.gl { position: absolute; font-size: 13.5px; font-weight: 500; color: #b9c8e6; white-space: nowrap; transform: translateY(-150%); }
.gl-in { left: max(24px, calc(50% - 604px)); top: 27%; color: #8aa3cf; }
.gl-mid { left: 52%; top: 22%; transform: translate(-50%, -150%); color: #8aa3cf; }
.gl-o { right: max(24px, calc(50% - 604px)); }
.gl-a { top: 34%; color: #9fe8ff; } .gl-b { top: 59%; color: #c5b8ff; } .gl-c { top: 84%; color: #d5dbe6; }
@media (prefers-reduced-motion: no-preference) {
  .gl { opacity: 0; animation: glIn .8s ease forwards; } .gl-in { animation-delay: .4s; } .gl-mid { animation-delay: .9s; }
  .gl-a { animation-delay: 1.3s; } .gl-b { animation-delay: 1.45s; } .gl-c { animation-delay: 1.6s; }
}
@keyframes glIn { to { opacity: 1; } }
.scv .sc-hero .ph-grid { align-items: center; }
.scv .sc-hero .page-title { font-size: clamp(44px, 5vw, 70px); line-height: 1.02; letter-spacing: -.045em; }
.scv .sc-hero .page-lede { margin-top: 24px; max-width: 30em; font-size: 19px; line-height: 1.55; }
.scv .sc-hero .ph-cta { margin-top: 34px; gap: 12px; }
/* the audit card: sentences in the sans face, times and seals in mono */
.scv .sc-hero .panel { padding: 24px 26px 20px; border-radius: 16px; background: rgba(10, 24, 60, .55); }
.scv .sc-hero .panel-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; }
.scv .sc-hero .panel-h b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.scv .sc-hero .panel-h .stat { background: rgba(255, 255, 255, .1); color: #c6d4ef; }
.scv .sc-hero .chain li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 12px 0; font: 14.5px/1.45 var(--font); color: #b9c8e6; }
.scv .sc-hero .chain time { font: 500 12.5px var(--mono); color: #8aa3cf; }
.scv .sc-hero .chain li span { white-space: normal; }
.scv .sc-hero .chain b { font-weight: 600; color: #fff; }
.scv .sc-hero .chain code { font-size: 11.5px; align-self: center; }
.scv .sc-hero .chain-n { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .scv .sc-hero .chain li { animation: scIn .5s cubic-bezier(.2, .7, .2, 1) both; }
  .scv .sc-hero .chain li:nth-child(2) { animation-delay: .12s; } .scv .sc-hero .chain li:nth-child(3) { animation-delay: .24s; }
  .scv .sc-hero .chain li:nth-child(4) { animation-delay: .36s; } .scv .sc-hero .chain li:nth-child(5) { animation-delay: .48s; } .scv .sc-hero .chain li:nth-child(6) { animation-delay: .6s; }
}
@keyframes scIn { from { opacity: 0; transform: translateY(6px); } }

/* section heads: eyebrow, a large title, one short paragraph */
.sh3 { max-width: 760px; }
.sh3 h2, .scv .sec-head h2 { margin-top: 14px; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.1; letter-spacing: -.032em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.sh3 > p:last-child { margin-top: 20px; max-width: 36em; font-size: 19px; line-height: 1.55; color: var(--slate); text-wrap: pretty; }
.scv .sec-head p:not(.eyebrow) { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--slate); }

/* columns under hairlines; the first line of each turns blue */
.sp4, .sp3 { display: grid; gap: 40px; margin-top: 64px; }
.sp4 { grid-template-columns: repeat(4, 1fr); } .sp3 { grid-template-columns: repeat(3, 1fr); }
.sp { display: flex; flex-direction: column; align-items: flex-start; padding-left: 22px; box-shadow: inset 1px 0 0 var(--line); }
.sp > :first-child { position: relative; }
.sp > :first-child::before { content: ""; position: absolute; left: -22px; top: 0; bottom: 0; width: 1px; background: var(--accent); }
.sp-n { font: 500 13px var(--mono); color: var(--accent); }
.sp h3 { margin-top: 10px; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.sp > p:not(.sp-n):not(.cp-k) { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--slate); text-wrap: pretty; }
.sp > p a { color: var(--accent); font-weight: 500; }
.sp .stat { margin-top: 14px; }
.cp-k { font-size: 14px; font-weight: 600; color: var(--muted); } .cp-k.ok { color: #0f7a3d; }

/* connection and audit: the title column sits at the top and stays there while the list scrolls past */
.scv .split { align-items: start; margin-top: 0; gap: 96px; }
.scv .split > .sec-head { position: sticky; top: 120px; }
.scv .features { gap: 0; }
.scv .feature { padding: 24px 0 24px 22px; border-top: 1px solid var(--line); }
.scv .feature:first-child { border-top: 0; padding-top: 4px; }
.scv .feature::before { top: 24px; bottom: auto; height: 22px; width: 1px; background: var(--accent); }
.scv .feature:first-child::before { top: 4px; }
.scv .feature h3 { font-size: 18px; letter-spacing: -.015em; } .scv .feature p { margin-top: 8px; font-size: 16px; line-height: 1.6; }
.scv .feature .stat { margin-top: 12px; }
.scv .note-box { margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5; }

/* data flow: four numbered steps on one line that draws once */
.scv .df { position: relative; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.scv .df::before { content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 1px; background: linear-gradient(90deg, var(--accent), #8fb0ff); transform-origin: 0 50%; }
.scv .df > div { position: relative; padding: 52px 0 0; border-radius: 0; background: none; box-shadow: none; }
.scv .df > div + div::before { display: none; }
.df-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); font: 600 13px var(--mono); color: var(--accent); }
.scv .df h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 14px; }
.scv .df dl { gap: 4px; } .scv .df dt { margin-top: 10px; font-size: 13px; } .scv .df dt:first-child { margin-top: 0; } .scv .df dd { font-size: 15.5px; color: var(--ink); }
.scv .principle-s { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .scv .df::before { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.3, .6, .2, 1); } .scv .df.in::before { transform: none; }
}

/* compliance and the closing panel */
.scv .sc-vuln { margin-top: 56px; }
.scv .cta-panel::before { display: none; }
.scv .rr .pill-v { background: #e3f6e9; color: #0f6b34; }
.scv .rr .r-big { flex-direction: column; align-items: flex-start; gap: 6px; } .scv .rr .r-big small { font-size: 13.5px; }
.scv .closing { padding-bottom: 96px; }

@media (max-width: 1100px) { .sp4 { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 960px) {
  .scv .band { padding: 80px 0; }
  .inner .page-hero.sc-hero { padding-bottom: 270px; } .sc-flow { height: 230px; } .gl-mid { display: none; } .gl { font-size: 12.5px; }
  .sp3 { grid-template-columns: 1fr; gap: 32px; }
  .scv .split { gap: 32px; } .scv .split > .sec-head { position: static; }
  .scv .df { grid-template-columns: 1fr; gap: 0; } .scv .df::before { left: 14px; right: auto; top: 14px; bottom: 14px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), #8fb0ff); }
  .scv .df > div { position: relative; padding: 2px 0 28px 48px; } .df-n { top: 0; }
}
@media (max-width: 560px) {
  .sp4 { grid-template-columns: 1fr; gap: 32px; }
  .scv .sc-hero .ph-cta { flex-direction: column; align-items: stretch; } .scv .sc-hero .ph-cta .btn { justify-content: center; }
  .scv .sc-hero .panel { padding: 18px 16px 14px; }
  .scv .sc-hero .chain li { grid-template-columns: 58px minmax(0, 1fr); font-size: 13.5px; } .scv .sc-hero .chain code { display: none; }
}
