/* Elite Sweep homepage redesign, matched to ccsbts.com structure.
   General Sans, NO BOLD anywhere (400 + 500 only). No icon backgrounds.
   Muted-blue accent, no frosted glass, dark hero + light sections, transparent
   nav to white on scroll. All color tokens injected from config. Mobile-first. */

*, *::before, *::after { box-sizing: border-box; }
.rx-body {
  margin: 0; background: var(--d-section-light); color: var(--d-on-light);
  font-family: var(--d-font); font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 500; }
.rx-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rx-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

/* Buttons */
.rx-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: 0;
  transition: background .16s, box-shadow .16s, transform .16s; }
.rx-btn-accent { background: var(--d-accent); color: var(--d-accent-text); }
.rx-btn-accent:hover { box-shadow: 0 10px 30px rgba(94,128,168,0.4); transform: translateY(-2px); }
.rx-btn-arrow { display: inline-grid; place-items: center; }
.rx-btn-arrow svg { width: 16px; height: 16px; }

/* Eyebrow + two-tone header (no bold, medium top) */
.rx-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 500;
  color: var(--d-accent); margin: 0 0 16px; }
.rx-eyebrow-light { color: #9fb4cc; }
/* Short punchy two-tone line (dark lead + muted-gray tail), with any longer
   supporting sentence demoted to a small subhead beneath it. */
.rx-h2 { margin: 0 0 clamp(26px, 4vw, 44px); letter-spacing: -0.015em; line-height: 1.12; }
.rx-h2-line { display: block; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; }
.rx-h2-top { font-weight: 500; color: var(--d-header-top); }
.rx-h2-light { font-weight: 500; color: var(--d-header-sub); }
.rx-h2-sub { display: block; margin-top: 14px; font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 400; line-height: 1.5; color: var(--d-on-light-faint); max-width: 640px; }
.rx-accent-word { color: var(--d-accent); }

/* Sections */
.rx-section { padding: clamp(56px, 8vw, 100px) 0; }
.rx-section-light { background: var(--d-section-light); }
.rx-section-white { background: var(--d-section-white); }

/* ---- Nav ---- */
.rx-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.rx-nav-inner { display: flex; align-items: center; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 16px clamp(20px, 5vw, 40px); }
.rx-brand { display: flex; align-items: center; gap: 11px; font-weight: 500; color: #fff; }
.rx-brand img { border-radius: 8px; }
.rx-nav-links { display: flex; gap: 26px; margin-left: auto; }
.rx-nav-links a { color: rgba(255,255,255,0.9); font-size: 0.92rem; }
.rx-nav-cta { background: var(--d-accent); color: var(--d-accent-text); font-weight: 500; font-size: 0.9rem; padding: 9px 20px; border-radius: 999px; }
.rx-nav-toggle { display: none; margin-left: auto; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.rx-nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.rx-nav.rx-scrolled { background: #fff; box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.rx-nav.rx-scrolled .rx-brand { color: var(--d-header-top); }
.rx-nav.rx-scrolled .rx-nav-links a { color: var(--d-on-light); }
.rx-nav.rx-scrolled .rx-nav-toggle span { background: var(--d-header-top); }
.rx-nav-mobile { display: none; }

/* ---- Hero ---- */
.rx-hero { position: relative; min-height: 100svh; display: grid; align-content: center;
  background-size: cover; background-position: center;
  padding: clamp(120px, 16vh, 190px) clamp(20px, 6vw, 88px) clamp(56px, 10vh, 110px); }
.rx-hero-inner { width: 100%; max-width: 940px; min-width: 0; }
.rx-hero-title { margin: 0 0 22px; letter-spacing: -0.02em; line-height: 1.06; }
.rx-hero-title span { display: block; }
.rx-hero-top { font-size: clamp(2rem, 6vw, 4.4rem); font-weight: 500; color: #fff; }
.rx-hero-sub-line { font-size: clamp(1.7rem, 5vw, 3.5rem); font-weight: 400; color: rgba(255,255,255,0.72); }
.rx-hero-sub { margin: 0 0 34px; max-width: 600px; font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(233,238,244,0.85); }

/* ---- Service selector: muted-blue container, rounded bottom only ---- */
.rx-selector { background: var(--d-accent); }
.rx-selector-inner { max-width: 1180px; margin: 0 auto;
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 5vw, 40px);
  display: flex; align-items: center; gap: 28px; }
.rx-selector-label { flex: 0 0 58%; max-width: 58%; margin: 0; color: #fff; font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.2; }
.rx-selector-drop { margin-left: auto; position: relative; }
.rx-selector-drop::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--d-accent); border-bottom: 2px solid var(--d-accent);
  transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.rx-selector-drop select { appearance: none; background: #fff; color: var(--d-header-top);
  border: 0; border-radius: 12px; padding: 15px 46px 15px 20px; font: inherit; font-size: 1rem;
  min-width: 260px; cursor: pointer; }

/* ---- Section head alignment modifier (desktop center, mobile left) ---- */
.rx-center { text-align: center; }
.rx-center .rx-h2-line { justify-content: center; }
.rx-center .rx-h2-sub { margin-left: auto; margin-right: auto; }

/* ---- Services: split column, left head + 2x2 card grid ---- */
.rx-svc-layout { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.rx-svc-head { position: sticky; top: 100px; }
.rx-svc-head .rx-h2 { margin-bottom: 0; }
.rx-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.rx-svc-card { min-width: 0; background: var(--d-section-white); border: 1px solid var(--d-line-light);
  border-radius: 20px; padding: 14px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.rx-svc-card:hover { box-shadow: 0 22px 50px rgba(20,30,45,0.16); transform: translateY(-4px); border-color: transparent; }
.rx-svc-media { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center; border: 0; padding: 0; cursor: pointer; display: block; }
.rx-svc-media::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,13,18,0.72) 100%); transition: background .22s; }
.rx-svc-desc { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; color: #fff;
  font-size: 0.9rem; line-height: 1.5; text-align: left; opacity: 0; transform: translateY(10px);
  transition: opacity .22s, transform .22s; }
.rx-svc-card.rx-open .rx-svc-media::before { background: linear-gradient(180deg, rgba(10,13,18,0.35) 0%, rgba(10,13,18,0.88) 100%); }
.rx-svc-card.rx-open .rx-svc-desc { opacity: 1; transform: translateY(0); }
.rx-svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 6px 4px; }
.rx-svc-title { margin: 0; font-size: 1.06rem; font-weight: 500; color: var(--d-header-top); }
.rx-svc-arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--d-accent-soft); color: var(--d-accent);
  transition: background .16s, color .16s; }
