/*
 * EDUK8U — Executive Master of HRM + BSB80320 Graduate Diploma landing page
 * Scoped stylesheet. Every rule is namespaced under .emhrm-lp so nothing here
 * can reach the Zilom theme header, footer, or any Elementor-built page.
 * Source design: executive-master-hrm-strategic-leadership.html (2 Aug 2026).
 * Version: 1.0.0
 */

/* ---------------------------------------------------------------
 * Tokens
 * Declared on the wrapper, not :root, so they stay inside the page.
 * ------------------------------------------------------------- */
.emhrm-lp {
  --navy-900: #041F4A;
  --navy-800: #052A65;
  --navy-700: #1F345F;
  --navy-600: #2C4373;
  --orange-600: #C64A20;
  --orange-500: #DD5426;
  --orange-400: #E5622A;
  --orange-50: #FBEDE7;
  --n0: #FFFFFF;
  --n50: #FAF7F2;
  --n100: #F1EEE8;
  --n300: #D8D4CC;
  --n500: #6E7480;
  --n700: #3A4150;
  --inv: #B8C2D9;
  --inv-dim: #8FA0C4;
  --ok: #1E7F4F;
  --err: #C22C2C;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --sh-card: 0 2px 12px rgba(4, 31, 74, .08);
  --sh-raised: 0 8px 32px rgba(4, 31, 74, .14);
  --sh-sticky: 0 -2px 12px rgba(4, 31, 74, .16);
  --max: 1200px;

  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--n700);
  background: var(--n0);
}

.emhrm-lp *,
.emhrm-lp *::before,
.emhrm-lp *::after { margin: 0; padding: 0; box-sizing: border-box; }

.emhrm-lp h1,
.emhrm-lp h2 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy-800); line-height: 1.12; }
.emhrm-lp h1 { font-size: clamp(32px, 3.9vw, 52px); }
.emhrm-lp h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.emhrm-lp h3 { font-size: clamp(20px, 1.8vw, 24px); color: var(--navy-800); line-height: 1.3; font-family: 'DM Sans', system-ui, sans-serif; }
.emhrm-lp h4 { font-size: 18px; color: var(--navy-800); line-height: 1.35; font-family: 'DM Sans', system-ui, sans-serif; }
.emhrm-lp p { max-width: 70ch; }
.emhrm-lp a { color: var(--orange-600); }
.emhrm-lp a:focus-visible,
.emhrm-lp button:focus-visible,
.emhrm-lp input:focus-visible,
.emhrm-lp select:focus-visible { outline: 2px solid var(--orange-400); outline-offset: 2px; }

