﻿/* ============================================================================
   EqualWeb Mini-Sites ג€” SHARED COMPONENTS
   ----------------------------------------------------------------------------
   Built ONLY on brand-kit tokens (../brand-kit/tokens.css + components.css).
   No hardcoded colors or sizes ג€” every value is a var(--ew-*).
   Prefix: .ews-  (mini-site layer, distinct from brand-kit .ew-)

   NOTE on url() paths: this file lives at minisites/shared.css, so any url()
   below resolves relative to minisites/ ג€” which is why ../assets works from
   every page regardless of how deep the HTML that links this file is.
   ============================================================================ */

/* ---------- Warm accent tokens (secondary to teal) ----------------------
   The brand anchor stays electric teal; coral + amber are SECONDARY accents
   used sparingly on dark surfaces and in art (aurora, card glows) to add
   energy and stop the palette feeling monotone. Never blue/purple. --------- */
:root {
  --ew-coral-400: #ff8a5c;
  --ew-coral-500: #ff6b5c;   /* warm accent anchor */
  --ew-coral-600: #f0524a;
  --ew-amber-400: #ffc15e;
  --ew-amber-500: #ffb23e;   /* warm highlight */
  --ew-coral-glow: #ff7a6b;
  /* teal -> coral -> amber sweep, for warm gradient accents on dark */
  --ew-grad-warm: linear-gradient(100deg, var(--ew-teal-glow), var(--ew-coral-500) 55%, var(--ew-amber-500));
}
/* Gradient warm accent on a word/element (use sparingly) */
.ew-grad-warm {
  background: var(--ew-grad-warm);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header: product switcher + CTAs ----------------------------- */
.ews-switch { position: relative; }
.ews-switch__btn {
  display: inline-flex; align-items: center; gap: var(--ew-space-2);
  padding: var(--ew-space-2) var(--ew-space-3); min-height: var(--ew-tap-target);
  border: var(--ew-border); border-radius: var(--ew-radius-pill);
  background: var(--ew-color-surface); color: var(--ew-color-text);
  font: inherit; font-size: var(--ew-text-sm); font-weight: var(--ew-weight-semibold); cursor: pointer;
}
.ews-switch__btn:hover { border-color: var(--ew-color-border-strong); }
.ews-switch__btn svg { width: 1rem; height: 1rem; flex: none; color: var(--ew-color-brand-text); }
.ews-switch__menu {
  position: absolute; top: calc(100% + var(--ew-space-2)); inset-inline-start: 0;
  min-width: 19rem; background: var(--ew-color-surface); border: var(--ew-border);
  border-radius: var(--ew-radius-lg); box-shadow: var(--ew-shadow-lg);
  padding: var(--ew-space-2); z-index: var(--ew-z-header);
  display: grid; gap: 2px;
}
.ews-switch__menu[hidden] { display: none; }
.ews-switch__item {
  display: flex; gap: var(--ew-space-3); align-items: center;
  padding: var(--ew-space-3); border-radius: var(--ew-radius-md);
  text-decoration: none; color: var(--ew-color-text);
}
.ews-switch__item:hover { background: var(--ew-color-bg-subtle); }
.ews-switch__item[aria-current="true"] { background: var(--ew-teal-50); }
.ews-switch__ico {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: none;
  border-radius: var(--ew-radius-sm); background: var(--ew-teal-100); color: var(--ew-teal-800);
}
.ews-switch__ico svg { width: 1.25rem; height: 1.25rem; }
.ews-switch__name { font-weight: var(--ew-weight-semibold); font-size: var(--ew-text-sm); }
.ews-switch__desc { font-size: var(--ew-text-xs); color: var(--ew-color-text-muted); }
.ews-switch__item--soon { opacity: 0.6; }

/* ---------- Header: logo lockup ג€” tagline UNDER the wordmark ------------- */
.ew-header .ew-logo { flex-direction: column; align-items: flex-start; gap: 3px; }
.ew-header .ew-logo__img { height: 2.4rem; }   /* enlarged wordmark */
.ew-logo__tagline {
  display: block; white-space: nowrap;
  font-family: var(--ew-font-display); font-weight: var(--ew-weight-bold);
  font-size: var(--ew-text-sm); letter-spacing: var(--ew-tracking-snug);
  line-height: 1.05; color: var(--ew-color-brand-text);
}

/* Header product menu: one row, never wrap labels */
.ew-header .ew-nav { flex-wrap: nowrap; margin-inline-start: var(--ew-space-3); }
.ew-header .ew-nav__link { white-space: nowrap; }
.ew-nav__link[aria-current="page"] { color: var(--ew-color-brand-text);
  font-weight: var(--ew-weight-semibold); background: var(--ew-teal-50); }

@media (max-width: 600px) { .ew-logo__tagline { display: none; } }

/* ---------- In-site subnav (sticky, below header) ----------------------- */
.ews-subnav {
  position: sticky; top: 4.5rem; z-index: var(--ew-z-sticky);
  background: color-mix(in srgb, var(--ew-color-bg) 90%, transparent);
  background: var(--ew-color-bg); /* fallback */
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: var(--ew-border);
}
.ews-subnav__inner { display: flex; align-items: center; gap: var(--ew-space-4);
  min-height: 3.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ews-subnav__label { font-weight: var(--ew-weight-bold); font-size: var(--ew-text-sm);
  color: var(--ew-color-text); white-space: nowrap; padding-inline-end: var(--ew-space-2);
  border-inline-end: var(--ew-border); }
.ews-subnav__links { display: flex; gap: var(--ew-space-1); }
.ews-subnav__link {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: var(--ew-space-2) var(--ew-space-3); border-radius: var(--ew-radius-sm);
  color: var(--ew-color-text-muted); text-decoration: none;
  font-size: var(--ew-text-sm); font-weight: var(--ew-weight-medium);
}
.ews-subnav__link:hover { background: var(--ew-color-bg-subtle); color: var(--ew-color-text); }
.ews-subnav__link[aria-current="page"] { color: var(--ew-color-brand-text); font-weight: var(--ew-weight-semibold);
  box-shadow: inset 0 -2px 0 var(--ew-color-brand); border-radius: 0; }
.ews-subnav__cta { margin-inline-start: auto; }

/* ---------- Product hero (mini-site overview + subpages) ---------------- */
.ews-hero { position: relative; overflow: hidden; background: var(--ew-ink-950); color: var(--ew-white); }
.ews-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 80% 8%, rgba(0,192,168,0.26), transparent 60%),
              radial-gradient(48% 48% at 6% 100%, rgba(46,230,194,0.12), transparent 60%); }
