/* ============================================================
   WAGate.app — landing page system (2026 redesign)

   Light, icon-led, brand-green. Rubik for headlines/buttons,
   Manrope for body copy, JetBrains Mono for eyebrows and chips.
   Tokens live in chrome.css (--wg-*), which this file requires.

   Everything is scoped under .wg so it cannot touch the app or the
   sub-page bodies. Written mobile-first: the base rules are the
   ~360px phone layout, then min-width queries scale up to tablet
   (601px) and desktop (901px). Full RTL via logical properties plus
   explicit mirrors for the two direction-bound animations (the wire
   packets and the ticker marquee).
   ============================================================ */

/* ---- Page base ------------------------------------------------- */
.wg-page { margin: 0; padding: 0; background: #fff; }
.wg, .wg * { box-sizing: border-box; }
.wg {
  font-family: var(--wg-text);
  color: var(--wg-ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Long unbreakable words (WooCommerce, and much longer ones once translated
     into Russian or German) must break rather than bleed out of their card. */
  overflow-wrap: break-word;
}
/* Zero-specificity reset: `.wg h1` (0,1,1) would otherwise beat every
   component rule like `.wg-h1` (0,1,0) and kill its auto margins. */
:where(.wg) :where(h1, h2, h3, p, ul, figure) { margin: 0; padding: 0; }
:where(.wg) :where(ul) { list-style: none; }
/* `.wg a` (0,1,1) would outrank every single-class button rule (0,1,0), so
   only unclassed links inherit — everything else states its own colour. */
.wg a { text-decoration: none; }
.wg a:not([class]) { color: inherit; }
.wg img, .wg svg { max-width: 100%; }
.wg :focus-visible { outline: 2px solid var(--wg-green-text); outline-offset: 3px; border-radius: 4px; }
/* On the dark bands a green ring disappears — go white there. */
.wg-pricing :focus-visible, .wg-cta :focus-visible, .wg-coex-card--dark :focus-visible { outline-color: #fff; }
.wg .ltr { direction: ltr; unicode-bidi: isolate; }
.wg-flush { margin-bottom: 0 !important; }

/* ---- Motion hooks ---------------------------------------------- */
.wg [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.wg [data-reveal="in"] { opacity: 1; transform: none; }
.wg [data-px] { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .wg [data-px] { will-change: auto; } }
.wg [data-tilt] { transform-style: preserve-3d; transition: transform .15s ease-out; }

@keyframes wgRise   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes wgLineUp { from { opacity: 0; transform: translateY(110%) skewY(3deg); } to { opacity: 1; transform: none; } }
@keyframes wgShimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes wgBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4%, 6%) scale(1.08); }
  66%      { transform: translate(-5%, -4%) scale(.95); }
}
@keyframes wgFloatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wgHubPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(115, 207, 115, 0), 0 30px 60px -30px rgba(58, 105, 58, .4); }
  50%      { box-shadow: 0 0 0 14px rgba(115, 207, 115, .14), 0 30px 60px -30px rgba(58, 105, 58, .5); }
}
@keyframes wgRing { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes wgSrc1 { 0%, 100% { border-color: var(--wg-line); } 5%,  18% { border-color: var(--wg-brand); } }
@keyframes wgSrc2 { 0%, 100% { border-color: var(--wg-line); } 30%, 43% { border-color: var(--wg-brand); } }
@keyframes wgSrc3 { 0%, 100% { border-color: var(--wg-line); } 55%, 68% { border-color: var(--wg-brand); } }
@keyframes wgSrc4 { 0%, 100% { border-color: var(--wg-line); } 80%, 93% { border-color: var(--wg-brand); } }

/* ---- Layout primitives ----------------------------------------- */
.wg-sec { position: relative; z-index: 1; padding: 64px 20px; }
/* Anchor links must not land under the sticky header. */
.wg [id] { scroll-margin-top: calc(var(--wg-head-h) + 12px); }
.wg-sec--tint { background: var(--wg-surface); border-top: 1px solid var(--wg-line); border-bottom: 1px solid var(--wg-line); }
.wg-wrap { max-width: var(--wg-maxw); margin: 0 auto; }
.wg-wrap--narrow { max-width: 900px; }

.wg-eyebrow {
  font-family: var(--wg-mono); font-size: 12px; letter-spacing: .14em;
  color: var(--wg-green-text); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
/* Hidden on phones, where the eyebrow wraps and strands the separator. */
.wg-eyebrow .sep { display: none; color: var(--wg-line-2); }

.wg-h2, .wg-h3 {
  font-family: var(--wg-display); font-weight: 800;
  letter-spacing: -.025em; text-wrap: balance; margin: 0 0 16px;
}
.wg-h2 { font-size: clamp(30px, 7.5vw, 44px); line-height: 1.05; }
.wg-h3 { font-size: clamp(28px, 7.5vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.wg-h2 .muted { color: var(--wg-body); }

.wg-lead { font-size: 16.5px; color: var(--wg-body); line-height: 1.55; margin: 0; }

/* Section intros: centred on phones, left-aligned from tablet up. */
.wg-intro { margin-bottom: 40px; text-align: center; }
.wg-intro .wg-eyebrow { justify-content: center; }
.wg-intro .wg-lead { margin-inline: auto; max-width: 560px; }
.wg-intro--center { text-align: center; margin-inline: auto; max-width: 760px; }
.wg-intro--center .wg-eyebrow { justify-content: center; }
.wg-intro--center .wg-lead { max-width: 640px; }

/* Icon squares / circles. */
.wg-ic {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background: var(--wg-tint); color: var(--wg-green);
  width: 44px; height: 44px; border-radius: 11px;
}
.wg-ic--grad { background: linear-gradient(135deg, var(--wg-brand), var(--wg-brand-dark)); color: #fff; }
.wg-ic--sm { width: 36px; height: 36px; border-radius: 9px; }
.wg-ic--40 { width: 40px; height: 40px; border-radius: 10px; }
.wg-ic--48 { width: 48px; height: 48px; border-radius: 12px; }
.wg-ic--round { border-radius: 50%; width: 52px; height: 52px; }
.wg-float { animation: wgFloatY 4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .5s); }

/* Cards. */
.wg-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--wg-line); border-radius: 14px;
  padding: 18px 14px; color: var(--wg-ink);
  align-items: center; text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.wg-card-t { font-family: var(--wg-display); font-size: 15px; font-weight: 700; line-height: 1.25; }
.wg-card-d { font-size: 13px; color: var(--wg-body); line-height: 1.5; }
a.wg-card:hover, a.wg-card:focus-visible {
  transform: translateY(-4px); border-color: var(--wg-brand);
  box-shadow: 0 24px 50px -30px rgba(32, 35, 40, .3);
}

.wg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.wg-grid > *, .wg-aifeats > *, .wg-plans > *, .wg-coex-cards > *, .wg-addons > *, .wg-split > * { min-width: 0; }

/* Buttons + links. */
.wg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--wg-display); font-weight: 700; font-size: 16px;
  padding: 15px 24px; border-radius: 8px; min-height: 52px;
  line-height: 1.1; text-align: center;
  transition: background .2s, box-shadow .2s, color .2s, border-color .2s, transform .2s ease-out;
}
.wg-btn--primary {
  background: linear-gradient(90deg, var(--wg-brand-aa-dark), var(--wg-brand-aa));
  color: #fff; box-shadow: 0 14px 40px -14px rgba(58, 105, 58, .7);
}
.wg-btn--primary:hover { color: #fff; box-shadow: 0 20px 50px -14px rgba(58, 105, 58, .85); }
.wg-btn--outline {
  background: #fff; color: var(--wg-ink);
  border: 1px solid var(--wg-line-2); font-weight: 500;
}
.wg-btn--outline:hover { border-color: var(--wg-green-text); color: var(--wg-green-text); }
.wg-btn--dark { background: var(--wg-ink); color: #fff; }
.wg-btn--dark:hover { background: var(--wg-green-text); color: #fff; }
.wg-btn--onbrand { background: var(--wg-ink); color: #fff; }
.wg-btn--onbrand:hover { color: #fff; transform: translateY(-2px); }
.wg-btn--ghostlight { color: #fff; border: 1px solid rgba(255, 255, 255, .6); font-weight: 600; }
.wg-btn--ghostlight:hover { background: rgba(255, 255, 255, .15); color: #fff; }

.wg-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.wg-ctas > .wg-btn { width: 100%; }

.wg-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--wg-display); font-weight: 600; font-size: 15px;
  color: var(--wg-green-text); min-height: 40px;
}
.wg-link:hover { color: var(--wg-brand-dark); }
/* Arrows point "forward", which is leftwards in RTL. */
[dir="rtl"] .wg .wg-arrow { transform: scaleX(-1); }

/* Green-check bullet lists. */
.wg-checks { display: flex; flex-direction: column; gap: 11px; font-size: 15.5px; margin: 0 0 24px; }
.wg-checks li { display: flex; gap: 12px; align-items: flex-start; text-align: start; }
.wg-checks .tick { color: var(--wg-green); display: flex; margin-top: 2px; flex: 0 0 auto; }

/* Chips. */
.wg-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; justify-content: center; }
.wg-chip { font-size: 12px; padding: 5px 10px; background: var(--wg-surface); border-radius: 999px; }
.wg-chip--mono {
  font-family: var(--wg-mono); font-size: 10px; padding: 4px 8px;
  border: 1px solid var(--wg-line); border-radius: 6px; color: var(--wg-body); background: transparent;
}
.wg-chip--dark { background: rgba(255, 255, 255, .1); }

/* ============================================================
   1. Hero
   ============================================================ */
.wg-hero { padding: 44px 20px 56px; overflow: hidden; text-align: center; }
.wg-hero-blob, .wg-hero-grid { position: absolute; pointer-events: none; }
.wg-hero-blob { border-radius: 50%; }
.wg-hero-blob--a {
  top: -220px; inset-inline-end: -140px; width: 680px; height: 680px;
  filter: blur(40px);
}
/* The gradient lives on the animated child — on the parent (as the handoff has
   it) the 14s blob animation drives a fully transparent element and shows
   nothing at all. */
.wg-hero-blob--a > i {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(115, 207, 115, .42), transparent 70%);
  animation: wgBlob 14s ease-in-out infinite;
}
.wg-hero-blob--b {
  bottom: -280px; inset-inline-start: -180px; width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(58, 105, 58, .22), transparent 70%);
  filter: blur(50px);
}
.wg-hero-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 35, 40, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 40, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.wg-hero-inner { position: relative; max-width: 1200px; margin: 0 auto; }

.wg-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--wg-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--wg-ink); background: #fff; border: 1px solid var(--wg-line);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 24px;
  box-shadow: 0 4px 20px -8px rgba(32, 35, 40, .15);
  animation: wgRise .8s cubic-bezier(.2, .7, .2, 1) both;
  max-width: 100%; text-align: start;
}
.wg-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--wg-whatsapp);
  flex: 0 0 auto; animation: wgPulseDot 1.8s infinite;
}