.emhrm-lp .skip-link { position: absolute; left: -9999px; top: 0; background: var(--orange-500); color: #fff; padding: 12px 20px; z-index: 200; }
.emhrm-lp .skip-link:focus { left: 0; }

.emhrm-lp .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.emhrm-lp section { padding: 96px 0; }
.emhrm-lp .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-500); }
.emhrm-lp .dark .eyebrow { color: var(--orange-400); }
.emhrm-lp .center { text-align: center; }
.emhrm-lp .center p { margin-left: auto; margin-right: auto; }
.emhrm-lp .stack > * + * { margin-top: 22px; }
.emhrm-lp .dark { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: var(--inv); }
.emhrm-lp .dark h2,
.emhrm-lp .dark h3,
.emhrm-lp .dark h4 { color: #fff; }

/* ---------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------- */
.emhrm-lp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px 'DM Sans', sans-serif;
  border-radius: var(--r-sm); padding: 16px 28px; min-height: 52px;
  cursor: pointer; text-decoration: none; border: 0;
  transition: background .15s, transform .15s;
}
.emhrm-lp .btn-primary { background: var(--orange-500); color: #fff; }
.emhrm-lp .btn-primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.emhrm-lp .btn-secondary { background: transparent; color: var(--navy-800); border: 1.5px solid var(--navy-800); }
.emhrm-lp .btn-secondary:hover { background: rgba(5, 42, 101, .08); }
.emhrm-lp .on-dark.btn-secondary { color: #fff; border-color: #fff; }
.emhrm-lp .dark .btn-secondary:hover { background: rgba(255, 255, 255, .12); }
.emhrm-lp .btn-wa { background: none; border: 0; color: inherit; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.emhrm-lp .btn-wa:hover { text-decoration: underline; color: var(--orange-600); }
.emhrm-lp .dark .btn-wa:hover { color: #fff; }
.emhrm-lp .wa-dot { width: 18px; height: 18px; border-radius: 50%; background: #25D366; flex: none; }

/* ---------------------------------------------------------------
 * Intake bar + in-page section nav
 * The mockup's own site header/nav/drawer are intentionally NOT ported:
 * the Zilom theme header supplies site navigation. What remains is the
 * page-level announcement bar and an anchor strip for this page's sections.
 * ------------------------------------------------------------- */
.emhrm-lp .intake { background: var(--orange-500); color: #fff; text-align: center; font-size: 13px; font-weight: 500; padding: 9px 16px; }
.emhrm-lp .intake b { font-weight: 700; }
.emhrm-lp .intake a { color: #fff; font-weight: 700; }

.emhrm-lp .subnav { background: var(--navy-900); border-bottom: 1px solid var(--navy-600); }
.emhrm-lp .subnav-inner { display: flex; align-items: center; gap: 24px; max-width: 1360px; margin: 0 auto; padding: 0 24px; min-height: 60px; }
.emhrm-lp .subnav ul { display: flex; gap: 24px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.emhrm-lp .subnav ul::-webkit-scrollbar { display: none; }
.emhrm-lp .subnav a { color: var(--inv); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; padding: 8px 0; }
.emhrm-lp .subnav a:hover { color: var(--orange-400); }
.emhrm-lp .subnav .btn { margin-left: auto; padding: 12px 22px; min-height: 44px; font-size: 14px; flex: none; }

/* ---------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------- */
.emhrm-lp .hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--inv); padding: 80px 0; }
.emhrm-lp .hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.emhrm-lp .hero h1 { color: #fff; margin: 16px 0 20px; }
.emhrm-lp .hero h1 em { font-style: italic; color: var(--orange-400); }
.emhrm-lp .hero .eyebrow { color: var(--orange-400); }
.emhrm-lp .hero .sub { font-size: 18px; line-height: 1.55; color: var(--inv); }
.emhrm-lp .hero .sub strong { color: #fff; }
.emhrm-lp .hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 28px 0 12px; }
.emhrm-lp .hero-note { font-size: 14px; color: var(--inv-dim); margin-top: 16px; }
.emhrm-lp .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; max-width: 640px; }
.emhrm-lp .stat b { display: block; font-size: 34px; font-family: 'Playfair Display', serif; color: var(--orange-400); line-height: 1; }
.emhrm-lp .stat span { font-size: 12px; color: var(--inv); }
.emhrm-lp .cred-stack { display: flex; flex-direction: column; gap: 16px; }
.emhrm-lp .cred { background: var(--navy-700); border: 1px solid var(--navy-600); border-radius: 16px; padding: 24px 28px; }
.emhrm-lp .cred .flag { display: inline-block; background: var(--orange-50); color: var(--orange-600); font-size: 10px; font-weight: 700; letter-spacing: .08em; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.emhrm-lp .cred h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.emhrm-lp .cred p { font-size: 13px; color: var(--inv); line-height: 1.5; }

/* ---------------------------------------------------------------
 * Trust strip
 * ------------------------------------------------------------- */
.emhrm-lp .trust { background: var(--n50); padding: 24px 0; }
.emhrm-lp .trust ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; justify-content: center; }
.emhrm-lp .trust li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--n300); border-radius: 999px; padding: 10px 18px 10px 16px; font-size: 13px; font-weight: 500; color: var(--n700); }
.emhrm-lp .trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); flex: none; }

/* ---------------------------------------------------------------
 * Four forces
 * ------------------------------------------------------------- */
.emhrm-lp .forces { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.emhrm-lp .force { background: #fff; border: 1px solid var(--n300); border-radius: 16px; padding: 32px; box-shadow: var(--sh-card); text-align: left; }
.emhrm-lp .force .num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--orange-500); font-weight: 700; }
.emhrm-lp .force h3 { margin: 10px 0 10px; font-size: 20px; }
.emhrm-lp .force p { font-size: 14px; }
.emhrm-lp .force .tag { display: inline-block; margin-top: 14px; background: var(--orange-50); color: var(--orange-600); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 12px; }

/* ---------------------------------------------------------------
 * Dual credential cards
 * ------------------------------------------------------------- */
/* align-items: stretch (the grid default) plus a flex column inside each card
   makes both cards match the taller one, and pushes both card bodies to a
   common bottom edge regardless of how much copy each carries. */
.emhrm-lp .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 40px auto 0; align-items: stretch; }
.emhrm-lp .qual-card { border-radius: 16px; overflow: hidden; text-align: left; box-shadow: var(--sh-card); display: flex; flex-direction: column; }
.emhrm-lp .qual-card .body { flex: 1 1 auto; }
.emhrm-lp .qual-card .head { padding: 26px 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; min-height: 132px; }
.emhrm-lp .qual-card .head .sub { font-size: 12px; opacity: .85; font-weight: 500; }
.emhrm-lp .qual-card .head h3 { color: #fff; font-size: 20px; margin-top: 4px; }
.emhrm-lp .qual-card.mhrm .head { background: var(--navy-800); }
.emhrm-lp .qual-card.bsb .head { background: var(--orange-600); }
.emhrm-lp .qual-card .body { background: #fff; border: 1px solid var(--n300); border-top: 0; padding: 24px 30px; border-radius: 0 0 16px 16px; }
.emhrm-lp .qual-card ul { list-style: none; }
.emhrm-lp .qual-card li { padding-left: 24px; position: relative; margin: 10px 0; font-size: 14px; }
.emhrm-lp .qual-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.emhrm-lp .plus { display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 40px; color: var(--orange-500); }

/* ---------------------------------------------------------------
 * BSB80320 units
 * ------------------------------------------------------------- */
.emhrm-lp .unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 8px; text-align: left; }
.emhrm-lp .unit-grid.core { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.emhrm-lp .unit { background: #fff; border: 1px solid var(--n300); border-radius: var(--r-md); padding: 22px; box-shadow: var(--sh-card); }
.emhrm-lp .unit.core { border-color: var(--orange-500); }
.emhrm-lp .unit .code { display: inline-block; background: var(--orange-50); color: var(--navy-800); font-weight: 700; font-size: 13px; border-radius: 6px; padding: 5px 10px; }
.emhrm-lp .unit.core .code { background: var(--orange-500); color: #fff; }
.emhrm-lp .unit .tag { display: inline-block; background: var(--navy-800); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 4px 8px; margin-left: 6px; }
.emhrm-lp .unit h4 { margin: 10px 0 6px; font-size: 16px; }
.emhrm-lp .unit p { font-size: 13px; color: var(--n500); }

/* ---------------------------------------------------------------
 * Career roadmap
 * ------------------------------------------------------------- */
.emhrm-lp .roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
.emhrm-lp .rm { background: var(--navy-700); border: 1px solid var(--navy-600); border-radius: 16px; padding: 26px; }
.emhrm-lp .rm .yr { display: inline-block; background: var(--orange-500); color: #fff; font-weight: 700; font-size: 12px; border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.emhrm-lp .rm h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.emhrm-lp .rm p { font-size: 13px; color: var(--inv); }
.emhrm-lp .rm .target { margin-top: 12px; font-size: 12px; color: var(--orange-400); font-weight: 700; }

/* ---------------------------------------------------------------
 * Audience
 * ------------------------------------------------------------- */
.emhrm-lp .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; text-align: left; }
.emhrm-lp .role { background: var(--n50); border: 1px solid var(--n300); border-radius: var(--r-md); padding: 26px; }
.emhrm-lp .role h4 { font-size: 16px; margin-bottom: 8px; }
.emhrm-lp .role p { font-size: 14px; }
.emhrm-lp .honesty { background: #fff; border: 1.5px solid var(--navy-800); border-radius: var(--r-md); padding: 26px 32px; max-width: 880px; margin: 36px auto 0; text-align: left; }

/* ---------------------------------------------------------------
 * Entry pathways
 * ------------------------------------------------------------- */
.emhrm-lp .paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0 12px; text-align: left; }
.emhrm-lp .path { background: #fff; border: 1px solid var(--n300); border-radius: var(--r-md); padding: 26px; box-shadow: var(--sh-card); }
.emhrm-lp .path .tag { display: inline-block; background: var(--navy-800); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 6px 12px; margin-bottom: 12px; }
.emhrm-lp .path h4 { margin-bottom: 8px; }
.emhrm-lp .path p { font-size: 14px; }
.emhrm-lp .or { text-align: center; font-weight: 700; color: var(--n500); display: none; padding: 6px 0; }

/* ---------------------------------------------------------------
 * Advantage table
 * ------------------------------------------------------------- */
.emhrm-lp .comp-wrap { overflow-x: auto; margin-top: 36px; }
.emhrm-lp table.comp { width: 100%; min-width: 720px; max-width: 1000px; margin: 0 auto; border-collapse: collapse; border: 1px solid var(--n300); border-radius: 16px; overflow: hidden; font-size: 14px; }
.emhrm-lp .comp th { background: var(--navy-800); color: #fff; padding: 14px 18px; text-align: left; }
.emhrm-lp .comp th:first-child { width: 220px; }
.emhrm-lp .comp td { padding: 12px 18px; border-top: 1px solid var(--n300); vertical-align: top; }
.emhrm-lp .comp tr:nth-child(even) td { background: var(--n50); }
.emhrm-lp .comp td:first-child { font-weight: 700; color: var(--navy-800); }
.emhrm-lp .comp .yes { color: var(--ok); font-weight: 700; }
.emhrm-lp .comp .no { color: var(--n500); }
.emhrm-lp .comp td.hl { background: var(--orange-50) !important; font-weight: 500; }

/* ---------------------------------------------------------------
 * How it works
 * ------------------------------------------------------------- */
.emhrm-lp .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 40px 0 24px; text-align: left; }
.emhrm-lp .step-i .n { width: 48px; height: 48px; border-radius: 50%; background: var(--orange-500); color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.emhrm-lp .step-i h4 { font-size: 16px; margin-bottom: 6px; }
.emhrm-lp .step-i p { font-size: 13px; }
.emhrm-lp .note { font-size: 14px; color: var(--n500); max-width: 880px; margin: 24px auto 0; }
.emhrm-lp .dark .note { color: var(--inv-dim); }
.emhrm-lp .answer { background: #fff; border: 1px solid var(--orange-500); border-radius: var(--r-md); padding: 24px 32px; max-width: 880px; margin: 28px auto; }
.emhrm-lp .answer p { max-width: none; }
.emhrm-lp .dark .answer { background: var(--navy-700); border-color: var(--orange-400); }

/* ---------------------------------------------------------------
 * Insight articles
 * ------------------------------------------------------------- */
.emhrm-lp .articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; text-align: left; }
.emhrm-lp .article { background: #fff; border: 1px solid var(--n300); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-card); display: flex; flex-direction: column; }
/* Real <img> children, not CSS background-image. WP Rocket's "LazyLoad for CSS
   background images" rewrites inline background-image into data-bg and relies
   on its own JS to restore it, which leaves the cards blank when that does not
   run. An <img> is lazyloaded natively and carries alt text. The gradient stays
   as the fallback for any card without an image. */
.emhrm-lp .article .img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); overflow: hidden; }
.emhrm-lp .article .img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.emhrm-lp .article .b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.emhrm-lp .article .cat { align-self: flex-start; background: var(--orange-50); color: var(--orange-600); font-size: 10px; font-weight: 700; letter-spacing: .06em; border-radius: 999px; padding: 4px 10px; }
.emhrm-lp .article h4 { font-size: 16px; }
.emhrm-lp .article p { font-size: 13px; color: var(--n500); flex: 1; }
.emhrm-lp .article a { font-weight: 700; font-size: 14px; text-decoration: none; }
.emhrm-lp .article a:hover { text-decoration: underline; }
.emhrm-lp .byline { font-size: 13px; color: var(--n500); margin-top: 24px; }

/* ---------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------- */
.emhrm-lp .faq { max-width: 800px; margin: 36px auto 0; text-align: left; }
.emhrm-lp .faq details { background: #fff; border: 1px solid var(--n300); border-radius: var(--r-md); margin-bottom: 12px; }
.emhrm-lp .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 17px; color: var(--navy-800); }
.emhrm-lp .faq summary::-webkit-details-marker { display: none; }
.emhrm-lp .faq summary::after { content: "\25BE"; color: var(--orange-500); transition: transform .2s; }
.emhrm-lp .faq details[open] summary::after { transform: rotate(180deg); }
.emhrm-lp .faq .a { padding: 0 24px 20px; font-size: 15px; }

/* ---------------------------------------------------------------
 * Final CTA
 * ------------------------------------------------------------- */
.emhrm-lp .final { border-top: 4px solid var(--orange-500); }
.emhrm-lp .final .hero-ctas { justify-content: center; margin-top: 28px; }
.emhrm-lp .final .fine { font-size: 13px; color: var(--inv-dim); margin: 24px auto 0; max-width: 660px; }

/* ---------------------------------------------------------------
 * Compliance block
 * Ported from the mockup's <footer>. This is page-specific mandatory
 * disclosure content, so it renders inside the page above the Zilom
 * theme footer rather than replacing it.
 * ------------------------------------------------------------- */
.emhrm-lp .compliance { background: var(--navy-900); color: var(--inv); padding: 64px 0; font-size: 14px; }
.emhrm-lp .compliance .foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.emhrm-lp .compliance h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.emhrm-lp .compliance ul { list-style: none; }
.emhrm-lp .compliance li { margin: 8px 0; }
.emhrm-lp .compliance a { color: var(--inv); text-decoration: none; }
.emhrm-lp .compliance a:hover { color: #fff; text-decoration: underline; }
.emhrm-lp .foot-legal { border-top: 1px solid var(--navy-600); padding-top: 28px; font-size: 13px; color: var(--inv-dim); }
.emhrm-lp .foot-legal p { max-width: none; margin-bottom: 14px; }
.emhrm-lp .disclosure { background: var(--navy-800); border: 1px solid var(--navy-600); border-radius: 12px; padding: 20px 24px; margin-bottom: 28px; }
.emhrm-lp .disclosure b { color: #fff; }
.emhrm-lp .disclosure p { max-width: none; }

/* ---------------------------------------------------------------
 * Dialogs and forms
 * ------------------------------------------------------------- */
/* margin:auto is what the browser uses to centre a modal dialog, together with
   inset:0. The .emhrm-lp * reset above sets margin:0 on every descendant, and
   the dialog is a descendant, so the reset was killing the centring and pinning
   the modal to the top-left corner. Put it back explicitly. */
.emhrm-lp dialog { border: 0; border-radius: 16px; max-width: 520px; width: calc(100% - 32px); margin: auto; padding: 0; box-shadow: var(--sh-raised); color: var(--n700); background: #fff; }
.emhrm-lp dialog::backdrop { background: rgba(4, 31, 74, .6); }
.emhrm-lp .form-head { background: var(--navy-800); color: #fff; padding: 24px 32px; border-radius: 16px 16px 0 0; }
.emhrm-lp .form-head h3 { color: #fff; }
.emhrm-lp .form-head p { color: var(--inv); font-size: 14px; }
.emhrm-lp .form-body { padding: 28px 32px 32px; }
.emhrm-lp .stepper { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--n500); margin-bottom: 20px; }
.emhrm-lp .stepper .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--n300); }
.emhrm-lp .stepper .dot.on { background: var(--orange-500); }
.emhrm-lp .field { margin-bottom: 16px; }
.emhrm-lp .field label { display: block; font-size: 14px; font-weight: 500; color: var(--navy-800); margin-bottom: 6px; }
.emhrm-lp .field input,
.emhrm-lp .field select { width: 100%; height: 52px; border: 1px solid var(--n300); border-radius: var(--r-sm); padding: 0 16px; font: 400 16px 'DM Sans', sans-serif; color: var(--n700); background: #fff; }
.emhrm-lp .field input:focus,
.emhrm-lp .field select:focus { border: 2px solid var(--orange-400); outline: none; }
.emhrm-lp .field .error-msg { display: none; color: var(--err); font-size: 13px; margin-top: 6px; }
.emhrm-lp .field.invalid input,
.emhrm-lp .field.invalid select { border: 2px solid var(--err); }
.emhrm-lp .field.invalid .error-msg { display: block; }
.emhrm-lp .consent { display: flex; gap: 10px; font-size: 13px; margin: 18px 0; }
.emhrm-lp .consent input { width: 22px; height: 22px; accent-color: var(--orange-500); flex: none; }
.emhrm-lp .form-body .btn { width: 100%; }
.emhrm-lp .back-link { background: none; border: 0; color: var(--n500); font: 500 14px 'DM Sans', sans-serif; cursor: pointer; margin-top: 12px; }
.emhrm-lp .success { text-align: center; padding: 12px 0; }
.emhrm-lp .success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.emhrm-lp .micro { font-size: 12px; color: var(--n500); margin-top: 10px; }
.emhrm-lp .form-error { display: none; color: var(--err); font-size: 13px; margin-top: 12px; text-align: center; }
.emhrm-lp .form-error.on { display: block; }
.emhrm-lp .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------------------------------------------------------------
 * GoHighLevel inline embed
 *
 * The form reports data-height="894". That is taller than the viewport
 * on most laptops, so the dialog is capped at 92vh and the embed area
 * scrolls inside it. Without this the bottom of the form, including the
 * submit button, is cropped off with no way to reach it.
 *
 * The iframe gets no fixed height: form_embed.js measures the form and
 * sets the height by postMessage. min-height only stops it collapsing to
 * the 150px iframe default while it loads.
 * ------------------------------------------------------------- */
.emhrm-lp dialog.dialog-ghl {
  max-width: 620px;
  max-height: 92vh;
  overflow: hidden;
}
/* display:flex must be gated on [open]. An unqualified display on a <dialog>
   beats the UA's `dialog:not([open]) { display: none }`, which would leave both
   forms rendered inline at the foot of the page while closed. */
.emhrm-lp dialog.dialog-ghl[open] {
  display: flex;
  flex-direction: column;
}
.emhrm-lp .dialog-ghl .form-head { flex: 0 0 auto; position: relative; padding-right: 64px; }
.emhrm-lp .dialog-ghl .ghl-embed {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 12px 16px;
}
.emhrm-lp .ghl-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 320px;
}

/* Explicit close control. The custom form's own flow used to provide the
   exit; with a third-party iframe, Esc and backdrop click are not discoverable
   enough on their own. 44px target. */
.emhrm-lp .dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.emhrm-lp .dialog-close:hover { opacity: 1; }

@media (max-width: 767px) {
  .emhrm-lp dialog.dialog-ghl { max-height: 94vh; }
  .emhrm-lp .dialog-ghl .ghl-embed { padding: 4px 6px 12px; }
}

/* ---------------------------------------------------------------
 * Sticky mobile bar
 * ------------------------------------------------------------- */
.emhrm-lp .sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--navy-900); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: var(--sh-sticky); }
.emhrm-lp .sticky-bar .btn { flex: 1; min-height: 48px; padding: 12px; font-size: 15px; }
.emhrm-lp .sticky-bar .btn-outline { background: none; border: 1.5px solid #fff; color: #fff; }

/* ---------------------------------------------------------------
 * Motion preferences
 * ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .emhrm-lp *,
  .emhrm-lp *::before,
  .emhrm-lp *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------- */
@media (max-width: 1279px) {
  .emhrm-lp section { padding: 64px 0; }
  .emhrm-lp .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .emhrm-lp .roadmap { grid-template-columns: repeat(2, 1fr); }
  .emhrm-lp .articles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .emhrm-lp .hero-grid { grid-template-columns: 1fr; }
  .emhrm-lp .forces { grid-template-columns: 1fr; }
  .emhrm-lp .grid3 { grid-template-columns: repeat(2, 1fr); }
  .emhrm-lp .cols2 { grid-template-columns: 1fr; }
  .emhrm-lp .plus { padding: 4px 0; }
  .emhrm-lp .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .emhrm-lp .compliance .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .emhrm-lp section { padding: 48px 0; }
  .emhrm-lp .subnav .btn { display: none; }
  .emhrm-lp .sticky-bar { display: flex; }
  .emhrm-lp .stats { grid-template-columns: repeat(2, 1fr); }
  .emhrm-lp .grid3,
  .emhrm-lp .paths,
  .emhrm-lp .unit-grid,
  .emhrm-lp .unit-grid.core,
  .emhrm-lp .steps,
  .emhrm-lp .roadmap,
  .emhrm-lp .compliance .foot-grid { grid-template-columns: 1fr; }
  .emhrm-lp .or { display: block; }
  .emhrm-lp .articles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-left: -24px; margin-right: -24px; padding: 0 24px 8px; }
  .emhrm-lp .article { flex: 0 0 85%; scroll-snap-align: start; }
}

/* ---------------------------------------------------------------
 * The only two rules in this file that sit outside .emhrm-lp.
 * Both are safe: this stylesheet is enqueued by the landing page
 * template alone, so it never loads on any other page of the site.
 * ------------------------------------------------------------- */

/* Anchor offset so section links clear the sticky Zilom header. */
html { scroll-behavior: smooth; scroll-padding-top: 120px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Clearance for the fixed mobile CTA bar. */
@media (max-width: 767px) {
  body.emhrm-landing { padding-bottom: 64px; }
}
