/* Metrobank x BetterGov collaboration theme */
:root {
  --ink: #101828;
  --paper: #f7f8fc;
  --mint: #53d9ff;
  --green: #0757f8;
  --red: #e2231a;
  --violet: #8438e8;
  --line: #dce2ee;
  --muted: #667085;
  font-family: "Figtree", sans-serif;
}
h1, h2, h3, .brand, .risk, .score, .signal-strip p, .pattern-grid article > span, .icon, .email-block strong, .help-list b { font-family: "Figtree", sans-serif; }

.public-service-bar { height: 29px; background: #0757f8; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.site-header { height: 82px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); padding-inline: clamp(20px,4vw,68px); box-shadow: 0 1px 0 var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.language-picker { margin: 0 12px 0 0; }
.language-picker select { height: 36px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0 28px 0 10px; font: 700 11px "Figtree",sans-serif; cursor: pointer; }
.brand-mark { background: linear-gradient(145deg,#0757f8,#8438e8); color: #fff; }
nav { margin-left: auto; margin-right: auto; }
.header-cta { border: 0; color: #fff; background: #0757f8; padding: 11px 16px; border-radius: 3px; }
.header-cta:hover { background: #003fca; }
.hero { min-height: 710px; background: radial-gradient(circle at 16% 12%,rgba(132,56,232,.1),transparent 29%), radial-gradient(circle at 42% 76%,rgba(71,215,255,.13),transparent 27%), #f7f8fc; }
.hero h1 { font-size: clamp(50px,5.5vw,84px); }
h1 em { background: none; color: #0757f8; }
h1 em::after { display: none; }
.lede { color: #475467; }
.section-visual { margin: 0; overflow: hidden; }
.section-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual { grid-column: 1 / -1; aspect-ratio: 16 / 5; margin-top: -8px; border: 1px solid #dce2ee; }
.hero-visual img { object-position: 66% 34%; }
.checker { border: 0; border-top: 5px solid #0757f8; box-shadow: 14px 14px 0 rgba(7,87,248,.13), 0 18px 50px rgba(16,24,40,.1); }
.step { color: #0757f8; }
.status { background: #eef4ff; color: #0757f8; }
.status i { background: #12b76a; }
.form-foot button { background: #0757f8; border-radius: 3px; }
.form-foot button:hover { background: #8438e8; }
.signal-strip { background: linear-gradient(98deg,#003fae,#0757f8 52%,#6335d8); }
.signal-strip i { background: #fff; }
.eyebrow span { background: #e2231a; }
.safety-first { padding: 95px clamp(24px,8vw,120px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; background: linear-gradient(125deg,#082b78,#0757f8 57%,#7139d4); color: #fff; }
.safety-first h2 { font-size: clamp(38px,4vw,58px); line-height: 1.12; margin: 25px 0 20px; }
.safety-first p:last-child { color: #d7e4ff; max-width: 660px; font-size: 17px; line-height: 1.7; }
.safety-art { height: 280px; position: relative; display: grid; place-items: center; }
.safety-art::before { content: ""; position: absolute; width: 190px; height: 225px; border: 3px solid rgba(255,255,255,.8); border-radius: 95px 95px 65px 65px; clip-path: polygon(50% 0,100% 18%,91% 78%,50% 100%,9% 78%,0 18%); }
.safety-art span { position: absolute; padding: 12px 18px; background: #fff; color: #0757f8; font: 800 13px "Figtree",sans-serif; box-shadow: 7px 7px 0 rgba(83,217,255,.7); }
.safety-art span:nth-child(1) { transform: translate(-95px,-70px) rotate(-6deg); }
.safety-art span:nth-child(2) { transform: translate(100px,-8px) rotate(5deg); }
.safety-art span:nth-child(3) { transform: translate(-75px,80px) rotate(3deg); }
.icon { background: #eef4ff; color: #0757f8; }
.pattern-grid article:hover { background: #fff; box-shadow: inset 0 4px #0757f8; }
.forward { background: linear-gradient(110deg,#101828,#202b44); position: relative; }
.forward::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%,rgba(132,56,232,.3),transparent 28%); pointer-events: none; }
.forward > div { position: relative; }
.email-block button span { color: #72ddff; }
.forward-side { display: grid; gap: 16px; }
.forward-visual { aspect-ratio: 16 / 6; border: 1px solid rgba(255,255,255,.16); }
.forward-visual img { object-position: center 46%; }
.forward-feature { padding-top: 68px; padding-bottom: 68px; border-top: 1px solid rgba(255,255,255,.12); }
.forward-feature h2 { font-size: clamp(34px,3.4vw,50px); }
.forward-feature .email-block { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); padding: 32px; }
.forward-steps { display: flex; align-items: center; gap: 22px; margin-top: 30px; color: #dbe7ff; font-size: 12px; font-weight: 700; }
.forward-steps span { display: flex; align-items: center; gap: 8px; }
.forward-steps i { font-style: normal; }
.forward-steps b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #53d9ff; color: #101828; font-size: 10px; }
.patterns-visual { clear: both; aspect-ratio: 16 / 6; margin-top: 46px; }
.patterns-visual img { object-position: center 43%; }
.patterns-visual + .pattern-grid { margin-top: 0; }
.help { column-gap: 10vw; row-gap: 42px; }
.recovery-visual { grid-column: 1 / -1; aspect-ratio: 16 / 5; margin-top: 4px; }
.recovery-visual img { object-position: 46% center; }
.help-list b { color: #0757f8; }
footer { background: #0757f8; color: #fff; border-top: 0; }
footer .brand-mark { background: #fff; color: #0757f8; }
footer p, footer p:last-child { color: #dbe7ff; }
.footer-collaboration { display: flex; align-items: center; gap: 18px; margin-left: 18px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.25); }
.footer-collaboration small { color: #dbe7ff; font-size: 10px; line-height: 1.3; text-transform: uppercase; letter-spacing: .7px; max-width: 78px; }
.footer-partners { display: flex; align-items: center; gap: 13px; }
.footer-partners img:first-child { width: 128px; }
.footer-partners img:last-child { width: 108px; filter: invert(1) grayscale(1) brightness(3); }
.footer-partners span { color: #a9c4ff; }

@media (max-width: 1100px) {
  nav { display: none; }
}
@media (max-width: 720px) {
  .public-service-bar { font-size: 8px; }
  .site-header { height: auto; min-height: 76px; flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .hero { padding-top: 55px; }
  .hero-visual, .recovery-visual { aspect-ratio: 4 / 3; margin-top: 4px; }
  .safety-first { grid-template-columns: 1fr; padding: 70px 20px; }
  .forward-feature { padding: 58px 20px; }
  .forward-feature .email-block { padding: 24px; }
  .forward-steps { align-items: flex-start; flex-direction: column; gap: 12px; }
  .forward-visual, .patterns-visual { aspect-ratio: 4 / 3; }
  .patterns-visual { margin-top: 34px; }
  .safety-art { height: 225px; }
  .footer-collaboration { order: 2; margin: 8px 0; padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); width: 100%; }
  footer p { order: 3; }
}
@media (max-width: 420px) {
  .header-cta { font-size: 10px; }
  .footer-collaboration { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero h1 { font-size: 45px; }
  .safety-art { transform: scale(.86); margin: -10px; }
}

/* Shared responsive navigation and landing-to-learning CTA */
.header-menu { display: flex; align-items: center; flex: 1; min-width: 0; }
.header-actions { display: flex; align-items: center; }
.menu-toggle { display: none; }
.learn-more-cta { display: inline-flex; align-items: center; gap: 32px; margin-top: 8px; padding: 13px 0; border-bottom: 2px solid #0757f8; color: #0757f8; font-size: 13px; font-weight: 800; }
.learn-more-cta b { font-size: 19px; transition: transform .2s ease; }
.learn-more-cta:hover { color: #8438e8; border-color: #8438e8; }
.learn-more-cta:hover b { transform: translateX(4px); }

@media (max-width: 1100px) {
  .site-header { justify-content: space-between; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
  .menu-toggle:focus-visible { outline: 3px solid rgba(7,87,248,.25); outline-offset: 2px; }
  .menu-icon { width: 17px; display: grid; gap: 4px; }
  .menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .2s ease,opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .header-menu { display: none; position: absolute; z-index: 10; top: 100%; left: 0; right: 0; padding: 10px clamp(20px,4vw,68px) 20px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 34px rgba(16,24,40,.12); }
  .header-menu.is-open { display: block; }
  .header-menu nav { display: grid; gap: 0; margin: 0; }
  .header-menu nav a { padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .header-actions { justify-content: space-between; gap: 14px; padding-top: 18px; }
  .header-actions .language-picker { margin: 0; margin-bottom: 0; }
  .header-actions .header-cta { padding: 12px 16px; }
}

@media (max-width: 720px) {
  .site-header { height: 76px; min-height: 76px; flex-wrap: nowrap; padding-block: 12px; }
  .header-actions { display: grid; grid-template-columns: 1fr; }
  .header-actions .language-picker select, .header-actions .header-cta { width: 100%; }
  .header-actions .header-cta { display: flex; justify-content: center; }
}

@media (max-width: 420px) {
  .header-actions .header-cta { font-size: 10px; }
}
