/* ============================================================================
   WGU Proctored Exams — HOMEPAGE layout (index.html only)
   Hero with the video card + booking button, offer cards, dark "how it works" steps,
   tabbed coverage band, FAQ and closing request band. Sits on top of wgu.css:
   same tokens (--navy, --royal, --card ...), so light/dark themes keep working.
   Loaded only by the homepage, so changing it never needs the 690 guide pages
   regenerated — bump the ?v= on the <link> in index.html instead.
   ========================================================================== */

.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; }

/* ---- shared headings ----------------------------------------------------- */
.hk { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.hk--pill { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .08em; color: var(--royal); background: rgba(29, 78, 216, .08); border: 1px solid rgba(29, 78, 216, .2); border-radius: 999px; padding: 7px 14px; }
.hk--pill svg { width: 14px; height: 14px; }
.hh { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.hh h2 { font-size: clamp(27px, 3.8vw, 38px); letter-spacing: -.02em; margin-bottom: 12px; }
.hh h2 span { color: var(--royal); }
.hh p { font-size: 17px; color: var(--muted); margin: 0; }

/* ---- hero ---------------------------------------------------------------- */
.hx { background: linear-gradient(135deg, #f5f7fa 0%, #e6eaf1 100%); border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .hx { background:
    radial-gradient(900px 460px at 88% -10%, rgba(37, 99, 235, .16), transparent 60%),
    linear-gradient(180deg, #0d1526 0%, #0b1120 100%); }
.hx__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 60px 0 68px; }
.hx-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--royal); background: rgba(29, 78, 216, .08); border: 1px solid rgba(29, 78, 216, .2); border-radius: 999px; padding: 7px 14px; margin-bottom: 22px; }
.hx-badge i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: hxPulse 2s infinite; }
@keyframes hxPulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hx-title { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 20px; }
.hx-title span { color: var(--royal); background: linear-gradient(transparent 86%, rgba(29, 78, 216, .16) 86%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hx-lead { font-size: 18px; color: var(--muted); max-width: 31em; margin: 0 0 26px; }
.hx-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; padding: 0; }
.hx-chips li { display: inline-flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 14.5px; color: var(--navy); box-shadow: 0 1px 2px rgba(11, 37, 69, .05); }
.hx-chips svg { width: 18px; height: 18px; color: var(--royal); flex: none; }
.hx-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-bottom: 28px; }
.hx-stats b { display: block; font-family: var(--display); font-size: 34px; line-height: 1.1; color: var(--navy); }
.hx-stats span { font-size: 13px; color: var(--muted-2); }
.hx-search__label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.hx .search { max-width: 520px; }

/* ---- video card (hero + closing band) --------------------------------------
   The card that holds the showcase video and the "Book Your Session Now"
   button. The mount uses data-video-fit="auto" (wgu-widgets.js), so the player
   takes the shape of the clip: a 9:16 portrait clip is tall and narrow and is
   centred in the card, a 16:9 clip fills the card's width. --vs-h is the height
   a portrait clip gets. */
.qf { position: relative; background: var(--card); border-radius: 18px; border-top: 5px solid var(--royal); padding: 26px 28px 26px; box-shadow: 0 30px 60px -28px rgba(11, 37, 69, .38), 0 2px 6px rgba(11, 37, 69, .06); scroll-margin-top: calc(var(--nav-h) + 18px); }
html[data-theme="dark"] .qf { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); }
.qf__title { font-family: var(--display); font-size: 20px; font-weight: 700; text-align: center; color: var(--navy); margin: 0 0 10px; }
.qf__checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.qf__checks li { display: inline-flex; align-items: center; gap: 6px; }
.qf__checks svg { width: 15px; height: 15px; color: var(--royal); flex: none; }
.qv__video { margin: 0 0 18px; }
.qv .vshow--auto { --vs-h: clamp(340px, 52vh, 470px); margin: 0 auto; }
.qv .vshow--auto .vshow__label { display: inline-flex; font-size: 11.5px; padding: 5px 10px; top: 10px; left: 10px; }
.qf__submit { display: block; width: 100%; border: 0; border-radius: 12px; padding: 17px 16px; font: 700 16.5px var(--font); color: #fff; cursor: pointer; background: linear-gradient(135deg, #1d4ed8, #13315c); box-shadow: 0 12px 26px -12px rgba(29, 78, 216, .65); transition: filter .15s, transform .15s; }
.qf__submit:hover { filter: brightness(1.1); transform: translateY(-1px); }
.qf__note { font-size: 12.5px; color: var(--muted-2); text-align: center; margin: 12px 0 0; }

/* ---- what we offer -------------------------------------------------------- */
.ho-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ho-ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; margin-bottom: 18px; color: var(--navy); background: var(--bg-2); border: 1px solid var(--line-2); }
.ho-ico svg { width: 22px; height: 22px; }
.ho-card h3 { font-size: 18px; }
.ho-card a { font-weight: 600; }

