/*
Theme Name: ScoreTrek Modern Momentum
Theme URI: https://scoretrek.net
Author: ScoreTrek
Description: A bright, professional public WordPress theme for ScoreTrek with editable client, affiliate, and staff portal links.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: scoretrek-momentum
*/

:root {
  --blue-950: #071b58;
  --blue-900: #0d2b8e;
  --blue-800: #153fce;
  --blue-700: #2457ee;
  --blue-600: #3670ff;
  --sky-100: #edf4ff;
  --sky-50: #f7faff;
  --yellow-500: #ffd63f;
  --yellow-400: #ffe36e;
  --mint-500: #48d8b2;
  --coral-500: #ff7468;
  --ink: #13234b;
  --muted: #64708c;
  --line: #dfe7f4;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 22px 65px rgba(13, 43, 142, .12);
  --shadow-strong: 0 35px 80px rgba(5, 24, 79, .27);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.site-wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 18px; clip: auto; color: var(--blue-950); background: var(--yellow-500); border-radius: 8px; font-weight: 800; }

/* Announcement and header */
.announcement-bar { color: var(--blue-950); background: var(--yellow-500); font-size: 13px; }
.announcement-inner { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.announcement-inner strong { font-weight: 850; }
.announcement-inner a { font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(223, 231, 244, .88); backdrop-filter: blur(14px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(8, 33, 104, .08); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.site-branding { display: flex; align-items: center; flex: 0 0 auto; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-width: 220px; max-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 24px; font-weight: 900; letter-spacing: -.055em; }
.brand-symbol { position: relative; width: 42px; height: 42px; overflow: hidden; display: inline-block; flex: none; background: var(--blue-700); border-radius: 13px 13px 17px 13px; transform: rotate(-3deg); box-shadow: inset 0 -9px 18px rgba(7, 27, 88, .14); }
.brand-symbol i { position: absolute; width: 21px; height: 7px; top: 10px; left: 9px; background: var(--yellow-500); border-radius: 10px; transform: rotate(-18deg); }
.brand-symbol b { position: absolute; width: 7px; height: 20px; right: 9px; bottom: 7px; background: var(--white); border-radius: 10px; transform: rotate(30deg); }
.brand-name span { color: var(--blue-700); }
.primary-navigation { margin-left: auto; }
.primary-navigation .menu { display: flex; align-items: center; gap: 27px; padding: 0; margin: 0; list-style: none; }
.primary-navigation .menu > li { position: relative; }
.primary-navigation a { position: relative; display: block; padding: 27px 0; color: #314064; font-size: 14px; font-weight: 750; }
.primary-navigation .current-menu-item > a, .primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--blue-700); }
.primary-navigation .menu > li > a::after { content: ""; position: absolute; right: 50%; bottom: 18px; left: 50%; height: 3px; background: var(--yellow-500); border-radius: 5px; transition: .2s ease; }
.primary-navigation .menu > li > a:hover::after, .primary-navigation .current-menu-item > a::after { right: 0; left: 0; }
.primary-navigation .sub-menu { position: absolute; visibility: hidden; min-width: 210px; top: 66px; left: -18px; padding: 10px; margin: 0; opacity: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); list-style: none; transform: translateY(5px); transition: .2s ease; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-navigation .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.primary-navigation .sub-menu a:hover { background: var(--sky-100); }
.header-actions { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.portal-menu { position: relative; }
.portal-toggle { min-height: 43px; padding: 8px 13px; color: var(--blue-800); background: transparent; border: 0; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 800; }
.portal-toggle:hover, .portal-toggle:focus-visible, .portal-menu.is-open .portal-toggle { background: var(--sky-100); }
.portal-toggle span { display: inline-block; margin-left: 3px; transform: translateY(-1px); }
.portal-dropdown { position: absolute; visibility: hidden; width: 285px; top: calc(100% + 14px); right: 0; padding: 11px; opacity: 0; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); transform: translateY(8px); transition: .2s ease; }
.portal-menu:hover .portal-dropdown, .portal-menu:focus-within .portal-dropdown, .portal-menu.is-open .portal-dropdown { visibility: visible; opacity: 1; transform: none; }
.portal-label { display: block; padding: 5px 8px 8px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.portal-dropdown a { display: flex; align-items: center; gap: 11px; padding: 10px 8px; border-radius: 12px; }
.portal-dropdown a:hover, .portal-dropdown a:focus-visible { background: var(--sky-50); }
.portal-dropdown a span { display: flex; flex-direction: column; line-height: 1.25; }
.portal-dropdown strong { color: var(--ink); font-size: 14px; }
.portal-dropdown small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.portal-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 10px; font-style: normal; font-size: 13px; font-weight: 900; }
.client-icon { color: var(--blue-900); background: var(--yellow-500); }
.affiliate-icon { color: var(--blue-950); background: var(--mint-500); }
.staff-icon { color: var(--white); background: var(--blue-600); }
.mobile-nav-toggle { display: none; width: 43px; height: 43px; padding: 10px; margin-left: auto; background: var(--sky-100); border: 0; border-radius: 11px; cursor: pointer; }
.mobile-nav-toggle > span:not(.screen-reader-text) { width: 22px; height: 2px; display: block; margin: 4px 0; background: var(--blue-900); border-radius: 4px; transition: .2s ease; }

/* Buttons and type */
.button, .wp-block-button__link, input[type="submit"] { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; color: var(--white); background: var(--blue-700); border: 2px solid transparent; border-radius: 13px; box-shadow: none; cursor: pointer; font-weight: 850; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover, .button:focus-visible, .wp-block-button__link:hover, input[type="submit"]:hover { color: var(--white); background: var(--blue-800); box-shadow: 0 12px 26px rgba(20, 63, 206, .22); transform: translateY(-2px); }
.button-small { min-height: 43px; padding: 10px 16px; border-radius: 11px; font-size: 13px; }
.button-yellow { color: var(--blue-950); background: var(--yellow-500); }
.button-yellow:hover, .button-yellow:focus-visible { color: var(--blue-950); background: var(--yellow-400); box-shadow: 0 12px 28px rgba(255, 214, 63, .22); }
.button-blue { color: var(--white); background: var(--blue-700); }
.button-ghost { color: var(--white); background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .35); }
.button-ghost:hover, .button-ghost:focus-visible { background: rgba(255, 255, 255, .16); }
.play-icon { width: 24px; height: 24px; display: grid; place-items: center; background: rgba(255, 255, 255, .15); border-radius: 50%; font-size: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; color: var(--blue-700); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow i { width: 21px; height: 4px; display: inline-block; background: var(--yellow-500); border-radius: 5px; transform: rotate(-6deg); }
.eyebrow-light { color: #dce7ff; }
.section { padding: 100px 0; }
.section-heading h2, .process-copy h2, .resource-list h2 { max-width: 690px; margin: 0; color: var(--ink); font-size: clamp(34px, 4.2vw, 52px); font-weight: 900; letter-spacing: -.055em; line-height: 1.07; }
.section-heading h2 mark { padding: 0; color: var(--blue-700); background: none; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.split-heading { display: grid; grid-template-columns: 1.18fr .82fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.centered { max-width: 790px; margin: 0 auto 48px; text-align: center; }
.centered h2 { margin-inline: auto; }
.centered p { margin-top: 18px; }

/* Hero */
.hero-section { position: relative; min-height: 680px; overflow: hidden; color: var(--white); background: linear-gradient(125deg, var(--blue-900) 0%, var(--blue-700) 58%, #3c79ff 100%); }
.hero-grid { position: relative; z-index: 2; min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 65px; padding-top: 44px; padding-bottom: 80px; }
.hero-copy-column { padding-bottom: 28px; }
.hero-copy-column h1 { max-width: 650px; margin: 0 0 24px; color: var(--white); font-size: clamp(52px, 5.4vw, 75px); font-weight: 950; letter-spacing: -.066em; line-height: .99; }
.hero-copy-column h1 mark { position: relative; display: inline-block; color: var(--yellow-500); background: none; }
.hero-copy-column h1 mark::after { content: ""; position: absolute; right: 2px; bottom: -7px; left: 4px; height: 6px; background: var(--yellow-500); border-radius: 50%; opacity: .75; transform: rotate(-2deg); }
.hero-copy-column > p { max-width: 590px; margin: 0; color: #d6e3ff; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 31px 0 28px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 18px; color: #e1eaff; font-size: 12px; font-weight: 700; }
.hero-assurances i { width: 19px; height: 19px; display: inline-grid; place-items: center; margin-right: 5px; color: var(--blue-950); background: var(--mint-500); border-radius: 50%; font-style: normal; font-size: 10px; font-weight: 900; }
.hero-orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.hero-orb-one { width: 440px; height: 440px; top: -220px; right: 14%; border: 75px solid rgba(255, 214, 63, .12); }
.hero-orb-two { width: 320px; height: 320px; bottom: -200px; left: -60px; background: rgba(72, 216, 178, .12); }
.hero-wave { position: absolute; right: -5%; bottom: -120px; left: -5%; height: 165px; background: var(--white); border-radius: 50% 50% 0 0 / 30% 30% 0 0; transform: rotate(-1.2deg); }
.dashboard-stage { position: relative; min-height: 475px; display: grid; place-items: center; }
.dashboard-glow { position: absolute; width: 450px; height: 450px; background: rgba(255, 214, 63, .2); border-radius: 50%; filter: blur(2px); }
.dashboard-card { position: relative; z-index: 2; width: min(100%, 500px); overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid rgba(255, 255, 255, .55); border-radius: 24px; box-shadow: var(--shadow-strong); transform: rotate(1.1deg); }
.dashboard-topbar { height: 47px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: var(--white); background: var(--blue-950); }
.mini-brand { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; }
.mini-brand i { width: 16px; height: 16px; display: block; background: var(--yellow-500); border-radius: 5px; }
.dashboard-dots { display: flex; gap: 5px; }
.dashboard-dots i { width: 5px; height: 5px; background: #6884d3; border-radius: 50%; }
.dashboard-body { padding: 21px; }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.dashboard-welcome div { display: flex; flex-direction: column; }
.dashboard-welcome small { color: var(--muted); font-size: 9px; }
.dashboard-welcome strong { font-size: 13px; }
.status-pill { padding: 5px 10px; color: #0e765d; background: #dbf8ef; border-radius: 30px; font-size: 9px; font-weight: 900; }
.score-panel { display: grid; grid-template-columns: 1fr 145px; align-items: center; gap: 20px; padding: 18px 20px; background: var(--sky-50); border: 1px solid var(--line); border-radius: 16px; }
.score-copy { display: flex; flex-direction: column; }
.score-copy small { color: var(--muted); font-size: 9px; }
.score-copy strong { margin: 2px 0 0; color: var(--blue-900); font-size: 50px; line-height: 1; letter-spacing: -.07em; }
.score-copy span { margin-top: 7px; color: var(--muted); font-size: 9px; }
.score-copy b { color: #149779; }
.score-gauge { position: relative; width: 135px; height: 72px; overflow: hidden; border-radius: 135px 135px 0 0; background: conic-gradient(from 270deg at 50% 100%, var(--coral-500) 0deg 48deg, var(--yellow-500) 48deg 112deg, var(--mint-500) 112deg 162deg, #e4e9f4 162deg 180deg, transparent 180deg); }
.score-gauge::after { content: ""; position: absolute; right: 20px; bottom: -1px; left: 20px; height: 48px; background: var(--sky-50); border-radius: 100px 100px 0 0; }
.gauge-center { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.gauge-center b { color: var(--blue-900); font-size: 14px; }
.gauge-center small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 12px 0; }
.dashboard-metrics > div { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.dashboard-metrics span { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.dashboard-metrics strong { font-size: 15px; }
.dashboard-metrics small { overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.metric-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 8px; font-style: normal; font-size: 12px; font-weight: 900; }
.metric-icon.mint { color: #0d755c; background: #dbf8ef; }
.metric-icon.yellow { color: #725600; background: #fff4c9; }
.metric-icon.blue { color: var(--blue-800); background: #e5edff; }
.progress-panel { padding: 13px 15px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.progress-panel > div:first-child { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.progress-panel > div strong { color: var(--ink); }
.progress-track { height: 6px; overflow: hidden; margin: 8px 0; background: #e8edf5; border-radius: 10px; }
.progress-track i { width: 72%; height: 100%; display: block; background: linear-gradient(90deg, var(--blue-700), var(--mint-500)); border-radius: inherit; }
.progress-panel > small { color: var(--muted); font-size: 8px; }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 15px 35px rgba(7, 27, 88, .19); line-height: 1.25; }
.floating-card > i { width: 32px; height: 32px; display: grid; place-items: center; flex: none; color: var(--blue-950); background: var(--yellow-500); border-radius: 10px; font-style: normal; font-weight: 900; }
.floating-card span { display: flex; flex-direction: column; }
.floating-card b { font-size: 11px; }
.floating-card small { color: var(--muted); font-size: 8px; }
.floating-score { top: 25px; right: -31px; transform: rotate(-3deg); }
.floating-message { bottom: 26px; left: -45px; transform: rotate(1deg); }
.floating-message > i { color: #0c7259; background: var(--mint-500); }

/* Homepage sections */
.confidence-strip { position: relative; z-index: 3; margin-top: -35px; }
.confidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.confidence-grid > div { display: flex; align-items: center; gap: 13px; padding: 20px 25px; border-right: 1px solid var(--line); }
.confidence-grid > div:last-child { border: 0; }
.confidence-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: none; color: var(--blue-800); background: var(--sky-100); border-radius: 13px; font-style: normal; }
.confidence-grid span { display: flex; flex-direction: column; line-height: 1.3; }
.confidence-grid strong { font-size: 13px; }
.confidence-grid small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.services-section { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { position: relative; overflow: hidden; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(18, 54, 144, .06); transition: .2s ease; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.feature-card::before { content: ""; position: absolute; width: 150px; height: 150px; top: -95px; right: -78px; background: var(--sky-100); border-radius: 50%; }
.feature-number { position: absolute; top: 20px; right: 23px; color: #b4c0d5; font-size: 13px; font-weight: 900; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--white); background: var(--blue-700); border-radius: 16px; font-style: normal; font-size: 23px; box-shadow: 0 9px 20px rgba(36, 87, 238, .2); }
.feature-yellow .feature-icon { color: var(--blue-950); background: var(--yellow-500); box-shadow: 0 9px 20px rgba(255, 214, 63, .2); }
.feature-mint .feature-icon { color: var(--blue-950); background: var(--mint-500); box-shadow: 0 9px 20px rgba(72, 216, 178, .2); }
.feature-card h3 { margin: 25px 0 10px; color: var(--ink); font-size: 21px; letter-spacing: -.025em; }
.feature-card p { min-height: 102px; margin: 0 0 19px; color: var(--muted); font-size: 14px; }
.feature-card a, .text-link { color: var(--blue-700); font-size: 13px; font-weight: 900; }
.feature-card a span, .text-link span { display: inline-block; transition: transform .2s ease; }
.feature-card a:hover span, .text-link:hover span { transform: translateX(4px); }
.process-section { background: var(--sky-50); }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.process-copy { position: sticky; top: 130px; align-self: start; }
.process-copy h2 { margin-bottom: 18px; }
.process-copy > p { max-width: 470px; margin: 0 0 23px; color: var(--muted); }
.process-steps { position: relative; }
.process-steps::before { content: ""; position: absolute; width: 2px; top: 42px; bottom: 42px; left: 26px; background: linear-gradient(var(--yellow-500), var(--blue-600)); }
.process-steps article { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 10px 0 30px; }
.process-steps article:last-child { padding-bottom: 10px; }
.process-steps article > span { position: relative; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; color: var(--blue-950); background: var(--yellow-500); border: 6px solid var(--sky-50); border-radius: 17px; font-size: 16px; font-weight: 950; box-shadow: 0 6px 15px rgba(21, 63, 206, .08); }
.process-steps article:nth-child(n+3) > span { color: var(--white); background: var(--blue-700); }
.process-steps article div { padding: 13px 21px 17px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.process-steps h3 { margin: 0 0 4px; font-size: 18px; }
.process-steps p { margin: 0; color: var(--muted); font-size: 13px; }
.portal-section { position: relative; overflow: hidden; color: var(--white); background: var(--blue-950); }
.portal-shape { position: absolute; width: 480px; height: 480px; right: -240px; bottom: -260px; border: 85px solid rgba(255, 214, 63, .08); border-radius: 50%; }
.light-heading h2 { color: var(--white); }
.light-heading p { color: #aebfe9; }
.portal-card-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portal-card-grid article { padding: 29px; background: #102d78; border: 1px solid #28478c; border-radius: 20px; transition: .2s ease; }
.portal-card-grid article:hover { background: #14388e; border-color: #4167c4; transform: translateY(-5px); }
.portal-card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; font-weight: 950; }
.portal-card-grid article > span { color: #9db2e6; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.portal-card-grid h3 { margin: 6px 0 8px; color: var(--white); font-size: 22px; }
.portal-card-grid p { min-height: 48px; margin: 0 0 20px; color: #b6c5e9; font-size: 13px; }
.portal-card-grid a { display: flex; justify-content: space-between; padding-top: 16px; color: var(--yellow-500); border-top: 1px solid #315098; font-size: 13px; font-weight: 900; }
.resources-section { background: var(--white); }
.resource-layout { display: grid; grid-template-columns: 1.03fr .97fr; gap: 28px; }
.resource-feature { position: relative; min-height: 430px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 55px; color: var(--white); background: linear-gradient(140deg, var(--blue-800), var(--blue-600)); border-radius: var(--radius-lg); }
.resource-feature h2 { position: relative; z-index: 2; max-width: 470px; margin: 18px 0 14px; color: var(--white); font-size: clamp(32px, 4vw, 47px); letter-spacing: -.055em; line-height: 1.06; }
.resource-feature p { position: relative; z-index: 2; max-width: 490px; margin: 0 0 26px; color: #dce7ff; }
.resource-feature .button { position: relative; z-index: 2; background: var(--blue-950); }
.resource-badge { position: relative; z-index: 2; padding: 6px 11px; color: var(--blue-950); background: var(--yellow-500); border-radius: 30px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.resource-decoration { position: absolute; width: 250px; height: 250px; right: -70px; bottom: -65px; border: 48px solid rgba(255, 214, 63, .23); border-radius: 50%; }
.resource-decoration i { position: absolute; display: block; background: var(--yellow-500); border-radius: 50%; }
.resource-decoration i:nth-child(1) { width: 25px; height: 25px; top: -55px; left: -12px; }
.resource-decoration i:nth-child(2) { width: 13px; height: 13px; top: -90px; left: 40px; }
.resource-decoration i:nth-child(3) { width: 9px; height: 9px; top: -35px; left: 67px; }
.resource-list { padding: 30px 15px 20px 30px; }
.resource-list h2 { margin-bottom: 24px; font-size: clamp(33px, 3.5vw, 45px); }
.resource-list > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.resource-list > a:hover strong { color: var(--blue-700); }
.resource-list > a span { display: flex; flex-direction: column; }
.resource-list small { color: var(--blue-600); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.resource-list strong { margin-top: 4px; font-size: 15px; transition: color .2s ease; }
.resource-list > a b { width: 34px; height: 34px; display: grid; place-items: center; flex: none; color: var(--blue-700); background: var(--sky-100); border-radius: 10px; }
.final-cta-section { padding-top: 25px; }
.final-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: 52px 58px; color: var(--white); background: var(--blue-700); border-radius: var(--radius-lg); }
.final-cta > div { position: relative; z-index: 2; }
.final-cta h2 { max-width: 660px; margin: 0 0 8px; color: var(--white); font-size: clamp(34px, 4vw, 50px); letter-spacing: -.055em; line-height: 1.06; }
.final-cta p { margin: 0; color: #dce7ff; }
.final-cta .button { position: relative; z-index: 2; flex: none; }
.cta-spark { position: absolute !important; z-index: 1 !important; border-radius: 50%; }
.cta-spark-one { width: 220px; height: 220px; top: -150px; right: 25%; border: 40px solid rgba(255, 214, 63, .18); }
.cta-spark-two { width: 160px; height: 160px; bottom: -115px; left: 33%; background: rgba(72, 216, 178, .12); }

/* Inner pages and WordPress content */
.page-hero { position: relative; overflow: hidden; padding: 77px 0 68px; color: var(--white); background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); }
.page-hero-orb { position: absolute; width: 310px; height: 310px; top: -160px; right: 7%; border: 55px solid rgba(255, 214, 63, .15); border-radius: 50%; }
.page-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.page-hero h1 { max-width: 850px; margin: 0; color: var(--white); font-size: clamp(43px, 5vw, 65px); font-weight: 950; letter-spacing: -.06em; line-height: 1.04; }
.page-hero-mark { position: relative; width: 95px; height: 95px; display: block; flex: none; background: var(--yellow-500); border-radius: 26px; transform: rotate(7deg); }
.page-hero-mark i, .page-hero-mark b { position: absolute; display: block; background: var(--blue-900); border-radius: 20px; }
.page-hero-mark i { width: 48px; height: 13px; top: 25px; left: 20px; transform: rotate(-18deg); }
.page-hero-mark b { width: 14px; height: 45px; right: 20px; bottom: 14px; transform: rotate(31deg); }
.content-section { min-height: 360px; padding: 75px 0 100px; background: var(--white); }
.content-wrap { max-width: 940px; }
.content-wrap > *:first-child { margin-top: 0; }
.content-wrap h2, .content-wrap h3, .content-wrap h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.035em; }
.content-wrap h2 { margin: 42px 0 14px; font-size: clamp(28px, 3.5vw, 40px); }
.content-wrap h3 { margin: 32px 0 10px; font-size: 24px; }
.content-wrap p, .content-wrap li { color: var(--muted); }
.content-wrap a:not(.wp-block-button__link) { color: var(--blue-700); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.content-wrap ul, .content-wrap ol { padding-left: 24px; }
.content-wrap li { margin-bottom: 8px; }
.content-wrap .notice, .notice { padding: 20px 22px; margin: 25px 0; color: #5d4a00; background: #fff8da; border: 1px solid #f1d866; border-left: 6px solid var(--yellow-500); border-radius: 13px; }
.content-wrap blockquote { padding: 5px 0 5px 24px; margin: 30px 0; color: var(--ink); border-left: 5px solid var(--yellow-500); font-size: 20px; font-weight: 700; }
.content-wrap table { width: 100%; border-collapse: collapse; }
.content-wrap th, .content-wrap td { padding: 13px; border: 1px solid var(--line); text-align: left; }
.content-wrap th { color: var(--blue-950); background: var(--sky-100); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], textarea, select { width: 100%; padding: 12px 14px; color: var(--ink); background: var(--white); border: 1px solid #cbd7e9; border-radius: 10px; }
input:focus, textarea:focus, select:focus { border-color: var(--blue-600); outline: 3px solid rgba(54, 112, 255, .14); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.post-card small { color: var(--blue-600); font-weight: 800; }
.post-card h2 { font-size: 22px; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: 14px; }
.not-found-section { padding: 100px 0; background: var(--sky-50); }
.not-found-card { max-width: 700px; padding: 65px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; }
.not-found-card > span { color: var(--blue-700); font-size: 18px; font-weight: 950; letter-spacing: .2em; }
.not-found-card h1 { margin: 10px 0; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.055em; }
.not-found-card p { margin-bottom: 25px; color: var(--muted); }

/* Footer */
.site-footer { padding: 75px 0 25px; color: #b5c2e1; background: #061641; }
.footer-top { display: grid; grid-template-columns: 1.55fr .8fr .9fr .8fr; gap: 50px; }
.brand-light { color: var(--white); }
.brand-light .brand-name span { color: var(--yellow-500); }
.footer-brand-column > p { max-width: 390px; margin: 18px 0; color: #9eb0d7; font-size: 13px; }
.footer-contact { display: flex; flex-direction: column; gap: 3px; }
.footer-contact a { color: var(--yellow-500); font-size: 13px; font-weight: 800; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; }
.footer-column h2 { margin: 7px 0 15px; color: var(--white); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.footer-column > a, .footer-menu-extra a { padding: 4px 0; color: #9eb0d7; font-size: 12px; }
.footer-column > a:hover, .footer-menu-extra a:hover { color: var(--yellow-500); }
.footer-menu-extra { padding: 0; margin: 0; list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; margin-top: 52px; border-top: 1px solid #1b326a; }
.footer-bottom p { margin: 0; color: #778bb8; font-size: 10px; }

/* Responsive */
@media (max-width: 1100px) {
  .header-inner { gap: 17px; }
  .primary-navigation .menu { gap: 18px; }
  .primary-navigation a { font-size: 13px; }
  .hero-grid { gap: 35px; }
  .floating-score { right: -5px; }
  .floating-message { left: -10px; }
  .footer-top { grid-template-columns: 1.3fr .8fr .9fr .8fr; gap: 30px; }
}

@media (max-width: 960px) {
  .announcement-inner { min-height: 39px; }
  .announcement-inner span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-inner { min-height: 70px; }
  .mobile-nav-toggle { position: relative; z-index: 1002; display: block; }
  .mobile-nav-toggle:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; }
  .mobile-nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .mobile-nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .mobile-nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .primary-navigation {
    position: fixed;
    visibility: hidden;
    z-index: 1000;
    top: var(--scoretrek-mobile-nav-top, 109px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--scoretrek-mobile-nav-top, 109px));
    height: calc(100dvh - var(--scoretrek-mobile-nav-top, 109px));
    max-height: calc(100vh - var(--scoretrek-mobile-nav-top, 109px));
    max-height: calc(100dvh - var(--scoretrek-mobile-nav-top, 109px));
    min-height: 240px;
    padding: 22px max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    color: var(--ink);
    background-color: #ffffff;
    box-shadow: inset 0 1px 0 var(--line), 0 24px 65px rgba(7, 27, 88, .18);
    transform: translateY(-12px);
    pointer-events: none;
    isolation: isolate;
    transition: visibility .2s ease, opacity .2s ease, transform .2s ease;
    -webkit-overflow-scrolling: touch;
  }
  .primary-navigation.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .primary-navigation .menu { width: min(100%, 640px); display: block; padding: 0; margin: 0 auto; background: #ffffff; }
  .primary-navigation .menu > li { margin: 0; border-bottom: 1px solid var(--line); }
  .primary-navigation a { min-height: 54px; display: flex; align-items: center; padding: 14px 4px; color: var(--ink); font-size: 16px; font-weight: 800; line-height: 1.3; }
  .primary-navigation .menu > li > a::after { display: none; }
  .primary-navigation .sub-menu { position: static; visibility: visible; width: auto; min-width: 0; padding: 0 0 10px 16px; opacity: 1; background: #ffffff; border: 0; box-shadow: none; transform: none; }
  .primary-navigation .sub-menu a { min-height: 46px; padding: 10px 12px; font-size: 14px; }
  .header-actions .button { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 25px; padding-top: 75px; padding-bottom: 145px; }
  .hero-copy-column { max-width: 740px; padding: 0; }
  .hero-copy-column h1 { font-size: clamp(52px, 9vw, 76px); }
  .dashboard-stage { width: min(100%, 650px); min-height: 485px; margin: 0 auto; }
  .dashboard-card { width: min(100%, 550px); }
  .confidence-grid { grid-template-columns: 1fr; }
  .confidence-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card p { min-height: 0; }
  .process-layout { grid-template-columns: 1fr; gap: 45px; }
  .process-copy { position: static; }
  .portal-card-grid { grid-template-columns: 1fr; }
  .portal-card-grid p { min-height: 0; }
  .resource-layout { grid-template-columns: 1fr; }
  .resource-list { padding: 25px 5px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand-column { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-wrap { width: min(100% - 28px, 1180px); }
  .announcement-inner { justify-content: space-between; }
  .announcement-inner strong { display: none; }
  .announcement-inner a { flex: none; }
  .brand { font-size: 21px; }
  .brand-symbol { width: 38px; height: 38px; }
  .custom-logo { max-width: 175px; max-height: 48px; }
  .header-inner { gap: 8px; }
  .mobile-nav-toggle { order: 3; margin-left: 0; }
  .site-branding { margin-right: auto; }
  .header-actions { order: 2; }
  .portal-toggle { min-height: 39px; padding: 7px 9px; font-size: 12px; }
  .portal-dropdown { position: fixed; width: auto; top: var(--scoretrek-mobile-nav-top, 110px); right: 14px; left: 14px; }
  .primary-navigation { top: var(--scoretrek-mobile-nav-top, 110px); }
  .section { padding: 75px 0; }
  .section-heading h2, .process-copy h2, .resource-list h2 { font-size: 36px; }
  .hero-grid { padding-top: 60px; padding-bottom: 135px; }
  .hero-copy-column h1 { font-size: clamp(47px, 13.3vw, 61px); }
  .hero-copy-column > p { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-assurances { align-items: flex-start; flex-direction: column; gap: 10px; }
  .dashboard-stage { min-height: 390px; }
  .dashboard-card { transform: none; }
  .dashboard-body { padding: 14px; }
  .score-panel { grid-template-columns: 1fr 120px; padding: 14px; }
  .score-copy strong { font-size: 43px; }
  .score-gauge { width: 115px; height: 62px; }
  .dashboard-metrics > div { gap: 5px; padding: 7px; }
  .metric-icon { width: 24px; height: 24px; }
  .dashboard-metrics small { display: none; }
  .floating-card { display: none; }
  .confidence-strip { margin-top: -40px; }
  .confidence-grid > div { padding: 17px; }
  .feature-card { padding: 26px; }
  .process-steps article { gap: 11px; }
  .process-steps article div { padding: 13px 15px; }
  .resource-feature { min-height: 470px; padding: 36px 28px; }
  .final-cta { padding: 38px 27px; }
  .final-cta .button { width: 100%; }
  .page-hero { padding: 60px 0; }
  .page-hero-mark { display: none; }
  .content-section { padding: 55px 0 75px; }
  .post-grid { grid-template-columns: 1fr; }
  .not-found-card { padding: 44px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .dashboard-welcome strong { max-width: 190px; }
  .score-panel { grid-template-columns: 1fr; }
  .score-gauge { margin: 0 auto; }
  .dashboard-metrics { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