.ews-hero--bg::before { opacity: 0.5; }
.ews-hero--bg { background:
    linear-gradient(90deg, var(--ew-ink-950) 26%, rgba(7,11,16,0.6) 58%, rgba(7,11,16,0.15) 100%),
    url('assets/generated/hero-bg-1.jpg') right center / cover no-repeat,
    var(--ew-ink-950); }
.ews-hero__inner { position: relative; z-index: var(--ew-z-raised);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--ew-space-8); align-items: center;
  padding-block: var(--ew-space-9); }
.ews-hero__copy > * + * { margin-top: var(--ew-space-5); }
.ews-hero--center .ews-hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.ews-hero--center .ews-hero__copy { max-width: 48rem; }

/* ---------- CTA cluster (the 3 CTAs) ------------------------------------ */
.ews-ctas { display: flex; flex-wrap: wrap; gap: var(--ew-space-3); align-items: center; }

/* ---------- Feature split (zig-zag text + mockup) ----------------------- */
.ews-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ew-space-8); align-items: center; }
.ews-split--rev .ews-split__media { order: -1; }
.ews-split__copy > * + * { margin-top: var(--ew-space-4); }

/* ---------- Spec grid (features with icons) ----------------------------- */
.ews-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ew-space-5); }
.ews-spec__item { display: grid; gap: var(--ew-space-3); }
.ews-spec__ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: var(--ew-radius-md); background: var(--ew-teal-100); color: var(--ew-teal-800); }
.ews-spec__ico svg { width: 1.4rem; height: 1.4rem; }
.ews-spec__title { font-weight: var(--ew-weight-semibold); }
.ews-spec__body { color: var(--ew-color-text-muted); font-size: var(--ew-text-sm); }

/* ---------- Mockup frame (browser/app chrome around an HTML/SVG mock) --- */
.ews-mock { background: var(--ew-ink-800); border: var(--ew-border-width) solid rgba(255,255,255,0.12);
  border-radius: var(--ew-radius-xl); box-shadow: var(--ew-shadow-xl); overflow: hidden; }
.ews-mock__bar { display: flex; align-items: center; gap: var(--ew-space-2);
  padding: var(--ew-space-3) var(--ew-space-4); border-bottom: 1px solid rgba(255,255,255,0.10); }
.ews-mock__dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(255,255,255,0.25); }
.ews-mock__url { margin-inline-start: var(--ew-space-2); font-size: var(--ew-text-xs);
  color: rgba(255,255,255,0.55); font-family: var(--ew-font-mono); }
.ews-mock__body { padding: var(--ew-space-5); min-height: 13rem; }
/* light variant for in-page (light section) mockups */
.ews-mock--light { background: var(--ew-color-surface); border-color: var(--ew-color-border); }
.ews-mock--light .ews-mock__bar { border-bottom-color: var(--ew-color-border); }
.ews-mock--light .ews-mock__dot { background: var(--ew-color-border-strong); }
.ews-mock--light .ews-mock__url { color: var(--ew-color-text-muted); }

/* Placeholder caption shown inside a mockup frame until the real mock lands */
.ews-mock__placeholder { display: grid; place-items: center; gap: var(--ew-space-3);
  min-height: 11rem; text-align: center; color: rgba(255,255,255,0.7); }
.ews-mock--light .ews-mock__placeholder { color: var(--ew-color-text-muted); }
.ews-mock__placeholder svg { width: 2.25rem; height: 2.25rem; opacity: 0.7; }
.ews-mock__tag { font-size: var(--ew-text-xs); letter-spacing: var(--ew-tracking-wide);
  text-transform: uppercase; font-weight: var(--ew-weight-bold); }

/* ---------- Editions (capabilities, NO prices) -------------------------- */
.ews-editions { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ew-space-5); }
.ews-edition { background: var(--ew-color-surface); border: var(--ew-border-width-strong) solid var(--ew-color-border);
  border-radius: var(--ew-radius-xl); padding: var(--ew-space-6); display: grid; gap: var(--ew-space-4); align-content: start; }