/* ---- how it works (dark band, literal colours: same in both themes) ------- */
.hs, .hc { background: linear-gradient(180deg, #0f2440 0%, #0b1c33 100%); color: #fff; padding: 84px 0; }
.hs .hk--pill, .hc .hk--pill { color: #93c5fd; background: rgba(96, 165, 250, .1); border-color: rgba(96, 165, 250, .28); }
.hs .hh h2, .hc .hh h2 { color: #fff; }
.hs .hh h2 span, .hc .hh h2 span { color: #60a5fa; }
.hs .hh p, .hc .hh p { color: rgba(255, 255, 255, .72); }
.hs-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; }
.hs-steps::before { content: ''; position: absolute; top: 32px; left: 32px; right: 12%; height: 1px; background: linear-gradient(90deg, rgba(96, 165, 250, .55), rgba(96, 165, 250, .12)); }
.hs-step { position: relative; }
.hs-step__ico { position: relative; width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; color: #fff; margin-bottom: 22px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .65); }
.hs-step__ico svg { width: 28px; height: 28px; }
.hs-step:nth-child(1) .hs-step__ico { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.hs-step:nth-child(2) .hs-step__ico { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.hs-step:nth-child(3) .hs-step__ico { background: linear-gradient(135deg, #10b981, #059669); }
.hs-step__n { position: absolute; top: -10px; right: -12px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 11px; color: #cfe0ff; background: #1e3355; border: 2px solid #0f2440; }
.hs-step h3 { color: #fff; font-size: 20px; }
.hs-step p { color: rgba(255, 255, 255, .72); font-size: 15px; margin: 0; max-width: 21em; }

/* ---- we cover it all (dark band with tabs) -------------------------------- */
.hc { text-align: center; }
.hc .hh { margin-bottom: 30px; }
.hc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 26px; }
.hc-tab { display: inline-flex; align-items: center; gap: 9px; font: 600 14.5px var(--font); color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 11px 20px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.hc-tab svg { width: 17px; height: 17px; }
.hc-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hc-tab[aria-selected="true"] { background: #1d4ed8; border-color: #1d4ed8; color: #fff; box-shadow: 0 12px 26px -10px rgba(29, 78, 216, .85); }
.hc-tab:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.hc-panel { max-width: 860px; margin: 0 auto; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 36px 32px; }
.hc-panel[hidden] { display: none; }
.hc-panel__ico { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: #93c5fd; background: rgba(96, 165, 250, .14); margin-bottom: 16px; }
.hc-panel__ico svg { width: 24px; height: 24px; }
.hc-panel h3 { color: #fff; font-size: 22px; }
.hc-panel p { color: rgba(255, 255, 255, .74); max-width: 40em; margin: 0 auto; }
.hc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.hc-chips a, .hc-chips span { font-size: 13.5px; font-weight: 500; color: #93c5fd; background: rgba(96, 165, 250, .1); border: 1px solid rgba(96, 165, 250, .28); border-radius: 999px; padding: 7px 16px; }
.hc-chips a:hover { color: #fff; background: rgba(96, 165, 250, .25); }

/* ---- FAQ ------------------------------------------------------------------ */
.hf .hh h2 span { background: linear-gradient(transparent 86%, rgba(29, 78, 216, .16) 86%); }
.hf .faq details { border-radius: 14px; }
.hf .faq summary::after { content: ''; width: 9px; height: 9px; flex: none; border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2); transform: rotate(45deg); margin: -4px 4px 0 16px; transition: transform .2s; }
.hf .faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }

/* ---- closing request band -------------------------------------------------- */
.hq { background: linear-gradient(135deg, #eef1f6 0%, #e3e8f0 100%); padding: 84px 0; }
html[data-theme="dark"] .hq { background: linear-gradient(180deg, #0f1a30 0%, #0b1120 100%); }
.hq__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hq__copy h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.hq__copy h2 span { color: var(--royal); }
.hq__copy > p { font-size: 17px; color: var(--muted); max-width: 26em; }
.hq-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hq-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--ink); }
.hq-list li::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--royal); }
.hq + .site-footer { margin-top: 0; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
    .hx__inner { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 52px; }
    .ho-grid { grid-template-columns: repeat(2, 1fr); }
    .hs, .hc, .hq { padding: 60px 0; }
    .hs-steps { grid-template-columns: 1fr; gap: 34px; margin-top: 40px; }
    .hs-steps::before { top: 32px; bottom: 60px; left: 32px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(96, 165, 250, .5), rgba(96, 165, 250, .08)); }
    .hs-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: start; }
    .hs-step__ico { grid-row: span 2; margin-bottom: 0; }
    .hs-step p { max-width: none; }
    .hq__inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 640px) {
    .hx-title { font-size: clamp(30px, 8.6vw, 42px); }
    .hx-lead { font-size: 16.5px; }
    .hx-stats { gap: 12px 26px; }
    .hx-stats b { font-size: 28px; }
    .ho-grid { grid-template-columns: 1fr; }
    .qf { padding: 22px 18px 22px; }
    .qv .vshow--auto { --vs-h: min(62vh, 500px); }
    .hc-panel { padding: 28px 18px; }
    .hc-tab { padding: 10px 15px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-badge i { animation: none; }
}
