/* Walter landing: Security section. Figma "Security" (5284:71701): desktop 5284:71201, mobile 5284:71700. */
#walter-security, #walter-security * { box-sizing: border-box; }
#walter-security { padding: 0 8px; font-family: "InterVariable", "Inter", system-ui, sans-serif; font-feature-settings: "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* Theme guard: headings, paragraphs and canvases inside the section ignore the theme's own type and sizing */
#walter-security h2, #walter-security p { font-family: inherit; text-transform: none; text-shadow: none; padding: 0; border: 0; }
#walter-security canvas { max-width: none; }

/* Card: 1424 x 698 at 1440, radius 16, #010417. The glow, pattern, vault and its reflection are one
   background plate exported from the frame; the copy and the moving reflection are coded on top. */
#walter-security .ws-card { --ws-s: 1; position: relative; height: calc(698px * var(--ws-s)); border-radius: 16px; overflow: hidden; background: #010417; }
/* The 1424 x 698 frame, centered in the card. From 900 to 1023 it scales down as one piece (the script
   sets --ws-s so its 860px of content keeps 48px either side); from 1024 up it is full size. */
#walter-security .ws-frame { position: absolute; top: 0; left: 50%; width: 1424px; height: 698px; margin-left: -712px;
  transform: scale(var(--ws-s)); transform-origin: 50% 0; }
#walter-security .ws-art { position: absolute; inset: 0; pointer-events: none; background: url("../plate-d.webp") 0 0 / 100% 100% no-repeat; }
/* Wider than the frame, the plate's sides fade into the card colour so no edge shows */
@media (min-width: 1441px) {
  #walter-security .ws-art { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%); }
}

/* Water: the plate's own reflection, redrawn row by row with a sideways wave (script below).
   It fades in from the vault's base, so the line where the vault meets its reflection stays still. */
#walter-security .ws-water { position: absolute; left: 750px; top: 486px; width: 412px; height: 212px; display: block; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }

/* Copy (Figma 5284:70950): 282, 215 on the frame */
#walter-security .ws-copy { position: absolute; left: 282px; top: 215px; display: flex; flex-direction: column; align-items: flex-start; }
#walter-security .ws-badge { margin: 0 0 20px; padding: 3px 7px; border: 1px solid #052352; /* Figma strokes inside: 29px tall like the frame */ border-radius: 8px; background: #000d31;
  color: #0073f8; font-size: 14px; line-height: 21px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; font-variation-settings: "opsz" 15; }
#walter-security .ws-title { margin: 0 0 12px; color: #fff; font-size: 40px; line-height: 48px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
#walter-security .ws-title span { display: block; }
#walter-security .ws-sub { width: 360px; margin: 0 0 24px; color: rgba(255, 255, 255, 0.6); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: "opsz" 15; }
#walter-security .ws-btn { all: unset; box-sizing: border-box; height: 40px; padding: 8px 14px; border-radius: 12px; background: #7a37f0; color: #fff; cursor: pointer;
  font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; transition: background-color 150ms ease-out; font-variation-settings: "opsz" 15; }
#walter-security .ws-btn:hover { background: #6c2be0; }
#walter-security .ws-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Tablet: 12px from the screen edges, like mobile */
@media (max-width: 1023.98px) {
  #walter-security { padding: 0 12px; }
}

/* Mobile, and tablets below 900 (Figma 5284:71700): the card fills the width, radius 24, and grows with the copy.
   The vault art and the copy keep the mobile frame's 378px column, centered. */
@media (max-width: 899.98px) {
  #walter-security .ws-card { height: auto; border-radius: 24px; }
  #walter-security .ws-frame { position: relative; top: auto; left: auto; width: auto; height: auto; min-height: 594px; margin: 0; padding: 321px 0 32px; transform: none; }
  #walter-security .ws-art { inset: auto; top: 0; left: 50%; width: 378px; height: 594px; margin-left: -189px; background-image: url("../plate-m.webp"); }
  #walter-security .ws-water { left: calc(50% - 189px + 50px); top: 240px; width: 278px; height: 90px; }
  /* Copy (Figma 5284:71453): 32px in from the column's left, 321px from the top */
  #walter-security .ws-copy { position: relative; left: auto; top: auto; width: 100%; max-width: 378px; margin: 0 auto; padding: 0 32px; }
  #walter-security .ws-badge { margin-bottom: 16px; }
  #walter-security .ws-title { font-size: 32px; line-height: 40px; white-space: normal; }
  #walter-security .ws-sub { width: auto; margin-bottom: 16px; }
}
/* When the card is wider than the 378px art, the art's sides fade into the card colour */
@media (min-width: 403px) and (max-width: 899.98px) {
  #walter-security .ws-art { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%); }
}

/* Homepage transition: final Figma 4277:38482 / 4277:39713. */
body.home26-page #walter-security{margin-top:100px}
@media(max-width:767px){body.home26-page #walter-security{margin-top:80px}}

@media(max-width:767px){body.home26-page #walter-testimonials{margin-top:92px}}
