/* ============================================================
   NWA home page - rebuilt 2026-10-21 from Nish's design mockup:
   hero, "How can we help you today?" (five service cards), trust
   strip and the "You are not alone" band. All rules are scoped under
   .nwa-landing so nothing leaks into the rest of the site.
   ============================================================ */

.nwa-landing {
  --blue: #003b86;
  --blue-dark: #00255e;
  --blue-bright: #0b5fd6;
  --green: #008a45;
  --green-dark: #006b38;
  --ink: #101828;
  --muted: #475467;
  --line: #dce6f1;
  --shadow: 0 6px 16px rgba(14, 44, 84, .08);

  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.nwa-landing img { max-width: 100%; display: block; }
.nwa-landing a { color: inherit; }
/* Same content column as every other public page (.nwa-public-shell in nwa-public-pages.css). */
.nwa-container { width: min(100% - 2rem, 1180px); margin-inline: auto; }

/* ---------------- Hero ---------------- */
.nwa-home-hero { position: relative; overflow: hidden; background: linear-gradient(110deg, #f1f7ff 0%, #f7fbff 45%, #eef8f2 100%); }
.nwa-home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; }
.nwa-home-hero__copy { padding: 36px 0 32px; }
.nwa-home-hero h1 { margin: 0 0 14px; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; color: var(--blue-dark); }
.nwa-home-hero h1 span { color: var(--green-dark); }
.nwa-home-hero p { max-width: 520px; margin: 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: #344054; }
/* Image with the large curved left edge from the mockup, inside the content column. */
.nwa-home-hero__image { position: relative; height: 330px; overflow: hidden; border-radius: 220px 12px 12px 12px / 330px 12px 12px 12px; }
.nwa-home-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* ---------------- How can we help you today? ---------------- */
.nwa-help { padding: 22px 0 18px; }
.nwa-help__title { margin: 0 0 16px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--blue-dark); text-align: left; }
.nwa-help__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }

.nwa-help-card { --tint: #eef5ff; --icon-bg: #dbe8fb; --icon: #0b5fd6; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 12px 12px; border: 1px solid rgba(0, 37, 94, .06); border-radius: 12px; background: var(--tint); }
.nwa-help-card--blue   { --tint: #f0f6ff; --icon-bg: #d9e7fb; --icon: #0b4fb3; }
.nwa-help-card--pink   { --tint: #fff1f4; --icon-bg: #fbd9e1; --icon: #be1846; }
.nwa-help-card--green  { --tint: #eef9f1; --icon-bg: #cfeedb; --icon: #0f7a3d; }
.nwa-help-card--purple { --tint: #f4f1ff; --icon-bg: #e2dcfb; --icon: #5b3fd1; }
.nwa-help-card--yellow { --tint: #fff8e8; --icon-bg: #fbe7b5; --icon: #7a4f00; }

.nwa-help-card__head { display: flex; align-items: center; gap: 12px; }
.nwa-help-card__icon { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--icon-bg); color: var(--icon); font-size: 22px; }
.nwa-help-card__svg { width: 28px; height: 28px; }
.nwa-help-card h3 { flex: 1 1 auto; margin: 0; font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--blue-dark); }
.nwa-help-card__chevron { flex: 0 0 auto; color: var(--blue-dark); font-size: 16px; }
.nwa-help-card > p { flex: 1 1 auto; margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* One solid primary button per card, centred, 44px target. */
.nwa-landing a.nwa-help-card__btn { align-self: center; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 150px; padding: 8px 20px; border-radius: 8px; background: var(--blue-bright); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.nwa-landing a.nwa-help-card__btn:hover { background: #0846a6; color: #fff; }
.nwa-landing a.nwa-help-card__btn:focus-visible { outline: 3px solid #00255e; outline-offset: 2px; }


/* ---------------- Trust strip ---------------- */
.nwa-trust { padding: 4px 0 20px; }
/* Top-aligned so every title starts on the same line even when one runs longer. */
.nwa-trust-row { background: #f5f9ff; border-radius: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px 8px; gap: 0; border: 1px solid #dbe7f6; }
.nwa-trust-item { align-items: flex-start; gap: 14px; padding: 2px 22px; border-right: 1px solid #d5e1ef; }
.nwa-trust-item:last-child { border-right: 0; }
.nwa-trust-item .rw-feature__icon { width: 56px; height: 56px; font-size: 26px; }
.nwa-trust-item .rw-feature__title { font-size: 16px; margin-top: 4px; }
.nwa-trust-item .rw-feature__text { font-size: 14px; }

/* ---------------- You are not alone ---------------- */
.nwa-closing { background: #e6f4ec; }
.nwa-closing__inner { display: flex; align-items: center; gap: 20px; padding: 16px 0; }
.nwa-closing__icon { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #c9ead6; color: var(--green-dark); font-size: 30px; }
.nwa-closing__copy { flex: 1 1 auto; min-width: 0; }
.nwa-closing__copy h2 { margin: 0 0 2px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.01em; color: var(--blue-dark); text-align: left; }
.nwa-closing__copy p { margin: 0; font-size: 16px; color: #344054; }
.nwa-closing__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.nwa-landing a.nwa-closing__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 26px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; }
.nwa-landing a.nwa-closing__btn--primary { background: var(--green-dark); color: #fff; border: 2px solid var(--green-dark); }
.nwa-landing a.nwa-closing__btn--primary:hover { background: #005429; color: #fff; }
.nwa-landing a.nwa-closing__btn--outline { background: #fff; color: var(--blue-dark); border: 2px solid var(--blue-dark); }
.nwa-landing a.nwa-closing__btn--outline:hover { background: #eef5ff; }
.nwa-landing a.nwa-closing__btn:focus-visible { outline: 3px solid #0b5fd6; outline-offset: 2px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .nwa-help__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nwa-trust-row { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .nwa-trust-item:nth-child(2) { border-right: 0; }
}
@media (max-width: 960px) {
  /* Same 1rem side gutters as .nwa-public-shell at every width. */
  .nwa-home-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .nwa-home-hero__copy { padding: 24px 0 18px; }
  .nwa-home-hero__image { height: 220px; border-radius: 110px 12px 12px 12px / 220px 12px 12px 12px; }
  .nwa-help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nwa-closing__inner { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .nwa-help__grid, .nwa-trust-row { grid-template-columns: 1fr; }
  .nwa-help-card > p { margin-left: 0; }
  .nwa-trust-row { row-gap: 0; padding: 6px 8px; }
  .nwa-trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 8px; }
  .nwa-trust-item:last-child { border-bottom: 0; }
  .nwa-closing__icon { display: none; }
  .nwa-closing__actions, .nwa-landing a.nwa-closing__btn { width: 100%; }
}

/* ==========================================================================
   "Report My Activities" fly-in (WorkTrack360).

   Only rendered when WorkTrack360 shares a registrable domain with the current
   host -- see the same-site check in LandingPage.cshtml. Cross-site, its
   SameSite-less session cookies are withheld inside an iframe and sign-in can
   never complete, so those environments get a new tab instead.

   The panel is a sibling of .nwa-landing, not a descendant, so it cannot read
   the custom properties declared on .nwa-landing -- the palette values below
   are the same literals that block defines (--blue-dark, --line, --muted).

   The body is a non-scrolling flex track and the iframe fills it, so the
   embedded application scrolls itself rather than the panel scrolling around a
   fixed-height frame.
   ========================================================================== */

/* Full viewport. WorkTrack360 is a full application, not a summary panel - at the previous
   min(1100px, 92vw) its own header, navigation and modals were squeezed into a narrow column.
   100dvh rather than 100vh so mobile browser chrome does not push the bottom of the frame off
   screen; vh is kept first as a fallback for engines without dvh. */
.nwa-worktrack-flyin {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

/* The header keeps its natural height; the body takes everything left over. Stated explicitly
   so the iframe's height resolves against a definite box rather than an auto one. */
.nwa-worktrack-flyin__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #dce6f1;
}

.nwa-worktrack-flyin .offcanvas-title {
    font-size: 20px;
    font-weight: 700;
    color: #00255e;
    margin: 0;
}

.nwa-worktrack-flyin__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nwa-worktrack-flyin__actions a,
.nwa-worktrack-flyin__actions a:link,
.nwa-worktrack-flyin__actions a:visited,
.nwa-worktrack-flyin__actions a:hover,
.nwa-worktrack-flyin__actions a:focus,
.nwa-worktrack-flyin__actions a:active {
    color: #00255e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dce6f1;
    border-radius: 6px;
    padding: 6px 12px;
    white-space: nowrap;
}

.nwa-worktrack-flyin__body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

/* flex:1 1 auto rather than relying on height:100% alone - a percentage height against a flex
   item whose own height is computed can collapse. align-self:stretch covers the cross axis. */
.nwa-worktrack-flyin__body iframe {
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: #fff;
}

.nwa-worktrack-flyin__status {
    padding: 16px;
    color: #475467;
}


/* Landing page scrollbar: css/landingpage/main.min.css paints the page scrollbar purple and blue (::-webkit-scrollbar). Keep one neutral scrollbar; the scrollbar-color covers current browsers, the higher-specificity rules cover the ones that still read the pseudo rules. */
html { scrollbar-color: #8f98a6 #eef1f5; }
html body::-webkit-scrollbar { width: 12px; height: 12px; background: #eef1f5; }
html ::-webkit-scrollbar-button { background: #eef1f5; }
html ::-webkit-scrollbar-track-piece { background: #eef1f5; }
html ::-webkit-scrollbar-thumb { background: #8f98a6; border-radius: 6px; }
