/* ==========================================================================
   Senior Living Exchange landing page
   Brand: Montserrat (headings), Mulish (body). Colors from the 2020 brand guide.
   ========================================================================== */

/* Brand fonts, self-hosted (SIL Open Font License, see assets/fonts) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/mulish-latin-wght-normal.woff2") format("woff2"); }

:root {
  --sky: #2DAEE4;
  --blue: #005DAC;
  --purple: #7960A9;
  --plum: #5C3180;

  --ink: #1d1736;
  --body: #4a4560;
  --muted: #6d6884;
  --line: #e7e3ef;
  --mist: #f5f3fa;
  --sky-mist: #eef8fd;
  --white: #fff;

  --grad: linear-gradient(100deg, var(--blue) 0%, var(--purple) 100%);
  --grad-x: linear-gradient(120deg, var(--sky) 0%, var(--blue) 45%, var(--purple) 100%);

  --head: "Montserrat", Arial, sans-serif;
  --text: "Mulish", Arial, sans-serif;

  --wrap: 1220px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 28px 60px -28px rgba(29, 23, 54, .38), 0 10px 24px -14px rgba(29, 23, 54, .18);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font: 400 17px/1.7 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--head); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
a { color: var(--blue); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* Icons from the flyer, used as masks so they take any color */
.ico { display: inline-block; width: 32px; height: 32px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; flex: none; }
.ico-cap { --i: url("../img/icons/cap.png"); }
.ico-video { --i: url("../img/icons/video.png"); }
.ico-community { --i: url("../img/icons/community.png"); }
.ico-target { --i: url("../img/icons/target.png"); }
.ico-devices { --i: url("../img/icons/devices.png"); }
.ico-idea { --i: url("../img/icons/idea.png"); }
.ico-growth { --i: url("../img/icons/growth.png"); }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 13px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-dark { color: var(--blue); }
.tagline { font: italic 800 15px/1.2 var(--head); letter-spacing: .01em; background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { --bg: var(--blue); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--bg); color: #fff; font: 700 15px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s; }
.btn .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); box-shadow: 0 16px 32px -16px rgba(0, 93, 172, .7); }
.btn-primary:hover { box-shadow: 0 22px 40px -18px rgba(0, 93, 172, .8); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5); }
.btn-sky { background: var(--sky); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50; transition: background-color .4s, box-shadow .4s, height .4s var(--ease); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 200px; }
.brand img { width: 100%; height: auto; transition: opacity .35s; }
.brand .logo-color { position: absolute; inset: 0; opacity: 0; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a:not(.btn) { color: rgba(255, 255, 255, .88); font: 600 15px/1 var(--head); text-decoration: none; position: relative; padding: 8px 0; transition: color .3s; }
.header-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.header-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-solid { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(29, 23, 54, .3); --header-h: 72px; height: 72px; }
.site-header.is-solid .logo-light { opacity: 0; }
.site-header.is-solid .logo-color { opacity: 1; }
.site-header.is-solid .header-nav a:not(.btn) { color: var(--ink); }
.site-header.is-solid .btn-sky { background: var(--grad); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: calc(var(--header-h) + 64px) 0 170px; overflow: hidden; background: #241552; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(900px 600px at 85% 20%, rgba(45, 174, 228, .25), transparent 60%),
  linear-gradient(100deg, rgba(27, 16, 66, .95) 0%, rgba(54, 30, 104, .88) 42%, rgba(0, 72, 150, .62) 100%); }
.chevrons { position: absolute; left: 0; top: 0; height: 100%; width: min(800px, 100%); overflow: hidden; pointer-events: none; }
.hero, .cta, .empower { contain: paint; }
.chevrons path { fill: #fff; opacity: .05; }
.chevrons path + path { opacity: .04; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 64px; align-items: start; }
.hero-copy { padding-top: 34px; }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -.03em; }
.hero h1 .hl { background: linear-gradient(100deg, #7fd3f5 0%, var(--sky) 40%, #b9a6e0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin-top: 26px; font-size: clamp(17px, 1.5vw, 19px); color: rgba(255, 255, 255, .84); max-width: 560px; }
.community-list { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 580px; }
.community-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font: 600 14.5px/1.2 var(--head); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.community-list svg { width: 18px; height: 18px; color: var(--sky); flex: none; }

/* ---------- Form card ---------- */
.form-card { position: relative; overflow: hidden; background: #fff; color: var(--body); border-radius: var(--radius-lg); padding: 36px 34px 30px; box-shadow: 0 40px 80px -30px rgba(8, 4, 30, .6); scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--grad-x); }
.form-head { margin-bottom: 20px; }
.form-slx { width: 84px; height: auto; margin-bottom: 14px; }
.form-head h2 { font-size: 27px; color: var(--plum); letter-spacing: -.02em; }
.form-head p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font: 600 13px/1.3 var(--head); color: var(--ink); }
.req { color: var(--purple); }
.field input { width: 100%; height: 50px; padding: 0 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfafd; color: var(--ink); font: 500 16px var(--text); transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:hover { border-color: #d3cde2; }
.field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 93, 172, .12); }
.field.has-error input { border-color: #c8324f; background: #fff8f9; }
.field-error { display: none; margin-top: 6px; font-size: 13px; line-height: 1.4; color: #b4243f; }
.field.has-error .field-error { display: block; }
.interests { margin: 6px 0 18px; padding: 0; border: 0; }
.interests legend { padding: 0; margin-bottom: 10px; font: 600 13px/1.3 var(--head); color: var(--ink); }
.legend-note { font: 400 13px var(--text); color: var(--muted); }
.choice { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 13px 14px; margin-bottom: 8px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.choice:hover { border-color: #cfc6e3; background: #fcfbfe; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-box { width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid #c9c1dc; display: grid; place-items: center; background: #fff; transition: background .25s, border-color .25s; }
.choice-box svg { width: 16px; height: 16px; color: #fff; transform: scale(.4); opacity: 0; transition: transform .3s var(--ease), opacity .2s; }
.choice-text strong { display: block; font: 700 14.5px/1.35 var(--head); color: var(--ink); }
.choice-text span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.choice input:checked ~ .choice-box { background: var(--grad); border-color: transparent; }
.choice input:checked ~ .choice-box svg { transform: scale(1); opacity: 1; }
.choice:has(input:checked) { border-color: var(--purple); background: #f7f4fc; box-shadow: 0 8px 20px -14px rgba(92, 49, 128, .5); }
.choice input:focus-visible ~ .choice-box { outline: 3px solid var(--sky); outline-offset: 2px; }
/* Two-step form */
.form-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-step:not([hidden]) { animation: stepIn .45s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.form-step.from-left:not([hidden]) { animation-name: stepBack; }
@keyframes stepBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.form-step [data-next] { margin-top: 6px; }
.form-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.progress-label { font: 500 13px/1.2 var(--head); color: var(--muted); white-space: nowrap; }
.progress-label strong { color: var(--plum); font-weight: 700; }
.progress-sep { margin: 0 2px; }
.progress-track { display: flex; gap: 6px; flex: 0 1 120px; }
.progress-seg { flex: 1; height: 5px; border-radius: 5px; background: var(--line); position: relative; overflow: hidden; }
.progress-seg::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress-seg.is-on::after { transform: scaleX(1); }
.step-actions { display: flex; align-items: center; gap: 12px; }
.step-actions .btn { flex: 1; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 14px/1 var(--head); cursor: pointer; transition: border-color .25s, background .25s; }
.btn-back:hover { border-color: #cfc6e3; background: var(--mist); }
.btn-back svg { width: 18px; height: 18px; }
.form-step .interests { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: #fff1f4; border: 1px solid #f3c4cf; color: #8f1d34; font-size: 14.5px; line-height: 1.5; }
.fine-print { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.fine-print a { color: var(--muted); }
.grecaptcha-badge { visibility: hidden !important; }

.btn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-label, .btn.is-loading .arrow { opacity: 0; }
.btn.is-loading .spinner { display: block; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: 48px 8px 40px; }
.form-success:focus { outline: none; }
.success-check { width: 84px; height: 84px; margin: 0 auto 26px; }
.success-check svg { width: 100%; height: 100%; }
.success-check circle { stroke: var(--purple); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.success-check path { stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h2 { font-size: 28px; color: var(--plum); }
.form-success p { margin-top: 14px; font-size: 16.5px; color: var(--body); }
.form-success .tagline { display: inline-block; margin-top: 26px; font-size: 16px; }

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 2; margin-top: -110px; }
.pillar-panel { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.pillar { padding: 40px 30px 42px; text-align: center; position: relative; transition: background-color .4s; }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 36px; bottom: 36px; width: 1px; background: var(--line); }
.pillar:hover { background: var(--mist); }
.pillar-ring { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--grad-x); display: grid; place-items: center; color: #fff; box-shadow: 0 14px 28px -14px rgba(92, 49, 128, .7); transition: transform .5s var(--ease); }
.pillar:hover .pillar-ring { transform: translateY(-4px) scale(1.04); }
.pillar-ring .ico { width: 40px; height: 40px; }
.pillar h3 { font-size: 18px; line-height: 1.3; color: var(--plum); letter-spacing: -.01em; }
.pillar p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Statement ---------- */
.statement { padding: 120px 0 110px; text-align: center; background:
  radial-gradient(600px 300px at 50% 0%, rgba(121, 96, 169, .08), transparent 70%); }
.statement-inner { max-width: 900px; }
.statement-logo { width: 150px; margin: 0 auto 22px; }
.statement .tagline { display: inline-block; font-size: 18px; margin-bottom: 18px; }
.statement h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--plum); letter-spacing: -.025em; }
.statement h2 span { display: block; color: var(--blue); font-weight: 400; font-size: .8em; margin-top: 10px; letter-spacing: -.015em; }

/* ---------- On-demand ---------- */
.ondemand { padding: 110px 0; background: linear-gradient(180deg, var(--sky-mist), #fff); position: relative; }
.ondemand-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 72px; align-items: center; }
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: #1b1235; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
.video-toggle { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--plum); display: grid; place-items: center; cursor: pointer; z-index: 2; transition: transform .3s var(--ease); }
.video-toggle:hover { transform: scale(1.06); }
.video-toggle svg { width: 20px; height: 20px; }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle.is-paused .i-pause { display: none; }
.video-chip { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 700 14px/1.2 var(--head); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.chip-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.chip-icon .ico { width: 20px; height: 20px; }
.ondemand h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.22; letter-spacing: -.02em; }
.ondemand .lead { margin: 22px 0 32px; font-size: 19px; color: var(--body); }

/* ---------- Topics ---------- */
.topics { padding: 100px 0 120px; }
.topics-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.topics h2 { font-size: clamp(32px, 3.8vw, 48px); color: var(--plum); font-weight: 800; letter-spacing: -.025em; }
.topics-intro p + p { margin-top: 14px; }
.topics-intro p { color: var(--muted); }
.explorer-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 22px; border-top: 1px solid var(--line); margin-bottom: 8px; }
.explorer-bar p { font: 600 16px/1.5 var(--head); color: var(--ink); max-width: 620px; }
.topic-search { position: relative; flex: none; width: 320px; }
.topic-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.topic-search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--mist); font: 500 15.5px var(--text); color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s; }
.topic-search input:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(121, 96, 169, .14); }

.explorer { display: grid; grid-template-columns: 400px minmax(0, 1fr); column-gap: 40px; align-items: start; }
.cat-tab { grid-column: 1; display: grid; grid-template-columns: 36px 1fr auto; gap: 2px 12px; align-items: center; width: 100%; text-align: left; padding: 13px 18px; border: 0; border-radius: 16px; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s, transform .3s var(--ease); margin-bottom: 4px; }
.cat-tab:hover { background: var(--mist); }
.cat-num { font: 800 14px/1 var(--head); color: var(--purple); letter-spacing: .04em; grid-row: span 2; }
.cat-name { font: 700 16px/1.3 var(--head); }
.cat-count { grid-column: 2; font-size: 13px; color: var(--muted); }
.cat-chev { grid-column: 3; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.cat-tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 18px 34px -20px rgba(0, 93, 172, .8); }
.cat-tab.is-active .cat-num, .cat-tab.is-active .cat-count, .cat-tab.is-active .cat-chev { color: rgba(255, 255, 255, .85); }
.cat-tab.is-active .cat-chev { transform: translateX(3px); }
.cat-tab.is-dim { opacity: .38; }

.cat-panel { position: relative; grid-column: 2; grid-row: 1 / span 9; align-self: stretch; display: flex; flex-direction: column; padding: 40px 40px 34px; border-radius: var(--radius-lg); background: var(--mist); overflow: hidden; }
.cat-panel::after { content: ""; position: absolute; right: -50px; bottom: -40px; width: 300px; height: 330px; background: url("../img/slx-mark.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.cat-panel-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.cat-panel-num { font: 800 46px/1 var(--head); background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.cat-panel h3 { font-size: clamp(22px, 2.2vw, 28px); color: var(--plum); letter-spacing: -.02em; }
.topic-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.topic { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgba(29, 23, 54, .04), 0 10px 24px -20px rgba(29, 23, 54, .35); font: 600 15.5px/1.4 var(--head); color: var(--ink); animation: topicIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.topic-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-x); }
.topic mark { background: rgba(45, 174, 228, .24); color: inherit; border-radius: 3px; box-shadow: 0 0 0 2px rgba(45, 174, 228, .24); }
@keyframes topicIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cat-panel-foot { margin-top: auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; font-size: 15px; color: var(--muted); }
.cat-panel-foot strong { color: var(--plum); font-family: var(--head); }
.cat-panel-foot a { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.cat-panel-foot .arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cat-panel-foot a:hover .arrow { transform: translateX(4px); }
.no-results { grid-column: 2; grid-row: 1; padding: 40px; border-radius: var(--radius-lg); background: var(--mist); color: var(--muted); font-weight: 600; }

/* ---------- Empower ---------- */
.empower { position: relative; padding: 100px 0; color: #fff; background:
  radial-gradient(800px 500px at 100% 0%, rgba(45, 174, 228, .28), transparent 60%),
  linear-gradient(120deg, var(--plum) 0%, #6a479a 55%, var(--purple) 100%); overflow: hidden; }
.empower::before { content: ""; position: absolute; inset: 0; background: url("../img/slx-mark.png") right -80px center / 520px auto no-repeat; opacity: .045; filter: brightness(10); pointer-events: none; }
.empower-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.empower-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 70px -34px rgba(10, 4, 30, .8); aspect-ratio: 5 / 4; }
.empower-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transition: transform 1.4s var(--ease); }
.empower-photo:hover img { transform: scale(1.04); }
.empower h2 { color: #fff; font-size: clamp(32px, 3.8vw, 46px); font-weight: 800; }
.empower-copy > p { margin-top: 18px; font-size: 18.5px; color: rgba(255, 255, 255, .86); max-width: 520px; }
.empower-list { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.empower-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 18px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font: 700 16px/1.25 var(--head); color: #fff; transition: background-color .35s, transform .35s var(--ease); }
.empower-list li:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.empower-list .tile { width: 54px; height: 54px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--purple); }
.empower-list .ico { width: 32px; height: 32px; }
.anytime { margin-top: 30px; font: 800 15px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: #9fdcf6; }

/* ---------- Enterprise ---------- */
.enterprise { padding: 120px 0; }
.enterprise-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.enterprise h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 800; color: var(--plum); letter-spacing: -.025em; }
.enterprise-copy p:not(.eyebrow) { margin-top: 18px; font-size: 18px; max-width: 540px; }
.enterprise-copy .btn { margin-top: 32px; }
.enterprise-media { position: relative; }
.enterprise-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 28% center; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.float-card { position: absolute; right: -34px; bottom: 34px; display: flex; align-items: center; gap: 14px; max-width: 330px; padding: 16px 20px 16px 16px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -24px rgba(29, 23, 54, .5); font-size: 13.5px; line-height: 1.45; color: var(--muted); animation: float 7s ease-in-out infinite; }
.float-card strong { display: block; font: 700 15px/1.3 var(--head); color: var(--ink); margin-bottom: 2px; }
.float-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.float-icon .ico { width: 28px; height: 28px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- CTA (brand rule: dark blue background, white text) ---------- */
.cta { position: relative; color: #fff; background:
  radial-gradient(700px 420px at 90% 10%, rgba(45, 174, 228, .45), transparent 60%),
  linear-gradient(120deg, #00468a 0%, var(--blue) 60%, #0a6fc4 100%); overflow: hidden; isolation: isolate; }
.chevrons-cta { z-index: -1; }
.chevrons-cta path { opacity: .06; }
.cta-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.cta-copy { padding: 110px 0; }
.cta h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; max-width: 720px; }
.cta p { margin: 22px 0 36px; font-size: 19px; color: rgba(255, 255, 255, .86); max-width: 620px; }
.cta-person { align-self: end; justify-self: center; width: 100%; max-width: 470px; position: relative; margin-top: 40px; }
.cta-person::before { content: ""; position: absolute; left: 8%; right: 8%; top: 14%; bottom: 0; border-radius: 300px 300px 0 0; background: linear-gradient(180deg, rgba(45, 174, 228, .5), rgba(45, 174, 228, 0)); }
.cta-person img { position: relative; display: block; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: #1b1035; color: rgba(255, 255, 255, .6); padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; }
.footer-inner img { width: 190px; }
.site-footer .tagline { background: none; color: #9fdcf6; -webkit-background-clip: initial; background-clip: initial; }
.copyright { margin-left: auto; font-size: 14px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 44px; }
  .explorer { grid-template-columns: 330px minmax(0, 1fr); column-gap: 28px; }
  .cat-panel { padding: 32px 28px; }
  .topic-list { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .header-nav a:not(.btn) { display: none; }
  .brand { width: 168px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 140px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { padding-top: 0; }
  .form-card { max-width: 620px; width: 100%; }
  .pillars { margin-top: -90px; }
  .pillar-panel { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3)::before { display: none; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .statement { padding: 90px 0 80px; }
  .ondemand { padding: 90px 0; }
  .ondemand-grid, .empower-grid, .enterprise-grid, .topics-head { grid-template-columns: 1fr; gap: 44px; }
  .topics { padding: 90px 0 100px; }
  .topics-head { gap: 20px; margin-bottom: 32px; }
  .explorer-bar { flex-direction: column; align-items: stretch; }
  .topic-search { width: 100%; }

  /* Explorer becomes an accordion */
  .explorer { display: block; }
  .cat-tab { border: 1.5px solid var(--line); margin-bottom: 10px; }
  .cat-tab.is-active { border-color: transparent; }
  .cat-tab.is-active .cat-chev { transform: rotate(90deg); }
  .cat-chev { transform: rotate(0); }
  .cat-panel { margin: -2px 0 16px; padding: 22px 18px 20px; border-radius: 18px; }
  .cat-panel-head, .cat-panel-foot { display: none; }
  .no-results { padding: 24px; }

  .empower { padding: 80px 0; }
  .enterprise { padding: 90px 0; }
  .enterprise-media { order: -1; }
  .float-card { position: relative; right: auto; bottom: auto; max-width: none; margin: -30px 16px 0; animation: none; }
  .enterprise-media img { aspect-ratio: 4 / 3; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-copy { padding: 84px 0 10px; }
  .cta-person { max-width: 340px; margin-top: 36px; }

  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -18px rgba(29, 23, 54, .45); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 52px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .header-nav .btn { padding: 0 16px; font-size: 12px; letter-spacing: .04em; }
  .brand { width: 150px; }
  .hero h1 { font-size: 36px; }
  .community-list li { font-size: 13.5px; padding: 9px 14px 9px 10px; }
  .form-card { padding: 30px 20px 24px; border-radius: 22px; }
  .form-head h2 { font-size: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .pillar-panel { grid-template-columns: 1fr; }
  .pillar { padding: 32px 24px; }
  .pillar::before { display: none; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .empower-list { grid-template-columns: 1fr; }
  .empower-list li { flex-direction: row; align-items: center; padding: 14px; }
  .video-chip { font-size: 12.5px; left: 12px; bottom: 12px; }
  .btn { width: 100%; }
  .header-nav .btn { width: auto; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .step-actions .btn { width: 100%; }
  .btn-back { justify-content: center; min-height: 44px; border-color: transparent; background: none; color: var(--muted); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .copyright { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .success-check circle, .success-check path { stroke-dashoffset: 0; }
}
