/* ============================================================
   Winjit US - Security and Compliance page
   Brief: winjit-us-security-compliance-page.md · Inspiration: design-language.md section 6
   Builds on css/ai-governance.css (hero panel, bento, dark band, closing band)
   and css/landing.css (gate rail, industry cards, FAQ). No new colours.
   ============================================================ */

/* ------------------------------------------------------------
   SECTION 2 - THE TWO SURFACES  (original split comparison)
   Panels enter from opposite sides; the division draws as they settle.
   ------------------------------------------------------------ */
.sc-surfaces.reveal { opacity: 1; transform: none; }
.sc-surfaces { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.sc-surface {
  border-radius: var(--radius-block); padding: clamp(28px, 3.6vw, 48px);
  opacity: 0; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
}
.sc-surface--a { background: var(--grey-50); border: 1px solid var(--strokes); transform: translateX(-48px); }
.sc-surface--b { background: var(--primary); transform: translateX(48px); }
.sc-surfaces.in .sc-surface { opacity: 1; transform: none; }

.sc-divider { position: relative; display: grid; place-items: center; }
.sc-divider::before {
  content: ""; position: absolute; top: 8%; bottom: 8%; left: 50%; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, var(--grey-300), var(--primary));
  transform: scaleY(0); transform-origin: top; transition: transform 800ms var(--ease-out) 550ms;
}
.sc-divider span {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--strokes); color: var(--primary);
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(3, 78, 162, .12);
  opacity: 0; transform: scale(.6); transition: opacity 400ms var(--ease-out) 1100ms, transform 400ms var(--ease-out) 1100ms;
}
.sc-divider svg.i { width: 18px; height: 18px; stroke-width: 2.25; }
.sc-surfaces.in .sc-divider::before { transform: scaleY(1); }
.sc-surfaces.in .sc-divider span { opacity: 1; transform: none; }

.sc-surface__label {
  display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill);
  padding: 7px 16px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.sc-surface__label svg.i { width: 16px; height: 16px; }