.wg-h1 {
  font-family: var(--wg-display); font-weight: 900;
  font-size: clamp(33px, 9.2vw, 60px); line-height: 1.06; letter-spacing: -.03em;
  margin: 0 auto 22px; text-wrap: balance; max-width: 1000px;
}
.wg-h1 .clip { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.wg-h1 .clip > span { display: block; animation: wgLineUp .9s cubic-bezier(.2, .8, .2, 1) both; }
.wg-h1 .clip:nth-of-type(1) > span { animation-delay: .1s; }
.wg-h1 .clip:nth-of-type(2) > span { animation-delay: .25s; }
.wg-h1 .grad {
  background: linear-gradient(90deg, var(--wg-brand-dark), var(--wg-brand-aa-lg), var(--wg-brand-dark));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: wgShimmer 5s linear infinite;
}

.wg-hero-sub {
  font-size: 16.5px; line-height: 1.55; color: var(--wg-body);
  max-width: 660px; margin: 0 auto 28px; text-wrap: pretty;
  animation: wgRise .9s .1s cubic-bezier(.2, .7, .2, 1) both;
}
.wg-hero .wg-ctas { animation: wgRise .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.wg-micro {
  display: flex; justify-content: center; align-items: center; gap: 8px 12px; flex-wrap: wrap;
  margin-top: 20px; font-family: var(--wg-mono); font-size: 11px; color: var(--wg-body);
  animation: wgRise .9s .2s cubic-bezier(.2, .7, .2, 1) both;
}
/* On phones the row wraps, which strands a separator at the end of a line. */
.wg-micro .sep { display: none; }

/* ---- Flow diagram ---- */
.wg-flow-stage { perspective: 1400px; margin: 40px auto 0; max-width: 1140px; animation: wgRise 1s .3s cubic-bezier(.2, .7, .2, 1) both; }
.wg-flow { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; text-align: start; }

.wg-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wg-src {
  position: relative; background: #fff; border: 2px solid var(--wg-line); border-radius: 12px;
  padding: 12px; display: flex; align-items: center; gap: 10px; min-width: 0;
}
.wg-src:nth-child(1) { animation: wgSrc1 12s ease-in-out infinite; }
.wg-src:nth-child(2) { animation: wgSrc2 12s ease-in-out infinite; }
.wg-src:nth-child(3) { animation: wgSrc3 12s ease-in-out infinite; }
.wg-src:nth-child(4) { animation: wgSrc4 12s ease-in-out infinite; }
.wg-src > div { min-width: 0; }
.wg-src-t { font-family: var(--wg-display); font-weight: 700; font-size: 13.5px; }
.wg-src-d { font-size: 11.5px; color: var(--wg-body); }

.wg-wire { display: none; position: relative; height: 2px; background: var(--wg-line); margin: 0 6px; }
/* The track spans the wire, so translateX(100%) is exactly one wire-length —
   which keeps the packet on the compositor instead of animating . */
.wg-packet-track { position: absolute; inset: 0; display: block; animation: wgPacket 3s linear infinite; }
.wg-packet-track--b { animation-delay: 1.5s; }
.wg-wire--out .wg-packet-track { animation-delay: .7s; }
.wg-wire--out .wg-packet-track--b { animation-delay: 2.2s; }
.wg-packet {
  position: absolute; top: -4px; inset-inline-start: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--wg-brand); box-shadow: 0 0 12px 2px rgba(115, 207, 115, .7);
}
.wg-wire--out .wg-packet { background: var(--wg-whatsapp); box-shadow: 0 0 12px 2px rgba(37, 211, 102, .7); }
@keyframes wgPacket {
  0%   { transform: translateX(0); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(calc(100% - 10px)); opacity: 0; }
}
/* Mirror the travel so it still reads source -> hub -> customer in RTL. */
[dir="rtl"] .wg-packet-track { animation-name: wgPacketRtl; }
@keyframes wgPacketRtl {
  0%   { transform: translateX(0); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(calc(-100% + 10px)); opacity: 0; }
}

.wg-hub {
  position: relative; background: var(--wg-ink); color: #fff; border-radius: 18px;
  padding: 24px 18px; display: flex; flex-direction: column; gap: 16px;
  animation: wgHubPulse 4s ease-in-out infinite;
}
.wg-hub img { height: 26px; width: auto; align-self: flex-start; display: block; }
.wg-hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wg-hub-grid > div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--wg-on-dark); min-width: 0; }
.wg-hub-grid .ic { color: var(--wg-brand); display: flex; flex: 0 0 auto; }
.wg-hub-foot { font-family: var(--wg-mono); font-size: 10.5px; color: var(--wg-on-dark-3); letter-spacing: .08em; }

