@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700&display=swap');

:root {
  --pl-black: #111111;
  --pl-white: #ffffff;
  --pl-focus: rgba(39, 93, 197, 1);
  --pl-shell: 1240px;
}

body.page-template-page-portal-log-in,
body.page-template-page-contact-html {
  background: #101316 !important;
  color: var(--pl-white) !important;
  font-family: Helvetica, Arial, sans-serif;
  --wp--style--root--padding-right: 0px !important;
  --wp--style--root--padding-left: 0px !important;
  --wp--style--root--padding-top: 0px !important;
  --wp--style--root--padding-bottom: 0px !important;
}

body.page-template-page-portal-log-in .wp-site-blocks,
body.page-template-page-contact-html .wp-site-blocks {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-template-page-portal-log-in .wp-site-blocks,
body.page-template-page-portal-log-in .wp-site-blocks > *,
body.page-template-page-contact-html .wp-site-blocks,
body.page-template-page-contact-html .wp-site-blocks > * {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-page-portal-log-in > .wp-site-blocks > header,
body.page-template-page-portal-log-in > .wp-site-blocks > footer,
body.page-template-page-contact-html > .wp-site-blocks > header,
body.page-template-page-contact-html > .wp-site-blocks > footer {
  display: none !important;
}
.fmr-portal-page,
.fmr-portal-page * { box-sizing: border-box; }
.fmr-portal-page img { display: block; width: 100%; }
.fmr-portal-page a { color: inherit; }
.fmr-portal-page a:focus-visible,
.fmr-portal-page button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--pl-focus); }
.pl-shell { width: min(calc(100% - 48px), var(--pl-shell)); margin: 0 auto; }
.pl-kicker,
.pl-card__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pl-kicker { color: rgba(255,255,255,0.7); }
.pl-display,
.pl-title,
.pl-card h2 {
  margin: 0;
  font-family: 'League Spartan', Helvetica, Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}
.pl-display {
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.pl-title { font-size: clamp(32px, 4vw, 52px); line-height: 0.98; }
.pl-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 110;
  padding: 0 24px;
}
.pl-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 60px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  box-shadow: 0 12px 30px rgba(17,17,17,0.12), inset 0 1px 0 rgba(255,255,255,0.32);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.pl-header.is-scrolled .pl-header__inner {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.34);
}
.pl-header__logo {
  width: auto;
  height: 34px;
  max-width: 308px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.pl-header__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.pl-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pl-nav-item--has-dropdown {
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.pl-nav-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  min-width: 300px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.16);
  box-shadow: 0 12px 30px rgba(17,17,17,0.12), inset 0 1px 0 rgba(255,255,255,0.22);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.pl-nav-item--has-dropdown:hover .pl-nav-dropdown,
.pl-nav-item--has-dropdown:focus-within .pl-nav-dropdown,
.pl-nav-item--has-dropdown.is-open .pl-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.pl-header__nav > a,
.pl-nav-item > a {
  color: var(--pl-white);
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0,0,0,0.22);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}

.pl-header__nav > a:hover,
.pl-nav-item > a:hover { color: rgba(255,255,255,0.72); }

.pl-header__nav > a[aria-current="page"],
.pl-nav-item > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.pl-nav-dropdown a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--pl-white);
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0,0,0,0.22);
  background: transparent;
  border: 0;
}