.sc-surface--a .sc-surface__label { background: #fff; border: 1px solid var(--strokes); color: var(--grey-900); }
.sc-surface--b .sc-surface__label { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.sc-surface__statement {
  margin: 22px 0 26px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 500;
}
.sc-surface--a .sc-surface__statement { color: var(--grey-900); }
.sc-surface--b .sc-surface__statement { color: #fff; }
.sc-surface ul { list-style: none; margin: 0; padding: 0; }
.sc-surface li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; font-size: 15.5px; line-height: 1.45; }
.sc-surface li svg.i { width: 18px; height: 18px; margin-top: 1px; }
.sc-surface--a li { border-top: 1px solid var(--grey-200); color: var(--grey-800); }
.sc-surface--a li svg.i { color: var(--primary); }
.sc-surface--b li { border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .92); }
.sc-surface--b li svg.i { color: var(--secondary); }

@media (max-width: 860px) {
  .sc-surfaces { grid-template-columns: 1fr; grid-template-rows: auto 56px auto; }
  .sc-surface--a, .sc-surface--b { transform: translateY(20px); }
  .sc-divider::before { top: 50%; bottom: auto; left: 6%; right: 6%; width: auto; height: 2px; margin: -1px 0 0; transform: scaleX(0); transform-origin: left; }
  .sc-surfaces.in .sc-divider::before { transform: scaleX(1); }
}

/* ------------------------------------------------------------
   SECTION 3 - CONVENTIONAL  (ref: Fantom left tabs, right panel)
   One DOM: tabs + panel on desktop {
  display: grid; grid-template-columns: minmax(260px, 340px) 1fr;
  column-gap: clamp(28px, 4.5vw, 64px); align-items: start; align-content: start;
}

.sc-chip {
  display: inline-flex; align-items: center; border-radius: var(--radius-pill); padding: 6px 14px;
  background: var(--soft-blue); border: 1px solid var(--blue-wash-border); color: var(--primary); font-size: 13.5px; font-weight: 600;
}

/* ------------------------------------------------------------
   SECTION 4 - AI SECURITY TESTING  (original, inverted)
   Base surface from .gv-gate. Method line opens on hover/focus;
   always visible on touch and narrow screens.
   ------------------------------------------------------------ */
.sc-ai-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.sc-ai-head h2 { margin: 0; }
.sc-ai-head .lp-deck { color: var(--grey-400); }
.sc-attacks { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 16px); margin-top: clamp(40px, 5vw, 60px); }
.sc-attack {
  position: relative; display: flex; flex-direction: column;
  background: var(--dark-card); border: 1px solid #2A2A2A; border-radius: 20px; padding: 22px 22px 18px;
  transition: opacity 500ms var(--ease-out), transform 300ms var(--ease-out), border-color 300ms ease, background-color 300ms ease;
  outline: none;
}
.sc-attack.in:hover, .sc-attack.in:focus-visible {
  transform: translateY(-4px) scale(1.015); border-color: var(--dark-card-border); background: #222;
}
.sc-attack:focus-visible { box-shadow: 0 0 0 2px var(--green-display); }
.sc-attack__n { font-family: var(--ff-display); font-size: 13px; font-weight: 700; color: var(--green-display); }
.sc-attack h3 { color: #fff; font-size: 18px; font-weight: 600; line-height: 1.3; margin: 28px 0 8px; }
.sc-attack > p { margin: 0; color: var(--grey-400); font-size: 14.5px; line-height: 1.55; }
.sc-attack__method { display: grid; grid-template-rows: 0fr; margin-top: auto; transition: grid-template-rows 350ms var(--ease-out); }
.sc-attack__method > div { overflow: hidden; }
.sc-attack__method b {
  display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid #333;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-display);
}
.sc-attack__method p { margin: 6px 0 4px; color: #fff; font-size: 14px; line-height: 1.55; }
.sc-attack__hint {
  display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 12px;
  border-top: 1px solid #2A2A2A; font-size: 12px; font-weight: 600; color: var(--grey-500);
  transition: opacity 200ms ease;
}
.sc-attack__hint svg.i { width: 14px; height: 14px; }
.sc-attack:hover .sc-attack__method, .sc-attack:focus-within .sc-attack__method { grid-template-rows: 1fr; }
.sc-attack:hover .sc-attack__hint, .sc-attack:focus-within .sc-attack__hint { display: none; }
@media (hover: none), (max-width: 760px) {
  .sc-attack__method { grid-template-rows: 1fr; }
  .sc-attack__hint { display: none; }
}
.sc-standards {
  margin-top: clamp(32px, 4vw, 48px); padding-top: 26px; border-top: 1px solid #262626;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--grey-300); font-size: 15.5px;
}
.sc-standards svg.i { color: var(--green-display); }
@media (max-width: 1080px) { .sc-attacks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .sc-ai-head { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .sc-attacks { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   SECTION 7 - DATA HANDLING  (original four-block grid, no motion)
   ------------------------------------------------------------ */
.sc-locations { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px 0 36px; }
.sc-locations span {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--strokes);
  border-radius: var(--radius-pill); padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--grey-800);
}
.sc-locations svg.i { width: 16px; height: 16px; color: var(--primary); }
.sc-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.sc-control {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-card); padding: clamp(24px, 2.8vw, 34px);
}
.sc-control h3 { font-size: 20px; font-weight: 700; margin: 10px 0 10px; }
.sc-control p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--grey-600); }
@media (max-width: 760px) { .sc-controls { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   SECTION 8 - REGULATORY WATCH  (data-driven, dated)
   Content lives in the JSON block in the page, not in markup.
   ------------------------------------------------------------ */
.sc-asof {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin: 22px auto 0;
  padding: 8px 16px 8px 12px; border-radius: var(--radius-pill);
  background: var(--grey-50); border: 1px solid var(--strokes);
  font-size: 14px; color: var(--grey-700);
}
.sc-asof b { color: var(--grey-900); }
.sc-asof__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-display); box-shadow: 0 0 0 4px rgba(80, 206, 21, .18); }
.sc-regimes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.sc-regime {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--strokes); border-radius: var(--radius-card); overflow: hidden;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease;
}
.sc-regime:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); border-color: var(--blue-wash-border); }

/* media header - image under a tone wash, the same treatment the
   industries pages use for .in-hero__bg and the closing band */
.sc-regime__media {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(20px, 2.2vw, 26px);
  min-height: clamp(140px, 13vw, 172px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.sc-regime__media img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.sc-regime:hover .sc-regime__media img { transform: scale(1.05); }
.sc-regime__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 24, 54, 0) 40%, rgba(2, 24, 54, .52) 100%),
    linear-gradient(150deg, rgba(3, 78, 162, .70) 0%, rgba(21, 119, 214, .56) 42%, rgba(0, 168, 181, .46) 74%, rgba(0, 191, 120, .38) 100%);
}
.sc-regime__display {
  font-family: var(--ff-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(26px, 2.6vw, 36px); color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}
.sc-regime__status {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .86);
}

