/*!
 * Eclipse Dev Studios: shared design tokens + components
 * Source of truth: design_handoff_eclipse_website prototypes (v2).
 * Loaded ONLY on hand-coded Eclipse page templates (Salient assets dequeued).
 */

/* ---------- Fonts (self-hosted variable woff2, latin subset) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/space-grotesk-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/instrument-sans-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.eclipse-page { margin: 0; background: #04060b; }
.ec-page {
  position: relative;
  overflow-x: clip;
  background: #04060b;
  font-family: 'Instrument Sans', sans-serif;
  color: #a6b1c2;
}
.ec-page img { border: 0; }
.ec-page input, .ec-page textarea, .ec-page select { font-family: inherit; }

/* ---------- Keyframes (prototype-exact) ---------- */
@keyframes igniteIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: translateY(0) } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes breathe { from { transform: scale(1); opacity: .8 } to { transform: scale(1.04); opacity: 1 } }
@keyframes drift { from { transform: translate3d(0, 0, 0) } to { transform: translate3d(60px, -28px, 0) } }
@keyframes floatY { from { transform: translateY(0) } to { transform: translateY(-10px) } }
@keyframes menuIn { from { opacity: 0; transform: translate(-50%, 8px) } to { opacity: 1; transform: translate(-50%, 0) } }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important }
}

/* Hero entrance helpers (fadeUp with staggered delays) */
.ec-fu-10 { animation: fadeUp .9s cubic-bezier(.22, 1, .36, 1) .1s both }
.ec-fu-25 { animation: fadeUp .9s cubic-bezier(.22, 1, .36, 1) .25s both }
.ec-fu-40 { animation: fadeUp .9s cubic-bezier(.22, 1, .36, 1) .4s both }
.ec-fu-45 { animation: fadeUp .9s cubic-bezier(.22, 1, .36, 1) .45s both }
.ec-fu-55 { animation: fadeUp .9s cubic-bezier(.22, 1, .36, 1) .55s both }
.ec-fu-70 { animation: fadeUp .9s cubic-bezier(.22, 1, .36, 1) .7s both }

