/* Bangla web font, shipped with the site so Bangla looks and measures the same on every computer
   (Windows otherwise falls back to Nirmala UI / Vrinda, which are wider). Latin text is unaffected. */
@font-face {
  font-family: "PMESC Bangla";
  font-style: normal;
  font-weight: 100 450;
  font-display: swap;
  src: url("/portal-assets/fonts/noto-bengali/noto-sans-bengali-bengali-400-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}
@font-face {
  font-family: "PMESC Bangla";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/portal-assets/fonts/noto-bengali/noto-sans-bengali-bengali-600-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}
@font-face {
  font-family: "PMESC Bangla";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/portal-assets/fonts/noto-bengali/noto-sans-bengali-bengali-700-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}
:root {
  --font-sans: "PMESC Bangla", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-bangla: "PMESC Bangla", "Noto Sans Bengali", "Nirmala UI", var(--font-sans);
}
/* Stage 4.5 / 4.6: task-first header, new home page, content pages.
   Built on tokens.css + the vendored base (.wrap, .btn, .section, .eyebrow). */

:root {
  --v2-radius: 16px;
  --v2-radius-sm: 12px;
  --v2-shadow: 0 18px 44px -22px rgba(18, 59, 93, .45);
  --v2-shadow-sm: 0 6px 18px -10px rgba(18, 59, 93, .35);
  --v2-line: #e3e7ec;
  --v2-ink: #123b5d;
  --v2-muted: #4d6c86;
  --v2-soft: #f1f5f8;
}

/* ---------- Utility bar (above the header) ---------- */
.pm-util { background: #0c2a43; color: #c3ced4; font-size: .84rem; }
.pm-util-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.pm-util a { color: #e6edf2; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; padding: .45em .1em; }
.pm-util a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pm-util a:focus-visible { outline: 2px solid #45b5e6; outline-offset: 2px; border-radius: 4px; }
.pm-util a[aria-current="page"] { color: #fff; font-weight: 700; }
.pm-util-tasks, .pm-util-right { display: flex; align-items: center; gap: 1.25rem; }
.pm-util-tasks svg { color: #45b5e6; }
.pm-util-lang { display: inline-flex; align-items: center; gap: .15rem; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 2px; }
.pm-util-lang span, .pm-util-lang a { padding: .25em .75em !important; border-radius: 999px; }
.pm-util-lang span { background: #45b5e6; color: #0b2439; font-weight: 700; }
.pm-util-lang a:hover { text-decoration: none !important; background: rgba(255, 255, 255, .12); }
@media (max-width: 719px) {
  .pm-util-phone, .pm-util-news { display: none !important; }
  .pm-util-tasks { gap: .9rem; }
}

/* Menu: fits from 1200px now that the language switch and Login moved to the utility bar. */
@media (min-width: 1200px) {
  .desktop-nav[data-astro-cid-3ef6ksr2] { display: flex; }
  .mobile-nav[data-astro-cid-3ef6ksr2] { display: none; }
  .header-cta[data-astro-cid-3ef6ksr2] { padding: .65em 1.05em; }
}
.pm-dd-divider { border-top: 1px solid var(--v2-line); margin-top: .35rem; padding-top: .35rem; }
.pm-mobile-tasks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.pm-mobile-tasks a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--v2-soft); color: var(--v2-ink); font-weight: 700; text-decoration: none; }
.pm-mobile-tasks a:hover { background: #e3eef6; }

/* ---------- Shared pieces ---------- */
.pm-eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #2f5d8a; margin: 0 0 .6rem; }
.bn .pm-eyebrow { letter-spacing: .02em; text-transform: none; font-size: .9rem; }
.pm-section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.pm-section--soft { background: var(--v2-soft); }
.pm-section--navy { background: #123b5d; color: #fff; }
.pm-section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.pm-section-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.15; color: var(--v2-ink); margin: 0 0 .6rem; }
.pm-section--navy .pm-section-head h2 { color: #fff; }
.pm-section-head p { color: var(--v2-muted); font-size: 1.06rem; margin: 0; }
.pm-section--navy .pm-section-head p { color: #c3ced4; }
.pm-section--navy .pm-eyebrow { color: #7ccbee; }
.pm-link { font-weight: 700; color: #2f5d8a; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.pm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pm-link svg { transition: transform .15s; }
.pm-link:hover svg { transform: translateX(3px); }
.pm-ico { width: 48px; height: 48px; border-radius: 14px; background: #e6f1f8; color: #2f5d8a; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pm-ico svg { width: 24px; height: 24px; }
.pm-placeholder-note { font-size: .82rem; color: var(--v2-muted); font-style: italic; }

/* ---------- Home: hero ---------- */
.pm-hero { position: relative; color: #fff; background: #0c2a43; overflow: hidden; }
.pm-hero-media { position: absolute; inset: 0; }
.pm-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.pm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 32, 52, .94) 0%, rgba(10, 32, 52, .82) 38%, rgba(10, 32, 52, .25) 75%, rgba(10, 32, 52, .1) 100%); }
.pm-hero-inner { position: relative; z-index: 1; padding-block: clamp(4rem, 3rem + 5vw, 7.5rem) clamp(6.5rem, 5rem + 5vw, 9rem); max-width: 40rem; }
.pm-hero .pm-eyebrow { color: #7ccbee; }
.pm-hero h1 { font-size: clamp(2.3rem, 1.7rem + 2.8vw, 4rem); line-height: 1.05; margin: 0 0 1.1rem; color: #fff; letter-spacing: -.01em; }
.pm-hero-lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #dde7ee; margin: 0 0 1.8rem; max-width: 34rem; }
.pm-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.pm-hero-ctas .btn { min-height: 52px; }
.pm-btn-light { background: #fff; color: #123b5d; border-color: #fff; }
.pm-btn-light:hover { background: #e9f4fb; border-color: #e9f4fb; color: #123b5d; }
.pm-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.pm-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.pm-promises { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.pm-promises li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: #fff; font-size: .95rem; }
.pm-promises svg { color: #d5f2a3; flex: none; }
.bn .pm-hero h1 { line-height: 1.25; }
@media (max-width: 719px) {
  .pm-hero::after { background: linear-gradient(180deg, rgba(10, 32, 52, .75) 0%, rgba(10, 32, 52, .92) 60%); }
  .pm-hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Home: tool strip ---------- */
.pm-tools-wrap { position: relative; z-index: 2; margin-top: -4.5rem; }
.pm-tools { background: #fff; border-radius: var(--v2-radius); box-shadow: var(--v2-shadow); border: 1px solid var(--v2-line); overflow: hidden; }
.pm-tabs { display: flex; border-bottom: 1px solid var(--v2-line); background: #fafbfc; overflow-x: auto; }
.pm-tab { flex: 1 1 0; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: 1.05rem 1.25rem; border: 0; background: none; font: inherit; font-weight: 700; color: var(--v2-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.pm-tab svg { width: 20px; height: 20px; }
.pm-tab:hover { color: var(--v2-ink); background: #f3f7fa; }
.pm-tab[aria-selected="true"] { color: var(--v2-ink); border-bottom-color: #45b5e6; background: #fff; }
.pm-tab:focus-visible { outline: 3px solid #45b5e6; outline-offset: -3px; }
.pm-tabpanel { padding: 1.5rem 1.75rem 1.75rem; }
.pm-tabpanel[hidden] { display: none; }
.pm-tabpanel h2 { font-size: 1.15rem; color: var(--v2-ink); margin: 0 0 .3rem; }
.pm-tabpanel > p { color: var(--v2-muted); margin: 0 0 1.1rem; max-width: none; }
.pm-track-form { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: .75rem; align-items: end; }
.pm-field label { display: block; font-weight: 700; font-size: .9rem; color: var(--v2-ink); margin-bottom: .35rem; }
.pm-field input { width: 100%; height: 50px; padding: 0 .9rem; font: inherit; color: var(--v2-ink); border: 1.5px solid #a29278; border-radius: 10px; background: #fff; }
.pm-field input:focus { outline: none; border-color: #45b5e6; box-shadow: 0 0 0 3px rgba(69, 181, 230, .25); }
.pm-track-form .btn { height: 50px; }
.pm-service-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .65rem; }
.pm-pick { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; border: 1.5px solid var(--v2-line); border-radius: var(--v2-radius-sm); text-decoration: none; color: var(--v2-ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.pm-pick:hover { border-color: #45b5e6; box-shadow: var(--v2-shadow-sm); transform: translateY(-1px); }
.pm-pick:focus-visible { outline: 3px solid #45b5e6; outline-offset: 2px; }
.pm-pick strong { font-size: .98rem; }
.pm-pick small { color: var(--v2-muted); font-size: .84rem; line-height: 1.35; }
.pm-pick .pm-ico { width: 40px; height: 40px; border-radius: 12px; }
.pm-pick .pm-ico svg { width: 20px; height: 20px; }
.pm-account-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (max-width: 719px) {
  .pm-tools-wrap { margin-top: -3rem; }
  .pm-track-form { grid-template-columns: 1fr; }
  .pm-tab { flex: 1 0 auto; padding: .9rem .9rem; font-size: .9rem; }
  .pm-tab svg { display: none; }
  .pm-tabpanel { padding: 1.25rem; }
}

/* ---------- Home: segment chooser ---------- */
.pm-segments { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; }
.pm-segments .pm-eyebrow { display: block; text-align: center; }
.pm-segment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.pm-segment { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.75rem 1.6rem; background: #fff; border: 1.5px solid var(--v2-line); border-radius: var(--v2-radius); text-decoration: none; color: var(--v2-ink); box-shadow: 0 1px 2px rgba(18, 59, 93, .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.pm-segment:hover { border-color: #45b5e6; box-shadow: var(--v2-shadow-sm); transform: translateY(-2px); }
.pm-segment:focus-visible { outline: 3px solid #45b5e6; outline-offset: 2px; }
.pm-segment .pm-ico { width: 56px; height: 56px; border-radius: 16px; }
.pm-segment .pm-ico svg { width: 26px; height: 26px; }
.pm-segment strong { font-size: 1.2rem; color: var(--v2-ink); }
.pm-segment > span:not(.pm-ico) { color: var(--v2-muted); font-size: .95rem; line-height: 1.4; }
.pm-segment svg:last-child { margin-top: auto; color: #45b5e6; transition: transform .15s; }
.pm-segment:hover svg:last-child { transform: translateX(3px); }
@media (max-width: 799px) { .pm-segment-grid { grid-template-columns: 1fr; } }

/* ---------- Home: trust strip ---------- */
.pm-trust-strip { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.pm-trust-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.pm-trust-strip li { display: flex; align-items: flex-start; gap: .9rem; }
.pm-trust-strip .pm-ico { width: 44px; height: 44px; }
.pm-trust-strip li div { display: flex; flex-direction: column; gap: .2rem; }
.pm-trust-strip strong { color: var(--v2-ink); font-size: 1rem; }
.pm-trust-strip span { color: var(--v2-muted); font-size: .9rem; line-height: 1.4; }
@media (max-width: 799px) { .pm-trust-strip ul { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ---------- Home: services accordion with photo ---------- */
.pm-acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem; align-items: start; }
.pm-acc { border-top: 1px solid var(--v2-line); }
.pm-acc-item { border-bottom: 1px solid var(--v2-line); }
.pm-acc-btn { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.1rem .25rem; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; color: var(--v2-ink); }
.pm-acc-btn .pm-ico { width: 44px; height: 44px; }
.pm-acc-btn strong { flex: 1; font-size: 1.12rem; }
.pm-acc-btn .pm-acc-chev { transition: transform .2s; color: var(--v2-muted); }
.pm-acc-btn[aria-expanded="true"] .pm-acc-chev { transform: rotate(180deg); }
.pm-acc-btn[aria-expanded="true"] .pm-ico { background: #123b5d; color: #fff; }
.pm-acc-btn:focus-visible { outline: 3px solid #45b5e6; outline-offset: 2px; border-radius: 8px; }
.pm-acc-panel { padding: 0 .25rem 1.25rem 3.75rem; }
.pm-acc-panel[hidden] { display: none; }
.pm-acc-panel p { margin: 0 0 .75rem; color: #33526b; }
.pm-acc-tag { display: inline-block; font-size: .78rem; font-weight: 700; color: #123b5d; background: #d5f2a3; border-radius: 999px; padding: .2em .7em; margin-left: .4rem; vertical-align: middle; }
.pm-acc-media { position: sticky; top: 110px; border-radius: var(--v2-radius); overflow: hidden; aspect-ratio: 4 / 3.2; background: #dfe7ee; box-shadow: var(--v2-shadow); }
.pm-acc-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pm-acc-media img[hidden] { display: none; }
@media (max-width: 899px) {
  .pm-acc-grid { grid-template-columns: 1fr; }
  .pm-acc-media { display: none; }
  .pm-acc-panel { padding-left: .25rem; }
}

/* ---------- Home: who we serve ---------- */
.pm-personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.pm-persona { display: flex; flex-direction: column; background: #fff; border-radius: var(--v2-radius); overflow: hidden; border: 1px solid var(--v2-line); box-shadow: var(--v2-shadow-sm); }
.pm-persona-img { aspect-ratio: 16 / 8; overflow: hidden; }
.pm-persona-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-persona-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.pm-persona h3 { font-size: 1.3rem; color: var(--v2-ink); margin: 0 0 .5rem; }
.pm-persona p { color: var(--v2-muted); margin: 0 0 1rem; }
.pm-checks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.pm-checks li { display: flex; gap: .6rem; align-items: flex-start; color: #26465f; }
.pm-checks li svg { flex: none; margin-top: .2em; color: #318257; }
.pm-persona .pm-link { margin-top: auto; }
@media (max-width: 799px) { .pm-personas { grid-template-columns: 1fr; } }

/* ---------- Home: how it works (stepper) ---------- */
.pm-stepper-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; margin-bottom: 1.5rem; }
.pm-stepper-tabs::before { content: ""; position: absolute; left: 12%; right: 12%; top: 26px; height: 2px; background: rgba(255, 255, 255, .22); }
.pm-step-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; background: none; border: 0; color: #c3ced4; font: inherit; font-weight: 700; cursor: pointer; padding: 0 .5rem .5rem; text-align: center; }
.pm-step-num { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #1d4a70; border: 2px solid rgba(255, 255, 255, .25); color: #fff; font-size: 1.15rem; transition: background .2s, border-color .2s, transform .2s; }
.pm-step-tab:hover .pm-step-num { border-color: #7ccbee; }
.pm-step-tab[aria-selected="true"] { color: #fff; }
.pm-step-tab[aria-selected="true"] .pm-step-num { background: #45b5e6; border-color: #45b5e6; color: #0b2439; transform: scale(1.06); }
.pm-step-tab:focus-visible { outline: 3px solid #7ccbee; outline-offset: 4px; border-radius: 12px; }
.pm-step-panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--v2-radius); padding: 1.75rem 2rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.pm-step-panel[hidden] { display: none; }
.pm-step-panel h3 { color: #fff; font-size: 1.4rem; margin: 0 0 .6rem; }
.pm-step-panel p { color: #dde7ee; margin: 0 0 .75rem; }
.pm-step-panel ul { margin: 0; padding-left: 1.1rem; color: #dde7ee; }
.pm-step-panel li { margin: .3rem 0; }
.pm-step-aside { background: #fff; color: #123b5d; border-radius: var(--v2-radius-sm); padding: 1.1rem 1.25rem; box-shadow: var(--v2-shadow); }
.pm-step-aside strong { display: block; margin-bottom: .25rem; }
.pm-step-aside span { color: var(--v2-muted); font-size: .92rem; }
@media (max-width: 799px) {
  .pm-stepper-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pm-step-tab { font-size: .8rem; }
  .pm-step-num { width: 44px; height: 44px; }
  .pm-stepper-tabs::before { top: 22px; }
  .pm-step-panel { grid-template-columns: 1fr; padding: 1.25rem; }
}

/* ---------- Cards grid (differentiators, content cards) ---------- */
.pm-cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pm-card { position: relative; background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; box-shadow: 0 1px 2px rgba(18, 59, 93, .04); }
a.pm-card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.pm-card:hover { border-color: #45b5e6; box-shadow: var(--v2-shadow-sm); transform: translateY(-2px); }
a.pm-card:focus-visible { outline: 3px solid #45b5e6; outline-offset: 2px; }
.pm-card h3 { font-size: 1.08rem; color: var(--v2-ink); margin: 0; line-height: 1.3; }
.pm-card p { color: var(--v2-muted); margin: 0; font-size: .96rem; }
.pm-card-num { position: absolute; top: 1.1rem; right: 1.2rem; font-weight: 800; font-size: .85rem; color: #94a7b6; }
.pm-card-tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: #123b5d; background: #d5f2a3; border-radius: 999px; padding: .2em .7em; }
.pm-card-tag--muted { background: #e3e7ec; }
@media (max-width: 1023px) { .pm-cards, .pm-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pm-cards, .pm-cards--2, .pm-cards--4 { grid-template-columns: 1fr; } }

/* ---------- News cards on home ---------- */
.pm-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pm-news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.pm-news-card:hover { box-shadow: var(--v2-shadow-sm); transform: translateY(-2px); }
.pm-news-card:focus-visible { outline: 3px solid #45b5e6; outline-offset: 2px; }
.pm-news-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #123b5d, #2f5d8a); overflow: hidden; }
.pm-news-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-news-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.pm-news-meta { font-size: .8rem; font-weight: 700; color: #2f5d8a; text-transform: uppercase; letter-spacing: .08em; }
.bn .pm-news-meta { text-transform: none; letter-spacing: 0; }
.pm-news-card h3 { font-size: 1.08rem; color: var(--v2-ink); margin: 0; line-height: 1.35; }
.pm-news-card p { font-size: .93rem; color: var(--v2-muted); margin: 0; }
.pm-news-empty { background: #fff; border: 1px dashed #94a7b6; border-radius: var(--v2-radius); padding: 1.5rem; color: var(--v2-muted); }
@media (max-width: 899px) { .pm-news { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.pm-faq { display: grid; gap: .7rem; max-width: 52rem; }
.pm-faq details { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-sm); }
.pm-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; font-weight: 700; color: var(--v2-ink); font-size: 1.02rem; }
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #e6f1f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d8a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.pm-faq details[open] summary::after { transform: rotate(45deg); }
.pm-faq summary:focus-visible { outline: 3px solid #45b5e6; outline-offset: 2px; border-radius: var(--v2-radius-sm); }
.pm-faq-a { padding: 0 1.25rem 1.2rem; color: #33526b; }
.pm-faq-a p { margin: 0 0 .6rem; max-width: 46rem; }
.pm-faq-a p:last-child { margin: 0; }

/* ---------- Contact band / CTA ---------- */
.pm-cta-band { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; background: #123b5d; color: #fff; border-radius: 20px; padding: clamp(1.75rem, 1rem + 3vw, 3rem); position: relative; overflow: hidden; }
.pm-cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(69, 181, 230, .35), transparent 70%); }
.pm-cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin: 0 0 .5rem; }
.pm-cta-band p { color: #c3ced4; margin: 0 0 1.25rem; }
.pm-cta-band .pm-hero-ctas { position: relative; }
.pm-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; position: relative; }
.pm-contact-list li { display: flex; gap: .75rem; align-items: center; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: .8rem 1rem; }
.pm-contact-list svg { color: #7ccbee; flex: none; }
.pm-contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.pm-contact-list a:hover { text-decoration: underline; }
.pm-contact-list small { display: block; color: #c3ced4; font-size: .82rem; }
@media (max-width: 799px) { .pm-cta-band { grid-template-columns: 1fr; } }

/* ---------- Content pages ---------- */
.pm-page-hero { background: linear-gradient(180deg, #123b5d 0%, #174a73 100%); color: #fff; }
.pm-page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.pm-page-hero--noimg .pm-page-hero-inner { grid-template-columns: 1fr; max-width: 50rem; margin-inline: 0; }
.pm-crumbs { font-size: .85rem; margin: 0 0 1rem; color: #c3ced4; }
.pm-crumbs a { color: #e6edf2; }
.pm-crumbs a:hover { color: #fff; }
.pm-page-hero .pm-eyebrow { color: #7ccbee; }
.pm-page-hero h1 { color: #fff; font-size: clamp(2rem, 1.6rem + 1.8vw, 3.1rem); line-height: 1.1; margin: 0 0 .9rem; }
.bn .pm-page-hero h1 { line-height: 1.3; }
.pm-page-hero-lede { color: #dde7ee; font-size: 1.12rem; margin: 0 0 1.5rem; max-width: 40rem; }
.pm-page-hero-img { border-radius: var(--v2-radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.pm-page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .pm-page-hero-inner { grid-template-columns: 1fr; } .pm-page-hero-img { aspect-ratio: 16 / 9; } }

.pm-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.pm-toc { position: sticky; top: 110px; border-left: 2px solid var(--v2-line); padding-left: 1rem; }
.pm-toc p { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-muted); margin: 0 0 .6rem; }
.bn .pm-toc p { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.pm-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.pm-toc a { display: block; padding: .35rem 0; color: #2f5d8a; text-decoration: none; font-size: .93rem; font-weight: 600; }
.pm-toc a:hover { color: #123b5d; text-decoration: underline; }
@media (max-width: 999px) { .pm-layout { grid-template-columns: minmax(0, 1fr); } .pm-toc { position: static; } }

.pm-block { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); scroll-margin-top: 110px; }
.pm-block > h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); color: var(--v2-ink); margin: 0 0 .5rem; line-height: 1.2; }
.pm-block-lede { color: var(--v2-muted); font-size: 1.04rem; margin: 0 0 1.4rem; max-width: 46rem; }
.pm-prose p { color: #26465f; font-size: 1.04rem; line-height: 1.7; margin: 0 0 1rem; max-width: 46rem; }
.pm-bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; max-width: 50rem; }
.pm-bullets--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 2rem; }
.pm-bullets li { display: flex; gap: .65rem; align-items: flex-start; color: #26465f; line-height: 1.55; }
.pm-bullets li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: #45b5e6; }
@media (max-width: 719px) { .pm-bullets--cols { grid-template-columns: 1fr; } }

.pm-table-wrap { overflow-x: auto; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-sm); background: #fff; }
.pm-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.pm-table caption { text-align: left; padding: .9rem 1rem .4rem; font-weight: 700; color: var(--v2-ink); }
.pm-table th, .pm-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--v2-line); vertical-align: top; }
.pm-table thead th { background: #f5f8fa; color: var(--v2-ink); font-size: .85rem; }
.pm-table tbody th { color: var(--v2-ink); font-weight: 700; white-space: nowrap; }
.pm-table tbody tr:last-child > * { border-bottom: 0; }
.pm-table td { color: #26465f; }
.pm-table-note { font-size: .88rem; color: var(--v2-muted); margin: .75rem 0 0; max-width: 50rem; }

.pm-steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: pmstep; max-width: 50rem; }
.pm-steps-list li { position: relative; min-width: 0; padding: 1.1rem 1.25rem 1.1rem 4rem; background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-sm); counter-increment: pmstep; overflow-wrap: anywhere; }
.pm-steps-list li::before { content: counter(pmstep); position: absolute; left: 1.1rem; top: 1rem; width: 34px; height: 34px; border-radius: 50%; background: #123b5d; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pm-steps-list strong { display: block; color: var(--v2-ink); margin-bottom: .2rem; }
.pm-steps-list span { color: var(--v2-muted); }

.pm-callout { display: flex; gap: 1rem; align-items: flex-start; background: #eef7fc; border: 1px solid #cfe7f5; border-left: 5px solid #45b5e6; border-radius: var(--v2-radius-sm); padding: 1.1rem 1.25rem; max-width: 52rem; }
.pm-callout--note { background: #fbf8f2; border-color: #eadfcb; border-left-color: #a29278; }
.pm-callout svg { flex: none; color: #2f5d8a; margin-top: .15rem; }
.pm-callout strong { display: block; color: var(--v2-ink); margin-bottom: .2rem; }
.pm-callout p { margin: 0; color: #33526b; }

.pm-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.pm-split-img { border-radius: var(--v2-radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--v2-shadow-sm); }
.pm-split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .pm-split { grid-template-columns: 1fr; } }

/* ---------- Trust block + office card (About / Contact) ---------- */
.pm-trust { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; }
.pm-trust-facts { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); padding: 1.5rem 1.6rem; }
.pm-trust-facts h3, .pm-office h3 { margin: 0 0 1rem; color: var(--v2-ink); font-size: 1.2rem; }
.pm-dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .65rem 1.25rem; margin: 0; }
.pm-dl dt { font-weight: 700; color: var(--v2-ink); font-size: .92rem; }
.pm-dl dd { margin: 0; color: #26465f; }
.pm-office { background: #123b5d; color: #fff; border-radius: var(--v2-radius); overflow: hidden; display: flex; flex-direction: column; }
.pm-office-map { position: relative; aspect-ratio: 16 / 8; background: #0c2a43; display: block; overflow: hidden; }
.pm-office-map svg { width: 100%; height: 100%; display: block; }
.pm-office-body { padding: 1.4rem 1.6rem 1.6rem; }
.pm-office h3 { color: #fff; }
.pm-office p { color: #dde7ee; margin: 0 0 .5rem; }
.pm-office .btn { margin-top: .75rem; }
@media (max-width: 899px) { .pm-trust { grid-template-columns: 1fr; } .pm-dl { grid-template-columns: 1fr; gap: .15rem; } .pm-dl dd { margin-bottom: .6rem; } }

/* ---------- Service facts (service pages) ---------- */
.pm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.pm-fact { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); padding: 1.35rem 1.5rem; }
.pm-fact h3 { display: flex; align-items: center; gap: .65rem; font-size: 1.1rem; color: var(--v2-ink); margin: 0 0 .85rem; }
.pm-fact h3 .pm-ico { width: 38px; height: 38px; border-radius: 11px; }
.pm-fact h3 .pm-ico svg { width: 19px; height: 19px; }
.pm-fact .pm-bullets li { font-size: .97rem; }
@media (max-width: 799px) { .pm-facts { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .pm-pick, .pm-segment, a.pm-card, .pm-news-card, .pm-step-num, .pm-acc-chev, .pm-link svg { transition: none !important; }
}
.pm-form-msg { margin: .85rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: #fdecea; color: #8a1c14; font-weight: 600; max-width: none; }
.pm-callout-title { font-size: 1.02rem; color: var(--v2-ink); margin: 0 0 .25rem; }
.pm-table-wrap:focus-visible { outline: 3px solid #45b5e6; outline-offset: 2px; }
.pm-util a, .pm-util-lang span { white-space: nowrap; }
.pm-hero-inner { max-width: 46rem; }
@media (max-width: 479px) {
  .pm-util { font-size: .8rem; }
  .pm-util-tasks svg { display: none; }
  .pm-util-tasks { gap: .75rem; }
  .pm-util-lang span, .pm-util-lang a { padding: .2em .6em !important; }
}

/* Stage 4.3: "Get PMESC updates" */
.news-subscribe { display: grid; grid-template-columns: 1fr minmax(0, 1.1fr); gap: 1.5rem 2rem; align-items: center; margin: 0; padding: 1.75rem 2rem; border-radius: 16px; background: #123b5d; color: #fff; }
.news-subscribe > * { min-width: 0; }
.news-subscribe h2 { margin: 0 0 .35rem; color: #fff; font-size: 1.35rem; }
.news-subscribe p { margin: 0; color: #dfe9f2; }
.news-subscribe-row { display: flex; gap: .5rem; }
.news-subscribe-row input { flex: 1; min-width: 0; height: 48px; padding: 0 .9rem; border: 2px solid transparent; border-radius: 10px; font: inherit; color: #123b5d; background: #fff; }
.news-subscribe-row input:focus { outline: none; border-color: #45b5e6; box-shadow: 0 0 0 3px rgba(69, 181, 230, .35); }
.news-subscribe-row button { height: 48px; padding: 0 1.25rem; border: 0; border-radius: 10px; background: #45b5e6; color: #0b2439; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.news-subscribe-row button:hover { background: #7ccbee; }
.news-subscribe-row button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.news-subscribe-row button:disabled { opacity: .7; }
.news-subscribe-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news-subscribe-msg { min-height: 1.3em; margin: .5rem 0 0 !important; font-weight: 600; }
.news-subscribe-msg.is-ok { color: #b9f0cf !important; }
.news-subscribe-msg.is-err { color: #ffd5d0 !important; }
@media (max-width: 720px) {
  .news-subscribe { grid-template-columns: minmax(0, 1fr); padding: 1.4rem 1.25rem; }
  .news-subscribe-row { flex-direction: column; }
  .news-subscribe-row input { flex: none; }
}
.pm-footer-subscribe { padding-top: var(--space-6, 3rem); }
.pm-footer-subscribe .news-subscribe { background: #1b4d77; border: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 359px) {
  .pm-util-lang span { display: none; }
  .pm-util-lang { background: none; }
  .pm-util-tasks { gap: .6rem; }
  .pm-util-inner { gap: .5rem; }
}
/* Stage 4.11: keep the About photo a sensible shape (it used to stretch to the full text height). */
.about-art[data-astro-cid-fwdcsva6] { height: auto; max-height: 560px; align-self: start; }
.about-art[data-astro-cid-fwdcsva6] img { height: 100%; max-height: 560px; }

/* Header Login (owner, 25 Sep): outline button beside Sign up, from tablet width up.
   Phones keep Login in the menu panel. */
.header-actions > .header-login-btn { display: none; align-items: center; gap: .4em; }
.header-login-btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
@media (min-width: 768px) { .header-actions > .header-login-btn { display: inline-flex; } }
/* 1200–1359px: the full menu and three buttons only just fit, so the two icons go. */
@media (min-width: 1200px) and (max-width: 1359px) {
  .header-login-btn svg, .header-actions > .header-signup-btn svg { display: none; }
  .header-actions .header-cta[data-astro-cid-3ef6ksr2] { padding: .6em .9em; }
  .site-header .header-inner[data-astro-cid-3ef6ksr2] { padding-left: 2rem; padding-right: 2rem; }
}

/* Footer: room between the subscribe box and the link columns. */
.pm-footer-subscribe { padding-bottom: var(--space-6, 3rem); }

/* Home task tabs: no scrollbar showing (Windows drew one from the 1px tab underline). */
.pm-tabs { overflow-y: hidden; scrollbar-width: none; }
.pm-tabs::-webkit-scrollbar { display: none; }

/* Header fit (header-fit.js): tighter buttons first, then the menu button. */
.site-header.nav-tight .header-actions > a svg { display: none; }
.site-header.nav-tight .header-actions .header-cta[data-astro-cid-3ef6ksr2] { padding: .6em .85em; }
.site-header.nav-tight .desktop-nav a, .site-header.nav-tight .desktop-nav summary { padding-left: .45em; padding-right: .45em; }
.site-header.nav-collapsed .desktop-nav[data-astro-cid-3ef6ksr2] { display: none !important; }
.site-header.nav-collapsed .mobile-nav[data-astro-cid-3ef6ksr2] { display: block !important; }
.site-header.nav-collapsed .header-inner[data-astro-cid-3ef6ksr2] { justify-content: space-between; }

/* Home Track tab result (portal v2 R1: status summary here, full link by email). */
.pm-track-result { margin-top: 1.25rem; padding: 1.1rem 1.25rem; border: 1px solid var(--v2-line); border-radius: 12px; background: #f7fafc; }
.pm-track-head { margin: 0 0 .75rem; font-weight: 700; color: #123b5d; }
.pm-track-ref { display: inline-block; padding: .15em .6em; border-radius: 999px; background: #e6f0f7; color: #123b5d; font-size: .85em; font-variant-numeric: tabular-nums; }
.pm-track-result dl { display: grid; gap: .5rem; margin: 0 0 .75rem; }
.pm-track-result dl > div { display: grid; grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr); gap: .75rem; }
.pm-track-result dt { color: var(--v2-muted); font-size: .9rem; }
.pm-track-result dd { margin: 0; color: #123b5d; }
.pm-track-sent { margin: 0; color: #1f5f3a; font-weight: 600; }
@media (max-width: 480px) { .pm-track-result dl > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }
