/* ===========================================================
   Xagent Creator Program: "Show What You Built"
   Single-page marketing site. Self-contained except Google Fonts.
   Craft/motion system follows the Toby-site reference (frosted
   glass cards, blurred wash blobs, GSAP matchMedia reveals) but
   every colour below is the Xagent brand system (BRIEF §0): brand
   blue, warm off-white, a single sparing gold accent. No violet,
   no peri, no lime, no pink - "no other hues" is a hard rule.
   =========================================================== */

/* ----------------------------------------------------------------
   0. Reduced-motion safety net (belt + braces on top of the
   gsap.matchMedia gating in site.js, which is the primary
   mechanism - see site.js initGsapMotion()).
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------------
   1. Tokens (BRIEF §0, verbatim hex values).
   ---------------------------------------------------------------- */
:root {
  /* Brand blue family */
  --blue:        #0045B0; /* brand blue */
  --blue-deep:   #003280; /* deep */
  --blue-hover:  #003C97; /* hover */
  --blue-lift:   #3E72C7; /* light lift */
  --blue-tint:   #DCE7F6; /* blue tint surfaces */
  --chip-tint:   #EEF3FB; /* chip tint */

  /* Neutrals */
  --ink:      #231F20;
  --body:     #5F6B7E;
  --label:    #9AA3B2;
  --hairline: #E3E7EE;

  /* Surfaces */
  --bg:    #FBF8F3; /* warm off-white page background */
  --panel: #F5F1E9; /* panel tint */
  --card:  #FFFFFF; /* card white */

  /* The single sparing accent, reward/money emphasis only (BRIEF §0) */
  --gold: #B8860F;

  /* Type */
  --font-sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --t-h1: clamp(38px, 5.2vw, 64px);
  --t-h2: clamp(27px, 3vw, 38px);
  --t-h3: 20px;
  --t-h4: 17px;
  --t-body-lg: 18px;
  --t-body: 16px;
  --t-body-sm: 14.5px;
  --t-small: 13px;
  --t-caption: 12px;

  /* Spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;

  /* Radii */
  --r-note:  8px;
  --r-input: 10px;
  --r-chip:  12px;
  --r-card:  20px;
  --r-panel: 28px;
  --r-pill:  999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(35, 31, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(35, 31, 32, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 69, 176, 0.14);
  --shadow-row: 0 10px 28px rgba(35, 31, 32, 0.07); /* v2 reward pill rows */

  /* Glass surface (frosted, blue-tinted per brand, not neutral gray) */
  --glass-bg:     rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-blur:   20px;
  --glass-shadow: 0 24px 56px -22px rgba(0, 69, 176, 0.28);

  /* Layout */
  --container: 1200px;
  --nav-h: 68px;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-micro: 140ms;
  --dur-state: 240ms;
}

/* ----------------------------------------------------------------
   2. Reset + base.
   ---------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-stretch: 100%; scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-sans);
  font-stretch: 100%;
  font-size: var(--t-body);
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { display: block; position: relative; z-index: 1; }
section { position: relative; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; color: var(--ink); }
p { color: var(--body); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(35, 31, 32, 0.18); border-radius: 999px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------------
   3. Utilities: container, section, type, mono, chips, buttons.
   ---------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.h2 { font-size: var(--t-h2); line-height: 1.14; }
.mono { font-family: var(--font-mono); font-feature-settings: "ss01"; font-variant-numeric: tabular-nums; }

.xc-section { padding: clamp(56px, 8vw, 108px) 0; }
.section--surface { background: var(--card); }
.section--panel { background: var(--panel); }

.xc-sechead { max-width: 720px; margin: 0 auto var(--s-10); text-align: center; }
.xc-sechead h2 { margin: 0 auto; }
.xc-sechead p { margin-top: var(--s-3); font-size: var(--t-body-lg); line-height: 1.6; }
.xc-sechead p + p { margin-top: var(--s-2); }
.xc-eyebrow {
  margin-top: var(--s-3);
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--blue);
}
.xc-sectionfoot { margin-top: var(--s-10); display: flex; justify-content: center; }

/* Tag / chip primitive */
.xc-tag {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
  white-space: nowrap;
}
.xc-tag--fill { background: var(--blue); color: #fff; }
.xc-tag--outline { background: transparent; color: var(--body); border: 1px solid var(--hairline); }
.xc-tag--sm { padding: 4px 10px; font-size: 11.5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out),
              background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 69, 176, 0.28); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: rgba(255,255,255,0.7); color: var(--ink); border-color: var(--hairline); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: rgba(35,31,32,0.22); transform: translateY(-1px); }
.btn-ghost:active { transform: scale(0.98); }
.btn-white { background: #fff; color: var(--blue); box-shadow: var(--shadow-md); }
.btn-white:hover { background: #fff; color: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(0,0,0,0.22); }
.btn-white:active { transform: scale(0.98); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-arrow::after { content: "\2192"; transition: transform var(--dur-micro) var(--ease-out); }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ----------------------------------------------------------------
   4. Decorative wash + shared glass-card recipe. Brand-blue tints
   only (BRIEF §0: "no other hues"), unlike the multi-hue Toby wash.
   ---------------------------------------------------------------- */
.xc-pagewash { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.xc-pagewash__b { position: absolute; border-radius: 50%; filter: blur(74px); }
.xc-pagewash__b--a { width: min(44vw, 620px); height: min(44vw, 620px); top: -14%; left: -10%; background: var(--blue-tint); opacity: 0.55; }
.xc-pagewash__b--b { width: min(38vw, 560px); height: min(38vw, 560px); top: 18%; right: -14%; background: var(--blue-lift); opacity: 0.14; }
.xc-pagewash__b--c { width: min(34vw, 480px); height: min(34vw, 480px); bottom: -10%; left: 6%; background: var(--panel); opacity: 0.9; }
@media (max-width: 859.98px) { .xc-pagewash { position: absolute; } }
@media (max-width: 480px) { .xc-pagewash__b--b { display: none; } }

.xc-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.12);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.12);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
@media (max-width: 480px) {
  .xc-postcard, .xc-step, .xc-choice, .xc-template, .xc-faq {
    -webkit-backdrop-filter: blur(12px) saturate(1.12);
    backdrop-filter: blur(12px) saturate(1.12);
  }
}

/* ----------------------------------------------------------------
   5. Nav.
   ---------------------------------------------------------------- */
.xc-nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-state) var(--ease-out),
              border-color var(--dur-state) var(--ease-out),
              backdrop-filter var(--dur-state) var(--ease-out);
}
.xc-nav.is-scrolled {
  background: rgba(251, 248, 243, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.xc-nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.xc-logo { display: inline-flex; align-items: center; }
.xc-logo__img { height: 24px; width: auto; }
.xc-nav__links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--body); }
.xc-nav__links a:hover { color: var(--ink); }
.xc-nav__links a.on, .xc-nav__drawer a.on { color: var(--blue); font-weight: 600; }
.xc-nav__right { display: flex; align-items: center; gap: 14px; }
.xc-nav__burger {
  /* Only ever shown at <=859.98px (a touch-likely width), so it is sized to
     the 44px tap-target minimum directly rather than via a later override. */
  display: none; width: 44px; height: 44px; border-radius: var(--r-chip);
  align-items: center; justify-content: center;
  border: 1px solid var(--hairline); background: var(--card); color: var(--ink);
}
.xc-nav__burger svg { width: 18px; height: 18px; }
.xc-nav__burger .ic-close { display: none; }
.xc-nav.is-open .xc-nav__burger .ic-menu { display: none; }
.xc-nav.is-open .xc-nav__burger .ic-close { display: block; }
.xc-nav__drawer { display: none; }
.xc-nav__drawer-cta { margin-top: 6px; align-self: flex-start; min-height: 46px; padding: 13px 22px; }

@media (max-width: 859.98px) {
  .xc-nav__links { display: none; }
  .xc-nav__right .btn { display: none; }
  .xc-nav__burger { display: inline-flex; }
  .xc-nav.is-open .xc-nav__drawer {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 22px;
  }
  .xc-nav__drawer a:not(.btn) {
    padding: 12px 0; font-size: 15.5px; font-weight: 500; color: var(--ink);
    border-bottom: 1px solid var(--hairline);
    min-height: 46px; display: flex; align-items: center;
  }
  .xc-nav__drawer a.on:not(.btn) { color: var(--blue); }
}

/* ----------------------------------------------------------------
   6. Reveal utility. Default: fully visible & static. gsap.set()
   (site.js, inside gsap.matchMedia's no-preference bucket only)
   is what hides these on entrance; no-JS and reduced-motion never
   depend on a script to become visible (BRIEF §3).
   ---------------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------------
   7. Hero.
   ---------------------------------------------------------------- */