.ews-edition__name { font-weight: var(--ew-weight-semibold); font-size: var(--ew-text-h4); }
.ews-edition__for { color: var(--ew-color-text-muted); font-size: var(--ew-text-sm); }

/* ---------- Hub: product directory cards -------------------------------- */
.ews-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ew-space-6); }
.ews-product-card { display: flex; flex-direction: column;
  background: var(--ew-color-surface); border: var(--ew-border); border-radius: var(--ew-radius-lg);
  padding: var(--ew-space-6); overflow: hidden; text-decoration: none; color: var(--ew-color-text);
  transition: transform var(--ew-duration-base) var(--ew-ease-out),
              box-shadow var(--ew-duration-base) var(--ew-ease-out),
              border-color var(--ew-duration-base) var(--ew-ease-out); }
.ews-product-card:hover { transform: translateY(-4px); box-shadow: var(--ew-shadow-lg); border-color: transparent; }
.ews-product-card__inner { display: flex; flex-direction: column; gap: var(--ew-space-4); flex: 1; }
.ews-product-card__top { display: flex; align-items: center; gap: var(--ew-space-4); }
.ews-product-card__ico { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; flex: none;
  border-radius: var(--ew-radius-md); color: var(--ew-ink-900);
  background: linear-gradient(135deg, var(--ew-teal-500), var(--ew-teal-700)); }
.ews-product-card__ico svg { width: 1.7rem; height: 1.7rem; }
.ews-product-card__name { font-size: var(--ew-text-h4); font-weight: var(--ew-weight-semibold); }
.ews-product-card__audience { font-size: var(--ew-text-xs); color: var(--ew-color-brand-text);
  font-weight: var(--ew-weight-semibold); }
.ews-product-card__body { color: var(--ew-color-text-muted); flex: 1; }
.ews-product-card__link { display: inline-flex; align-items: center; gap: var(--ew-space-1);
  color: var(--ew-color-brand-text); font-weight: var(--ew-weight-semibold); }
.ews-product-card__link svg { width: 1.15em; height: 1.15em; flex: none; }
.ews-product-card:hover .ews-product-card__link { gap: var(--ew-space-3); }
.ews-product-card--soon { pointer-events: none; }
.ews-product-card--soon .ews-product-card__ico {
  background: var(--ew-line-100); color: var(--ew-color-text-muted); }

/* Cover variant ג€” atmospheric image header */
.ews-product-card--cover { padding: 0; }
.ews-product-card--cover .ews-product-card__inner { padding: var(--ew-space-6); gap: var(--ew-space-3); }
.ews-product-card__cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ew-ink-900); }
.ews-product-card__coverimg { position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.6s var(--ew-ease-out); }
.ews-product-card__cover::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,16,0.10) 0%, rgba(7,11,16,0.48) 66%, rgba(7,11,16,0.82) 100%); }
.ews-product-card--cover:hover .ews-product-card__coverimg { transform: scale(1.06); }
.ews-product-card--cover .ews-product-card__ico { position: absolute; left: var(--ew-space-5); bottom: var(--ew-space-4);
  z-index: 1; box-shadow: var(--ew-shadow-md); }
.ews-product-card__head { display: flex; flex-direction: column; gap: 2px; }
@media (prefers-reduced-motion: reduce) { .ews-product-card--cover:hover .ews-product-card__coverimg { transform: none; } }

/* ---------- Footer social icons (injected footer uses .hp-social) -------- */
.hp-social { display: inline-flex; gap: var(--ew-space-2); }
.hp-social a { display: grid; place-items: center; width: var(--ew-tap-target); height: var(--ew-tap-target);
  border-radius: 50%; color: var(--ew-color-text-muted); }
.hp-social a:hover { color: var(--ew-color-brand-text); background: var(--ew-color-surface); }
.hp-social svg { width: 1.15rem; height: 1.15rem; }

/* ---------- Compliance chip row ----------------------------------------- */
.ews-chips { display: flex; flex-wrap: wrap; gap: var(--ew-space-3); justify-content: center; }

/* ---------- Skeleton placeholders (build phase) ------------------------- */
.ews-skeleton { display: grid; gap: var(--ew-space-3); }
.ews-skeleton__bar { height: 0.85rem; border-radius: var(--ew-radius-pill);
  background: var(--ew-color-bg-subtle); border: var(--ew-border); }
.ews-skeleton__bar--80 { width: 80%; } .ews-skeleton__bar--60 { width: 60%; } .ews-skeleton__bar--40 { width: 40%; }
.ews-soon-tag {
  display: inline-flex; align-items: center; gap: var(--ew-space-2);
  font-size: var(--ew-text-xs); font-weight: var(--ew-weight-bold);
  letter-spacing: var(--ew-tracking-wide); text-transform: uppercase;
  color: var(--ew-color-text-muted); }
.ews-soon-tag::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--ew-color-brand); }
.ews-placeholder-note { color: var(--ew-color-text-muted); }

