/* Employee Center for HVAC: "the badge that fills itself in". Deep teal with a peach accent and a faint work-shirt
   pinstripe. Hero layout: headline LEFT, a new hire's ID badge hanging on a lanyard in the CENTER, subhead, buttons and
   checks RIGHT, so it reads differently from Leads (sunset), Ads (royal blue technician), SEO Audit (teal AI card right),
   Rank Tracker (violet dusk leaderboard), Review Manager (charcoal phone left), Smart Inbox (wine, wide window), Pipeline
   (evergreen sticky notes), Ignite (daylight map), Scheduling (navy three columns) and Training & Support (sunrise).
   Below the hero it is the same road-map system as hvac-scheduling.css: phones stack the stops along a vertical road;
   from 1280px each stop is a full-width row and hvac-team.js draws the winding road from measured positions. */

.rb-team-page {
  --rb-bg: #0a3f3b;
  background: var(--rb-bg);
  color: #eef6f5;
}
.ec-main { min-width: 0; }
.ec-main > footer { width: auto; margin: 0; padding-inline: 24px; }
.ec :is(a, button, summary, input, select, label):focus-visible { outline: 3px solid #ffb38a; outline-offset: 3px; }

/* ---------------------------------------------------------------- shared */
.ec {
  --ink: #141b2b;
  --ink2: #3a4458;
  --muted: #647089;
  --night: #0a3f3b;
  --acc: #ff8a5b;
  --acc-deep: #c2410c;
  --acc-soft: #ffb38a;
  --ice: #b9c6de;
  --go: #16a34a;
  --asphalt: #464b55;
  --road-edge: #f8f9fc;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse 40% 30% at 0% 30%, rgba(15, 118, 110, .07), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 64%, rgba(255, 138, 91, .07), transparent 70%),
    linear-gradient(180deg, #f1f6f5 0%, #f8faf9 40%, #f3f7f6 72%, #edf3f2 100%);
}
.ec *, .ec *::before, .ec *::after { box-sizing: border-box; }
:where(.ec) :where(h1, h2, h3, p, ul, ol, dl, dd, dt, figure, blockquote, fieldset, legend) { margin: 0; padding: 0; }
:where(.ec) :where(ul, ol) { list-style: none; }
:where(.ec) fieldset { border: 0; min-width: 0; }
.ec img { display: block; max-width: none; }
.ec svg { display: block; overflow: visible; }
.ec h1, .ec h2, .ec h3, .ec-pin b, .ec-brand__logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.ec h1 em, .ec h2 em { font-family: inherit; font-style: normal; letter-spacing: inherit; }
.ec-i { width: 22px; height: 22px; flex: 0 0 auto; }
.ec-cap { color: var(--muted); font-size: 12px; }
.ec button { font-family: inherit; cursor: pointer; }
.ec [hidden] { display: none !important; }

.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffc4a3 0%, #ff9a6e 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 10px 24px rgba(255, 138, 91, .32);
  color: #1d2a28;
  font: 700 16px/1.1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ec-btn:hover { color: #1d2a28; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .32) inset, 0 14px 30px rgba(255, 138, 91, .45); }
.ec-btn .ec-i { width: 18px; height: 18px; }
.ec-btn--ghost { border-color: rgba(185, 198, 222, .5); background: rgba(10, 63, 59, .35); box-shadow: none; color: #fff; }
.ec-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; }
.ec-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--acc-deep); font-size: 15px; font-weight: 700; text-decoration: none; }
.ec-link:hover { text-decoration: underline; }
.ec-link .ec-i { width: 16px; height: 16px; }

.ec-note { font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; line-height: .95; color: #1d2a28; }
.ec-note u { color: var(--acc-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.ec-checks { display: flex; flex-direction: column; gap: 9px; }
.ec-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.ec-checks svg { width: 20px; height: 20px; flex: 0 0 auto; }
.ec-ok { color: var(--go); }
.ec-no { color: #b6bdca; }
.ec-try { display: flex; align-items: center; gap: 8px; color: var(--acc-deep); font-size: 15px; font-weight: 700; }
.ec-try .ec-i { width: 20px; height: 20px; }

/* Dark cards with crisp UI inside (house style): navy with a red hairline for this page. */
.ec-dark {
  border: 1px solid rgba(255, 179, 138, .18);
  border-radius: 16px;
  background: linear-gradient(160deg, #164a46 0%, #0f3a37 55%, #0a2e2b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 2px 4px rgba(13, 19, 34, .18), 0 16px 30px -8px rgba(13, 19, 34, .4), 0 36px 64px -20px rgba(13, 19, 34, .5);
  color: #eef2fa;
}
.ec-dark .ec-cap { color: #9aa6bf; }
.ec-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #0f766e, #0a4b46); color: #fff; font: 700 13px/1 "Space Grotesk", sans-serif; }
.ec-tag { padding: 3px 8px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.ec-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0f766e; color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; flex: 0 0 auto; }


/* ---------------------------------------------------------------- road + steps (phones first) */
.ec-course { position: relative; }
.ec .ec-road, .ec .ec-drive { display: none; }
.ec-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; max-width: 780px; margin: 0 auto; padding: 34px 16px 34px 76px; }
.ec-step::before, .ec-finish::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 22px; background: var(--asphalt); box-shadow: 0 0 0 2.5px var(--road-edge), 0 0 0 3.5px #d3d8e2; }
.ec-step::after, .ec-finish::after { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; border-left: 2px dashed #fff; }
.ec-step > * { min-width: 0; }
.ec-pin { position: absolute; z-index: 1; left: 0; top: 20px; width: 62px; height: 78px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); }
.ec-pin svg { width: 100%; height: 100%; color: var(--pin); }
.ec-pin b { position: absolute; left: 0; right: 0; top: 8px; color: #fff; font-size: 36px; text-align: center; }
@keyframes ec-pin-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.ec-step.is-in .ec-pin, .ec:not(.ec-motion) .ec-pin { animation: ec-pin-bob 2.6s ease-in-out infinite; }
.ec-step:nth-of-type(even) .ec-pin { animation-delay: -1.3s; }
.ec h2 { font-size: clamp(26px, 6.4vw, 32px); line-height: 1.08; }
.ec-intro { display: grid; gap: 12px; align-content: start; }
.ec-aside { display: grid; gap: 14px; justify-items: start; }
.ec-sub { color: var(--ink2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.ec-visual { display: grid; gap: 12px; min-width: 0; container-type: inline-size; }

/* Finish band */
.ec-finish { position: relative; display: grid; gap: 16px; max-width: 780px; margin: 0 auto; padding: 30px 16px 44px 76px; }
.ec-finish > * { position: relative; z-index: 2; }
.ec-bigcard { position: relative; display: grid; gap: 2px; width: 190px; padding: 0 0 14px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 16px 30px rgba(20, 27, 43, .16), 0 0 0 1px rgba(20, 27, 43, .06); text-align: center; transform: rotate(-3deg); }
.ec-bigcard small { display: block; padding: 7px 0; background: var(--acc); color: #fff; font-size: 13px; font-weight: 800; }
.ec-bigcard b { margin-top: 8px; font: 700 30px/1 "Space Grotesk", sans-serif; }
.ec-bigcard span { color: var(--ink2); font-size: 13.5px; font-weight: 600; }
.ec-bigcard em { display: inline-flex; align-items: center; justify-self: center; gap: 4px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #16a34a; color: #fff; font-size: 12.5px; font-style: normal; font-weight: 800; }
.ec-bigcard em .ec-i { width: 14px; height: 14px; }
.ec-finish__copy { display: grid; gap: 10px; }
.ec-finish__copy h2 { font-size: clamp(24px, 5.6vw, 30px); }
.ec-finish__copy p { color: var(--ink2); font-size: 15.5px; line-height: 1.45; }
.ec-note--out { justify-self: end; transform: rotate(-5deg); }

/* ---------------------------------------------------------------- sample reviews (same design as the other road pages) */
.ec-reviews { position: relative; z-index: 3; display: grid; gap: 26px; padding: 48px 16px 56px; background: linear-gradient(180deg, #edf0f6 0%, #f8f9fc 100%); scroll-margin-top: 186px; }
.ec-reviews__head, .ec-get__head { display: grid; justify-items: center; gap: 10px; max-width: 760px; margin: 0 auto; text-align: center; }
.ec-reviews__label { padding: 4px 12px; border-radius: 999px; background: rgba(20, 27, 43, .06); color: var(--muted); font-size: 13px; font-weight: 600; }
.ec-reviews__grid { display: grid; gap: 18px; width: 100%; max-width: 1280px; margin: 0 auto; }
.ec-review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); box-shadow: 0 16px 34px rgba(20, 27, 43, .1), 0 2px 6px rgba(20, 27, 43, .05), 0 0 0 1px rgba(20, 27, 43, .06); }
.ec-review::before { content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--av); opacity: .85; }
.ec-review::after { content: "\201C"; position: absolute; top: 6px; right: 18px; color: color-mix(in srgb, var(--av) 16%, transparent); font: 700 84px/1 Georgia, serif; pointer-events: none; }
.ec-review blockquote { flex: 1 1 auto; }
.ec-review blockquote p { color: var(--ink); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.ec-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(20, 27, 43, .08); }
.ec-review__av { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: var(--av); color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; }
.ec-review figcaption b { display: block; color: var(--ink); font-size: 16px; }
.ec-review figcaption small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }

/* ---------------------------------------------------------------- FAQ */
.ec-close { position: relative; z-index: 3; padding: 44px 16px 52px; background: linear-gradient(180deg, #0f3a37 0%, #0a2e2b 100%); color: #fff; }
.ec-faq { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.ec-faq h2 { margin-bottom: 6px; color: #fff; font-size: clamp(24px, 5.4vw, 30px); }
.ec-faq details { border: 1px solid rgba(255, 179, 138, .16); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.ec-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; color: #fff; font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.ec-faq summary::-webkit-details-marker { display: none; }
.ec-faq .ec-plus { flex: 0 0 auto; width: 18px; height: 18px; color: #ffb38a; transition: transform .25s ease; }
.ec-faq details[open] .ec-plus { transform: rotate(45deg); }
.ec-faq details p { padding: 0 16px 15px; color: #d3dbea; font-size: 16px; line-height: 1.55; }

/* ---------------------------------------------------------------- how you get it */
.ec-get { position: relative; z-index: 3; display: grid; gap: 26px; padding: 52px 16px 56px; background: #fbfcfe; scroll-margin-top: 186px; }
.ec-vs { display: grid; width: 100%; max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 16px 34px rgba(20, 27, 43, .08), 0 0 0 1px rgba(20, 27, 43, .07); }
.ec-vs__head, .ec-vs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ec-vs__head span { padding: 12px 16px; color: var(--muted); font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ec-vs__head span:last-child { background: var(--night); color: var(--acc-soft); }
.ec-vs__row span { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(20, 27, 43, .07); font-size: 16px; line-height: 1.4; }
.ec-vs__row span:first-child { color: var(--muted); }
.ec-vs__row span:last-child { background: #fff6f1; color: var(--ink); font-weight: 600; }
.ec-vs__row svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.ec-plan { display: grid; gap: 20px; width: 100%; max-width: 980px; margin: 0 auto; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, #164a46 0%, #0f3a37 60%, #0a2e2b 100%); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45); color: #eef2fa; }
.ec-plan h3 { color: #fff; font-size: 24px; line-height: 1.15; }
.ec-plan__copy { display: grid; gap: 14px; }
.ec-plan__list { display: grid; gap: 10px; }
.ec-plan__list li { display: flex; align-items: flex-start; gap: 10px; color: #d3dbea; font-size: 15.5px; line-height: 1.45; }
.ec-plan__list b { color: #fff; }
.ec-plan__list .ec-ok { width: 20px; height: 20px; margin-top: 2px; color: var(--acc-soft); }

/* ---------------------------------------------------------------- motion */
.ec-motion .ec-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22, .8, .24, 1), transform .6s cubic-bezier(.22, .8, .24, 1); }
.ec-motion .ec-reveal.is-in { opacity: 1; transform: none; }
.ec-motion .ec-pin { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .4s ease; }
.ec-motion .ec-step:not(.is-in) .ec-pin { transform: translateY(-28px) scale(.8); filter: grayscale(1) opacity(.55); }

/* ---------------------------------------------------------------- hero */
.ec-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 46px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 22px),
    radial-gradient(ellipse 36% 46% at 50% 38%, rgba(255, 179, 138, .16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(20, 184, 166, .22), transparent 70%),
    linear-gradient(180deg, #0a3f3b 0%, #0c4a45 55%, #0e534d 100%);
  color: #fff;
}
.ec-hero__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "badge" "copy";
  justify-items: center;
  row-gap: 26px;
  width: min(100% - 32px, 640px);
  margin: 0 auto;
}
.ec-hero__head { grid-area: head; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ec-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ec-brand__logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.ec-brand__logo svg { width: 34px; height: 34px; }
.ec-eyebrow { color: var(--acc-soft); font-size: 14px; font-weight: 600; line-height: 1.3; }
.ec h1 { margin: 0; color: #fff; font-size: clamp(34px, 8.6vw, 52px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.ec h1 em { display: block; margin-top: 8px; color: var(--acc-soft); }
.ec-note--hero { color: #fff; font-size: 30px; transform: rotate(-3deg); }
.ec-note--hero u { color: var(--acc-soft); }
.ec-hero__copy { grid-area: copy; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ec-hero__sub { max-width: 600px; color: #d6ebe8; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.ec-hero__copy .ec-actions { justify-content: center; }
.ec-signals { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
.ec-signals li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.ec-signals .ec-ok { width: 22px; height: 22px; color: var(--acc-soft); }

/* The badge on its lanyard. Only the status moves; the badge sways once when it changes. */
.ec-badge { grid-area: badge; position: relative; display: grid; justify-items: center; gap: 12px; width: 290px; padding-top: 58px; transform-origin: 50% 0; }
.ec-badge__strap { position: absolute; left: 50%; bottom: calc(100% - 64px); width: 26px; height: 70px; translate: -50% 0; border-radius: 3px; background: repeating-linear-gradient(0deg, #ff9a6e 0 7px, #ff8a5b 7px 14px); box-shadow: inset 3px 0 0 rgba(255, 255, 255, .2), inset -3px 0 0 rgba(0, 0, 0, .12); }
.ec-badge__clip { position: absolute; left: 50%; top: 46px; width: 44px; height: 28px; translate: -50% 0; border-radius: 8px 8px 6px 6px; background: linear-gradient(180deg, #e7ecef 0%, #aab4bd 100%); box-shadow: 0 3px 6px rgba(0, 0, 0, .3); }
.ec-badge__clip::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 18px; height: 12px; translate: -50% 0; border: 3px solid #aab4bd; border-top: 0; border-radius: 0 0 8px 8px; }
.ec-badge__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding: 26px 20px 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 30px 60px -20px rgba(0, 0, 0, .55), 0 10px 20px -8px rgba(0, 0, 0, .35);
  text-align: center;
}
.ec-badge__card::before { content: ""; position: absolute; top: 10px; left: 50%; width: 46px; height: 8px; translate: -50% 0; border-radius: 99px; background: #d5dedc; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
.ec-badge__top { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; }
.ec-badge__top .ec-logo { width: 22px; height: 22px; border-radius: 6px; font-size: 12px; }
.ec-badge__photo { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #ffb38a, #ff8a5b); box-shadow: 0 0 0 4px #fff, 0 0 0 6px #ffd9c4; color: #1d2a28; font: 700 30px/1 "Space Grotesk", sans-serif; }
.ec-badge__name b { display: block; font: 700 22px/1.15 "Space Grotesk", sans-serif; }
.ec-badge__name small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.ec-badge__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
.ec-badge__track::before { content: ""; position: absolute; left: 12%; right: 12%; top: 8px; height: 3px; border-radius: 3px; background: #e3e9e8; }
.ec-badge__track li { position: relative; display: grid; justify-items: center; gap: 5px; color: var(--muted); font-size: 11.5px; font-weight: 800; }
.ec-badge__track i { width: 19px; height: 19px; border: 3px solid #d5dedc; border-radius: 50%; background: #fff; transition: background .35s ease, border-color .35s ease; }
.ec-badge__track li.is-done { color: #0f766e; }
.ec-badge__track li.is-done i { border-color: #0f766e; background: #0f766e; }
.ec-badge__status { width: 100%; padding: 10px 12px; border-radius: 12px; background: #f1f7f6; color: #0a3f3b; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ec-badge[data-state="ready"] .ec-badge__status { background: #eefaf3; color: #15803d; }
.ec-badge__access { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding-top: 10px; border-top: 1px dashed #d5dedc; font-size: 13px; transition: opacity .35s ease; }
.ec-badge__access span { color: var(--muted); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.ec-badge:not([data-state="ready"]) .ec-badge__access { opacity: 0; }
.ec-badge__cap { color: #a9cbc6; font-size: 12.5px; }
.ec-badge.is-sway { animation: ec-sway 1.1s cubic-bezier(.3, .7, .4, 1); }
@keyframes ec-sway { 0% { rotate: 0deg; } 25% { rotate: 2.2deg; } 55% { rotate: -1.3deg; } 80% { rotate: .5deg; } 100% { rotate: 0deg; } }
.ec-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0f766e; color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; flex: 0 0 auto; }
.ec-link { color: var(--acc-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ec-link:hover { color: #9a3412; }

/* All status variants of a widget share one grid cell, so a state change never moves the page or the road. */
.ec .rv-stack { display: grid; }
.ec .rv-stack > * { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s ease; }
.ec .rv-stack > .is-on { visibility: visible; opacity: 1; }

.ec-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; flex: 0 0 auto; }
.ec-dot--wait { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.ec-dot--go { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.ec-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ec-pill--warn { background: #fef3c7; color: #92400e; }
.ec-pill--go { background: #16a34a; color: #fff; }

/* White product cards (fine border, layered shadow, hover lift). */
.ec-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 27, 43, .07), 0 2px 4px rgba(20, 27, 43, .04), 0 18px 36px -12px rgba(20, 27, 43, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ec-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(20, 27, 43, .08), 0 4px 8px rgba(20, 27, 43, .05), 0 24px 44px -12px rgba(20, 27, 43, .22); }
.ec-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(20, 27, 43, .08); }
.ec-card__head b { font: 700 17px/1.2 "Space Grotesk", sans-serif; }
.ec-card__head > span { color: var(--muted); font-size: 13.5px; font-weight: 600; text-align: right; }
.ec-visual > .ec-card, .ec-visual > .ec-offer, .ec-visual > .ec-access { width: 100%; max-width: 620px; }
.ec-visual p[aria-live], .ec-visual [aria-live] p { font-size: 15px; line-height: 1.35; }

/* Stop 1: hiring board */
.ec-hire__track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ec-hire__track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 3px; border-radius: 3px; background: #e3e9e8; }
.ec-hire__track li { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-align: center; }
.ec-hire__track i { width: 21px; height: 21px; border: 3px solid #d5dedc; border-radius: 50%; background: #fff; transition: background .3s ease, border-color .3s ease, transform .3s ease; }
.ec-hire__track li.is-done i { border-color: #0f766e; background: #0f766e; }
.ec-hire__track li.is-on i { border-color: #0f766e; background: #fff; box-shadow: 0 0 0 5px rgba(15, 118, 110, .16); transform: scale(1.15); }
.ec-hire__track li.is-on { color: #0f766e; }
.ec-hire__app { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #d5e4e1; border-radius: 12px; background: #f5faf9; }
.ec-hire__who b { display: block; font-size: 16px; }
.ec-hire__who small { display: block; color: var(--muted); font-size: 13px; }
.ec-stars { display: flex; gap: 2px; }
.ec-stars i { width: 16px; height: 16px; background: #d9dee6; clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 78%, 20% 100%, 30% 60%, 0 38%, 38% 35%); }
.ec-stars i.is-on { background: #f59e0b; }
.ec-hire__status b { margin-left: 6px; padding: 4px 10px; border-radius: 8px; background: #0f766e; color: #fff; font-size: 13px; }

/* Stop 2: the offer letter */
.ec-offer { display: grid; gap: 14px; }
.ec-paper { display: grid; gap: 14px; padding: 22px 22px 18px; border-radius: 6px 6px 16px 16px; background: #fffdf9; border-top: 6px solid var(--acc); box-shadow: 0 0 0 1px rgba(20, 27, 43, .07), 0 18px 36px -12px rgba(20, 27, 43, .2); }
.ec-paper__biz { display: flex; align-items: center; gap: 10px; }
.ec-paper__biz b { display: block; font-size: 15px; }
.ec-paper__biz small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ec-paper__hi { font: 700 20px/1.2 "Space Grotesk", sans-serif; }
.ec-paper__terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.ec-paper__terms dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ec-paper__terms dd { font-size: 16px; font-weight: 700; }
.ec-paper__sign { display: grid; gap: 2px; max-width: 280px; }
.ec-paper__line { display: block; min-height: 40px; border-bottom: 2px solid #1d2a28; }
.ec-sig { display: inline-block; font: 700 32px/1.1 "Caveat", cursive; color: #1d3f8a; clip-path: inset(0 0 0 0); transition: clip-path 1.3s steps(14, end); }
.ec-offer:not([data-state="signed"]) .ec-sig { clip-path: inset(0 100% 0 0); transition: none; }
.ec-paper__sign small { color: var(--muted); font-size: 12px; }
.ec-offer__status { padding: 12px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 27, 43, .07), 0 10px 20px -10px rgba(20, 27, 43, .16); }

/* Stop 3: onboarding checklist */
.ec-onb__list { display: grid; gap: 8px; }
.ec-onb__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f6f8f8; transition: background .3s ease; }
.ec-onb__list li b { display: block; font-size: 15.5px; }
.ec-onb__list li small { display: block; color: var(--muted); font-size: 13px; }
.ec-onb__box { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border: 2px solid #cfd8d6; border-radius: 8px; background: #fff; color: transparent; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.ec-onb__box .ec-i { width: 18px; height: 18px; }
.ec-onb__list li.is-done { background: #eefaf3; }
.ec-onb__list li.is-done .ec-onb__box { border-color: #16a34a; background: #16a34a; color: #fff; }
.ec-onb__list li:not(.is-done) small { visibility: hidden; }
.ec-onb[data-ec-live] .ec-onb__list li.is-now .ec-onb__box { animation: ec-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ec-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

/* Stop 4: roles and access */
.ec-access { display: grid; gap: 12px; }
.ec-access__label { color: var(--acc-deep); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ec-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-roles button { padding: 9px 14px; border: 1px solid #cfd8d6; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ec-roles button:hover { border-color: #0f766e; }
.ec-roles button.is-on { border-color: #0f766e; background: #0f766e; color: #fff; }
.ec-access__list { display: grid; gap: 4px; }
.ec-access__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; transition: background .25s ease, color .25s ease; }
.ec-access__list li em { display: none; align-items: center; gap: 5px; font-size: 13px; font-style: normal; font-weight: 800; white-space: nowrap; }
.ec-access__list li em .ec-i { width: 15px; height: 15px; }
.ec-access__list li.is-yes { background: #eefaf3; }
.ec-access__list li.is-yes .ec-yes { display: inline-flex; color: #15803d; }
.ec-access__list li:not(.is-yes) { color: #98a2b0; }
.ec-access__list li:not(.is-yes) .ec-lock { display: inline-flex; color: #98a2b0; }

/* Stop 5: time off */
.ec-pto__req { display: flex; align-items: center; gap: 12px; }
.ec-pto__req b { display: block; font-size: 18px; }
.ec-pto__req small { display: block; color: var(--muted); font-size: 14px; }
.ec-pto__btns { display: flex; gap: 10px; }
.ec-pto__btns span { flex: 1 1 0; padding: 11px 0; border-radius: 10px; font-size: 15px; font-weight: 800; text-align: center; }
.ec-pto__deny { border: 1px solid #cfd8d6; color: var(--ink2); }
.ec-pto__ok { background: #16a34a; color: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.ec-pto__ok.is-tap { transform: scale(.95); box-shadow: 0 0 0 6px rgba(22, 163, 74, .22); }
.ec-pto__done { display: flex; align-items: center; padding: 11px 14px; border-radius: 10px; background: #eefaf3; font-size: 15px; }
.ec-pto__him { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--night); color: #d6ebe8; font-size: 13.5px; }
.ec-pto__him b { color: #fff; font-size: 15px; text-align: right; }
.ec-pto[data-state="approved"] .ec-pto__him b .is-on { color: #86efac; }

/* Stop 6: pay period */
.ec-pay__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ec-pay__table th, .ec-pay__table td { padding: 10px 8px; border-bottom: 1px solid rgba(20, 27, 43, .07); text-align: left; vertical-align: top; }
.ec-pay__table thead th { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ec-pay__table tbody th b, .ec-pay__table td b { display: block; font-size: 15.5px; }
.ec-pay__table small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ec-pay__table td:last-child { text-align: right; }
.ec-pay__table td:last-child small { justify-items: end; }
.ec-pay[data-state="run"] .ec-pay__table td small .is-on { color: #15803d; }
.ec-pay .ec-card__head .rv-stack .is-on { color: var(--acc-deep); font-weight: 800; }
.ec-pay[data-state="run"] .ec-card__head .rv-stack .is-on { color: #15803d; }

/* Stop 7: documents */
.ec-doc__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #f6f8f8; }
.ec-doc__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #e0f2ef; color: #0f766e; }
.ec-doc__icon svg { width: 26px; height: 26px; }
.ec-doc__name b { display: block; font-size: 16px; }
.ec-doc__name small { color: var(--muted); font-size: 13px; }
.ec-doc__pill > * { justify-self: end; }
.ec-bigcard small { color: #1d2a28; }

/* ---------------------------------------------------------------- tablets */
@media (min-width: 700px) {
  .ec-hero { padding-top: 40px; }
  .ec-finish { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 28px; }
  .ec-note--out { grid-column: 1 / -1; }
  .ec-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec-plan { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 30px; }
  .ec-plan .ec-actions { flex-direction: column; }
  .ec-close { padding: 52px clamp(24px, 5vw, 64px) 60px; }
}
@media (min-width: 1100px) { .ec-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* ---------------------------------------------------------------- desktop rows */
@media (min-width: 1280px) {
  /* Headline left, the badge hanging in the middle, the rest of the copy right. */
  .ec-hero { padding: 0 0 36px; }
  .ec-hero__in {
    width: auto;
    margin: 0 clamp(28px, 3.5vw, 80px);
    grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
    grid-template-areas: "head badge copy";
    align-items: center;
    column-gap: clamp(32px, 3.4vw, 72px);
  }
  .ec-hero__head { align-items: flex-start; text-align: left; justify-self: stretch; padding-top: 40px; }
  .ec-brand { align-items: flex-start; }
  .ec-brand__logo { font-size: 32px; }
  .ec h1 { font-size: clamp(38px, 3.1vw, 60px); }
  .ec-note--hero { align-self: flex-end; font-size: 32px; }
  .ec-badge { width: 300px; padding-top: 72px; }
  .ec-badge__clip { top: 60px; }
  .ec-badge__strap { bottom: calc(100% - 78px); height: 420px; }
  .ec-hero__copy { align-items: flex-start; text-align: left; justify-self: stretch; padding-top: 40px; }
  .ec-hero__sub { font-size: clamp(16px, 1.1vw, 19px); }
  .ec-hero__copy .ec-actions, .ec-signals { justify-content: flex-start; }
  .ec-signals { flex-direction: column; }

  .ec-course { --edge: 92px; max-width: 1680px; margin: 0 auto; padding: 36px var(--edge) 0; }
  .ec .ec-road { position: absolute; left: 0; top: 0; z-index: 1; display: block; pointer-events: none; }
  .ec-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .ec-road__edge { stroke: var(--road-edge); stroke-width: 36; filter: drop-shadow(0 2px 3px rgba(20, 27, 43, .25)); }
  .ec-road__top { stroke: var(--asphalt); stroke-width: 30; }
  .ec-road__line { stroke: #fff; stroke-width: 2; stroke-dasharray: 12 10; stroke-linecap: butt !important; }
  .ec .ec-drive { position: absolute; z-index: 4; left: 0; top: 0; display: block; width: 140px; visibility: hidden; filter: drop-shadow(0 7px 5px rgba(20, 27, 43, .28)); pointer-events: none; will-change: transform; }
  .ec .ec-drive.is-placed { visibility: visible; }
  .ec-drive img { width: 100%; height: auto; }
  .ec-drive__right, .ec-drive.is-right .ec-drive__left { display: none !important; }
  .ec-drive.is-right .ec-drive__right { display: block !important; }

  .ec-step {
    z-index: 2;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1fr);
    grid-template-areas: "intro visual";
    align-items: start;
    column-gap: clamp(28px, 3.4vw, 64px);
    max-width: none;
    margin: 0;
    padding: 64px 36px 64px 104px;
  }
  .ec-intro { grid-area: intro; padding-top: 14px; }
  .ec-visual { grid-area: visual; justify-items: start; }
  .ec-step::before, .ec-step::after, .ec-finish::before, .ec-finish::after { content: none; }
  .ec-pin { left: 17px; top: 34px; width: 80px; height: 100px; }
  .ec-pin b { top: 12px; font-size: 42px; }
  .ec h2 { font-size: clamp(27px, 1.95vw, 34px); line-height: 1.06; }

  .ec-finish {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "card copy note";
    align-items: center;
    column-gap: clamp(24px, 3vw, 48px);
    max-width: none;
    margin: 10px 0 0 104px;
    padding: 30px 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 36px rgba(20, 27, 43, .1), 0 0 0 1px rgba(20, 27, 43, .05);
  }
  .ec-bigcard { grid-area: card; }
  .ec-finish__copy { grid-area: copy; }
  .ec-finish__copy h2 { font-size: clamp(24px, 1.7vw, 30px); }
  .ec-note--out { grid-column: auto; grid-area: note; font-size: 34px; }
  .ec-course::after { content: ""; display: block; height: 96px; }

  .ec-reviews, .ec-get { gap: 30px; padding: 64px clamp(40px, 5vw, 96px) 72px; }
  .ec-close { padding: 60px clamp(40px, 5vw, 96px) 68px; }
}

@media (min-width: 1280px) and (max-width: 1799px) {
  /* With the side panel open the course is ~1150px wide: keep the hero above the fold at 1440x900. */
  .ec-hero__in { grid-template-columns: minmax(0, 1fr) 272px minmax(0, 1fr); column-gap: 30px; }
  .ec-badge { width: 272px; padding-top: 64px; }
  .ec-badge__clip { top: 52px; }
  .ec-badge__strap { bottom: calc(100% - 70px); height: 420px; }
  .ec-badge__card { gap: 10px; padding: 24px 18px 16px; }
  .ec-badge__photo { width: 70px; height: 70px; font-size: 26px; }
  .ec h1 { font-size: clamp(34px, 2.8vw, 46px); }
  .ec-hero__sub { font-size: 16px; }
  .ec-signals li { font-size: 14px; }
  .ec-finish { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "card copy" "card note"; row-gap: 8px; }
  .ec-note--out { justify-self: end; }
}

@media (max-width: 1180px) { .ec-step, .ec-reviews, .ec-get { scroll-margin-top: 236px; } }
@media (min-width: 1181px) { .ec-step { scroll-margin-top: 186px; } }
@media (max-width: 850px) { .ec-step, .ec-reviews, .ec-get { scroll-margin-top: 218px; } }
@media (max-width: 699px) {
  .ec-vs__head span:first-child { display: none; }
  .ec-vs__head, .ec-vs__row { grid-template-columns: minmax(0, 1fr); }
  .ec-vs__row span:first-child { padding-bottom: 4px; border-top: 1px solid rgba(20, 27, 43, .07); font-size: 14px; }
  .ec-vs__row span:last-child { border-top: 0; }
  .ec-card { padding: 14px; }
  .ec-hire__track li { font-size: 11px; }
  .ec-hire__app { grid-template-columns: auto minmax(0, 1fr); }
  .ec-stars { grid-column: 2; }
  .ec-hire__track li:not(.is-on) span { visibility: hidden; }
  .ec-paper { padding: 18px 16px 14px; }
  .ec-paper__terms dd { font-size: 15px; }
  .ec-pay__table { font-size: 14px; }
  .ec-pay__table th, .ec-pay__table td { padding: 8px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .ec-btn, .ec-faq .ec-plus, .ec-card, .ec .rv-stack > *, .ec-sig, .ec-badge__track i, .ec-badge__access, .ec-onb__box, .ec-roles button, .ec-access__list li, .ec-hire__track i { transition: none !important; }
  .ec-pin, .ec-badge, .ec-onb__box { animation: none !important; }
  .ec-motion .ec-reveal, .ec-motion .ec-pin { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ec-motion .ec-pin { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)) !important; }
}