.xc-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(64px, 9vw, 108px); }
.xc-hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.xc-hero__title {
  font-size: var(--t-h1); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700;
}
.xc-word { display: inline-block; }
.xc-accent { color: var(--blue); }
.xc-hero__sub { margin-top: var(--s-5); font-size: var(--t-body-lg); line-height: 1.55; color: var(--ink); font-weight: 500; max-width: 44ch; }
.xc-hero__lede { margin-top: var(--s-3); font-size: var(--t-body); line-height: 1.6; color: var(--body); max-width: 52ch; }
.xc-chips { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: 10px; }
.xc-chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--chip-tint); border: 1px solid rgba(0, 69, 176, 0.12);
  font-size: 13px; font-weight: 500; color: var(--blue-deep);
}
.xc-hero__cta { margin-top: var(--s-8); display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------------
   8. Hero visual: glass "LinkedIn-style" post mock + floating chip.
   Built entirely from HTML/CSS, never an image (BRIEF §2.2).
   ---------------------------------------------------------------- */
.xc-hero__visual { position: relative; display: flex; justify-content: center; }
.xc-postcard {
  position: relative; z-index: 1; width: 100%; max-width: 400px;
  border-radius: var(--r-card);
  padding: var(--s-5);
}
.xc-postcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.xc-postcard__badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--label); background: rgba(154, 163, 178, 0.12);
  padding: 5px 10px; border-radius: var(--r-pill);
}
.xc-postcard__brand { height: 15px; width: auto; opacity: 0.85; }
.xc-postcard__head { display: flex; align-items: center; gap: 10px; }
.xc-avatar {
  position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(160deg, var(--blue-lift), var(--blue));
}
.xc-avatar::before {
  content: ""; position: absolute; left: 50%; top: 32%; transform: translate(-50%, -50%);
  width: 13px; height: 13px; border-radius: 50%; background: rgba(255,255,255,0.92);
}
.xc-avatar::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%);
  width: 22px; height: 13px; border-radius: 13px 13px 0 0; background: rgba(255,255,255,0.92);
}
.xc-postcard__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xc-postcard__name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.xc-postcard__meta { font-size: 12px; color: var(--label); }
.xc-postcard__body { margin-top: var(--s-4); font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.xc-postcard__tags { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 8px; }
.xc-postcard__metrics {
  margin-top: var(--s-4); padding-top: var(--s-3);
  border-top: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--label);
}
.xc-rewardchip {
  position: absolute; z-index: 2; right: -8px; bottom: -18px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card); border-radius: var(--r-card);
  padding: 12px 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
}
.xc-rewardchip__amt { font-size: 19px; font-weight: 600; color: var(--ink); }
.xc-rewardchip__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }

@media (min-width: 860px) {
  .xc-postcard, .xc-rewardchip { will-change: transform; }
}
@media (max-width: 640px) {
  .xc-rewardchip { right: 8px; bottom: -16px; padding: 10px 14px; }
  .xc-rewardchip__amt { font-size: 16px; }
}

/* ----------------------------------------------------------------
   9. How it works: step cards with tiny CSS-only vignettes.
   ---------------------------------------------------------------- */