/* A faint "skeleton" ribbon so it's obvious these pages are intentionally empty */
.ews-stub-ribbon { background: var(--ew-color-warning-bg); color: var(--ew-amber-700);
  text-align: center; font-size: var(--ew-text-sm); font-weight: var(--ew-weight-semibold);
  padding: var(--ew-space-2) var(--ew-space-4); }

/* ---------- Answer-first TL;DR (AEO citable block) ---------------------- */
.ews-tldr { border-inline-start: var(--ew-border-width-strong) solid var(--ew-color-brand);
  padding-inline-start: var(--ew-space-5); }
.ews-tldr__lead { font-size: var(--ew-text-body-lg); font-weight: var(--ew-weight-semibold);
  line-height: var(--ew-leading-relaxed); color: var(--ew-color-text); max-width: 62rem; }
.ews-tldr__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ew-space-5); margin: var(--ew-space-6) 0 0; }
.ews-tldr__grid dt { font-size: var(--ew-text-xs); font-weight: var(--ew-weight-bold);
  letter-spacing: var(--ew-tracking-wide); text-transform: uppercase; color: var(--ew-color-brand-text); margin-bottom: var(--ew-space-2); }
.ews-tldr__grid dd { margin: 0; color: var(--ew-color-text-muted); }
.ews-tldr__by { margin-top: var(--ew-space-6); font-size: var(--ew-text-sm); color: var(--ew-color-text-subtle); }
@media (max-width: 760px) { .ews-tldr__grid { grid-template-columns: 1fr; gap: var(--ew-space-4); } }

/* ---------- Creator / influencer video (hub) ---------------------------- */
.ews-video { position: relative; max-width: 920px; margin-inline: auto; aspect-ratio: 16 / 9;
  border-radius: var(--ew-radius-xl); overflow: hidden; box-shadow: var(--ew-shadow-lg);
  background: var(--ew-ink-900); border: var(--ew-border); }
.ews-video iframe, .ews-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ews-video__ph { position: absolute; inset: 0; background-size: cover; background-position: center; display: grid; place-items: center; }
.ews-video__ph--link { text-decoration: none; cursor: pointer; }
.ews-video__ph--link:hover .ews-video__play { transform: scale(1.08); }
.ews-video__ph::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,11,16,0.62), rgba(7,11,16,0.28)); }
.ews-video__play { position: relative; z-index: 1; width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--ew-color-brand); color: var(--ew-ink-900); display: grid; place-items: center;
  box-shadow: var(--ew-glow-teal); animation: ews-vpulse 2.6s var(--ew-ease-standard) infinite; }
.ews-video__play svg { width: 2rem; height: 2rem; margin-inline-start: 3px; }
.ews-video__tag { position: absolute; z-index: 1; bottom: var(--ew-space-4); left: 50%; transform: translateX(-50%);
  color: #fff; font-size: var(--ew-text-sm); font-weight: var(--ew-weight-semibold);
  background: rgba(7,11,16,0.55); padding: 0.3rem 0.85rem; border-radius: var(--ew-radius-pill); white-space: nowrap; }
@keyframes ews-vpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,230,194,0.45); } 50% { box-shadow: 0 0 0 14px rgba(46,230,194,0); } }
@media (prefers-reduced-motion: reduce) { .ews-video__play { animation: none; } }

/* ---------- Meeting scheduler embed (book page) ------------------------- */
.ews-meeting-embed { max-width: 920px; margin: var(--ew-space-7) auto 0;
  background: var(--ew-color-surface); border: var(--ew-border);
  border-radius: var(--ew-radius-xl); box-shadow: var(--ew-shadow-lg); overflow: hidden; }
.ews-meeting-embed iframe { width: 100%; min-height: 720px; border: 0; display: block; }

/* ---------- Booking popup (dialog) ג€” near-full-height, polished --------- */
.ews-book-modal {
  /* fills the viewport with a 5px gap top & bottom (margin:auto centers) */
  width: min(1040px, calc(100vw - 10px)); height: calc(100vh - 10px);
  max-width: none; max-height: none; margin: auto;
  border: 0; padding: 0; background: transparent;
}
.ews-book-modal::backdrop { background: rgba(7, 11, 16, 0.66); backdrop-filter: blur(4px); }
.ews-book-modal__panel { height: 100%; display: flex; flex-direction: column;
  background: var(--ew-color-surface); border-radius: var(--ew-radius-xl);
  box-shadow: var(--ew-shadow-xl); overflow: hidden; }
.ews-book-modal__head { flex: none; display: flex; align-items: center; justify-content: space-between;
  gap: var(--ew-space-4); padding: var(--ew-space-4) var(--ew-space-5);
  border-bottom: var(--ew-border); background: var(--ew-color-surface); }
.ews-book-modal__eyebrow { display: block; font-size: var(--ew-text-xs); font-weight: var(--ew-weight-bold);
  letter-spacing: var(--ew-tracking-wide); text-transform: uppercase; color: var(--ew-color-brand-text); }
.ews-book-modal__title { font-family: var(--ew-font-display); font-weight: var(--ew-weight-bold);
  font-size: var(--ew-text-h4); color: var(--ew-color-text); }
.ews-book-modal__close { flex: none; appearance: none; border: 0; cursor: pointer;
  width: var(--ew-tap-target); height: var(--ew-tap-target); border-radius: 50%;
  background: var(--ew-color-bg-subtle); color: var(--ew-color-text);
  display: grid; place-items: center; }
