:root {
  color-scheme: light;
  --tl-navy: #02045f;
  --tl-blue: #07138d;
  --tl-blue-dark: #020443;
  --tl-slate: #4f5664;
  --tl-silver: #7a7d80;
  --tl-silver-soft: #eef0f4;
  --wwis-navy: #123452;
  --surface: #ffffff;
  --page: #f5f6fa;
  --border: #dfe3ec;
  --text: #111827;
  --muted: #465466;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(7, 19, 141, .08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--page) 58%, #eef1f7 100%);
  color: var(--text);
}

.siteHeader {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(2, 4, 95, .06);
}

.headerInner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wwisLink,
.partnerBrand {
  display: flex;
  align-items: center;
}

.wwisLogo {
  display: block;
  height: 66px;
  width: auto;
  object-fit: contain;
}

.partnerBrand {
  gap: 12px;
  color: var(--tl-slate);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  white-space: nowrap;
}

.partnerLogo {
  display: block;
  height: 54px;
  width: auto;
  max-width: 310px;
  object-fit: contain;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px;
}

.card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 5px solid var(--tl-blue);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(2, 4, 95, .10), 0 2px 8px rgba(0, 0, 0, .04);
}

.card::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -120px;
  width: 360px;
  height: 220px;
  border: 18px solid rgba(122, 125, 128, .14);
  border-top-color: rgba(7, 19, 141, .16);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--tl-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  color: var(--tl-navy);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: .98;
  letter-spacing: -.02em;
}

p {
  position: relative;
  margin: 12px 0;
  max-width: 760px;
  line-height: 1.58;
  color: var(--muted);
}

strong { color: var(--tl-blue-dark); }

ul {
  margin: 10px 0 0 20px;
  color: var(--muted);
}

.notice {
  position: relative;
  margin-top: 18px;
  max-width: 790px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f5f6ff;
  border: 1px solid #d7dcfb;
  border-left: 5px solid var(--tl-blue);
  font-size: 14px;
  color: #30384c;
}

.notice a,
.small a {
  color: var(--tl-blue);
  font-weight: 600;
  text-decoration-color: rgba(7, 19, 141, .25);
  text-underline-offset: 3px;
}

.consent {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.consent input {
  margin-top: 3px;
  transform: scale(1.15);
}

.actions {
  position: relative;
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

button:hover { transform: translateY(-1px); }
button:active { transform: translateY(0); }

.primary {
  background: linear-gradient(180deg, var(--tl-blue) 0%, var(--tl-blue-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(7, 19, 141, .23);
}

.primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
}

.secondary {
  background: #ffffff;
  border: 1px solid #c9cfdb;
  color: var(--tl-blue-dark);
}

.small {
  position: relative;
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
}

a { color: inherit; }
.hidden { display: none !important; }

/* iframe view */
.iframeShell {
  margin-top: 18px;
  width: 100%;
}

.banner {
  background: linear-gradient(90deg, var(--tl-blue-dark) 0%, var(--tl-blue) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.banner strong {
  font-weight: 750;
  color: #ffffff;
}

.banner a {
  color: #fff;
  opacity: .9;
}

iframe {
  width: 100%;
  height: min(78vh, 920px);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 12px;
  background: #fff;
}

@media (max-width: 860px) {
  .headerInner {
    align-items: flex-start;
    flex-direction: column;
  }

  .partnerBrand {
    align-self: stretch;
    justify-content: space-between;
    border-radius: 16px;
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .headerInner {
    padding: 14px 16px;
  }

  .wwisLogo {
    height: 56px;
  }

  .partnerBrand {
    gap: 10px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .partnerLogo {
    height: 42px;
    max-width: 230px;
  }

  .wrap {
    padding: 20px 16px;
  }

  .card {
    padding: 22px;
  }

  .actions a,
  .actions button {
    width: 100%;
  }
}
