/* ==============================================================
   KAGOO - Information Security Policy
   All selectors are scoped under .ksp-page to avoid changing
   the existing homepage, DX page, development page, or footer.
   ============================================================== */

.ksp-page {
  --ksp-navy: #062b59;
  --ksp-dark: #102e50;
  --ksp-blue: #087cc1;
  --ksp-sky: #dceef9;
  --ksp-pale: #f1f8fc;
  --ksp-line: #b9daed;
  font-family: inherit;
  color: var(--ksp-dark);
  background: #fff;
  overflow: clip;
}
.ksp-page *, .ksp-page *::before, .ksp-page *::after { box-sizing: border-box; }
.ksp-page p, .ksp-page h1, .ksp-page h2, .ksp-page h3 { margin: 0; }
.ksp-page a { text-decoration: none; }
.ksp-page a:focus-visible { outline: 3px solid #ffcd54; outline-offset: 5px; }
.ksp-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }

/* HERO: navy, ocean-inspired, but no separate image required. */
.ksp-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  /* KAGOO's shared navigation is fixed; change 90px if the header height differs. */
  margin-top: 90px;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg, #08284f 0%, #064b86 46%, #1788c6 100%);
  color: #fff;
}
.ksp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(0, 24, 58, .38) 0 30%, transparent 30.2%),
    radial-gradient(ellipse 70% 110% at 82% 10%, rgba(163, 223, 255, .32), transparent 70%);
}
.ksp-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 95px;
  z-index: -1;
  opacity: .48;
  background:
    radial-gradient(110% 100% at 40% 125%, #032448 0 55%, transparent 55.5%),
    linear-gradient(180deg, transparent, #083763);
}
.ksp-hero-inner {
  display: flex;
  align-items: center;
  gap: 27px;
  padding-top: 46px;
  padding-bottom: 50px;
  position: relative;
  z-index: 1;
}
.ksp-hero-line { width: 4px; height: 91px; background: #d8f4ff; flex: none; }
.ksp-hero-eyebrow {
  color: #c7e9fc;
  font-size: 11px;
  letter-spacing: .19em;
  font-weight: 700;
  margin-bottom: 8px !important;
}
.ksp-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1.45;
}
.ksp-hero-en {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  margin-top: 12px !important;
  color: #e2f3ff;
}

/* Breadcrumb */
.ksp-breadcrumb { background: #eff7fc; border-bottom: 1px solid #e2eff7; }
.ksp-breadcrumb .ksp-shell {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #294969;
}
.ksp-breadcrumb a { color: #075a94; font-weight: 700; }
.ksp-breadcrumb a:hover { text-decoration: underline; }
.ksp-breadcrumb span[aria-hidden] { color: #6e92aa; font-size: 20px; }

/* Heading and introduction */
.ksp-content { padding: 68px 0 70px; background: #fff; }
.ksp-heading { text-align: center; margin-bottom: 37px; }
.ksp-heading-small {
  color: #6c91a9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .23em;
}
.ksp-heading h2 {
  color: #062b59;
  font-size: clamp(25px, 3.1vw, 36px);
  letter-spacing: .075em;
  line-height: 1.5;
  font-weight: 750;
  margin-top: 8px;
}
.ksp-heading-underline {
  display: block;
  width: 64px;
  height: 3px;
  background: #0785cb;
  margin: 18px auto 12px;
}
.ksp-heading-en {
  color: #087ec0;
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 12px;
}
.ksp-introduction {
  max-width: 1030px;
  margin: 0 auto 38px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .015em;
  color: #203c57;
}
.ksp-introduction p + p { margin-top: 17px; }

/* Five policy rows; intentionally neutral and credible, not decorative cards. */
.ksp-policies { display: flex; flex-direction: column; gap: 12px; }
.ksp-policy {
  display: grid;
  grid-template-columns: 78px minmax(205px, .85fr) minmax(0, 1.55fr);
  gap: 22px;
  align-items: center;
  padding: 23px 29px;
  min-height: 116px;
  background: linear-gradient(100deg, #edf7fc 0%, #e9f4fa 48%, #f1f8fc 100%);
  border: 1px solid #e2f0f7;
  border-radius: 12px;
}
.ksp-policy-icon { display: grid; place-items: center; }
.ksp-policy-icon svg {
  width: 46px;
  height: 46px;
  stroke: #0a4c82;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ksp-policy h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-left: 2px solid #0b76b8;
  padding-left: 22px;
  min-height: 55px;
  color: #083b70;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 750;
  line-height: 1.6;
  letter-spacing: .015em;
}
.ksp-policy h3 span {
  color: #126aab;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ksp-policy p {
  line-height: 1.8;
  font-size: 14px;
  color: #18334e;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

/* Company signature */
.ksp-signature {
  border-top: 1px solid #b7d7e9;
  padding-top: 23px;
  margin-top: 33px;
  text-align: right;
  color: #1a3a5c;
  font-size: 14px;
  line-height: 2.05;
}

/* Light blue sea-wave transition before existing theme footer. */
.ksp-related { position: relative; min-height: 138px; background: #e3f3fb; }
.ksp-wave {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
}
.ksp-related-inner {
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 24px 0 25px;
}
.ksp-related a {
  font-weight: 700;
  font-size: 14px;
  color: #093d71;
  transition: color .15s ease;
}
.ksp-related a:hover { color: #0482c5; text-decoration: underline; }
.ksp-related a span { margin-left: 8px; }
.ksp-related-divider { height: 24px; border-left: 1px solid #87bbda; }

@media (max-width: 980px) {
  .ksp-policy { grid-template-columns: 65px minmax(175px, .9fr) minmax(0, 1.5fr); gap: 15px; padding: 21px; }
  .ksp-policy h3 { padding-left: 15px; gap: 8px; }
  .ksp-policy h3 span { font-size: 20px; }
}
@media (max-width: 750px) {
  .ksp-shell { width: min(100% - 36px, 1120px); }
  .ksp-hero { margin-top: 72px; min-height: 215px; }
  .ksp-hero-inner { gap: 18px; padding-block: 40px; }
  .ksp-hero-line { height: 77px; }
  .ksp-hero h1 { font-size: 25px; letter-spacing: .035em; }
  .ksp-hero-en { font-size: 10px; letter-spacing: .12em; }
  .ksp-content { padding-top: 46px; padding-bottom: 58px; }
  .ksp-heading { margin-bottom: 30px; }
  .ksp-introduction { font-size: 14px; line-height: 1.9; }
  .ksp-policy { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; row-gap: 12px; padding: 20px; }
  .ksp-policy-icon svg { width: 39px; height: 39px; }
  .ksp-policy h3 { min-height: 48px; font-size: 17px; align-items: center; }
  .ksp-policy p { grid-column: 1 / -1; border-top: 1px solid #d7e9f3; padding-top: 10px; font-size: 13px; }
  .ksp-desktop-break { display: none; }
}
@media (max-width: 420px) {
  .ksp-shell { width: calc(100% - 28px); }
  .ksp-hero { margin-top: 66px; }
  .ksp-hero h1 { font-size: 22px; }
  .ksp-hero-inner { gap: 13px; }
  .ksp-hero-line { height: 68px; }
  .ksp-policy { padding: 17px 15px; }
  .ksp-policy h3 { font-size: 15px; padding-left: 12px; }
  .ksp-policy h3 span { font-size: 19px; }
  .ksp-related-inner { gap: 16px; }
  .ksp-related a { font-size: 12px; }
}