.ews-book-modal__close:hover { background: var(--ew-line-200); }
.ews-book-modal__close svg { width: 1.2rem; height: 1.2rem; }
.ews-book-modal__frame { flex: 1 1 auto; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Scroll reveal (progressive, reduced-motion safe) ------------ */
/* Elements are ONLY hidden once JS adds .ews-anim to <html>. So if JS is off,
   IntersectionObserver misbehaves (some Edge/file:// cases), or reduced-motion
   is set, content is fully visible and never stuck ג€” the animation is a pure
   enhancement layered on top. */
.ews-anim [data-reveal] { opacity: 0; transform: translateY(34px) scale(0.985);
  transition: opacity 1s var(--ew-ease-out), transform 1s var(--ew-ease-out); }
.ews-anim [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ews-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 980px) {
  .ews-hero__inner { grid-template-columns: 1fr; gap: var(--ew-space-7); padding-block: var(--ew-space-8); }
  .ews-split { grid-template-columns: 1fr; gap: var(--ew-space-6); }
  .ews-split--rev .ews-split__media { order: 0; }
  .ews-spec, .ews-products, .ews-editions { grid-template-columns: repeat(2, 1fr); }
  .ews-switch { display: none; } /* product switcher hides with primary nav on mobile */
}
@media (max-width: 600px) {
  .ews-spec, .ews-products, .ews-editions { grid-template-columns: 1fr; }
  .ews-subnav__label { display: none; }
}

/* ---------- Standards cluster (hub cards + article) --------------------- */
.ews-crumbs { display: flex; align-items: center; gap: var(--ew-space-2); font-size: var(--ew-text-sm);
  color: rgba(255,255,255,0.62); margin-bottom: var(--ew-space-4); }
.ews-crumbs a { color: var(--ew-teal-glow); text-decoration: none; font-weight: var(--ew-weight-semibold); }
.ews-crumbs a:hover { text-decoration: underline; }
.ews-hero--solo { grid-template-columns: 1fr; }

.ews-std-strip { display: flex; flex-wrap: wrap; gap: var(--ew-space-3) var(--ew-space-6); margin-top: var(--ew-space-2); }
.ews-std-strip__item { display: flex; flex-direction: column; gap: 2px; }
.ews-std-strip__k { font-size: var(--ew-text-xs); text-transform: uppercase; letter-spacing: var(--ew-tracking-wide);
  font-weight: var(--ew-weight-bold); color: var(--ew-teal-glow); }
.ews-std-strip__v { color: #e6edf3; font-size: var(--ew-text-sm); font-weight: var(--ew-weight-medium); }

.ews-prose { color: var(--ew-color-text); line-height: var(--ew-leading-relaxed); max-width: 44rem; margin-top: var(--ew-space-3); }

.ews-req-list, .ews-deadlines, .ews-sources { list-style: none; margin: var(--ew-space-5) 0 0; padding: 0;
  display: grid; gap: var(--ew-space-3); max-width: 46rem; }
.ews-req-list li { display: flex; gap: var(--ew-space-3); align-items: flex-start; color: var(--ew-color-text); }
.ews-req-list svg { width: 1.2rem; height: 1.2rem; color: var(--ew-green-700); flex: none; margin-top: 2px; }

.ews-deadlines li { display: flex; gap: var(--ew-space-4); align-items: baseline; padding: var(--ew-space-3) var(--ew-space-4);
  border: var(--ew-border); border-inline-start: 4px solid var(--ew-color-brand); border-radius: var(--ew-radius-md); background: var(--ew-color-surface); }
.ews-deadlines__date { font-weight: var(--ew-weight-bold); color: var(--ew-color-brand-text); white-space: nowrap; min-width: 8rem; }
.ews-deadlines__what { color: var(--ew-color-text); }

.ews-sources a { display: inline-flex; align-items: center; gap: var(--ew-space-2); color: var(--ew-color-brand-text);
  font-weight: var(--ew-weight-semibold); text-decoration: none; }
.ews-sources a:hover { text-decoration: underline; }
.ews-sources svg { width: 0.95rem; height: 0.95rem; flex: none; }

.ews-std-cta { display: flex; flex-wrap: wrap; gap: var(--ew-space-3); margin-top: var(--ew-space-5); }

.ews-std-group + .ews-std-group { margin-top: var(--ew-space-8); }
.ews-std-group__title { font-size: var(--ew-text-h4); font-weight: var(--ew-weight-bold); color: var(--ew-color-text);
  padding-bottom: var(--ew-space-3); margin-bottom: var(--ew-space-5); border-bottom: var(--ew-border); }
.ews-std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ew-space-5); }
.ews-std-grid--related { grid-template-columns: repeat(2, 1fr); }
.ews-std-card { display: flex; flex-direction: column; gap: var(--ew-space-2); padding: var(--ew-space-5);
  background: var(--ew-color-surface); border: var(--ew-border); border-radius: var(--ew-radius-lg);
  text-decoration: none; color: var(--ew-color-text);
  transition: transform var(--ew-duration-base) var(--ew-ease-out), box-shadow var(--ew-duration-base) var(--ew-ease-out), border-color var(--ew-duration-base) var(--ew-ease-out); }