.xc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.xc-step {
  position: relative; border-radius: var(--r-card); padding: var(--s-6) var(--s-5) var(--s-5);
  display: flex; flex-direction: column;
  transition: transform var(--dur-state) var(--ease-out), box-shadow var(--dur-state) var(--ease-out);
}
.xc-step:hover { transform: translateY(-3px); }
.xc-step__num {
  font-size: 13px; font-weight: 600; color: var(--blue);
  background: var(--chip-tint); border-radius: var(--r-pill);
  width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
}
.xc-step h3 { margin-top: var(--s-4); font-size: var(--t-h4); }
.xc-step p { margin-top: var(--s-2); font-size: var(--t-body-sm); line-height: 1.55; }
.xc-step p + p { margin-top: var(--s-2); }
.xc-step__tagcopy > span { display: block; margin-top: 7px; }
.xc-step__tagcopy strong { color: var(--blue-deep); font-weight: 700; }
.xc-account-link {
  display: inline;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
}
.xc-account-link::after { content: "\00a0\2197"; font-size: 0.82em; }
.xc-account-link:hover { color: var(--blue-hover); background: var(--blue-tint); }
.xc-account-link:focus-visible {
  outline: 3px solid rgba(0, 69, 176, 0.2);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----------------------------------------------------------------
   9b. Step mockups (BRIEF-V2 §C). Real-looking HTML/CSS interface
   illustrations, replacing the abstract grey-bar vignettes. Every
   .xc-mock is aria-hidden in the markup; all meaning lives in the
   adjacent h3/p copy, unchanged from BRIEF.md. Max 320px tall,
   white/near-white surface, hairline border, radius 16px, soft
   shadow (BRIEF-V2 §C closing paragraph).
   ---------------------------------------------------------------- */
.xc-mock {
  margin-top: var(--s-4); max-height: 320px;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-chip); box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* generic line/tick primitives shared by every mock variant */
.xc-mock__line { display: block; height: 7px; border-radius: 4px; background: var(--hairline); }
.xc-mock__line--title { width: 62%; height: 9px; margin-bottom: 10px; background: rgba(35, 31, 32, 0.16); }
.xc-mock__line--sm { width: 40%; }
.xc-mock__line--mini { width: 70%; height: 6px; margin-bottom: 0; }
.xc-mock__tick {
  flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); display: inline-flex; align-items: center; justify-content: center;
}
.xc-mock__tick svg { width: 10px; height: 10px; color: #fff; }
.xc-mock__tick--mini { flex: 0 0 13px; width: 13px; height: 13px; }
.xc-mock__tick--mini svg { width: 8px; height: 8px; }

/* mock 1 (step "Take a Screenshot"): app window frame + result card +
   overlaid screenshot-selection rectangle with corner handles. */
.xc-mock--shot { display: flex; flex-direction: column; }
.xc-mock__titlebar {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 12px; background: var(--panel); border-bottom: 1px solid var(--hairline);
}
.xc-mock__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hairline); }
.xc-mock__toolbar { height: 8px; margin: 8px 12px 0; border-radius: 4px; background: var(--chip-tint); }
.xc-mock__stage { position: relative; padding: 14px; }
.xc-mock__resultcard { background: var(--panel); border: 1px solid var(--hairline); border-radius: 10px; padding: 12px 14px; }
.xc-mock__checklist { display: flex; flex-direction: column; gap: 7px; }
.xc-mock__checklist li { display: flex; align-items: center; gap: 8px; }
.xc-mock__timestamp { display: block; margin-top: 10px; font-size: 10.5px; color: var(--label); }
.xc-mock__selection {
  position: absolute; left: 30px; top: 26px; right: 30px; bottom: 22px;
  border: 1.5px dashed rgba(0, 69, 176, 0.55); background: rgba(0, 69, 176, 0.06);
  border-radius: 6px;
}
.xc-mock__handle { position: absolute; width: 7px; height: 7px; background: var(--blue); border-radius: 1px; border: 1px solid #fff; }
.xc-mock__handle--tl { left: -4px; top: -4px; }
.xc-mock__handle--tr { right: -4px; top: -4px; }
.xc-mock__handle--bl { left: -4px; bottom: -4px; }
.xc-mock__handle--br { right: -4px; bottom: -4px; }
.xc-mock__dimchip {
  position: absolute; right: 4px; bottom: 4px;
  font-size: 9.5px; font-weight: 600; color: #fff; background: var(--blue);
  padding: 2px 6px; border-radius: 4px; white-space: nowrap;
}

/* mock 2 + 3 (steps "Share It" / "Tag Us"): shared social composer
   card. Header logo + accent colour are the ONLY per-platform
   difference anywhere in the step mocks (BRIEF-V2 §C, final para). */
.xc-mock--composer { padding: 14px; }
.xc-mock__composerhead {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid var(--hairline);
}
.xc-mock__platformicon { width: 14px; height: 14px; }
.xc-mock__composerheadtext { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label); }
.xc-mock--linkedin .xc-mock__composerhead { border-bottom-color: #0A66C2; }
.xc-mock--x .xc-mock__composerhead { border-bottom-color: #000000; }
.xc-mock__composerbody { display: flex; gap: 10px; }
.xc-mock__composertext { flex: 1; min-width: 0; }
.xc-mock__composername { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.xc-mock__composersentence { margin-top: 5px; font-size: 12px; line-height: 1.6; color: var(--body); }
.xc-mock__attachment {
  margin-top: 10px; padding: 10px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 6px;
}
.xc-mock__chip {
  display: inline-flex; align-items: center; margin: 2px 4px 2px 0;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; line-height: 1.6;
}
.xc-mock__chip--tag { background: var(--chip-tint); color: var(--blue); }
.xc-mock__chip--ad { background: transparent; border: 1px solid var(--hairline); color: var(--label); }
.xc-mock__autocomplete {
  margin-top: 8px; display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px; background: var(--chip-tint);
}
.xc-mock__autocomplete-logo { height: 12px; width: auto; }
.xc-mock__autocomplete-handle { font-size: 11px; color: var(--blue-deep); }
.xc-mock__composerfoot { margin-top: 12px; display: flex; justify-content: flex-end; }
.xc-mock__postbtn {
  display: inline-block; padding: 6px 16px; border-radius: var(--r-pill);
  background: var(--hairline); color: var(--label);
  font-size: 11.5px; font-weight: 700;
}

/* mock 4 (step "Submit Your Post"): compact form rows + submit button */
.xc-mock--submit { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.xc-mock__formrow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border-radius: 8px; background: var(--panel); border: 1px solid var(--hairline);
}
.xc-mock__formlabel { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--label); flex: 0 0 auto; }
.xc-mock__formvalue { font-size: 11px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xc-mock__formchip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--blue-deep); }
.xc-mock__formchip svg { width: 12px; height: 12px; color: var(--blue-lift); }
.xc-mock__submitfoot { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; }
.xc-mock__waitline { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--label); }
.xc-mock__waitline svg { width: 12px; height: 12px; color: var(--blue); }
.xc-mock__submitbtn { padding: 7px 18px; border-radius: var(--r-pill); background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; }