.sc-regime__body { padding: clamp(20px, 2.2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.sc-regime__group { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 6px; }
.sc-regime h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.sc-regime p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--grey-600); }
.sc-regime .sc-tags { margin-top: auto; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--grey-200); }
.sc-tags span { font-size: 12.5px; font-weight: 600; color: var(--grey-700); background: var(--grey-100); border-radius: var(--radius-pill); padding: 4px 11px; }
.gv-status--watch { background: var(--yellow-100); color: #854D0E; }
.sc-reg-close {
  margin: 30px auto 0; max-width: 70ch; padding-left: 18px; border-left: 3px solid var(--primary);
  font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.55; color: var(--grey-800);
}
.sc-reg-confirm { margin-top: 18px; }
@media (max-width: 860px) {
  .sc-regimes { grid-template-columns: 1fr; }
}/* Hero collage: keep the record card's status column clear of the AI card */

/* ============================================================
   COMPACT PASS (2026-09-16)
   Page trimmed from 12 sections to 8. The tab panel, pipeline
   rail, bento visuals, industry grid and certification row are
   replaced by the compact components below.
   ============================================================ */

/* Section 2 - conventional testing folded under the two surfaces */
.sc-tests {
  margin-top: clamp(20px, 2.4vw, 30px); background: #fff; border: 1px solid var(--strokes);
  border-radius: var(--radius-block); padding: clamp(24px, 3vw, 38px);
}
.sc-tests__lead { margin: 0 0 8px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--grey-600); max-width: 76ch; }
.sc-tests__lead b { color: var(--grey-900); }
.sc-tests ul { list-style: none; margin: 0; padding: 0; }
.sc-tests li {
  display: grid; grid-template-columns: minmax(180px, 230px) 150px 1fr; gap: 10px 20px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--grey-200);
}
.sc-tests li > b { font-size: 16px; font-weight: 700; color: var(--grey-900); }
.sc-tests li > span:last-child { font-size: 15px; line-height: 1.55; color: var(--grey-600); }
.sc-tests .sc-chip { justify-self: start; }
@media (max-width: 860px) {
  .sc-tests li { grid-template-columns: 1fr; gap: 6px; }
  .sc-tests .sc-chip { margin-bottom: 4px; }
}

/* Section 5 - certifications reduced to one line under delivery controls */
.sc-certline {
  margin: clamp(22px, 2.6vw, 30px) 0 0; padding-top: 22px; border-top: 1px solid var(--grey-200);
  text-align: center; font-size: 15.5px; color: var(--grey-600);
}
.sc-certline b { color: var(--grey-900); margin-right: 6px; }

/* Section 6 - industry posture reduced to a link row */
.sc-reg-confirm { text-align: center; }
#regulatory-watch .gv-crosslink { gap: 10px 14px; margin-top: clamp(26px, 3vw, 34px); }
#regulatory-watch .gv-crosslink .textlink { font-size: 15px; }

/* ============================================================
   THEME ALIGNMENT - landing + industries (2026-09-16)
   Attack cards share the .lp-gov__block treatment; the AI panel
   keeps the brand gradient used across the landing page.
   ============================================================ */
.sc-surface--b { background: linear-gradient(135deg, var(--primary) 0%, #0A6FB0 55%, #08786C 100%); }
.sc-ai-head .lp-deck { color: var(--grey-400); }
.sc-attack {
  background: var(--midnight-card); border-color: var(--midnight-card-border);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.sc-attack.in:hover, .sc-attack.in:focus-visible {
  background: #1B1B1F; border-color: rgba(0, 237, 135, .55);
  box-shadow: var(--shadow-proof-glow);
}
.sc-attack__n { color: var(--secondary); }
.sc-attack > p { color: var(--grey-400); }
.sc-attack__method b { color: var(--secondary); border-top-color: var(--midnight-card-border); }
.sc-attack__hint { color: var(--grey-500); border-top-color: var(--midnight-card-border); }
.sc-standards { color: var(--grey-300); border-top-color: var(--midnight-card-border); }
.sc-standards svg.i { color: var(--secondary); }