.rx-svc-arrow svg { width: 17px; height: 17px; transition: transform .18s; }
.rx-svc-card:hover .rx-svc-arrow { background: var(--d-accent); color: #fff; }
.rx-svc-card:hover .rx-svc-arrow svg { transform: rotate(45deg); }

/* ---- Built around you: white bg, image cards, no arrows ---- */
.rx-ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rx-ba-card { min-width: 0; }
.rx-ba-media { aspect-ratio: 4 / 3; border-radius: 18px; background-size: cover; background-position: center;
  box-shadow: 0 14px 36px rgba(20,30,45,0.12); margin-bottom: 18px; }
.rx-ba-descriptor { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 500; color: var(--d-accent); }
.rx-ba-card h3 { margin: 10px 0 8px; font-size: 1.3rem; font-weight: 500; color: var(--d-header-top); }
.rx-ba-card p { margin: 0; font-size: 0.96rem; color: var(--d-on-light); }

/* ---- Tech: full-width hero image, overlapping phone on the right ---- */
.rx-tech { position: relative; background: var(--d-section-white); }
/* Desktop: hero image constrained to the content container, centered, rounded. */
.rx-tech-hero { position: relative; width: calc(100% - clamp(40px, 10vw, 80px)); max-width: 1180px;
  margin-inline: auto; border-radius: 24px; overflow: hidden;
  min-height: clamp(320px, 34vw, 440px); display: grid; align-items: center;
  background-size: cover; background-position: center; padding: clamp(48px, 7vw, 96px) 0; }
.rx-tech-hero-text { max-width: 620px; }
.rx-tech-hero .rx-h2 { margin: 0; }
.rx-tech-hero .rx-h2-top { color: #fff; }
.rx-tech-hero .rx-h2-light { color: rgba(255,255,255,0.62); }
.rx-tech-hero .rx-h2-sub { color: #fff; }
.rx-tech-lower { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.rx-tech-lower-inner { position: relative; min-height: 400px; }
.rx-tech-callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; max-width: 56%; }
.rx-tech-callout { display: flex; gap: 14px; align-items: flex-start; }
.rx-tech-icon { width: 22px; height: 22px; color: var(--d-accent); flex: 0 0 auto; margin-top: 2px; }
.rx-tech-callout h3 { margin: 0 0 5px; font-size: 1.06rem; font-weight: 500; color: var(--d-header-top); }
.rx-tech-callout p { margin: 0; font-size: 0.92rem; color: var(--d-on-light); }
/* Phone: absolute on the right, pulled up so its top half overlaps the hero. */
.rx-phone-stage { position: absolute; right: 0; top: -320px; width: 300px; display: flex; flex-direction: column; align-items: center; }
.rx-phone-frame { width: 256px; height: 516px; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg,#20262f,#0d1116); border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4); }
.rx-phone-screen { width: 100%; height: 100%; border-radius: 32px; background: linear-gradient(180deg,#12161d,#0a0d12);
  display: grid; place-content: center; gap: 6px; color: var(--d-text-faint); text-align: center; padding: 20px; }
.rx-phone-img { width: 280px; height: auto; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.4)); }
.rx-phone-screen span { font-weight: 500; color: #9fb4cc; }
.rx-phone-screen small { font-size: 0.78rem; }
.rx-phone-pill { margin: 20px 0 64px; width: 300px; background: var(--d-section-light);
  border: 1px solid var(--d-line-light); border-radius: 16px; padding: 16px 20px; font-size: 0.94rem;
  color: var(--d-on-light); text-align: left; box-shadow: 0 12px 34px rgba(20,30,45,0.1); }

/* ---- For You: row of icon + title + text, each in an outlined container ---- */
.rx-eff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rx-eff-item { display: block; text-align: left; background: var(--d-section-white);
  border: 1px solid var(--d-line-light); border-radius: 18px; padding: 26px 24px; }
.rx-eff-icon { width: 26px; height: 26px; color: var(--d-accent); margin-bottom: 16px; }
.rx-eff-item h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 500; color: var(--d-header-top); }
.rx-eff-item p { margin: 0; font-size: 0.92rem; color: var(--d-on-light); }

/* ---- Industries: statement header + taller image tiles ---- */
.rx-band-head { text-align: center; margin: 0 auto clamp(30px, 4vw, 48px); max-width: 820px; }
.rx-band-head .rx-h2 { margin: 0; }
.rx-band-head .rx-h2-sub { margin-left: auto; margin-right: auto; }
.rx-vert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rx-vert-card { position: relative; aspect-ratio: 5 / 8; border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 20px;
  transition: transform .18s; }
.rx-vert-card:hover { transform: translateY(-4px); }
.rx-vert-card h3 { margin: 0; color: #fff; font-size: 1.1rem; font-weight: 500; max-width: 88%; }

/* ---- Results: wide rounded containers, inset images, alternating treatment ---- */
.rx-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rx-result-card { display: flex; flex-direction: column; background: #EAEEF3; border-radius: 22px;
  padding: 18px; box-shadow: 0 14px 40px rgba(20,30,45,0.07); }
.rx-result-card-dark { background: #16263C; }
.rx-result-media { flex: 1 1 auto; min-height: 210px; border-radius: 14px; background-size: cover;
  background-position: center; }
.rx-result-head { padding: 8px 8px 6px; }
.rx-result-card .rx-result-head { padding-bottom: 16px; }
.rx-result-card-dark .rx-result-head { padding-top: 18px; padding-bottom: 6px; }
.rx-result-heading { min-width: 0; }
.rx-result-pill { display: inline-block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem;
  font-weight: 500; color: var(--d-accent); background: var(--d-accent-soft); border-radius: 999px; padding: 6px 12px; }
.rx-result-card-dark .rx-result-pill { color: #Bcd2ec; background: rgba(255,255,255,0.12); }
.rx-result-heading h3 { margin: 14px 0 8px; font-size: 1.14rem; font-weight: 500; color: var(--d-header-top); }
.rx-result-heading p { margin: 0; font-size: 0.92rem; color: var(--d-on-light); }
.rx-result-card-dark .rx-result-heading h3 { color: #F2F5F8; }
.rx-result-card-dark .rx-result-heading p { color: #A9B6C6; }

/* ---- Consultation: two-panel, form left, photo right ---- */
.rx-consult-panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 22px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(20,30,45,0.12); }
.rx-consult-form { padding: clamp(30px, 4vw, 52px); }
.rx-consult-form .rx-h2 { margin-bottom: 24px; }
.rx-consult-photo { background-size: cover; background-position: center; min-height: 420px; }
.rx-form { display: grid; gap: 16px; }
.rx-field { display: flex; flex-direction: column; gap: 6px; }
.rx-field span { font-size: 0.82rem; font-weight: 500; color: var(--d-on-light-faint); }
.rx-field input, .rx-field select { width: 100%; background: var(--d-section-light);
  border: 1px solid var(--d-line-light); border-radius: 12px; padding: 13px 15px; font: inherit; font-size: 0.95rem;
  color: var(--d-header-top); }
.rx-field input:focus, .rx-field select:focus { outline: 2px solid var(--d-accent); outline-offset: 1px; border-color: transparent; }
.rx-form .rx-btn { justify-content: center; margin-top: 4px; }
.rx-form-note { text-align: center; color: var(--d-on-light-faint); font-size: 0.8rem; margin: 6px 0 0; }

/* ---- Footer: white, multi-column ---- */
.rx-footer { background: #fff; color: var(--d-on-light); border-top: 1px solid var(--d-line-light);
  padding: clamp(48px, 7vw, 76px) 0 32px; }
.rx-foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(32px, 6vw, 80px); }
.rx-foot-brand img { width: 67px; height: 67px; border-radius: 10px; margin-bottom: 16px; }
.rx-foot-brand p { margin: 0 0 16px; max-width: 320px; font-size: 0.94rem; color: var(--d-on-light); }
.rx-foot-social { display: flex; gap: 16px; }
.rx-foot-social a { font-size: 0.88rem; color: var(--d-accent); }
.rx-foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.rx-foot-col h4 { margin: 0 0 14px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--d-header-top); }
.rx-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rx-foot-col a { font-size: 0.9rem; color: var(--d-on-light); }
.rx-foot-col a:hover { color: var(--d-accent); }
.rx-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px;
  padding-top: 22px; border-top: 1px solid var(--d-line-light); font-size: 0.82rem; color: var(--d-on-light-faint); }

/* ---- Interior pages: shared design system (subheroes, feature grids, CTA
   bands, roles, quote panel). Same tokens, cards, and spacing as the homepage. */
.rx-subhero { position: relative; min-height: clamp(340px, 46vh, 460px); display: grid; align-content: center;
  background-size: cover; background-position: center;
  padding: clamp(96px, 12vw, 150px) 0 clamp(44px, 6vw, 68px); }
.rx-subhero-inner { max-width: 760px; }
.rx-subhero .rx-h2-top { color: #fff; }
.rx-subhero .rx-h2-light { color: rgba(255,255,255,0.66); }
.rx-subhero .rx-h2-sub { color: rgba(233,238,244,0.85); }
.rx-subhero .rx-btn { margin-top: 28px; }

.rx-prose { max-width: 720px; }
.rx-prose p { margin: 0 0 18px; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--d-on-light); }
.rx-prose p:last-child { margin-bottom: 0; }

.rx-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.rx-feat-item { display: flex; gap: 16px; background: var(--d-section-white);
  border: 1px solid var(--d-line-light); border-radius: 18px; padding: 22px 24px; }
.rx-feat-icon { width: 24px; height: 24px; color: var(--d-accent); flex: 0 0 auto; margin-top: 2px; }
.rx-feat-item h3 { margin: 0; font-size: 1.04rem; font-weight: 500; color: var(--d-header-top); }
.rx-feat-item p { margin: 6px 0 0; font-size: 0.92rem; color: var(--d-on-light); }

/* Related-service cards: a centered row of three (the current page is omitted). */
.rx-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 22px;
  margin-top: 40px; justify-content: center; }

.rx-cta-band { background: var(--d-surface); color: #fff; padding: clamp(56px, 8vw, 92px) 0; }
.rx-cta-inner { text-align: center; display: grid; justify-items: center; }
.rx-cta-band .rx-h2 { justify-items: center; }
.rx-cta-band .rx-h2-line { text-align: center; }
.rx-cta-band .rx-h2-top { color: #fff; }
.rx-cta-band .rx-h2-light { color: rgba(255,255,255,0.6); }
.rx-cta-line { margin: 8px 0 28px; max-width: 520px; color: rgba(233,238,244,0.82); font-size: 1.02rem; }

.rx-role-list { display: grid; gap: 16px; margin-top: 40px; }
.rx-role-card { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--d-section-white); border: 1px solid var(--d-line-light); border-radius: 18px; padding: 24px 28px; }
.rx-role-main h3 { margin: 0 0 6px; font-size: 1.16rem; font-weight: 500; color: var(--d-header-top); }
.rx-role-main p { margin: 0; font-size: 0.94rem; color: var(--d-on-light); }
.rx-role-type { flex: 0 0 auto; font-size: 0.8rem; font-weight: 500; color: var(--d-accent);
  background: var(--d-accent-soft); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }

.rx-quote-panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.rx-quote-form { background: var(--d-section-white); border: 1px solid var(--d-line-light);
  border-radius: 22px; padding: clamp(28px, 3vw, 40px); }
.rx-quote-form .rx-form { grid-template-columns: 1fr 1fr; }
.rx-quote-form .rx-field-wide, .rx-quote-form .rx-btn, .rx-quote-form .rx-form-note { grid-column: 1 / -1; }
.rx-field-wide textarea { width: 100%; background: var(--d-section-light); border: 1px solid var(--d-line-light);
  border-radius: 12px; padding: 13px 15px; font: inherit; font-size: 0.95rem; color: var(--d-header-top); resize: vertical; }
.rx-field-wide textarea:focus { outline: 2px solid var(--d-accent); outline-offset: 1px; border-color: transparent; }
.rx-quote-aside { padding-top: 6px; }
.rx-contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.rx-contact-list li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--d-on-light); }
.rx-contact-list a { color: var(--d-on-light); }
.rx-contact-list a:hover { color: var(--d-accent); }

/* ---- 404: on-brand, functional, a way back ---- */
.rx-notfound { min-height: 78vh; display: grid; place-content: center; text-align: center;
  background: radial-gradient(1100px 520px at 50% -10%, rgba(94,128,168,0.16), transparent 70%), var(--d-base);
  color: var(--d-text); padding: clamp(96px, 14vw, 160px) 20px clamp(60px, 8vw, 100px); }
.rx-notfound-inner { max-width: 540px; margin: 0 auto; }
.rx-notfound-code { margin: 8px 0 0; font-size: clamp(3.4rem, 12vw, 6rem); font-weight: 500; line-height: 1;
  letter-spacing: -0.03em; color: #fff; }
.rx-notfound-title { margin: 10px 0 12px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 500; color: #fff; }
.rx-notfound-line { margin: 0 0 30px; font-size: 1.02rem; line-height: 1.6; color: rgba(233,238,244,0.75); }
.rx-notfound .rx-btn { margin: 0 auto; }

/* ---- Legal pages: simple, readable single column ---- */
.rx-legal { max-width: 760px; }
.rx-legal-updated { margin: 0 0 6px; font-size: 0.85rem; color: var(--d-on-light-faint); }
.rx-legal-block { margin-top: 34px; }
.rx-legal-block h2 { margin: 0 0 12px; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; color: var(--d-header-top); }
.rx-legal-block p { margin: 0 0 14px; font-size: 1rem; line-height: 1.7; color: var(--d-on-light); }
.rx-legal-block p:last-child { margin-bottom: 0; }
.rx-legal-block ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 7px; }
.rx-legal-block li { font-size: 1rem; line-height: 1.6; color: var(--d-on-light); }
.rx-legal-block a { color: var(--d-accent); }

/* ---- Sign in: functional branded card on a dark canvas ---- */
.rx-login-body { min-height: 100vh; margin: 0; background:
  radial-gradient(1200px 600px at 50% -10%, rgba(94,128,168,0.16), transparent 70%), var(--d-base);
  color: var(--d-text); font-family: var(--d-font); font-weight: 400; }
.rx-login-wrap { min-height: 100vh; display: grid; align-content: center; justify-items: center;
  gap: 22px; padding: 40px 20px; }
.rx-login-card { width: 100%; max-width: 420px; background: var(--d-section-white); color: var(--d-on-light);
  border: 1px solid var(--d-line-light); border-radius: 22px; padding: clamp(30px, 5vw, 44px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.rx-login-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--d-header-top); }
.rx-login-brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; }
.rx-login-brand span { font-size: 1.16rem; font-weight: 500; }
.rx-login-title { margin: 26px 0 8px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; color: var(--d-header-top); }
.rx-login-note { margin: 0 0 26px; font-size: 0.92rem; color: var(--d-on-light-faint); }
.rx-login-form { display: grid; gap: 16px; }
.rx-login-form .rx-btn { justify-content: center; margin-top: 4px; }
.rx-login-error { margin: 2px 0 0; font-size: 0.85rem; color: #c2410c; }
.rx-login-foot { margin: 0; font-size: 0.8rem; color: var(--d-text-faint); }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .rx-quote-panel { grid-template-columns: 1fr; }
  .rx-more-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .rx-svc-layout { grid-template-columns: 1fr; }
  .rx-svc-head { position: static; }
  .rx-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .rx-tech-callouts { max-width: 52%; }
  .rx-vert-grid { grid-template-columns: repeat(2, 1fr); }
  .rx-eff-grid { grid-template-columns: repeat(2, 1fr); }
  .rx-result-grid { grid-template-columns: 1fr; }
  .rx-consult-panel { grid-template-columns: 1fr; }
  .rx-consult-photo { min-height: 260px; order: -1; }
}
@media (max-width: 760px) {
  .rx-nav-links, .rx-nav-cta { display: none; }
  .rx-nav-toggle { display: flex; }
  .rx-nav-mobile[data-nav-mobile]:not([hidden]) { display: grid; gap: 4px; padding: 8px clamp(20px,5vw,40px) 18px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,0.1); }
  .rx-nav-mobile a { color: var(--d-on-light); padding: 12px 0; border-bottom: 1px solid var(--d-line-light); }
  .rx-nav-cta-mobile { color: var(--d-accent) !important; border-bottom: 0 !important; }

  /* Mobile: content left-aligned with 10% margins (hero stays centered below). */
  .rx-wrap { text-align: left; padding: 0 10%; }
  .rx-center, .rx-center .rx-h2-line, .rx-center .rx-h2-sub { text-align: left; }
  .rx-center .rx-h2-sub { margin-left: 0; margin-right: 0; }
  .rx-svc-layout { grid-template-columns: 1fr; }
  .rx-svc-head { position: static; }
  .rx-svc-grid, .rx-ba-grid, .rx-eff-grid, .rx-vert-grid, .rx-result-grid, .rx-tech-callouts { grid-template-columns: 1fr; }
  .rx-feat-grid, .rx-quote-panel, .rx-quote-form .rx-form { grid-template-columns: 1fr; }
  .rx-more-grid { grid-template-columns: minmax(0, 340px); }
  .rx-feat-item { text-align: left; }
  .rx-role-card { flex-direction: column; align-items: flex-start; }
  .rx-cta-inner, .rx-cta-band .rx-h2-line { text-align: center; }
  .rx-selector-inner { flex-direction: column; text-align: center; border-radius: 0 0 18px 18px; }
  .rx-selector-label { flex: none; max-width: 100%; }
  .rx-selector-drop { margin-left: 0; width: 100%; }
  .rx-selector-drop select { width: 100%; }
  .rx-eff-item, .rx-tech-callout { text-align: left; }
  .rx-ba-media { max-width: 420px; margin-left: auto; margin-right: auto; }

  .rx-hero { align-content: end; text-align: center; padding-left: 10%; padding-right: 10%; }
  .rx-hero-inner { margin: 0 auto; }
  .rx-hero-top { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .rx-hero-sub-line { font-size: clamp(1.4rem, 6.4vw, 2.1rem); }
  .rx-hero-sub { margin-left: auto; margin-right: auto; }
  .rx-hero .rx-btn { margin: 0 auto; }

  /* Phone mockup + highlight bubble fully hidden on mobile per spec */
  .rx-phone-stage[data-phone-only] { display: none; }
  /* Tech: portrait hero with text bottom-left, 2x2 grid stacks to one column.
     Hero stays full-width edge-to-edge on mobile (desktop-only constraint). */
  .rx-tech-hero { width: 100%; max-width: none; margin-inline: 0; border-radius: 0;
    align-items: end; min-height: 420px; }
  .rx-tech-hero .rx-h2-line { text-align: left; }
  .rx-tech-lower { padding: clamp(32px, 8vw, 48px) 0; }
  .rx-tech-lower-inner { min-height: 0; }
  .rx-tech-callouts { max-width: 100%; }
  .rx-consult-form { padding: 26px; }
  .rx-foot-top { grid-template-columns: 1fr; }
  .rx-foot-cols { grid-template-columns: repeat(2, 1fr); }
  .rx-foot-brand { text-align: center; }
  .rx-foot-brand img, .rx-foot-brand p { margin-left: auto; margin-right: auto; }
  .rx-foot-social { justify-content: center; }
  .rx-foot-bottom { justify-content: center; text-align: center; }
}

/* Screenshot aid only: ?shot caps the 100svh hero so full-page capture works. */
.rx-shot .rx-hero { min-height: 760px; }