.wg-dest {
  position: relative; background: #fff; border: 2px solid var(--wg-line); border-radius: 16px;
  padding: 22px 18px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 20px 50px -30px rgba(32, 35, 40, .2);
}
.wg-dest-mark { position: relative; width: 56px; height: 56px; flex: 0 0 auto; }
.wg-dest-mark .ring { position: absolute; inset: 0; border-radius: 50%; background: var(--wg-whatsapp); opacity: .35; animation: wgRing 2.4s ease-out infinite; }
.wg-dest-mark .core { position: absolute; inset: 0; border-radius: 50%; background: var(--wg-whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; }
.wg-dest-t { font-family: var(--wg-display); font-weight: 700; font-size: 18px; }
.wg-dest-d { font-size: 14px; color: var(--wg-body); line-height: 1.5; }
.wg-dest .wg-chips { justify-content: flex-start; margin-top: 0; }

/* ============================================================
   2. Ticker
   ============================================================ */
.wg-ticker {
  position: relative; z-index: 1; overflow: hidden; padding: 14px 0;
  background: var(--wg-surface);
  border-top: 1px solid var(--wg-line); border-bottom: 1px solid var(--wg-line);
}
.wg-ticker-track { display: flex; width: max-content; animation: wgMarquee 30s linear infinite; }
.wg-ticker-run {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--wg-display); font-weight: 700; font-size: 14px;
  letter-spacing: .02em; color: var(--wg-body);
}
.wg-ticker-run > span { padding: 0 16px; }
.wg-ticker-run > i { color: var(--wg-green); font-style: normal; }
@keyframes wgMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .wg-ticker-track { animation-name: wgMarqueeRtl; }
@keyframes wgMarqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ============================================================
   3-8. Sections
   ============================================================ */