/* ----------------------------------------------------------------
   10. Platform switcher (BRIEF-V2 §A). Reusable component, two
   independent instances on the page (rewards + steps), each with
   its own ids/data-switcher scope so switching one never touches
   the other. Real <button role="tab"> pairs; JS (initSwitchers in
   site.js) wires aria-selected, arrow keys and the synchronous
   panel-visibility swap. Logos are the official unmodified SVG
   files: inactive shows assets/icons/*.svg as-is (own colour);
   active recolours to white via a CSS mask-image of the SAME file,
   never by editing the SVG (BRIEF-V2 §A).
   ---------------------------------------------------------------- */
.xc-switcher-wrap { display: flex; justify-content: center; margin: 0 0 var(--s-8); }
.xc-switcher {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.xc-switcher__tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; color: var(--body); background: transparent;
  transition: background-color var(--dur-state) var(--ease-out), color var(--dur-state) var(--ease-out);
}
.xc-switcher__tab:hover { color: var(--ink); }
.xc-switcher__tab.is-active { background: var(--blue); color: #fff; }
.xc-switcher__tab.is-active:hover { color: #fff; }
.xc-switcher__icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.xc-switcher__icon-color, .xc-switcher__icon-mask {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: opacity var(--dur-state) var(--ease-out);
}
.xc-switcher__icon-mask {
  background-color: #fff; opacity: 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.xc-switcher__icon-mask--linkedin { -webkit-mask-image: url("icons/linkedin.svg"); mask-image: url("icons/linkedin.svg"); }
.xc-switcher__icon-mask--x { -webkit-mask-image: url("icons/x.svg"); mask-image: url("icons/x.svg"); }
.xc-switcher__tab.is-active .xc-switcher__icon-color { opacity: 0; }
.xc-switcher__tab.is-active .xc-switcher__icon-mask { opacity: 1; }

/* ----------------------------------------------------------------
   10b. Platform panel (shared by the rewards rows and the steps
   grid). Default state = BOTH panels visible, stacked, each headed
   by its own platform label: a no-JS visitor loses no data
   (BRIEF-V2 §A). initSwitchers() adds .is-js-hidden to the inactive
   panel synchronously, never from inside a gsap timeline.
   ---------------------------------------------------------------- */
.xc-platformpanel.is-js-hidden { display: none; }
.xc-platformpanel__label {
  text-align: center; margin-bottom: var(--s-5);
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--label);
}
.xc-rewardpanels, .xc-steppanels { display: flex; flex-direction: column; gap: var(--s-10); }

/* ----------------------------------------------------------------
   11. Reward rows (BRIEF-V2 §B). Replaces the old <table>. Pattern
   reference: viktor.com/creators pill rows (screenshots reviewed
   before build), reproduced only in Xagent's own palette (cream,
   white, blue-tint per BRIEF §0), never Viktor's purple/peach.
   ---------------------------------------------------------------- */
.xc-rewardhead {
  display: grid; grid-template-columns: 1.1fr 0.9fr 1.2fr; column-gap: 24px;
  padding: 0 32px; margin-bottom: var(--s-3);
}
.xc-rewardhead span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--label); }
.xc-rewardhead__pro {
  justify-self: end; text-align: center;
  background: var(--blue); color: #fff !important;
  padding: 7px 16px; border-radius: var(--r-pill); letter-spacing: 0.03em;
}
.xc-rewardrows { display: flex; flex-direction: column; gap: 14px; }
.xc-rewardrow {
  display: grid; grid-template-columns: 1.1fr 0.9fr 1.2fr; column-gap: 24px; row-gap: 2px;
  grid-template-areas: "reach cash prohead" "reach cash prodetail";
  align-items: center;
  border-radius: 22px; padding: 28px 32px;
  background: linear-gradient(90deg, var(--panel) 0%, var(--card) 48%, var(--blue-tint) 100%);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-row);
  transition: transform var(--dur-state) var(--ease-out), box-shadow var(--dur-state) var(--ease-out);
}
.xc-rewardrow:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.xc-rewardrow__reach { grid-area: reach; font-size: 28px; font-weight: 700; color: var(--ink); }
.xc-rewardrow__cash { grid-area: cash; font-size: 20px; font-weight: 600; color: var(--ink); }
.xc-rewardrow__prohead { grid-area: prohead; justify-self: end; text-align: right; font-size: 17px; font-weight: 700; color: var(--blue); }
.xc-rewardrow__prodetail { grid-area: prodetail; justify-self: end; text-align: right; font-size: 13px; color: var(--body); line-height: 1.5; }

@media (max-width: 759.98px) {
  .xc-rewardhead { display: none; }
  .xc-rewardrow {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "reach reach" "cash prohead" "prodetail prodetail";
    row-gap: 8px; padding: 22px 20px;
  }
  .xc-rewardrow__reach { font-size: 24px; }
  .xc-rewardrow__prohead { font-size: 15px; }
  .xc-rewardrow__prodetail { justify-self: stretch; text-align: left; margin-top: 4px; }
}