.pl-nav-dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--pl-white);
}
.pl-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
}
.pl-header__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--pl-white);
}
.pl-header__toggle span:nth-child(1){ top:14px; }
.pl-header__toggle span:nth-child(2){ top:21px; }
.pl-header__toggle span:nth-child(3){ top:28px; }
.pl-hero {
  position: relative;
  min-height: calc(100vh + 36px);
  margin-top: -36px;
  padding-top: 36px;
  background: var(--pl-black);
}
.pl-hero__media,
.pl-hero__shade {
  position: absolute;
  inset: 0;
}
.pl-hero__image {
  height: 100%;
  object-fit: cover;
}
.pl-hero__shade {
  background: linear-gradient(180deg, rgba(10,12,16,0.14) 0%, rgba(10,12,16,0.48) 45%, rgba(10,12,16,0.94) 100%), linear-gradient(90deg, rgba(10,12,16,0.8) 0%, rgba(10,12,16,0.46) 38%, rgba(10,12,16,0.82) 100%);
}
.pl-hero__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  align-items: center;
  gap: 40px;
  padding-top: 96px;
  padding-bottom: 64px;
}
.pl-lead,
.pl-card p,
.pl-help__contact a {
  font-size: 18px;
  line-height: 1.7;
}
.pl-lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255,255,255,0.84);
}
.pl-cards {
  display: grid;
  gap: 16px;
}
.pl-card {
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(10,12,16,0.24), inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.pl-card__eyebrow { color: rgba(255,255,255,0.66); }
.pl-card h2 {
  font-size: clamp(28px, 3vw, 34px);
  line-height: 0.98;
}
.pl-card p {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.78);
}
.pl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pl-pill--light {
  background: rgba(255,255,255,0.16);
  color: var(--pl-white);
  border: 1px solid rgba(255,255,255,0.2);
}
.pl-pill--light:hover {
  background: rgba(255,255,255,0.22);
}
.pl-help {
  background: #12161d;
  padding: 56px 0 72px;
}
.pl-help__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.pl-help__contact {
  display: grid;
  gap: 10px;
}
.pl-help__contact a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}
.pl-help__contact a:hover {
  color: var(--pl-white);
}
@media (max-width: 960px) {
  .pl-header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .pl-header__nav {
    display: none;
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(20,20,20,0.82);
    border: 1px solid rgba(255,255,255,0.2);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
  }
  .pl-header__nav.is-open { display: flex; }
  .pl-header__toggle { display: block; }
  .pl-nav-item { width: 100%; flex-direction: column; align-items: flex-start; }
  .pl-nav-item--has-dropdown { padding-bottom: 0; margin-bottom: 0; }
  .pl-nav-item--has-dropdown > a { width: 100%; }
  .pl-nav-dropdown { position: static; top: auto; left: auto; min-width: 0; width: 100%; margin-top: 10px; padding: 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.16); box-shadow: 0 12px 30px rgba(17,17,17,0.12), inset 0 1px 0 rgba(255,255,255,0.18); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); opacity: 1; visibility: visible; pointer-events: auto; transform: none; display: none; }
  .pl-nav-item--has-dropdown.is-open .pl-nav-dropdown { display: block; }
  .pl-nav-dropdown a { min-height: 44px; padding: 0 18px; border-radius: 999px; }
  .pl-nav-item { width: 100%; flex-direction: column; align-items: flex-start; }
  .pl-nav-item--has-dropdown { padding-bottom: 0; margin-bottom: 0; }
  .pl-nav-item--has-dropdown > a { width: 100%; }
  .pl-nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.16);
    box-shadow: 0 12px 30px rgba(17,17,17,0.12), inset 0 1px 0 rgba(255,255,255,0.18);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  .pl-nav-item--has-dropdown.is-open .pl-nav-dropdown { display: block; }
  .pl-nav-dropdown a { min-height: 44px; padding: 0 18px; border-radius: 999px; }
  .pl-hero__content,
  .pl-help__inner { grid-template-columns: 1fr; display: grid; align-items: start; }
}
@media (max-width: 640px) {
  .pl-shell { width: min(calc(100% - 32px), var(--pl-shell)); }
  .pl-display { font-size: 52px; }
  .pl-lead,
  .pl-card p,
  .pl-help__contact a { font-size: 16px; }
  .pl-card { padding: 22px; border-radius: 24px; }
  .pl-pill { width: 100%; }
}

.fmr-portal-page { color: var(--pl-white); }
.fmr-portal-page h1,
.fmr-portal-page h2,
.fmr-portal-page h3,
.fmr-portal-page p,
.fmr-portal-page li,
.fmr-portal-page strong,
.fmr-portal-page span { color: inherit; }

.pl-help { color: var(--pl-white); }
.pl-help .pl-title,
.pl-card h2,
.pl-display,
.pl-footer,
.pl-footer p,
.pl-footer a { color: var(--pl-white); }
.pl-footer {
  background: #0e1218;
  padding: 40px 0;
}
.pl-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.pl-footer__logo {
  width: auto;
  height: 28px;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.pl-footer__brand p,
.pl-footer__contact p,
.pl-footer__contact a,
.pl-footer__nav a {
  color: rgba(255,255,255,0.76);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.7;
}
.pl-footer__nav,
.pl-footer__contact {
  display: grid;
  gap: 8px;
}
.pl-footer__nav a:hover,
.pl-footer__contact a:hover { color: var(--pl-white); }
@media (max-width: 960px) {
  .pl-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

.pl-contact-form { background:#f4f1ec; color:#111; padding:78px 0; }
.pl-contact-form__grid { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:40px; align-items:start; }
.pl-contact-form__intro { position:sticky; top:112px; }
.pl-contact-form .pl-kicker { color:rgba(17,17,17,.58); }
.pl-contact-form .pl-title { color:#111; }
.pl-contact-form__intro p:not(.pl-kicker) { max-width:480px; margin:18px 0 0; color:rgba(17,17,17,.66); font-size:17px; line-height:1.75; }
.pl-form { display:grid; gap:14px; padding:28px; border:1px solid rgba(17,17,17,.12); border-radius:32px; background:rgba(255,255,255,.78); box-shadow:0 24px 60px rgba(17,17,17,.10); }
.pl-form__row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pl-form label { display:grid; gap:8px; color:rgba(17,17,17,.58); font-size:12px; line-height:1.4; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.pl-form input,
.pl-form textarea { width:100%; min-height:52px; padding:14px 16px; border:1px solid rgba(17,17,17,.16); border-radius:16px; background:#fff; color:#111; font:16px/1.5 Helvetica, Arial, sans-serif; letter-spacing:0; text-transform:none; }
.pl-form textarea { resize:vertical; min-height:150px; }
.pl-form input:focus,
.pl-form textarea:focus { outline:none; border-color:#111; box-shadow:0 0 0 2px rgba(17,17,17,.08); }
.pl-form .pl-pill { width:max-content; border:0; background:#111; color:#fff; cursor:pointer; }
.pl-form .pl-pill:hover { background:#000; }
@media (max-width:960px){ .pl-contact-form__grid { grid-template-columns:1fr; } .pl-contact-form__intro { position:static; } }
@media (max-width:640px){ .pl-contact-form { padding:56px 0; } .pl-form { padding:22px; border-radius:24px; } .pl-form__row { grid-template-columns:1fr; } .pl-form .pl-pill { width:100%; } }
.pl-card h2 { overflow-wrap: anywhere; }