/* Two-column splits (Coexistence, Marketing). */
.wg-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.wg-split-copy { text-align: center; }
.wg-split-copy .wg-eyebrow { justify-content: center; }
.wg-split-copy .wg-lead { margin: 0 auto 24px; max-width: 520px; }
.wg-split-copy .wg-checks { max-width: 460px; margin-inline: auto; margin-bottom: 24px; }
/* Handoff sizes the marketing tiles a step below the feature cards. */
.wg-marketing-cards .wg-card-t { font-size: 17px; }
.wg-marketing-cards .wg-card-d { font-size: 14px; }

/* The two coexistence cards are text-heavy: one per row on phones. */
.wg-coex-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.wg-coex-card {
  background: #fff; border: 1px solid var(--wg-line); border-radius: 14px;
  padding: 22px 18px; display: flex; flex-direction: column; gap: 14px;
  text-align: start; align-items: flex-start;
}
.wg-coex-card--dark { background: var(--wg-ink); color: #fff; border-color: var(--wg-ink); }
.wg-coex-card--dark .wg-card-d { color: var(--wg-on-dark-2); }
.wg-coex-card .wg-chips { justify-content: flex-start; }
.wg-coex-card .wg-card-t { font-size: 18px; }
.wg-coex-card .wg-card-d { font-size: 14px; }

/* AI chatbot. */
.wg-ai { overflow: hidden; }
.wg-ai-glow {
  position: absolute; top: -200px; inset-inline-start: 30%; width: 700px; height: 700px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(115, 207, 115, .3), transparent 70%);
  filter: blur(60px);
}
.wg-rule {
  font-family: var(--wg-display); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 16px; text-align: center;
}
.wg-rule .dash { width: 28px; height: 2px; flex: 0 0 auto; background: linear-gradient(90deg, var(--wg-brand-dark), var(--wg-brand)); }
.wg-roles { margin-bottom: 28px; }
/* Role tiles stay centred and keep the handoff type scale at every width.
   Scoped through .wg-roles so this outranks the `.wg-card` left-align that the
   601px block applies later in the file. */