.xc-rewards__minline {
  margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--hairline);
  max-width: 640px; margin-left: auto; margin-right: auto;
  text-align: center; font-size: var(--t-body-sm); color: var(--label);
}
.xc-rewards__note { margin-top: var(--s-6); text-align: center; font-size: var(--t-body-sm); color: var(--body); }

/* ----------------------------------------------------------------
   11. Choose your reward: two cards, Pro visually favoured.
   ---------------------------------------------------------------- */
.xc-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.xc-choice {
  position: relative; border-radius: var(--r-card); padding: var(--s-8) var(--s-6);
  background: var(--card); border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
}
.xc-choice h3 { font-size: var(--t-h3); }
.xc-choice p { margin-top: var(--s-3); font-size: var(--t-body-sm); line-height: 1.6; }
.xc-choice--pro {
  background: var(--blue-tint); border-color: rgba(0, 69, 176, 0.22);
  box-shadow: var(--shadow-md);
}
.xc-choice__badge {
  align-self: flex-start; margin-bottom: var(--s-4);
  background: var(--gold); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em;
  padding: 6px 13px; border-radius: var(--r-pill);
}
.xc-choice__fine { margin-top: var(--s-4); font-size: var(--t-small); color: var(--blue-deep); line-height: 1.6; }

/* ----------------------------------------------------------------
   12. Share grid: balanced 9-item grid + closing line.
   ---------------------------------------------------------------- */
.xc-sharegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.xc-sharegrid__chip {
  display: flex; align-items: center; min-height: 76px;
  padding: 18px 20px; border-radius: var(--r-chip);
  background: var(--card); border: 1px solid var(--hairline);
  font-size: var(--t-body-sm); font-weight: 500; color: var(--ink); line-height: 1.5;
}
.xc-sharegrid__closing { margin-top: var(--s-6); text-align: center; max-width: 62ch; margin-left: auto; margin-right: auto; font-size: var(--t-body-sm); }

/* ----------------------------------------------------------------
   13. Good-submission checklist + safety note box.
   ---------------------------------------------------------------- */
.xc-checklist { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.xc-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--t-body-sm); color: var(--ink); line-height: 1.5; }
.xc-checklist__mark {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--chip-tint); display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.xc-checklist__mark svg { width: 14px; height: 14px; color: var(--blue); }
.xc-safebox {
  max-width: 640px; margin: var(--s-8) auto 0;
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-note);
  padding: var(--s-5) var(--s-6);
}
.xc-safebox p { font-size: var(--t-small); color: var(--body); line-height: 1.6; }
.xc-safebox p + p { margin-top: var(--s-2); }

/* ----------------------------------------------------------------
   14. Post template: mono quote card + copy button.
   ---------------------------------------------------------------- */
.xc-template { max-width: 640px; margin: 0 auto; border-radius: var(--r-card); overflow: hidden; }
.xc-template__bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}
.xc-template__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }
.xc-copybtn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--hairline);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}
.xc-copybtn svg { width: 14px; height: 14px; }
.xc-copybtn:hover { background: var(--chip-tint); border-color: rgba(0,69,176,0.2); }
.xc-copybtn.is-copied { background: var(--blue); border-color: var(--blue); color: #fff; }
.xc-template__body { padding: var(--s-6); font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.xc-template__body p + p { margin-top: 4px; }
.xc-template__account-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
}
.xc-template__account-link:hover { color: var(--blue-hover); background: var(--blue-tint); }
.xc-template__account-link:focus-visible {
  outline: 3px solid rgba(0, 69, 176, 0.2);
  outline-offset: 3px;
  border-radius: 3px;
}
.xc-template__foot { margin-top: var(--s-5); text-align: center; font-size: var(--t-small); color: var(--body); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------------
   15. Eligibility + disclosure band. Full-width, blue-tint,
   deliberately prominent (BRIEF §1 / §9): never fine print.
   ---------------------------------------------------------------- */
.xc-band { background: var(--blue-tint); border-top: 1px solid rgba(0,69,176,0.14); border-bottom: 1px solid rgba(0,69,176,0.14); }
.xc-band__inner { padding: var(--s-8) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.xc-band__col p { font-size: var(--t-body); line-height: 1.6; color: var(--blue-deep); }
.xc-band__col strong { color: var(--ink); }

/* ----------------------------------------------------------------
   16. Submission form.
   ---------------------------------------------------------------- */
.xc-form {
  max-width: 720px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6);
}
.xc-field { display: flex; flex-direction: column; gap: 6px; }
.xc-field--wide { grid-column: 1 / -1; }
.xc-field label, .xc-field__legend { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.xc-field__hint { font-size: 12px; color: var(--label); }

.xc-field input[type="text"],
.xc-field input[type="email"],
.xc-field input[type="url"],
.xc-field select,
.xc-field textarea {
  width: 100%; min-height: 46px;
  padding: 11px 14px; border-radius: var(--r-input);
  border: 1px solid var(--hairline); background: var(--card);
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.xc-field textarea { min-height: 88px; padding-top: 12px; resize: vertical; }
.xc-field input:focus, .xc-field select:focus, .xc-field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 69, 176, 0.14); outline: none;
}
.xc-field input[readonly] { background: var(--panel); color: var(--body); }
.xc-field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B7E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 40px;
}

.xc-field input[type="file"] {
  width: 100%; min-height: 46px;
  padding: 8px; border-radius: var(--r-input);
  border: 1px dashed var(--hairline); background: var(--panel);
  font-size: 13.5px; color: var(--label);
}
.xc-field input[type="file"]::file-selector-button {
  padding: 8px 14px; margin-right: 12px; border-radius: var(--r-pill);
  border: none; background: var(--blue); color: #fff;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background var(--dur-micro) var(--ease-out);
}
.xc-field input[type="file"]::file-selector-button:hover { background: var(--blue-hover); }

.xc-radiogroup { display: flex; gap: 10px; flex-wrap: wrap; }
.xc-radio {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; min-height: 46px; border-radius: var(--r-pill);
  border: 1px solid var(--hairline); background: var(--card);
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: border-color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out);
}
.xc-radio input { accent-color: var(--blue); width: 16px; height: 16px; }
.xc-radio:has(input:checked) { border-color: var(--blue); background: var(--chip-tint); }