.ews-std-card:hover { transform: translateY(-4px); box-shadow: var(--ew-shadow-lg); border-color: transparent; }
.ews-std-card__abbr { align-self: flex-start; font-family: var(--ew-font-display); font-weight: 800; font-size: var(--ew-text-sm);
  color: var(--ew-ink-900); background: linear-gradient(135deg, var(--ew-teal-400), #0a9d8a); padding: 0.2rem 0.6rem; border-radius: var(--ew-radius-sm); }
.ews-std-card__name { font-weight: var(--ew-weight-semibold); }
.ews-std-card__meta { font-size: var(--ew-text-xs); color: var(--ew-color-text-muted); }
.ews-std-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: var(--ew-space-1);
  color: var(--ew-color-brand-text); font-weight: var(--ew-weight-semibold); font-size: var(--ew-text-sm); }
.ews-std-card__go svg { width: 1.1em; height: 1.1em; }
.ews-std-card:hover .ews-std-card__go { gap: var(--ew-space-3); }

.ews-std-ctaband { text-align: center; }

/* Hero CTAs are redundant with the top header bar -> hidden in all page heroes.
   The homepage hero (.hub-hero-bg) keeps its CTAs as the primary landing action. */
.ews-hero:not(.hub-hero-bg) .ews-ctas { display: none; }

/* Standards hub: region quick-nav (jump links) */
.ews-std-nav { display: flex; flex-wrap: wrap; gap: var(--ew-space-2); justify-content: center; margin-top: var(--ew-space-6); }
.ews-std-nav a { display: inline-flex; align-items: center; padding: var(--ew-space-2) var(--ew-space-4);
  border: var(--ew-border); border-radius: var(--ew-radius-pill); background: var(--ew-color-surface);
  color: var(--ew-color-text); text-decoration: none; font-size: var(--ew-text-sm); font-weight: var(--ew-weight-semibold);
  transition: border-color var(--ew-duration-base) var(--ew-ease-out), color var(--ew-duration-base) var(--ew-ease-out), background var(--ew-duration-base) var(--ew-ease-out); }
.ews-std-nav a:hover { border-color: var(--ew-color-brand); color: var(--ew-color-brand-text); background: var(--ew-teal-50); }
.ews-std-group { scroll-margin-top: 6rem; }

@media (max-width: 980px) { .ews-std-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .ews-std-grid, .ews-std-grid--related { grid-template-columns: 1fr; }
  .ews-deadlines li { flex-direction: column; gap: var(--ew-space-1); }
  .ews-deadlines__date { min-width: 0; }
}

/* ============================================================================
   TESTING-TOOLS pages: shared animated chrome (.ewt-)  --------------------
   Reusable, lightweight, reduced-motion-safe bits shared by the single-page
   testing tools (Monitor / Checker / Crawler). Each page sets one accent via
   .ewt-accent-{teal|amber|coral} (-> --ewt / --ewt-rgb) and supplies its own
   signature mockup SVG; everything below is common.
   ============================================================================ */
.ewt-accent-teal  { --ewt: var(--ew-teal-glow);   --ewt-rgb: 46,230,194; }
.ewt-accent-amber { --ewt: var(--ew-amber-500);   --ewt-rgb: 255,178,62; }
.ewt-accent-coral { --ewt: var(--ew-coral-500);   --ewt-rgb: 255,107,92; }

/* tri-colour aurora (teal + coral + amber) for dark heroes */
.ewt-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ewt-aurora span { position: absolute; display: block; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.ewt-aurora span:nth-child(1) { width: 40rem; height: 40rem; top: -16rem; inset-inline-end: -7rem;
  background: radial-gradient(circle, rgba(0,192,168,0.52), transparent 62%); animation: ewt-d1 21s ease-in-out infinite alternate; }
.ewt-aurora span:nth-child(2) { width: 30rem; height: 30rem; bottom: -13rem; inset-inline-start: 12%;
  background: radial-gradient(circle, rgba(255,107,92,0.30), transparent 64%); animation: ewt-d2 25s ease-in-out infinite alternate; }
.ewt-aurora span:nth-child(3) { width: 24rem; height: 24rem; top: 16%; inset-inline-start: -6rem;
  background: radial-gradient(circle, rgba(255,178,62,0.24), transparent 64%); animation: ewt-d3 27s ease-in-out infinite alternate; }
@keyframes ewt-d1 { to { transform: translate(-3.5rem, 2.5rem) scale(1.16); } }
@keyframes ewt-d2 { to { transform: translate(3rem, -2rem) scale(1.14); } }
@keyframes ewt-d3 { to { transform: translate(2.5rem, 2rem) scale(1.2); } }

/* animated accent underline (warm gradient sweeps in) */
.ewt-underline { display: block; height: 4px; width: 0; margin-top: var(--ew-space-4); border-radius: 99px;
  background: var(--ew-grad-warm); animation: ewt-line 1.1s var(--ew-ease-out) 0.25s forwards; }
.ewt-underline--center { margin-inline: auto; }
@keyframes ewt-line { to { width: 8.5rem; } }

/* reveal: lift content / media in on scroll (shared.js adds .is-revealed) */
[data-reveal] .ewt-up { opacity: 0; transform: translateY(22px); }
[data-reveal].is-revealed .ewt-up { animation: ewt-rise 0.6s var(--ew-ease-out) both; }
[data-reveal].is-revealed .ewt-up.d1 { animation-delay: 0.08s; }
[data-reveal].is-revealed .ewt-up.d2 { animation-delay: 0.16s; }
[data-reveal].is-revealed .ewt-up.d3 { animation-delay: 0.24s; }
[data-reveal].is-revealed .ewt-up.d4 { animation-delay: 0.32s; }
@keyframes ewt-rise { to { opacity: 1; transform: none; } }

/* signature mockup: accent glow behind the .ews-mock frame */
.ewt-mockwrap { position: relative; }
.ewt-mockwrap::before { content: ""; position: absolute; inset: -1.6rem; z-index: 0; border-radius: 2rem;
  background: radial-gradient(58% 58% at 50% 38%, rgba(var(--ewt-rgb), 0.30), transparent 70%); filter: blur(22px); }
.ewt-mockwrap > * { position: relative; z-index: 1; }
.ewt-mock-body { padding: var(--ew-space-5); }

/* accent eyebrow + tiny tags reused inside mockups */
.ewt-eyebrow { color: var(--ewt) !important; }
.ewt-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px;
  font-size: var(--ew-text-xs); font-weight: var(--ew-weight-bold); letter-spacing: .02em;
  color: #07120f; background: var(--ewt); }
.ewt-tag--soft { color: var(--ewt); background: rgba(var(--ewt-rgb), 0.14); }

/* risk / severity pills (warm + teal scale) used in mock tables */
.ewt-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 99px;
  font-size: var(--ew-text-xs); font-weight: var(--ew-weight-bold); }
.ewt-pill--ok   { color: #06312a; background: var(--ew-teal-400); }
.ewt-pill--low  { color: #3a2700; background: var(--ew-amber-400); }
.ewt-pill--high { color: #3a0f0a; background: var(--ew-coral-400); }

/* spec icon tinted with the page accent (overrides teal default sparingly) */
.ewt-accent-amber .ews-spec__ico { background: rgba(255,178,62,0.16); color: #8a5a00; }
.ewt-accent-coral .ews-spec__ico { background: rgba(255,107,92,0.16); color: #a12e22; }

/* feature media: dark panel on light sections */
.ewt-panel { background: var(--ew-ink-800); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--ew-radius-xl); box-shadow: var(--ew-shadow-xl); padding: var(--ew-space-5); color: #e7edf3; }

@media (prefers-reduced-motion: reduce) {
  .ewt-aurora span, .ewt-underline { animation: none !important; }
  .ewt-underline { width: 8.5rem; }
  [data-reveal] .ewt-up, [data-reveal].is-revealed .ewt-up { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ============================================================================
   CLS FIX: reserve the JS-injected chrome height ---------------------------
   shared.js inserts the header (and, on product/category pages, the subnav)
   ABOVE <main> after the document parses. Without reserving their height the
   page paints with <main> at the top, then jumps down ~120px when the chrome
   lands - a ~0.15 Cumulative Layout Shift. We reserve that height as body
   padding pre-JS; shared.js adds `.ew-ready` the instant it injects the real
   chrome, which removes the padding so the painted position never moves.
   ============================================================================ */
body:not(.ew-ready) { padding-top: 4.5rem; }                 /* header height */
body[data-ew-product]:not(.ew-ready),
body[data-ew-category]:not(.ew-ready) { padding-top: 7.75rem; } /* header + subnav */

/* ============================================================================
   MOBILE HARDENING (responsive QA pass) -----------------------------------
   Keeps every page from developing horizontal overflow on phones and makes
   the in-site subnav read as scrollable tabs instead of "cut off".
   ============================================================================ */
/* Let two-column children shrink below their content width, so a wide mockup
   or a long heading can never widen the page on a narrow screen. */
.ews-hero__copy, .ews-hero__media, .ews-split__copy, .ews-split__media { min-width: 0; }
.ews-mock, .ewt-mockwrap { max-width: 100%; }
/* Long display words wrap instead of overflowing on small screens. */
.ew-display, .ew-h1, .ew-h2, .ew-h3 { overflow-wrap: break-word; }

/* In-site subnav: smooth, scrollbar-free horizontal scroll. */
.ews-subnav__inner { scroll-behavior: smooth; scrollbar-width: none; }
.ews-subnav__inner::-webkit-scrollbar { display: none; }
/* Right-edge fade hints that the tabs scroll (only where they might overflow). */
@media (max-width: 860px) {
  .ews-subnav::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: 0;
    width: 2.25rem; pointer-events: none; z-index: 1;
    background: linear-gradient(to left, var(--ew-color-bg), transparent); }
}
@media (max-width: 600px) {
  .ews-subnav__inner { gap: var(--ew-space-2); min-height: 3rem; }
  .ews-subnav__link { padding: var(--ew-space-2); }
  .ewt-mock-body { padding: var(--ew-space-4); }
  .ews-hero__inner { padding-block: var(--ew-space-7); }
}

/* ============================================================================
   COMPARE / ALTERNATIVES cluster (alternatives/, rendered from data/compare.js)
   ============================================================================ */
/* Responsive comparison table - EqualWeb column highlighted */
.ews-cmp-scroll { margin-top: var(--ew-space-5); overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: var(--ew-border); border-radius: var(--ew-radius-lg); background: var(--ew-color-surface); }
.ews-cmp-table { width: 100%; border-collapse: collapse; font-size: var(--ew-text-sm); min-width: 38rem; }
.ews-cmp-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ews-cmp-table th, .ews-cmp-table td { padding: var(--ew-space-3) var(--ew-space-4); text-align: left;
  vertical-align: top; border-bottom: var(--ew-border); }
.ews-cmp-table thead th { font-family: var(--ew-font-display); font-weight: 700;
  background: var(--ew-color-bg-subtle); white-space: nowrap; }
.ews-cmp-table tbody th[scope="row"] { font-weight: var(--ew-weight-semibold); color: var(--ew-color-text);
  max-width: 13rem; }
.ews-cmp-table tbody tr:last-child th, .ews-cmp-table tbody tr:last-child td { border-bottom: 0; }
.ews-cmp-table .ews-cmp-table__hl { background: color-mix(in srgb, var(--ew-color-brand) 7%, transparent); }
.ews-cmp-table thead th.ews-cmp-table__hl { background: color-mix(in srgb, var(--ew-color-brand) 14%, var(--ew-color-bg-subtle)); }

/* "Which should you choose?" - balanced two-column decision guide */
.ews-cmp-choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--ew-space-5); margin-top: var(--ew-space-5); }
.ews-cmp-choose__col { padding: var(--ew-space-5); border: var(--ew-border); border-radius: var(--ew-radius-lg);
  background: var(--ew-color-surface); }
.ews-cmp-choose__col--ew { border-color: color-mix(in srgb, var(--ew-color-brand) 45%, var(--ew-color-border)); }
.ews-cmp-choose__col h3 { margin: 0 0 var(--ew-space-3); font-size: var(--ew-text-lg, 1.125rem); }
.ews-cmp-choose__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ew-space-3); }
.ews-cmp-choose__col li { display: flex; gap: var(--ew-space-3); align-items: flex-start; }
.ews-cmp-choose__col li svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.15rem;
  color: var(--ew-color-brand-text); }

/* Alternatives list (ordered, EqualWeb entry accented) */
.ews-alt-list { list-style: none; margin: var(--ew-space-5) 0 0; padding: 0; display: grid;
  gap: var(--ew-space-4); counter-reset: ews-alt; max-width: 52rem; }
.ews-alt-item { counter-increment: ews-alt; position: relative; padding: var(--ew-space-5) var(--ew-space-5) var(--ew-space-5) 3.5rem;
  border: var(--ew-border); border-radius: var(--ew-radius-lg); background: var(--ew-color-surface); }
.ews-alt-item::before { content: counter(ews-alt); position: absolute; left: var(--ew-space-4); top: var(--ew-space-5);
  width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--ew-color-bg-subtle); font-family: var(--ew-font-display); font-weight: 800;
  font-size: var(--ew-text-sm); color: var(--ew-color-text-muted); }
.ews-alt-item--ew { border-color: color-mix(in srgb, var(--ew-color-brand) 45%, var(--ew-color-border)); }
.ews-alt-item--ew::before { background: color-mix(in srgb, var(--ew-color-brand) 16%, var(--ew-color-bg-subtle));
  color: var(--ew-color-brand-text); }
.ews-alt-item__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--ew-space-2) var(--ew-space-4); }
.ews-alt-item__name { margin: 0; font-size: var(--ew-text-lg, 1.125rem); }
.ews-alt-item__for { font-size: var(--ew-text-xs); color: var(--ew-color-text-muted); }
.ews-alt-item .ews-prose { margin-top: var(--ew-space-2); }