.wg-roles .wg-role { align-items: center; text-align: center; padding: 22px 18px; }
.wg-roles .wg-card-t { font-size: 15px; }
.wg-roles .wg-card-d { font-size: 13px; line-height: 1.45; }
.wg-aifeats { display: grid; grid-template-columns: 1fr; gap: 10px; }
.wg-aifeat {
  background: #fff; border: 1px solid var(--wg-line); border-radius: 14px;
  padding: 16px 14px; display: flex; align-items: center; gap: 12px; text-align: start;
}
.wg-aifeat-t { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.wg-ai-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; text-align: center; }
.wg-ai-price { font-size: 15px; color: var(--wg-body); }
.wg-ai-price b { font-family: var(--wg-display); color: var(--wg-ink); font-size: 20px; }

/* Integrations. */
.wg-int-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 30px; text-align: center; }
.wg-int-head .wg-eyebrow { justify-content: center; }
.wg-int-top { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wg-int-cat { font-family: var(--wg-mono); font-size: 10.5px; color: var(--wg-body); letter-spacing: .08em; }

/* ============================================================
   9. Pricing (dark)
   ============================================================ */
.wg-pricing { background: var(--wg-ink); color: #fff; overflow: hidden; }
.wg-pricing .wg-eyebrow { color: var(--wg-brand); }
.wg-pricing .wg-lead { color: var(--wg-on-dark-2); }
.wg-pricing-glow {
  position: absolute; top: -300px; inset-inline-end: -200px; width: 800px; height: 800px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(115, 207, 115, .28), transparent 70%);
  filter: blur(60px);
}
.wg-plans { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.wg-plan {
  position: relative; border-radius: 18px; padding: 26px 20px;
  display: flex; flex-direction: column; gap: 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
}
.wg-plan--pop { background: rgba(255, 255, 255, .07); border-color: var(--wg-brand); }
.wg-plan-tag {
  position: absolute; top: -13px; inset-inline-start: 24px;
  font-family: var(--wg-mono); font-size: 10.5px; letter-spacing: .1em;
  background: linear-gradient(90deg, var(--wg-brand-aa), var(--wg-brand-aa-dark));
  color: #fff; padding: 5px 10px; border-radius: 999px;
}
.wg-plan-name { font-family: var(--wg-display); font-weight: 700; font-size: 22px; }
.wg-plan-desc { font-size: 14px; color: var(--wg-on-dark-2); margin-top: 4px; }
.wg-plan-price { display: flex; align-items: baseline; gap: 6px; }
.wg-plan-amt { font-family: var(--wg-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.wg-plan-per { font-size: 15px; color: var(--wg-on-dark-2); }
.wg-plan-btn {
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--wg-ink);
  font-family: var(--wg-display); font-weight: 700; font-size: 15px;
  padding: 14px; min-height: 50px; border-radius: 8px; transition: opacity .2s;
  text-align: center;
}
.wg-plan-btn:hover { opacity: .9; color: var(--wg-ink); }
.wg-plan--pop .wg-plan-btn { background: linear-gradient(90deg, var(--wg-brand-aa), var(--wg-brand-aa-dark)); color: #fff; }
.wg-plan--pop .wg-plan-btn:hover { color: #fff; }
.wg-plan-lead { font-size: 13px; color: var(--wg-on-dark-2); }
.wg-plan-feats { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.wg-plan-feats li { display: flex; gap: 10px; align-items: flex-start; }
.wg-plan-feats .tick { color: var(--wg-brand); display: flex; margin-top: 2px; flex: 0 0 auto; }

.wg-addons { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.wg-addon {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 16px 18px; font-size: 14.5px; color: var(--wg-on-dark);
}
.wg-addon .ic { color: var(--wg-brand); display: flex; flex: 0 0 auto; }
.wg-addon b { color: #fff; }
.wg-vat { text-align: center; font-family: var(--wg-mono); font-size: 11px; color: var(--wg-on-dark-3); margin-top: 20px; }

/* ============================================================
   10. FAQ
   ============================================================ */
.wg-faq-list { display: flex; flex-direction: column; gap: 8px; }
.wg-faq-item { background: #fff; border: 1px solid var(--wg-line); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.wg-faq-item.open { border-color: var(--wg-brand); }
.wg-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  width: 100%; text-align: start; background: transparent; border: 0;
  padding: 16px; min-height: 56px; cursor: pointer;
  font-family: var(--wg-display); font-weight: 600; font-size: 15.5px; color: var(--wg-ink);
}
.wg-faq-ic {
  width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%;
  background: var(--wg-tint); color: var(--wg-green);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .2s, color .2s;
}
.wg-faq-item.open .wg-faq-ic { background: var(--wg-ink); color: #fff; transform: rotate(45deg); }
.wg-faq-a {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .3s cubic-bezier(.2, .7, .2, 1), visibility .3s;
}
.wg-faq-item.open .wg-faq-a { grid-template-rows: 1fr; visibility: visible; }
.wg-faq-a > div { overflow: hidden; }
.wg-faq-a p { padding: 0 16px 18px; font-size: 15px; line-height: 1.6; color: var(--wg-body); }

/* ============================================================
   11. Closing CTA
   ============================================================ */
.wg-cta {
  position: relative; z-index: 1;
  text-align: center; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--wg-brand-aa-dark), var(--wg-brand-aa));
  padding: 72px 20px;
}
.wg-cta-inner { position: relative; max-width: 820px; margin: 0 auto; }
.wg-cta h2 {
  font-family: var(--wg-display); font-weight: 900;
  font-size: clamp(31px, 8.2vw, 56px); line-height: 1.04; letter-spacing: -.03em;
  margin: 0 0 18px; text-wrap: balance;
}
.wg-cta p { font-size: 16.5px; margin: 0 0 28px; opacity: .95; }

/* ============================================================
   Phones only (<= 900px): never leave an orphan card in a 2-up grid
   ============================================================ */
@media (max-width: 900px) {
  .wg-grid > *:nth-child(odd):last-child { grid-column: 1 / -1; }
}

/* Very narrow phones: a 2-up source card leaves ~65px beside the icon, which
   is narrower than the word "WooCommerce". Stack icon over text instead. */
@media (max-width: 359px) {
  .wg-src { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   Tablet — 601px and up
   ============================================================ */
@media (min-width: 601px) {
  .wg { font-size: 15.5px; }
  .wg-sec { padding: 80px 24px; }
  .wg-hero { padding: 64px 24px 72px; }

  .wg-card { padding: 24px; align-items: flex-start; text-align: start; }
  .wg-card-t { font-size: 18px; }
  .wg-card-d { font-size: 14.5px; }
  .wg-grid { gap: 14px; }
  .wg-chips { justify-content: flex-start; }

  .wg-intro { text-align: start; max-width: 720px; }
  .wg-intro .wg-eyebrow { justify-content: flex-start; }
  .wg-intro .wg-lead { margin-inline: 0; }
  .wg-intro--center { text-align: center; margin-inline: auto; }
  .wg-intro--center .wg-eyebrow { justify-content: center; }
  .wg-intro--center .wg-lead { margin-inline: auto; }

  .wg-split-copy { text-align: start; }
  .wg-split-copy .wg-eyebrow { justify-content: flex-start; }
  .wg-split-copy .wg-lead { margin-inline: 0; }
  .wg-split-copy .wg-checks { margin-inline: 0; max-width: none; }

  .wg-ctas { flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; }
  .wg-ctas > .wg-btn { width: auto; }

  .wg-coex-cards { grid-template-columns: 1fr 1fr; }
  .wg-coex-card { padding: 24px 20px; }
  .wg-aifeats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .wg-addons { grid-template-columns: 1fr 1fr; }

  .wg-int-head { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: start; }
  .wg-int-head .wg-eyebrow { justify-content: flex-start; }
  .wg-int-card { align-items: stretch; text-align: start; }
  .wg-int-top { flex-direction: row; justify-content: space-between; align-items: center; }

  .wg-ai-cta { flex-direction: row; justify-content: center; gap: 16px; }
  .wg-faq-q { padding: 18px 20px; font-size: 16.5px; }
  .wg-faq-a p { padding: 0 20px 20px; font-size: 15.5px; }
  .wg-ticker-run { font-size: 15px; }
  .wg-ticker-run > span { padding: 0 26px; }

  .wg-badge { font-size: 12px; }
  .wg-h1 { font-size: clamp(40px, 7vw, 64px); }
  .wg-hero-sub { font-size: 18.5px; }
  .wg-micro { font-size: 12px; gap: 18px; }
  .wg-micro .sep, .wg-eyebrow .sep { display: inline; color: var(--wg-line-2); }
  .wg-src { padding: 14px; gap: 12px; }
  .wg-src-t { font-size: 14px; }
  .wg-src-d { font-size: 12px; }
  .wg-hub { padding: 28px 26px; }
  .wg-dest { padding: 24px 22px; }
  .wg-aifeat { padding: 20px; gap: 16px; }
  .wg-aifeat-t { font-size: 15px; }
  .wg-plan { padding: 32px 28px; }
  .wg-addon { padding: 18px 20px; }
  .wg-cta { padding: 110px 24px; }
  .wg-cta p { font-size: 18px; }
}

/* ============================================================
   Desktop — 901px and up
   ============================================================ */
@media (min-width: 901px) {
  .wg-sec { padding: 120px 40px; }
  .wg-sec--values { padding: 100px 40px; }
  .wg-hero { padding: 96px 40px 80px; }
  .wg-h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1.02; margin-bottom: 28px; }
  .wg-h2 { font-size: 56px; }
  .wg-h3 { font-size: 44px; }
  .wg-lead { font-size: 18px; }
  .wg-hero-sub { font-size: 20px; margin-bottom: 40px; }
  .wg-intro, .wg-intro--center { margin-bottom: 56px; }
  .wg-values-intro { margin-bottom: 40px; }

  .wg-grid { gap: 16px; }
  .wg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wg-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .wg-aifeats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .wg-card { padding: 26px; }
  .wg-card-t { font-size: 19px; }
  .wg-card-d { font-size: 15px; }
  .wg-features .wg-card { min-height: 200px; }
  .wg-int-card { padding: 26px; }

  .wg-split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .wg-coex-card { padding: 26px; }
  /* Marketing: cards left, copy right (they are second in the DOM). */
  .wg-marketing-cards { order: -1; }

  .wg-flow-stage { margin-top: 72px; }
  .wg-flow { grid-template-columns: 1.1fr 64px 1fr 64px .9fr; gap: 0; }
  .wg-wire { display: block; }
  .wg-hub img { height: 28px; }

  .wg-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wg-plan--pop { transform: translateY(-10px); }
  .wg-roles { margin-bottom: 40px; }
  .wg-ai-cta { margin-top: 40px; }
  .wg-int-head { margin-bottom: 48px; }
  .wg-cta { padding: 140px 40px; }
  .wg-cta h2 { font-size: clamp(40px, 5.6vw, 84px); }
  .wg-cta p { font-size: 19px; }
}

/* ============================================================
   Reduced motion — show everything, animate nothing
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .wg *, .wg *::before, .wg *::after {
    animation: none !important;
    transition: none !important;
  }
  .wg [data-reveal] { opacity: 1 !important; transform: none !important; }
  .wg [data-px] { transform: none !important; }
  .wg-h1 .grad { background: none; color: var(--wg-brand-dark); -webkit-text-fill-color: currentColor; }
  .wg-faq-a { grid-template-rows: 0fr; }
  .wg-faq-item.open .wg-faq-a { grid-template-rows: 1fr; }
}