.xc-field--checkbox { flex-direction: row; }
.xc-checkbox { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: var(--t-body-sm); color: var(--ink); }
.xc-checkbox input { margin-top: 3px; accent-color: var(--blue); width: 18px; height: 18px; flex: 0 0 18px; }

.xc-permission { margin-top: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--hairline); }
.xc-permission p { margin-top: var(--s-2); font-size: var(--t-small); line-height: 1.65; color: var(--body); }
.xc-form__submitrow { margin-top: var(--s-2); }
.xc-form__submitrow .btn { width: 100%; min-height: 50px; }

/* ----------------------------------------------------------------
   17. Reward rules: clean hairline list.
   ---------------------------------------------------------------- */
.xc-rules { max-width: 760px; margin: 0 auto; }
.xc-rules li {
  padding: 16px 2px; border-bottom: 1px solid var(--hairline);
  font-size: var(--t-body-sm); line-height: 1.6; color: var(--body);
}
.xc-rules li:first-child { border-top: 1px solid var(--hairline); }

/* ----------------------------------------------------------------
   18. FAQ: native <details>, CSS-only chevron.
   ---------------------------------------------------------------- */
.xc-faq { max-width: 760px; margin: 0 auto; }
.xc-faq details { border-bottom: 1px solid var(--hairline); }
.xc-faq details:first-child { border-top: 1px solid var(--hairline); }
.xc-faq summary {
  cursor: pointer; list-style: none;
  padding: 19px 32px 19px 2px; position: relative;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; min-height: 44px;
}
.xc-faq summary::-webkit-details-marker { display: none; }
.xc-faq summary::before, .xc-faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  background: var(--ink); transition: transform var(--dur-state) var(--ease-out), opacity var(--dur-state) var(--ease-out);
}
.xc-faq summary::before { width: 13px; height: 1.6px; margin-top: -0.8px; }
.xc-faq summary::after { width: 1.6px; height: 13px; right: 10.2px; margin-top: -6.5px; }
.xc-faq details[open] summary::after { opacity: 0; transform: rotate(90deg); }
.xc-faq__a { padding: 0 32px 22px 2px; font-size: var(--t-body-sm); line-height: 1.6; color: var(--body); max-width: 66ch; }

/* ----------------------------------------------------------------
   19. Final CTA panel: full-bleed rounded brand-blue panel.
   ---------------------------------------------------------------- */