/* ---------- Nav ---------- */
.ec-nav {
  position: sticky; top: 0; z-index: 50;
  margin-bottom: -80px;
  background: rgba(4, 6, 11, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background .35s ease, border-color .35s ease;
}
.ec-nav.is-scrolled {
  background: rgba(4, 6, 11, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, .06);
}
.ec-nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 40px; }
.ec-nav-logo { display: block; }
.ec-nav-logo img { width: 104px; height: auto; display: block; }
.ec-nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.ec-nav-link { color: #98a3b3; font-size: 14px; font-weight: 500; text-decoration: none; }
.ec-nav-link:hover { color: #e8eef6; }
.ec-nav-link.is-current, .ec-nav-link.is-current:hover { color: #eaf1f9; font-weight: 600; }
.ec-nav-right { display: flex; align-items: center; gap: 10px; margin-left: 34px; }
.ec-nav-svc { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e2; font-size: 14px; font-weight: 500; text-decoration: none; padding: 10px 0; }
.ec-nav-svc:hover { color: #ffffff; }
.ec-nav-svc.is-current, .ec-nav-svc.is-current:hover { color: #eaf1f9; font-weight: 600; }
.ec-caret { font-size: 9px; color: #79b7f2; position: relative; top: 1px; }

/* ---------- Mega menu (closed by default; hover + :focus-within open) ---------- */
.ec-megawrap { position: relative; display: inline-block; }
.ec-mega { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); padding-top: 10px; z-index: 60; }
.ec-megawrap:hover .ec-mega,
.ec-megawrap:focus-within .ec-mega { display: block; animation: menuIn .22s cubic-bezier(.22, 1, .36, 1); }
.ec-megawrap.esc-closed .ec-mega { display: none; }
.ec-mega-panel {
  display: grid; grid-template-columns: 400px 250px; width: 650px;
  border-radius: 18px; background: rgba(8, 12, 20, .97);
  border: 1px solid rgba(140, 195, 255, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(30, 95, 190, .12);
  overflow: hidden;
}
.ec-mega-list { display: flex; flex-direction: column; padding: 14px; }
.ec-mega-item { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; transition: background .2s ease; }
.ec-mega-item:hover { background: rgba(120, 180, 250, .08); }
.ec-mega-item-t { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; font-weight: 600; color: #edf3fa; }
.ec-mega-item-d { display: block; margin-top: 3px; font-size: 12.5px; color: #7f8c9d; }
.ec-mega-cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 24px 20px;
  background: linear-gradient(200deg, rgba(16, 32, 58, .75), rgba(8, 13, 22, .4));
  border-left: 1px solid rgba(255, 255, 255, .07);
}
.ec-mega-cta-t { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: #edf3fa; }
.ec-mega-cta-d { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: #8b98aa; }

/* Mega menu mini-app art */
.ec-mart { position: relative; height: 150px; }
.ec-mart-glow { position: absolute; right: 0; top: 10px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 130, 230, .28), rgba(0, 0, 0, 0)); }
.ec-mart-phone { position: absolute; left: 4px; top: 2px; width: 92px; border-radius: 18px; border: 1px solid rgba(150, 200, 255, .3); background: linear-gradient(180deg, #0d1526, #080d17); padding: 7px 8px 11px; box-shadow: 0 16px 38px rgba(0, 0, 0, .55); transform: rotate(-3deg); }
.ec-mart-notch { display: flex; justify-content: center; }
.ec-mart-notch span { width: 24px; height: 6px; border-radius: 4px; background: #04060b; }
.ec-mart-greet { margin-top: 8px; font-family: 'Space Grotesk', sans-serif; font-size: 9px; font-weight: 600; color: #e8eef6; }
.ec-mart-line { margin-top: 3px; width: 40px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.ec-mart-book { margin-top: 8px; padding: 6px 0; border-radius: 8px; background: linear-gradient(180deg, #4aa2f0, #1f66c8); text-align: center; font-size: 8px; font-weight: 600; color: #ffffff; box-shadow: 0 5px 14px rgba(38, 118, 220, .4); }
.ec-mart-row { display: flex; gap: 5px; margin-top: 7px; }
.ec-mart-ic { width: 16px; height: 16px; border-radius: 5px; background: rgba(120, 180, 250, .22); }
.ec-mart-lines { flex: 1; display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.ec-mart-l1 { width: 90%; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.ec-mart-l2 { width: 60%; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .09); }
.ec-mart-toast { position: absolute; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 9px; background: rgba(10, 16, 27, .95); box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.ec-mart-toast--ok { right: 0; top: 26px; border: 1px solid rgba(110, 220, 165, .3); animation: floatY 5.5s ease-in-out infinite alternate; }
.ec-mart-toast--order { right: 10px; top: 76px; border: 1px solid rgba(140, 195, 255, .28); animation: floatY 6.5s ease-in-out .7s infinite alternate; }
.ec-mart-check { display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: rgba(110, 220, 165, .18); color: #7fe0ae; font-size: 8px; }
.ec-mart-dot { width: 6px; height: 6px; border-radius: 50%; background: #79b7f2; box-shadow: 0 0 8px rgba(120, 180, 250, .8); }
.ec-mart-txt { font-size: 9px; color: #cdd6e2; }
.ec-mart-tag { position: absolute; right: 20px; bottom: 0; font-family: 'JetBrains Mono', monospace; font-size: 7.5px; letter-spacing: .14em; color: #55647a; }

/* ---------- Buttons ---------- */
.ec-btn {
  display: inline-block; border-radius: 999px; border: none; -webkit-appearance: none; appearance: none; font-family: inherit;
  background: linear-gradient(180deg, #4aa2f0 0%, #1f66c8 100%);
  color: #ffffff; font-weight: 600; text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}
.ec-btn--nav { padding: 11px 24px; font-size: 14px; box-shadow: 0 6px 20px rgba(38, 118, 220, .4), inset 0 1px 0 rgba(255, 255, 255, .28); }
.ec-btn--nav:hover { box-shadow: 0 9px 28px rgba(58, 138, 240, .6), inset 0 1px 0 rgba(255, 255, 255, .28); transform: translateY(-1px); }
.ec-btn--mega { margin-top: 14px; padding: 10px 18px; font-size: 13px; box-shadow: 0 6px 18px rgba(38, 118, 220, .35); }
.ec-btn--mega:hover { box-shadow: 0 8px 24px rgba(58, 138, 240, .5); }
.ec-btn--hero { padding: 14px 30px; font-size: 15px; box-shadow: 0 8px 24px rgba(38, 118, 220, .38), inset 0 1px 0 rgba(255, 255, 255, .28); }
.ec-btn--hero:hover { box-shadow: 0 12px 34px rgba(58, 138, 240, .55), inset 0 1px 0 rgba(255, 255, 255, .28); transform: translateY(-2px); }
.ec-btn--cta { padding: 16px 34px; font-size: 16px; box-shadow: 0 10px 30px rgba(38, 118, 220, .4), inset 0 1px 0 rgba(255, 255, 255, .28); }
.ec-btn--cta:hover { box-shadow: 0 14px 40px rgba(58, 138, 240, .6), inset 0 1px 0 rgba(255, 255, 255, .28); transform: translateY(-2px); }
.ec-btn--submit { margin-top: 6px; padding: 16px 30px; font-size: 16px; border: none; cursor: pointer; font-family: 'Instrument Sans', sans-serif; box-shadow: 0 10px 30px rgba(38, 118, 220, .4), inset 0 1px 0 rgba(255, 255, 255, .28); }
.ec-btn--submit:hover { box-shadow: 0 14px 40px rgba(58, 138, 240, .6), inset 0 1px 0 rgba(255, 255, 255, .28); transform: translateY(-2px); }

/* ---------- Shared layout / typography ---------- */
.ec-wrap-900 { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.ec-wrap-1140 { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.ec-wrap-1240 { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.ec-stars { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.ec-blob { position: absolute; border-radius: 50%; filter: blur(50px); }

.ec-crumb { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .24em; color: #79b7f2; text-transform: uppercase; }
.ec-crumb a { color: #5d6f85; text-decoration: none; }

.ec-h1 { margin: 22px 0 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; line-height: 1.06; letter-spacing: -.032em; color: #f3f7fc; text-wrap: balance; }
.ec-hero-sub { margin: 22px 0 0; font-size: 18px; line-height: 1.65; color: #a6b1c2; text-wrap: pretty; }

.ec-h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: #f3f7fc; text-wrap: balance; }
.ec-h2--sec { margin: 18px 0 0; font-size: 46px; letter-spacing: -.03em; }
.ec-h2--proof { font-size: 44px; letter-spacing: -.028em; }
.ec-h2--faq { font-size: 44px; letter-spacing: -.03em; }
.ec-h2--mini { font-size: 42px; letter-spacing: -.03em; }
.ec-h2--cta { font-size: 46px; letter-spacing: -.03em; }

/* Section index header: mono index + hairline + eyebrow */
.ec-secidx { display: flex; align-items: center; gap: 14px; }
.ec-secidx-n { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em; color: #4a5a6e; }
.ec-secidx-line { width: 34px; height: 1px; background: rgba(120, 180, 250, .4); }
.ec-secidx-lbl { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .22em; color: #79b7f2; text-transform: uppercase; }

/* Centered eyebrow header (FAQ blocks, CTA-adjacent) */
.ec-center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.ec-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .22em; color: #79b7f2; text-transform: uppercase; }

.ec-link { color: #9cc6f2; text-decoration: none; border-bottom: 1px solid rgba(140, 195, 255, .35); }
.ec-link:hover { color: #cde4fb; }

/* ---------- Bullet-row scope lists (service pages) ---------- */
.ec-rows { display: flex; flex-direction: column; margin-top: 34px; }
.ec-row { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.ec-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ec-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9ed1ff, #2f83d8); box-shadow: 0 0 10px rgba(110, 175, 245, .6); position: relative; top: -1px; }
.ec-row-t { font-family: 'Space Grotesk', sans-serif; font-size: 17.5px; font-weight: 600; color: #edf3fa; }
.ec-row-d { font-size: 15.5px; line-height: 1.65; color: #8f9cae; }

/* ---------- Numbered steps (Contact, What Happens Next pattern) ---------- */
.ec-steps { display: flex; flex-direction: column; margin-top: 46px; }
.ec-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.ec-step:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ec-step-n { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #0a1220; border: 1px solid rgba(140, 195, 255, .5); box-shadow: 0 0 14px rgba(90, 160, 240, .3); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #9cc6f2; }
.ec-step-t { font-family: 'Space Grotesk', sans-serif; font-size: 16.5px; font-weight: 600; color: #edf3fa; }
.ec-step-d { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: #8b98aa; }

/* ---------- FAQ rows ---------- */
.ec-faq { display: flex; flex-direction: column; margin-top: 48px; }
.ec-faq-item { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.ec-faq-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ec-faq-q { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 18.5px; font-weight: 600; color: #edf3fa; }
.ec-faq-a { margin: 11px 0 0; font-size: 15.5px; line-height: 1.7; color: #97a4b6; text-wrap: pretty; }
.ec-faq--mini { margin-top: 44px; }
.ec-faq--mini .ec-faq-item { padding: 26px 0; }
.ec-faq--mini .ec-faq-q { font-size: 18px; }
.ec-faq--mini .ec-faq-a { margin-top: 10px; font-size: 15px; }

/* ---------- Quick Answer callout (service pages) ---------- */
.ec-qa { max-width: 860px; margin: 0 auto; padding: 34px 42px; border-radius: 18px; background: rgba(10, 16, 27, .72); border: 1px solid rgba(140, 195, 255, .22); box-shadow: 0 0 60px rgba(30, 95, 190, .12); }
.ec-qa-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #79b7f2; }
.ec-qa-txt { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: #c6d1e0; text-wrap: pretty; }

/* ---------- Service hero (breadcrumb hero + eclipse disc) ---------- */
.ec-svc-hero { position: relative; height: 560px; overflow: hidden; background-color: #04060b; background-image: radial-gradient(1000px 480px at 50% -10%, #0a1526 0%, #060b15 48%, #04060b 74%); }
.ec-svc-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 174px 40px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ec-svc-h1 { font-size: 62px; max-width: 980px; }
.ec-svc-sub { max-width: 660px; }
.ec-hero-btnrow { margin-top: 34px; }
.ec-disc-glow { position: absolute; left: 50%; bottom: -960px; width: 1100px; height: 1100px; margin-left: -550px; border-radius: 50%; box-shadow: 0 0 44px 10px rgba(112, 178, 250, .32), 0 0 150px 55px rgba(40, 110, 210, .2); animation: breathe 7s ease-in-out infinite alternate; opacity: .9; }
.ec-disc { position: absolute; left: 50%; bottom: -960px; width: 1100px; height: 1100px; margin-left: -550px; border-radius: 50%; background: radial-gradient(circle at 50% 16%, #0b1420 0%, #060a12 58%); border: 1px solid rgba(175, 218, 255, .5); }

/* ---------- Centered page hero (About, Why Eclipse; 520px variant of the svc hero) ---------- */
.ec-page-hero { position: relative; height: 520px; overflow: hidden; background-color: #04060b; background-image: radial-gradient(1000px 480px at 50% -10%, #0a1526 0%, #060b15 48%, #04060b 74%); }
.ec-page-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 190px 40px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ec-page-h1 { font-size: 66px; line-height: 1.04; letter-spacing: -.033em; }
.ec-page-hero-sub { margin-top: 24px; max-width: 680px; }

/* ---------- Proof cards (Portals in Production pattern) ---------- */
.ec-proof-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.ec-proof-all { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; color: #79b7f2; text-decoration: none; transition: gap .3s ease; }
.ec-proof-all:hover { gap: 14px; }
.ec-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.ec-case { display: block; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); background: #070c14; text-decoration: none; transition: border-color .3s ease, transform .3s ease; }
.ec-case:hover { transform: translateY(-4px); }
.ec-case--teal:hover { border-color: rgba(69, 196, 174, .45); }
.ec-case--cyan:hover { border-color: rgba(56, 190, 212, .45); }
.ec-case-shot { height: 200px; display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; }
.ec-case--teal .ec-case-shot { background: radial-gradient(520px 300px at 50% 20%, rgba(38, 150, 130, .16), rgba(0, 0, 0, 0)); }
.ec-case--cyan .ec-case-shot { background: radial-gradient(520px 300px at 50% 20%, rgba(42, 160, 185, .15), rgba(0, 0, 0, 0)); }
.ec-case-shot img { width: auto; height: auto; max-width: 100%; max-height: 152px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); }
.ec-case-body { padding: 18px 24px; border-top: 1px solid rgba(255, 255, 255, .06); }
.ec-case-toprow { display: flex; align-items: center; justify-content: space-between; }
.ec-case-name { font-family: 'Space Grotesk', sans-serif; font-size: 16.5px; font-weight: 600; color: #edf3fa; }
.ec-case-tag { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .1em; }
.ec-case--teal .ec-case-tag { color: #45c4ae; }
.ec-case--cyan .ec-case-tag { color: #62d3e5; }
.ec-case-desc { margin: 7px 0 0; font-size: 13.5px; line-height: 1.55; color: #8b98aa; }

/* ---------- CTA band ---------- */
.ec-cta { position: relative; padding: 120px 0; border-top: 1px solid rgba(255, 255, 255, .05); background: radial-gradient(800px 440px at 50% 120%, #0b1930 0%, #04060b 70%); overflow: hidden; }
.ec-cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 40px; }
.ec-cta-p { margin: 20px 0 0; max-width: 540px; font-size: 17px; line-height: 1.65; color: #a6b1c2; text-wrap: pretty; }
.ec-cta-btnrow { margin-top: 36px; }

/* ---------- Quote form ---------- */
.ec-form {
  display: flex; flex-direction: column; gap: 16px; padding: 36px 34px; border-radius: 22px;
  background: rgba(8, 13, 22, .85); border: 1px solid rgba(140, 195, 255, .2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 70px rgba(30, 95, 190, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ec-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ec-field { display: flex; flex-direction: column; gap: 7px; }
.ec-field-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .16em; color: #6f7f93; }
.ec-input { padding: 13px 15px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); color: #eef4fb; font-size: 14.5px; transition: border-color .25s ease; }
.ec-input:focus { outline: none; border-color: rgba(140, 195, 255, .55); box-shadow: 0 0 0 3px rgba(70, 140, 230, .15); }
.ec-input::placeholder { color: #5c6878; }
textarea.ec-input { resize: vertical; min-height: 110px; }
select.ec-input { -webkit-appearance: none; appearance: none; }
select.ec-input option { background: #0a0f18; }
.ec-form-ok { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 10px; background: rgba(80, 200, 140, .1); border: 1px solid rgba(110, 220, 165, .35); font-size: 14px; color: #9fe6c4; animation: igniteIn .4s ease; }
.ec-form-ok[hidden] { display: none; }
.ec-form-note { text-align: center; font-size: 12.5px; color: #64748a; }

/* ---------- Footer (4-column, site-wide; source: homepage prototype footer) ----------
   Canonical markup: build/partials/footer.html. Used on every Eclipse template. */
.ec-footer { border-top: 1px solid rgba(255, 255, 255, .06); background: #030509; }
.ec-footer-inner { max-width: 1240px; margin: 0 auto; padding: 64px 40px 0; }
.ec-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; gap: 48px; }
.ec-footer-logo { display: inline-block; }
.ec-footer-logo img { width: 126px; height: auto; display: block; opacity: .9; }
.ec-footer-tag { margin: 18px 0 0; max-width: 300px; font-size: 14px; line-height: 1.65; color: #7d8899; }
.ec-footer-colhead { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; color: #55606e; }
.ec-footer-collinks { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.ec-footer-link { color: #8b98aa; font-size: 13.5px; text-decoration: none; }
.ec-footer-link:hover { color: #dbe4ef; }
.ec-footer-link--hl { color: #9cc6f2; }
.ec-footer-link--hl:hover { color: #cde4fb; }
.ec-footer-loc { color: #8b98aa; font-size: 13.5px; }
.ec-footer-bottom { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 56px; padding: 24px 0 26px; border-top: 1px solid rgba(255, 255, 255, .06); }
.ec-footer-legal { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #55606e; }
.ec-footer-legallinks { display: flex; gap: 22px; font-size: 12.5px; color: #4d5866; }

/* ---------- Mobile menu (<1180px): hamburger + slide-down accordion panel ----------
   Markup lives inside <nav class="ec-nav"> after .ec-nav-inner; JS in eclipse.js. */
.ec-nav-burger { display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.ec-nav-burger span { position: absolute; left: 10px; width: 24px; height: 2px; border-radius: 2px; background: #dbe4ef; transition: transform .25s ease, top .25s ease; }
.ec-nav-burger span:first-child { top: 17px; }
.ec-nav-burger span:last-child { top: 25px; }
.ec-nav-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.ec-nav-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.ec-nav-burger:focus-visible { outline: 2px solid rgba(140, 195, 255, .7); outline-offset: 2px; }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: translateY(0) } }
.ec-mnav { position: absolute; top: 100%; left: 0; right: 0; z-index: 49; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(4, 6, 11, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); max-height: calc(100vh - 72px); overflow-y: auto; animation: mnavIn .32s cubic-bezier(.22, 1, .36, 1) both; }
.ec-mnav[hidden] { display: none; }
.ec-mnav-inner { display: flex; flex-direction: column; padding: 14px 20px 30px; }
.ec-mnav-link, .ec-mnav-acc { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; box-sizing: border-box; padding: 16px 4px; border: 0; background: none; text-align: left; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 600; color: #edf3fa; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .06); animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) both; }
.ec-mnav-inner > :nth-child(1) { animation-delay: .05s; }
.ec-mnav-inner > :nth-child(2) { animation-delay: .1s; }
.ec-mnav-inner > :nth-child(3) { animation-delay: .15s; }
.ec-mnav-inner > :nth-child(4) { animation-delay: .2s; }
.ec-mnav-inner > :nth-child(5) { animation-delay: .25s; }
.ec-mnav-inner > :nth-child(6) { animation-delay: .3s; }
.ec-mnav-caret { flex: none; font-size: 11px; color: #79b7f2; transition: transform .25s ease; }
.ec-mnav-acc[aria-expanded="true"] .ec-mnav-caret { transform: rotate(180deg); }
.ec-mnav-panel { display: flex; flex-direction: column; padding: 8px 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); animation: none; }
.ec-mnav-panel[hidden] { display: none; }
.ec-mnav-item { display: block; padding: 11px 10px; border-radius: 10px; text-decoration: none; }
.ec-mnav-item:hover { background: rgba(120, 180, 250, .08); }
.ec-mnav-item-t { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; font-weight: 600; color: #edf3fa; }
.ec-mnav-item-d { display: block; margin-top: 3px; font-size: 12.5px; color: #7f8c9d; }
body.ec-menulock { overflow: hidden; }
@media (max-width: 1179px) {
  .ec-nav-links { display: none; }
  .ec-nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .ec-nav-right { margin-left: auto; gap: 6px; }
}
@media (min-width: 1180px) {
  .ec-mnav { display: none !important; }
}

/* ---------- Responsive adaptation (token-faithful; desktop >=1180px is design-exact) ---------- */
@media (max-width: 1100px) {
  .ec-svc-h1 { font-size: 48px; }
  .ec-page-h1 { font-size: 50px; }
  .ec-h2--sec, .ec-h2--cta { font-size: 38px; }
  .ec-h2--proof, .ec-h2--faq { font-size: 36px; }
  .ec-h2--mini { font-size: 34px; }
  .ec-proof-grid { grid-template-columns: 1fr; }
  .ec-proof-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ec-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .ec-nav-inner { padding: 12px 20px; }
  .ec-wrap-900, .ec-wrap-1140, .ec-wrap-1240 { padding: 0 20px; }
  .ec-footer-inner { padding: 48px 20px 0; }
  .ec-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .ec-footer-bottom { flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; }
  .ec-svc-hero-inner { padding: 150px 20px 0; }
  .ec-svc-h1 { font-size: 38px; }
  .ec-page-hero-inner { padding: 150px 20px 0; }
  .ec-page-h1 { font-size: 40px; }
  .ec-form-grid2 { grid-template-columns: 1fr; }
  .ec-form { padding: 28px 22px; }
  .ec-cta-inner { padding: 0 20px; }
  .ec-mega-panel { grid-template-columns: 1fr; width: min(92vw, 400px); }
  .ec-mega-cta { display: none; }
}

/* ==================== APPENDED BATCH C (2026-07-02, blog + case study) ====================
   Shared components for the blog index, the shared post template, and case studies.
   Append-only: nothing above this line was touched. Bump ?v= to 20260702c on templates
   that use these classes. */

/* ---------- Blog index: post card grid (source: Blog.dc.html) ---------- */
.ec-bloggrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.ec-postcard { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(9, 14, 22, .6); text-decoration: none; transition: border-color .3s ease, transform .3s ease; }
.ec-postcard:hover { border-color: rgba(140, 195, 255, .45); transform: translateY(-4px); }
.ec-postcard-kicker { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .14em; color: #79b7f2; }
.ec-postcard-t { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; line-height: 1.25; color: #edf3fa; text-wrap: balance; }
.ec-postcard-d { font-size: 13.5px; line-height: 1.6; color: #8b98aa; }
.ec-postcard-meta { margin-top: 4px; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: #5d6f85; }

/* ---------- Post hero byline (source: Blog Post*.dc.html) ---------- */
.ec-byline { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.ec-byline-author { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ec-byline-ava { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(175, 218, 255, .5); }
.ec-byline-name { font-size: 14px; font-weight: 600; color: #dbe4ef; }
.ec-byline-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .15); }
.ec-byline-meta { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .1em; color: #6f7f93; }

/* ---------- Article layout: sticky TOC rail + 700px body ---------- */
.ec-art { max-width: 1160px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.ec-art-aside { align-self: stretch; }
.ec-art-sticky { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 22px; }
.ec-art-body { max-width: 700px; min-width: 0; }
.ec-toc { padding: 22px 22px 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(9, 14, 22, .6); }
.ec-toc-lbl { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .18em; color: #5d6f85; padding-bottom: 10px; }
.ec-toc-link { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; line-height: 1.45; color: #98a6b8; text-decoration: none; }
.ec-toc-link:hover { color: #eaf2fb; }
.ec-toc-n { flex: none; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #5d6f85; position: relative; top: 2px; }
.ec-asidecta { padding: 24px 22px; border-radius: 16px; border: 1px solid rgba(140, 195, 255, .25); background: linear-gradient(165deg, rgba(16, 28, 48, .9), rgba(8, 13, 22, .9)); }
.ec-asidecta-t { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: #edf3fa; line-height: 1.3; }
.ec-asidecta-d { margin: 9px 0 0; font-size: 12.5px; line-height: 1.55; color: #8b98aa; }
.ec-btn--aside { margin-top: 14px; padding: 10px 18px; font-size: 12.5px; box-shadow: 0 6px 18px rgba(38, 118, 220, .35); }
.ec-btn--aside:hover { box-shadow: 0 8px 24px rgba(58, 138, 240, .5); }

/* ---------- Article quick-answer box ---------- */
.ec-artqa { padding: 26px 30px; border-radius: 16px; background: rgba(10, 16, 27, .72); border: 1px solid rgba(140, 195, 255, .22); box-shadow: 0 0 60px rgba(30, 95, 190, .1); }
.ec-artqa-q { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #79b7f2; }
.ec-artqa-a { margin: 12px 0 0; font-size: 15.5px; line-height: 1.7; color: #c6d1e0; text-wrap: pretty; }

/* ---------- Article prose (post_content lives in the DB with these classes) ---------- */
.ec-sec { margin-top: 54px; scroll-margin-top: 100px; }
.ec-sec-h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 30px; letter-spacing: -.025em; color: #f3f7fc; text-wrap: balance; }
.ec-sec-p { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: #a3b0c1; text-wrap: pretty; }
.ec-blist { display: flex; flex-direction: column; margin: 8px 0 0; padding: 0; list-style: none; }
.ec-bitem { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ec-bitem:last-child { border-bottom: none; }
.ec-bdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9ed1ff, #2f83d8); box-shadow: 0 0 9px rgba(110, 175, 245, .6); position: relative; top: 7px; }
.ec-bitem-txt { font-size: 16px; line-height: 1.75; color: #a3b0c1; text-wrap: pretty; }
.ec-bitem-txt strong { font-weight: 600; color: #dbe5f0; }

/* ---------- Comparison table (semantic <table> inside a rounded wrapper) ---------- */
.ec-ctable { margin-top: 22px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; overflow-x: auto; }
.ec-ctable table { width: 100%; border-collapse: collapse; }
.ec-ctable th { padding: 12px 16px; background: rgba(120, 180, 250, .08); font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 400; letter-spacing: .12em; color: #9cc6f2; text-align: left; text-transform: uppercase; }
.ec-ctable td { padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; line-height: 1.55; color: #94a2b4; vertical-align: top; }
.ec-ctable td:first-child { color: #e3ecf6; font-weight: 600; }
.ec-ctable th, .ec-ctable td { min-width: 130px; }

/* ---------- Key takeaways checklist ---------- */
.ec-takeaways { padding: 26px 30px; border-radius: 16px; border: 1px solid rgba(140, 195, 255, .25); background: linear-gradient(165deg, rgba(14, 28, 44, .85), rgba(8, 12, 20, .85)); }
.ec-takeaways-t { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; color: #edf3fa; }
.ec-takeaways-list { display: flex; flex-direction: column; gap: 11px; margin-top: 15px; }
.ec-tk { display: flex; gap: 12px; }
.ec-tk-check { flex: none; color: #7fe0ae; font-size: 12px; position: relative; top: 3px; }
.ec-tk-txt { font-size: 14.5px; line-height: 1.65; color: #a5b2c3; }

/* ---------- Post FAQ rows (compact, in-article) ---------- */
.ec-pfaq-item { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ec-pfaq-item:first-of-type { margin-top: 8px; }
.ec-pfaq-q { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: #edf3fa; }
.ec-pfaq-a { margin: 9px 0 0; font-size: 14.5px; line-height: 1.7; color: #97a4b6; }

/* ---------- Author box ---------- */
.ec-author { display: flex; align-items: center; gap: 20px; padding: 26px 30px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(9, 14, 22, .65); }
.ec-author-img { flex: none; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(175, 218, 255, .5); }
.ec-author-lbl { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .16em; color: #5d6f85; }
.ec-author-name { margin-top: 4px; font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: #edf3fa; }
.ec-author-bio { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: #8f9cae; }
.ec-author-bio a { color: #9cc6f2; text-decoration: none; }
.ec-author-bio a:hover { color: #cde4fb; }

/* ---------- Related-service card ---------- */
.ec-relsvc { display: block; padding: 20px 24px; border-radius: 14px; border: 1px solid rgba(140, 195, 255, .25); background: linear-gradient(165deg, rgba(16, 28, 48, .9), rgba(8, 13, 22, .9)); text-decoration: none; transition: border-color .3s ease; }
.ec-relsvc:hover { border-color: rgba(140, 195, 255, .5); }
.ec-relsvc-k { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .14em; color: #79b7f2; }
.ec-relsvc-t { display: block; margin-top: 7px; font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: #edf3fa; }

/* ---------- Keep reading row ---------- */
.ec-keep { margin-top: 64px; }
.ec-keep-head { display: flex; align-items: baseline; justify-content: space-between; }
.ec-keep-h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -.02em; color: #f3f7fc; }
.ec-keep-all { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; color: #9cc6f2; text-decoration: none; }
.ec-keep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.ec-keepcard { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(9, 14, 22, .6); text-decoration: none; transition: border-color .3s ease, transform .3s ease; }
.ec-keepcard:hover { border-color: rgba(140, 195, 255, .45); transform: translateY(-3px); }
.ec-keepcard-k { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .14em; color: #79b7f2; }
.ec-keepcard-t { font-family: 'Space Grotesk', sans-serif; font-size: 16.5px; font-weight: 600; line-height: 1.3; color: #edf3fa; text-wrap: balance; }
.ec-keepcard-meta { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: #5d6f85; }

/* ---------- Case-study extras: orange proof-card variant (More Work rows) ---------- */
.ec-case--orange:hover { border-color: rgba(240, 150, 79, .45); }
.ec-case--orange .ec-case-shot { background: radial-gradient(520px 300px at 50% 20%, rgba(200, 110, 40, .15), rgba(0, 0, 0, 0)); }
.ec-case--orange .ec-case-tag { color: #f0964f; }

/* ---------- Batch C responsive ---------- */
@media (max-width: 1100px) {
  .ec-bloggrid { grid-template-columns: 1fr; }
  .ec-art { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ec-art-sticky { position: static; }
  .ec-keep-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ec-art { padding: 0 20px; }
  .ec-artqa { padding: 22px 20px; }
  .ec-takeaways { padding: 22px 20px; }
  .ec-author { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .ec-sec-h2 { font-size: 25px; }
  .ec-postcard { padding: 24px 20px; }
}

/* ==================== APPENDED BATCH D (2026-07-02, homepage + quote-form handler) ====================
   Append-only: nothing above this line was touched. Templates using these
   classes reference tokens.css?v=20260702d. */

/* ---------- Quote-form honeypot (contact + homepage #consultation forms) ----------
   Visually hidden but present in the DOM; the in-template handler drops any
   submission where ec_hp is non-empty. Kept out of inline styles on purpose. */
.ec-hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; }

/* in-content prose links: brand blue, no default purple visited (added 2026-07-02) */
.ec-sec-p a,.ec-bitem-txt a,.ec-bitem a,.ec-tk a,.ec-artqa a,.ec-author-bio a{color:#79b7f2;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;transition:color .18s ease}
.ec-sec-p a:visited,.ec-bitem-txt a:visited,.ec-bitem a:visited,.ec-tk a:visited,.ec-artqa a:visited,.ec-author-bio a:visited{color:#79b7f2}
.ec-sec-p a:hover,.ec-bitem-txt a:hover,.ec-bitem a:hover,.ec-tk a:hover,.ec-artqa a:hover,.ec-author-bio a:hover{color:#a9d0f5}

/* ==================== QUOTE FORM: loader + inline error + success modal (2026-07-03) ==================== */
/* Inline submit spinner (button swaps label -> "Sending" + spinner). */
.ec-quote-submit { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ec-quote-submit[disabled] { opacity: .8; cursor: progress; }
.ec-quote-spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #ffffff; animation: spin .7s linear infinite; }
.ec-quote-submit.is-sending .ec-quote-spinner { display: inline-block; }
/* Inline error under the form. */
.ec-quote-error { margin-top: 4px; padding: 12px 15px; border-radius: 10px; background: rgba(232, 90, 90, .1); border: 1px solid rgba(240, 120, 120, .38); font-size: 13.5px; color: #f3b4b4; }
.ec-quote-error[hidden] { display: none; }

/* Success modal overlay. */
.ec-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: 'Instrument Sans', sans-serif; }
.ec-modal[hidden] { display: none; }
.ec-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 8, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: igniteIn .3s ease; }
.ec-modal-panel { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 44px 38px 36px; border-radius: 20px; background: #0a0f18; border: 1px solid rgba(140, 195, 255, .18); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .04); text-align: center; animation: fadeUp .4s cubic-bezier(.22, 1, .36, 1); }
.ec-modal-x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: none; background: transparent; color: #6f7f93; font-family: inherit; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 8px; transition: color .2s ease, background .2s ease; }
.ec-modal-x:hover { color: #eaf3ff; background: rgba(255, 255, 255, .06); }
.ec-modal-check { width: 62px; height: 62px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(180deg, #4aa2f0 0%, #1f66c8 100%); box-shadow: 0 12px 34px rgba(38, 118, 220, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ec-modal-title { margin: 0 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 600; color: #f3f7fc; letter-spacing: -.01em; }
.ec-modal-body { margin: 0 0 26px; font-size: 15px; line-height: 1.6; color: #a6b1c2; }
.ec-modal-close { cursor: pointer; min-width: 132px; }
/* The close button auto-focuses when the modal opens; replace the harsh default outline with a clean brand ring. */
.ec-modal-close:focus { outline: none; }
.ec-modal-close:focus-visible { outline: none; box-shadow: 0 8px 24px rgba(38, 118, 220, .5), 0 0 0 3px rgba(140, 195, 255, .45); }
.ec-modal-x:focus { outline: none; }
.ec-modal-x:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(140, 195, 255, .5); }
@media (max-width: 480px) { .ec-modal-panel { padding: 38px 24px 30px; } .ec-modal-title { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .ec-modal-backdrop, .ec-modal-panel { animation: none; } .ec-quote-spinner { animation-duration: 1.4s; } }