/* Verified-as-of / trademark disclaimer */
.ews-cmp-note { margin-top: var(--ew-space-6); font-size: var(--ew-text-xs); color: var(--ew-color-text-muted);
  max-width: 46rem; }

/* Plain-text source citations (competitor domains - substantiation without a link) */
.ews-sources .ews-sources__plain { color: var(--ew-color-text); }
.ews-sources__url { display: block; margin-top: 2px; font-size: var(--ew-text-xs);
  color: var(--ew-color-text-muted); word-break: break-all; }

/* Color-checker cross-link callout (top of testing-tool index pages) */
.ews-color-callout { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ew-space-3) var(--ew-space-5);
  padding: var(--ew-space-4) var(--ew-space-5); border: var(--ew-border); border-radius: var(--ew-radius-lg);
  background: var(--ew-color-surface); border-left: 4px solid var(--ew-color-brand); }
.ews-color-callout__swatches { display: inline-flex; gap: 4px; flex: none; }
.ews-color-callout__swatch { width: 0.9rem; height: 0.9rem; border-radius: 4px; }
.ews-color-callout__text { flex: 1 1 16rem; margin: 0; font-size: var(--ew-text-sm); color: var(--ew-color-text); }
.ews-color-callout__link { display: inline-flex; align-items: center; gap: var(--ew-space-1); white-space: nowrap;
  font-weight: var(--ew-weight-semibold); color: var(--ew-color-brand-text); text-decoration: none; }
.ews-color-callout__link:hover { text-decoration: underline; }
.ews-color-callout__link svg { width: 1em; height: 1em; }