.xc-panelwrap { padding: clamp(16px, 2.4vw, 24px) 0; }
.xc-panel {
  position: relative; border-radius: var(--r-panel); overflow: hidden;
  background: var(--blue); color: #fff;
  text-align: center; padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 64px);
  display: flex; flex-direction: column; align-items: center;
}
.xc-panel__logo { height: 30px; width: auto; margin-bottom: var(--s-6); }
.xc-panel h2 { color: #fff; }
.xc-panel p { margin-top: var(--s-3); font-size: var(--t-body-lg); color: rgba(255,255,255,0.86); max-width: 56ch; }
.xc-panel .btn { margin-top: var(--s-8); }

/* ----------------------------------------------------------------
   20. Footer.
   ---------------------------------------------------------------- */
.xc-footer { padding: var(--s-8) 0; border-top: 1px solid var(--hairline); }
.xc-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.xc-footer__logo { height: 18px; width: auto; }
.xc-footer__copy { font-size: 13px; color: var(--label); }
.xc-footer__link { font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------------
   21. Responsive / mobile pass. Tuned at 375 / 768 / 1280 per
   BRIEF §4. Everything above already uses max-width + fluid grid,
   not fixed widths, so this section is fixes rather than a rewrite.
   ---------------------------------------------------------------- */
@media (max-width: 980px) {
  .xc-steps { grid-template-columns: repeat(2, 1fr); }
  .xc-sharegrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .xc-hero__inner { grid-template-columns: 1fr; }
  .xc-hero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .xc-hero__lede { text-align: center; }
  .xc-chips { justify-content: center; }
  .xc-hero__cta { justify-content: center; }
  .xc-hero__visual { margin-top: var(--s-10); }
  .xc-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .xc-section { padding: clamp(44px, 9vw, 64px) 0; }
  .xc-hero { padding-top: 32px; }
  .xc-choose { grid-template-columns: 1fr; }
  .xc-form { grid-template-columns: 1fr; }

  /* Tap targets: 44px is the accepted minimum at touch widths. */
  .xc-nav__links a, .xc-nav__right .btn, .xc-nav__burger { min-height: 44px; }
  .btn { min-height: 44px; }
  .xc-copybtn { min-height: 44px; }
  .xc-faq summary { min-height: 44px; }
  .xc-radio { min-height: 44px; }
  .xc-checkbox { min-height: 44px; }
  .xc-field input, .xc-field select, .xc-field textarea { min-height: 46px; }
  .xc-footer__link { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 640px) {
  .xc-sharegrid { grid-template-columns: 1fr; }
  .xc-hero__cta { flex-direction: column; align-items: stretch; }
  .xc-hero__cta .btn { width: 100%; }
  .xc-postcard { max-width: 100%; }
}

@media (max-width: 480px) {
  .xc-steps { grid-template-columns: 1fr; }
  .xc-footer__row { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------
   22. Print / no-JS safety: nothing here depends on script for
   visibility (see §6). This rule just keeps the mobile drawer
   from ever being displayed unless JS explicitly opens it.
   ---------------------------------------------------------------- */
.xc-nav__drawer { display: none; }
.xc-nav.is-open .xc-nav__drawer { display: flex; }

/* Placeholder notice shown when the inert submit button is pressed.
   Remove together with reportInert() when the real endpoint is wired. */
.xc-form__note {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--body);
}

/* Final mobile pass, measured on a real 375px viewport.
   - the nav logo link was a 24px tap target (the mark's own height);
     the link box now meets the 44px minimum without scaling the mark
   - the visually-hidden table head keeps its cells inside the clip box
     so it cannot report off-canvas geometry to layout tooling */
@media (max-width: 768px) {
  .xc-logo { min-height: 44px; }
}
.xc-rewards thead[class], .xc-rewards thead { overflow: hidden; }

/* ====================================================================
   v2 refinements, from reviewing the rendered page against the
   reference layout.
   ==================================================================== */

/* 1. Keep both platform names visible so the current selection is clear at
   a glance. The inactive tab gets a light-blue surface; the active tab keeps
   the stronger brand-blue fill and white icon/text treatment. */
.xc-switcher {
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.82);
  border-color: #D7DFEB;
}
.xc-switcher__tab {
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  padding: 11px 20px;
  color: var(--blue-deep);
  background: var(--chip-tint);
  border: 1px solid transparent;
}
.xc-switcher__tab > span:not(.xc-switcher__icon) {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
}
.xc-switcher__tab:not(.is-active):hover {
  background: var(--blue-tint);
  color: var(--blue-deep);
}
.xc-switcher__tab.is-active {
  border-color: var(--blue);
  box-shadow: 0 5px 14px rgba(0, 69, 176, 0.22);
}
.xc-switcher__tab:focus-visible {
  outline: 3px solid rgba(0, 69, 176, 0.25);
  outline-offset: 2px;
}
.xc-switcher__icon { width: 19px; height: 19px; }
.xc-switcher__tab[data-platform="x"] .xc-switcher__icon { display: none; }
.xc-mock--x .xc-mock__composerheadtext { display: none; }

@media (max-width: 480px) {
  .xc-switcher { width: 100%; }
  .xc-switcher__tab { flex: 1 1 0; min-width: 0; padding-inline: 14px; }
}

/* 2. Rebalance the row: the reach column had slack while the Pro column
   was tight enough to orphan the last word of every detail line. */
.xc-rewardrow { grid-template-columns: 0.85fr 0.62fr 1.53fr; column-gap: 20px; }
.xc-rewardrow__prodetail { font-size: 12.5px; max-width: 46ch; }

/* 3. With JS on, the tab already names the platform; the panel heading
   exists only so a no-JS visitor can tell the two stacked panels apart. */
.js-on .xc-platformpanel__label { display: none; }
