/* ==========================================================================
   KOBIL — Technology / Application Security — Section: Trust
   Figma 6087:53995 ("The Identity Layer Behind Leading Digital Platforms").

   Title block (792 wide) over a row of four 302px cards, gap 24 (Figma places
   them at x=0/326/652/978 inside the 1280 column). Each card is a visual on
   top of a text block: mono label, 32px icon chip + 18/24 heading, 14/20 copy.

   The four visuals are illustrations built from dozens of nested layers in
   Figma; they are shipped as 3x PNGs cropped out of the row export rather
   than rebuilt in CSS.
   ========================================================================== */

.sec-application-security-trust {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  padding: 80px 40px;
}

.as-trust__title {
  max-width: 792px;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
}

/* ---- Card row ---- */

.as-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.as-trust__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 16px 0;
}

/* All four cards reserve the same visual slot (Figma: each FeatureCard is
   270x178 and the text block starts at y=187, so the slot is 178 + a 9px gap).
   The first illustration is only 160 tall inside it, so without the fixed
   slot its text block would ride higher than the other three. */
.as-trust__visual {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 187px;
}

.as-trust__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.as-trust__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
}

.as-trust__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #717182;
}

.as-trust__headrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.as-trust__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 10px;
  background: var(--navy-30);
}

.as-trust__icon img {
  display: block;
  width: 16px;
  height: 16px;
}

.as-trust__card-title {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--navy);
}

.as-trust__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--navy-70);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .as-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .as-trust__title {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .sec-application-security-trust {
    padding: 48px 24px;
    gap: 32px;
  }

  .as-trust__title {
    font-size: 34px;
    line-height: 1.2;
  }
}

@media (max-width: 560px) {
  .as-trust__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .as-trust__card {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .sec-application-security-trust {
    padding: 40px 20px;
  }

  .as-trust__title {
    font-size: 30px;
    line-height: 1.2;
  }
}

/* ---- ≥1441px: proportional zoom above the 1440 frame ----
   GENERATED from this file's own desktop rules: every literal px value
   above 3px is re-expressed as its --wN token so the layout keeps scaling
   with the viewport up to 2560 (tokens.css / build.py). Below 1441px the
   rules above apply unchanged. When you edit a px value above, mirror it
   here, or delete this block and rerun tools/gen-wide-overrides.py. ---- */
@media (min-width: 1441px) {
  .sec-application-security-trust {
    gap: var(--w60);
    padding: var(--w80) var(--w40);
  }
  .as-trust__title {
    max-width: var(--w792);
    font-size: var(--w56);
  }
  .as-trust__grid {
    gap: var(--w24);
  }
  .as-trust__card {
    padding: var(--w34) var(--w16) 0;
  }
  .as-trust__visual {
    min-height: var(--w187);
  }
  .as-trust__body {
    gap: var(--w12);
    padding: var(--w24) 0;
  }
  .as-trust__label {
    font-size: var(--w11);
    line-height: var(--w15);
  }
  .as-trust__headrow {
    gap: var(--w12);
  }
  .as-trust__icon {
    width: var(--w32);
    height: var(--w32);
    border-radius: var(--w10);
  }
  .as-trust__icon img {
    width: var(--w16);
    height: var(--w16);
  }
  .as-trust__card-title {
    font-size: var(--w18);
    line-height: var(--w24);
  }
  .as-trust__desc {
    font-size: var(--w14);
    line-height: var(--w20);
  }
}
