/* ============================================================
   PERSONTEES DESIGN SYSTEM — v1
   The ONE canonical layer. Loaded LAST on every marketing page.
   Revert = remove the one <link> per page.

   1. TOKENS      the tech-purple palette, one source of truth
   2. REMAP       every legacy token family -> the system.
                  This is the unification: 4 competing token
                  families collapse into one.
   3. BASE        the type scale + the dark brand anchors
   4. COMPONENTS  the reusable .pt-* class API
   5. MOTION      reveal / hover / glow, with a reduced-motion guard

   NAMING RULE: a .pt-* class must NOT contain any legacy
   wildcard substring ("card", "eyebrow", "nav", "title",
   "heading", "btn-", "footer", "faq-", "section", "ticker").
   The legacy v2-marketing.css uses [class*="..."] selectors that
   would otherwise hijack a new component. Checked names:
   pt-tile pt-craft pt-fact pt-case pt-kicker pt-h2 pt-lead
   pt-btn pt-btn-ghost pt-more pt-surface-light pt-surface-dark
   ============================================================ */

/* ------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------ */
:root {
  /* --- the tech purple --- */
  --pt-purple:        #7C3AED;
  --pt-purple-bright: #A855F7;
  --pt-purple-deep:   #5B21B6;
  --pt-purple-ink:    #4C1D95;
  --pt-purple-wash:   rgba(124, 58, 237, .08);
  --pt-glow:          rgba(124, 58, 237, .30);
  --pt-glow-soft:     rgba(124, 58, 237, .14);

  /* --- surfaces --- */
  --pt-paper:      #FAFAFA;
  --pt-surface:    #FFFFFF;
  --pt-surface-2:  #F4F4F7;
  --pt-dark:       #08090A;
  --pt-dark-2:     #121317;

  /* --- ink --- */
  --pt-ink:        #16171C;
  --pt-ink-2:      #3F3F46;
  --pt-muted:      #71717A;
  --pt-on-dark:    #F7F8F8;
  --pt-on-dark-2:  rgba(247, 248, 248, .78);

  /* --- lines --- */
  --pt-line:       #E4E4E7;
  --pt-line-2:     rgba(0, 0, 0, .10);
  --pt-line-dark:  rgba(255, 255, 255, .12);

  /* --- geometry --- */
  --pt-radius:     8px;
  --pt-radius-lg:  12px;
  --pt-radius-pill: 999px;
  --pt-shadow:       0 1px 3px rgba(0, 0, 0, .06);
  --pt-shadow-md:   0 4px 16px rgba(0, 0, 0, .07);
  --pt-shadow-lg:   0 18px 48px rgba(0, 0, 0, .12);
  --pt-shadow-glow: 0 10px 30px rgba(124, 58, 237, .22);

  /* --- type scale --- */
  --pt-h1: clamp(2.5rem, 5vw, 4rem);
  --pt-h2: 34px;
  --pt-h3: 21px;
  --pt-h4: 17px;
  --pt-lead: 16.5px;
  --pt-body: 14px;
  --pt-small: 13px;
  --pt-kicker: 12px;

  /* --- motion --- */
  --pt-ease:       cubic-bezier(.16, 1, .3, 1);
  --pt-ease-out:   cubic-bezier(.22, 1, .36, 1);
  --pt-dur:        480ms;
  --pt-dur-fast:   220ms;
  --pt-dur-slow:   760ms;
  --pt-reveal-y:   18px;
}

/* ------------------------------------------------------------
   2. REMAP — every legacy family collapses onto the system
   ------------------------------------------------------------ */
:root {
  /* the v2 family (the dark theme) -> the light tech-purple theme */
  --v2-ground:         var(--pt-paper);
  --v2-surface-1:      var(--pt-surface);
  --v2-surface-2:      var(--pt-surface);
  --v2-surface-3:      var(--pt-surface-2);
  --v2-text:           var(--pt-ink);
  --v2-text-2:         var(--pt-ink-2);
  --v2-text-3:         var(--pt-muted);
  --v2-text-muted:     var(--pt-muted);
  --v2-text-secondary: var(--pt-ink-2);
  --v2-hairline:       var(--pt-line);
  --v2-hairline-strong:var(--pt-line-2);
  --v2-purple:         var(--pt-purple);
  --v2-purple-deep:    var(--pt-purple-deep);
  --v2-accent:         var(--pt-purple-bright);
  --v2-pink:           var(--pt-purple-bright);
  --v2-mesh-1:         var(--pt-purple);
  --v2-mesh-2:         var(--pt-purple-bright);
  --v2-mesh-3:         var(--pt-purple);
  --v2-mesh-4:         var(--pt-accent, #C85A3A);
  --v2-white:          #FFFFFF;
  --v2-glass:          rgba(255, 255, 255, .06);
  --v2-radius-sm:      6px;
  --v2-radius-md:      var(--pt-radius);
  --v2-radius-lg:      var(--pt-radius-lg);
  --v2-radius-pill:    var(--pt-radius-pill);
  --v2-ease:           var(--pt-ease);

  /* the legacy light family (the 522 inline-05 pages) */
  --paper:       var(--pt-paper);
  --paper-2:     var(--pt-surface);
  --paper-3:     var(--pt-surface-2);
  --paper-soft:  var(--pt-surface-2);
  --paper-warm:  var(--pt-surface-2);
  --ink:         var(--pt-ink);
  --ink-2:       var(--pt-ink-2);
  --ink-3:       var(--pt-muted);
  --ink-4:       var(--pt-muted);
  --ink-soft:    var(--pt-ink-2);
  --line:        var(--pt-line);
  --line-2:      var(--pt-line-2);
  --line-soft:   var(--pt-line);
  --line-strong: var(--pt-line-2);

  /* the v3 family -> aliases of the system */
  --v3-paper:      var(--pt-paper);
  --v3-surface:    var(--pt-surface);
  --v3-ink:        var(--pt-ink);
  --v3-ink-2:      var(--pt-ink-2);
  --v3-muted:      var(--pt-muted);
  --v3-line:       var(--pt-line);
  --v3-line-2:     var(--pt-line-2);
  --v3-brand:      var(--pt-purple);
  --v3-brand-deep: var(--pt-purple-deep);
  --v3-accent:     var(--pt-accent, #C85A3A);
  --v3-radius:     var(--pt-radius);
  --v3-shadow:     var(--pt-shadow);
  --v3-dark:       var(--pt-dark);
}

/* ------------------------------------------------------------
   3. BASE
   ------------------------------------------------------------ */
body {
  background: var(--pt-paper) !important;
  color: var(--pt-ink) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* the type scale — tokenised, no page-level overrides */
body :is(h1) {
  font-size: var(--pt-h1) !important;
  line-height: 1.08 !important;
  letter-spacing: -1.2px !important;
}
body :is(h2) {
  font-size: var(--pt-h2) !important;
  line-height: 1.18 !important;
  letter-spacing: -.6px !important;
}
body :is(h3) {
  font-size: var(--pt-h3) !important;
  line-height: 1.3 !important;
}
body :is(h4) {
  font-size: var(--pt-h4) !important;
  line-height: 1.35 !important;
}
@media (max-width: 720px) {
  body :is(h1) { font-size: clamp(2.2rem, 8vw, 2.8rem) !important; }
  body :is(h2) { font-size: 26px !important; }
}

/* --- the brand anchors: the dark bands never follow the light remap --- */
body .v2-hero,
body .v2-cta-final,
body .v2-ticker,
body .v2-nav-drawer,
body .v2-footer,
body .v2-cta-inner,
body .cta-final-inner,
body .cta-final-social-proof,
body .section-dark,
body .v2-cta-proof,
body .v2-lucy-chat,
body .v2-bento-card,
body .v2-feature-card,
body .v2-craft-card,
body .v2-stat-card,
body .v2-stats-bar,
body .v2-hero-stats,
body .v2-hero-eyebrow,
body .v2-persona-chip,
body .v2-lucy-chip,
body .v2-lucy-attach,
body .v2-lucy-persona-chip,
body .hero-pill,
body .hero-chip,
body .hero-tag,
body .hero-stats,
body .stats-row,
body .ticker,
body .ticker-bar,
body .trust-pill,
body .trust-badge,
body .flow-card,
body .flow-card-cfo,
body .flow-card-cfs,
body .flow-card-cta,
body .drawer-cta,
body .drawer-cta-primary,
body .l4-save,
body .lv7-cta,
body .v2-lang-active,
body .v2-footer-newsletter-form {
  background: var(--pt-dark-2) !important;
  color: var(--pt-on-dark) !important;
}
body .v2-hero { background: var(--pt-dark) !important; }
body .v2-footer { background: var(--pt-dark) !important; }
body .v2-ticker,
body .ticker,
body .ticker-bar { background: var(--pt-dark-2) !important; }

/* the dark bands keep white headings + links */
body .v2-hero :is(h1, h2, h3, h4),
body .v2-cta-final :is(h1, h2, h3, h4),
body .v2-nav-drawer :is(h1, h2, h3, h4),
body .v2-footer :is(h1, h2, h3, h4),
body .section-dark :is(h1, h2, h3, h4),
body .v2-cta-inner :is(h1, h2, h3, h4),
body .cta-final-inner :is(h1, h2, h3, h4) {
  color: #FFFFFF !important;
}
body .v2-hero :is(p, li),
body .v2-cta-final :is(p, li),
body .v2-nav-drawer :is(p, li),
body .v2-footer :is(p, li) {
  color: var(--pt-on-dark-2) !important;
}

/* --- the link model ---
   A link is text, so it inherits the colour of the surface it sits on.
   That is why a link in the hero is white and a link in the body is
   dark, with no per-page rule. Buttons declare their own colour. */
body a:hover { color: var(--pt-purple); }
body .v2-hero a:hover,
body .v2-cta-final a:hover,
body .v2-nav-drawer a:hover,
body .nav-drawer a:hover,
body .v2-ticker a:hover,
body .v2-footer a:hover,
body .pc-cta a:hover { color: #FFFFFF !important; }

/* the buttons own their colour */
body a[class*="btn"],
body button[class*="btn"],
body a.v2-btn,
body button.v2-btn,
body a.drawer-cta { color: #FFFFFF !important; }
body a[class*="secondary"],
body a.v2-btn-secondary { color: var(--pt-ink) !important; }

/* --- the mobile drawer: the dark panel + white links --- */
body .nav-drawer,
body .drawer-backdrop {
  background: var(--pt-dark) !important;
  color: var(--pt-on-dark) !important;
}
body .nav-drawer a,
body .nav-drawer .drawer-links a,
body .nav-drawer .drawer-links li,
body .nav-drawer .drawer-close { color: var(--pt-on-dark) !important; }

/* --- the printing craft CTA band --- */
body .pc-cta {
  background: var(--pt-dark) !important;
  color: var(--pt-on-dark) !important;
}
body .pc-cta :is(h1, h2, h3, h4) { color: var(--pt-on-dark) !important; }
body .pc-cta :is(p, li) { color: var(--pt-on-dark-2) !important; }

/* --- the hero trust badges: a light chip on the dark hero --- */
body .v2-trust-badge {
  background: var(--pt-surface) !important;
  border: 1px solid var(--pt-line) !important;
  color: var(--pt-ink) !important;
}
body .v2-trust-text strong { color: var(--pt-ink) !important; }
body .v2-trust-text span { color: var(--pt-ink-2) !important; }

/* --- the language separator in the light nav --- */
body .v2-lang-sep { color: var(--pt-line-2) !important; }

/* the surface contract — a surface declares its own colour */
body .pt-surface-dark { color: var(--pt-on-dark) !important; }
body .pt-surface-light { color: var(--pt-ink) !important; }

/* ------------------------------------------------------------
   4. COMPONENTS
   ------------------------------------------------------------ */

/* --- the kicker (the eyebrow) --- */
body .pt-kicker,
body .hp-eyebrow {
  font-size: var(--pt-kicker) !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--pt-purple) !important;
  margin: 0 0 12px !important;
}

/* --- the section heading + lead --- */
body .pt-h2,
body .hp-h2 {
  font-size: var(--pt-h2) !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
  letter-spacing: -.6px !important;
  color: var(--pt-ink) !important;
  margin: 0 0 12px !important;
  max-width: 26ch !important;
  text-wrap: balance !important;
}
body .pt-lead,
body .hp-sub {
  font-size: var(--pt-lead) !important;
  line-height: 1.62 !important;
  color: var(--pt-ink-2) !important;
  margin: 0 0 36px !important;
  max-width: 70ch !important;
}
@media (max-width: 720px) {
  body .pt-h2, body .hp-h2 { font-size: 26px !important; }
}

/* --- the tile --- */
body .pt-tile,
body .hp-tile {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  background: var(--pt-surface) !important;
  color: var(--pt-ink) !important;
  border: 1px solid var(--pt-line) !important;
  border-radius: var(--pt-radius) !important;
  box-shadow: var(--pt-shadow) !important;
  padding: 24px 22px !important;
  transition: transform var(--pt-dur-fast) var(--pt-ease-out),
              box-shadow var(--pt-dur-fast) var(--pt-ease-out),
              border-color var(--pt-dur-fast) var(--pt-ease-out) !important;
}
body .pt-tile:hover,
body .hp-tile:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(124, 58, 237, .38) !important;
  box-shadow: var(--pt-shadow-md), var(--pt-shadow-glow) !important;
}
body .pt-tile h3,
body .hp-tile h3 {
  font-size: var(--pt-h4) !important;
  font-weight: 700 !important;
  color: var(--pt-ink) !important;
  margin: 0 0 8px !important;
  line-height: 1.35 !important;
}
body .pt-tile p,
body .hp-tile p {
  font-size: var(--pt-small) !important;
  line-height: 1.6 !important;
  color: var(--pt-ink-2) !important;
  margin: 0 !important;
}
body .pt-tile-kind,
body .hp-tile-kind {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--pt-purple) !important;
  margin-bottom: 8px !important;
}
body .pt-tile-go,
body .hp-tile-go {
  display: inline-block !important;
  margin-top: 12px !important;
  font-size: var(--pt-small) !important;
  font-weight: 700 !important;
  color: var(--pt-purple) !important;
  text-decoration: none !important;
}

/* --- the craft card --- */
body .pt-craft,
body .hp-craft > div {
  background: var(--pt-surface) !important;
  color: var(--pt-ink) !important;
  border: 1px solid var(--pt-line) !important;
  border-radius: var(--pt-radius) !important;
  padding: 26px 22px !important;
  box-shadow: var(--pt-shadow) !important;
  transition: transform var(--pt-dur-fast) var(--pt-ease-out),
              box-shadow var(--pt-dur-fast) var(--pt-ease-out) !important;
}
body .pt-craft:hover,
body .hp-craft > div:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--pt-shadow-md), var(--pt-shadow-glow) !important;
}
body .pt-craft h3,
body .hp-craft h3 {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: var(--pt-ink) !important;
  margin: 0 0 8px !important;
}
body .pt-craft p,
body .hp-craft p {
  font-size: 14px !important;
  line-height: 1.66 !important;
  color: var(--pt-ink-2) !important;
  margin: 0 0 12px !important;
}
body .pt-craft a,
body .hp-craft a {
  font-size: var(--pt-small) !important;
  font-weight: 700 !important;
  color: var(--pt-purple) !important;
  text-decoration: none !important;
}

/* --- the delivery fact --- */
body .pt-fact,
body .hp-fact {
  border-left: 2px solid var(--pt-purple) !important;
  padding-left: 16px !important;
}
body .pt-fact b,
body .hp-fact b {
  display: block !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  letter-spacing: -.6px !important;
  color: var(--pt-purple-deep) !important;
  line-height: 1.1 !important;
  margin-bottom: 6px !important;
}
body .pt-fact span,
body .hp-fact span {
  font-size: 12.5px !important;
  color: var(--pt-muted) !important;
}

/* --- the case --- */
body .pt-case,
body .hp-case {
  background: var(--pt-surface) !important;
  color: var(--pt-ink) !important;
  border: 1px solid var(--pt-line) !important;
  border-radius: var(--pt-radius) !important;
  padding: 22px 20px !important;
  box-shadow: var(--pt-shadow) !important;
  transition: transform var(--pt-dur-fast) var(--pt-ease-out),
              box-shadow var(--pt-dur-fast) var(--pt-ease-out) !important;
}
body .pt-case:hover,
body .hp-case:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--pt-shadow-md), var(--pt-shadow-glow) !important;
}
body .pt-case h3,
body .hp-case h3 {
  font-size: var(--pt-h4) !important;
  font-weight: 700 !important;
  color: var(--pt-ink) !important;
  margin: 0 0 6px !important;
}
body .pt-case p,
body .hp-case p {
  font-size: var(--pt-small) !important;
  color: var(--pt-ink-2) !important;
  margin: 0 !important;
}
body .pt-case-kind,
body .hp-case-k {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  color: var(--pt-purple) !important;
  margin-bottom: 8px !important;
}

/* --- buttons --- */
body .pt-btn,
body .pt-cta-btn,
body .hp-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 13px 24px !important;
  border-radius: var(--pt-radius) !important;
  background: var(--pt-purple) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid var(--pt-purple) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform var(--pt-dur-fast) var(--pt-ease-out),
              box-shadow var(--pt-dur-fast) var(--pt-ease-out),
              background-color var(--pt-dur-fast) var(--pt-ease-out) !important;
}
body .pt-btn:hover,
body .pt-cta-btn:hover,
body .hp-cta-btn:hover {
  background: var(--pt-purple-deep) !important;
  border-color: var(--pt-purple-deep) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--pt-shadow-glow) !important;
}
body .pt-btn-ghost,
body .pt-cta-btn-ghost,
body .hp-cta-btn-ghost {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid var(--pt-line-dark) !important;
}
body .pt-btn-ghost:hover,
body .pt-cta-btn-ghost:hover,
body .hp-cta-btn-ghost:hover {
  background: rgba(255, 255, 255, .10) !important;
  border-color: rgba(255, 255, 255, .35) !important;
  color: #FFFFFF !important;
}

/* --- the "see all" link --- */
body .pt-more,
body .hp-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--pt-purple) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(124, 58, 237, .3) !important;
  padding-bottom: 2px !important;
  transition: border-color var(--pt-dur-fast) var(--pt-ease),
              gap var(--pt-dur-fast) var(--pt-ease) !important;
}
body .pt-more:hover,
body .hp-more:hover {
  color: var(--pt-purple-deep) !important;
  border-bottom-color: var(--pt-purple) !important;
  gap: 10px !important;
}

/* --- the FAQ --- */
body .pt-faq-item,
body .v3-faq-list details {
  background: var(--pt-surface) !important;
  border: 1px solid var(--pt-line) !important;
  border-radius: var(--pt-radius) !important;
  margin-bottom: 10px !important;
  overflow: hidden !important;
  transition: border-color var(--pt-dur-fast) var(--pt-ease-out),
              box-shadow var(--pt-dur-fast) var(--pt-ease-out) !important;
}
body .pt-faq-item:hover,
body .v3-faq-list details:hover {
  border-color: rgba(124, 58, 237, .32) !important;
  box-shadow: var(--pt-shadow-md) !important;
}
body .pt-faq-q,
body .v3-faq-list summary,
body .faq-question {
  color: var(--pt-ink) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer !important;
}
body .pt-faq-a,
body .v3-faq-list details p,
body .faq-answer {
  color: var(--pt-ink-2) !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}

/* ------------------------------------------------------------
   5. MOTION
   ------------------------------------------------------------ */
body .pt-reveal {
  opacity: 0 !important;
  transform: translate3d(0, var(--pt-reveal-y), 0) !important;
  transition: opacity var(--pt-dur) var(--pt-ease-out),
              transform var(--pt-dur) var(--pt-ease-out) !important;
  will-change: opacity, transform;
}
body .pt-reveal.pt-in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}
body .pt-reveal-1 { transition-delay: 60ms !important; }
body .pt-reveal-2 { transition-delay: 120ms !important; }
body .pt-reveal-3 { transition-delay: 180ms !important; }
body .pt-reveal-4 { transition-delay: 240ms !important; }
body .pt-reveal-5 { transition-delay: 300ms !important; }
body .pt-reveal-6 { transition-delay: 360ms !important; }

@keyframes pt-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--pt-glow-soft); }
  50%      { box-shadow: 0 0 0 7px rgba(124, 58, 237, 0); }
}
body .pt-btn-glow { animation: pt-glow 2.6s var(--pt-ease) infinite !important; }

@keyframes pt-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(0, -14px, 0) scale(1.04); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
body .pt-drift { animation: pt-drift 9s var(--pt-ease) infinite !important; }

@keyframes pt-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
body .pt-rule {
  display: block !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--pt-purple), var(--pt-purple-bright)) !important;
  transform-origin: left center !important;
  animation: pt-draw var(--pt-dur-slow) var(--pt-ease-out) both !important;
}

body .v2-nav-link {
  position: relative !important;
  transition: color var(--pt-dur-fast) var(--pt-ease) !important;
}
body .v2-nav-link::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -4px !important;
  height: 2px !important;
  width: 100% !important;
  background: var(--pt-purple) !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform var(--pt-dur-fast) var(--pt-ease-out) !important;
}
body .v2-nav-link:hover::after { transform: scaleX(1) !important; }

@media (prefers-reduced-motion: reduce) {
  body .pt-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body .pt-btn-glow,
  body .pt-drift,
  body .pt-rule { animation: none !important; }
  body .pt-tile:hover,
  body .pt-craft:hover,
  body .pt-case:hover,
  body .pt-btn:hover {
    transform: none !important;
  }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   8. THE LEGACY SURFACE ADAPTER
   The pre-v3 pages ship their own component names. Each one is
   bound to the system HERE, once, instead of being patched page
   by page. This is what makes the site feel like one design.
   ============================================================ */

/* --- the section band of the legacy page family --- */
body .section {
  background: var(--pt-surface) !important;
  border-color: var(--pt-line) !important;
  color: var(--pt-ink) !important;
}
body .section-h2 { color: var(--pt-ink) !important; }
body .section-eyebrow { color: var(--pt-purple) !important; }
body .section p,
body .section li { color: var(--pt-ink-2) !important; }
body .section.cta-final,
body .v2-cta-final {
  background: var(--pt-dark) !important;
  color: var(--pt-on-dark) !important;
}
body .section.cta-final :is(h1, h2, h3, h4),
body .v2-cta-final :is(h1, h2, h3, h4) { color: var(--pt-on-dark) !important; }
body .section.cta-final :is(p, li),
body .v2-cta-final :is(p, li) { color: var(--pt-on-dark-2) !important; }

/* --- the legacy card internals --- */
body .desc { color: var(--pt-ink-2) !important; }
body .handle { color: var(--pt-ink-2) !important; }
body .cta { color: var(--pt-purple-deep) !important; }
body .related-link { color: var(--pt-purple-deep) !important; }
body .contact-channel .title { color: var(--pt-ink) !important; }
body .contact-channel .label { color: var(--pt-purple) !important; }

/* --- the legacy buttons --- */
body .btn-primary,
body .v2-btn-primary,
body a[class*="btn-primary"],
body a.v2-btn.v2-btn-primary,
body a.btn.btn-primary {
  background: var(--pt-purple) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: var(--pt-purple) !important;
}
body .btn-ghost,
body .v2-btn-ghost,
body a[class*="btn-ghost"]:not([class*="hp-"]):not([class*="pc-"]):not([class*="pt-"]) {
  background: transparent !important;
  color: var(--pt-purple-deep) !important;
  border: 1px solid var(--pt-line-2) !important;
}
body .btn-secondary,
body .v2-btn-secondary {
  background: var(--pt-surface) !important;
  color: var(--pt-ink) !important;
  border: 1px solid var(--pt-line-2) !important;
}

/* --- the printing craft family --- */
body .pc-btn {
  background: var(--pt-purple) !important;
  color: #FFFFFF !important;
  border-color: var(--pt-purple) !important;
}
body .pc-btn-ghost {
  background: transparent !important;
  color: #FFFFFF !important;
  border-color: var(--pt-line-dark) !important;
}

/* --- the footer: a dark band, so its links are light --- */
body .v2-footer a { color: var(--pt-on-dark-2) !important; }
body .v2-footer a:hover { color: #FFFFFF !important; }
body .v2-footer .v2-logo-mark,
body .v2-footer .v2-logo-slash,
body .v2-footer .v2-logo-dot,
body .v2-footer .v2-logo-product { color: var(--pt-on-dark) !important; }
body .v2-footer .v2-footer-col h3 { color: var(--pt-on-dark) !important; }
body .v2-footer p { color: var(--pt-on-dark-2) !important; }

/* --- the mobile drawer: the dark panel --- */
body .nav-drawer.nav-drawer,
body .drawer-backdrop.drawer-backdrop {
  background: var(--pt-dark) !important;
  color: var(--pt-on-dark) !important;
}
body .nav-drawer.nav-drawer a,
body .nav-drawer.nav-drawer .drawer-close { color: var(--pt-on-dark) !important; }

/* --- the language dropdown --- */
body [data-lang-menu],
body .lang-menu { background: var(--pt-surface) !important; }
body .lang-opt { color: var(--pt-ink) !important; }
body .lang-opt.lang-active {
  background: var(--pt-ink) !important;
  color: var(--pt-paper) !important;
}

/* --- the bento tag --- */
body .v2-bento-tag { color: var(--pt-purple-deep) !important; }

/* --- the legacy action buttons (the inline-02 / inline-05 families) --- */
body a.btn.btn-primary,
body a.btn-primary,
body .btn-primary {
  background: var(--pt-purple) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: var(--pt-purple) !important;
}
body a.btn.btn-ghost,
body a.btn-ghost,
body .btn-ghost {
  background: transparent !important;
  color: var(--pt-purple-deep) !important;
  border: 1px solid var(--pt-line-2) !important;
}
body a.workflow-cta,
body .workflow-cta {
  background: var(--pt-purple) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: var(--pt-purple) !important;
}

/* --- the language toggle (it sits in the light nav) --- */
body .lang-opt {
  background: transparent !important;
  color: var(--pt-ink) !important;
  border-color: var(--pt-line-2) !important;
}
body .lang-opt.lang-active {
  background: var(--pt-ink) !important;
  color: var(--pt-paper) !important;
  border-color: var(--pt-ink) !important;
}

/* --- the pricing page components --- */
body .pricing-hero .lede,
body .lede { color: var(--pt-ink-2) !important; }
body .pricing-table .sub,
body .sub { color: var(--pt-muted) !important; }
body .pricing-hero .badge,
body .badge {
  background: var(--pt-purple-wash) !important;
  color: var(--pt-purple-deep) !important;
}

/* --- the ghost buttons on a dark band --- */
body .hp-cta-btn-ghost,
body .pt-btn-ghost,
body .pc-btn-ghost {
  background: transparent !important;
  color: #FFFFFF !important;
  border-color: var(--pt-line-dark) !important;
}
body .hp-cta-btn-ghost:hover,
body .pt-btn-ghost:hover,
body .pc-btn-ghost:hover {
  background: rgba(255, 255, 255, .10) !important;
  color: #FFFFFF !important;
}

/* --- the bento tag --- */
body .v2-bento-tag { color: var(--pt-purple-bright) !important; }

/* ============================================================
   9. THE LAST ADAPTER PASS
   These are the surfaces that the legacy pages built with their
   own names. Each one is bound to the system here.
   ============================================================ */

/* --- the legacy dark sticky header (nav.nav) --- */
body nav.nav,
body header.nav {
  background: var(--pt-dark) !important;
  color: var(--pt-on-dark) !important;
}
body nav.nav a,
body nav.nav li,
body nav.nav span,
body header.nav a { color: var(--pt-on-dark) !important; }
body nav.nav a:hover { color: #FFFFFF !important; }

/* --- the ghost buttons on a DARK band (this must come last:
       the generic btn-ghost rule above would otherwise win) --- */
body .hp-cta-btn-ghost,
body .pt-btn-ghost,
body .pc-btn-ghost {
  background: transparent !important;
  color: #FFFFFF !important;
  border-color: var(--pt-line-dark) !important;
}

/* --- the floating language toggle (a dark panel on a light page) --- */
body .lang-toggle-fixed {
  background: var(--pt-surface) !important;
  border: 1px solid var(--pt-line) !important;
  box-shadow: var(--pt-shadow-md) !important;
  color: var(--pt-ink) !important;
}

/* --- the FAQ section: its own light surface --- */
body .v3-faq,
body .spec-strip .v3-faq,
body .spec-strip .section {
  background: var(--pt-surface) !important;
  color: var(--pt-ink) !important;
}
body .v3-faq :is(h1, h2, h3) { color: var(--pt-ink) !important; }

/* --- the pricing hero --- */
body .pricing-hero h1 { color: var(--pt-ink) !important; }
body .pricing-hero :is(p, .lede) { color: var(--pt-ink-2) !important; }
body .pricing-hero .badge {
  background: #EDE9FE !important;
  color: var(--pt-purple-ink) !important;
}

/* --- the crosslinks title (a light page) --- */
body .v2-crosslinks-title { color: var(--pt-ink) !important; }
/* --- the last stragglers --- */
body .pricing-trust-strip p,
body .pricing-trust-strip span { color: var(--pt-ink-2) !important; }
body .pricing-hero a[style*="255,255,255"] { color: var(--pt-ink) !important; }
body .v2-cta-proof a,
body a[style*="92400e"] { color: var(--pt-on-dark) !important; }
body .spec-strip .section-h2 { color: var(--pt-ink) !important; }
/* --- the inline-styled legacy links: a pastel or translucent
       background needs DARK text, not the inherited light one --- */
body a[style*="background:#"] { color: var(--pt-ink) !important; }
body a[style*="255,255,255,0.1"],
body a[style*="255,255,255,0.08"] { color: var(--pt-ink) !important; }

/* --- the pricing hero paragraphs --- */
body .pricing-hero p { color: var(--pt-ink-2) !important; }

/* --- a section nested inside a dark strip gets its own surface --- */
body .spec-strip > section {
  background: var(--pt-surface) !important;
  color: var(--pt-ink) !important;
}
body .spec-strip > section :is(h1, h2, h3) { color: var(--pt-ink) !important; }

/* --- the logo year on a dark band --- */
body .v2-footer .v2-logo-year { color: var(--pt-on-dark-2) !important; }
/* --- the footer credits (a hard-coded brown on a dark band) --- */
body .v2-footer span[style*="92400e"],
body .v2-footer a[style*="92400e"]:not([style*="background"]) { color: var(--pt-on-dark-2) !important; }

/* --- the solutions note --- */
body .specs-note { color: var(--pt-ink-2) !important; }

/* --- the direct answer: dark text on the yellow panel ---
   The selector needs the `body .v2-hero` prefix: the legacy
   `body .v2-hero :is(p, li)` rule is (0,2,1) and would otherwise
   win over a plain (0,1,1) rule. */
body .v2-hero .direct-answer,
body .v2-cta-final .direct-answer,
body .direct-answer,
body .direct-answer strong,
body .direct-answer span,
body .direct-answer a { color: var(--pt-ink-2) !important; }
body .direct-answer strong { color: var(--pt-ink) !important; }

/* --- a strong or an external link inside body copy inherits it --- */
body p strong,
body li strong { color: inherit !important; }
body .v2-link-external { color: inherit !important; }
/* --- the hard-coded brown credits on a dark band --- */
body span[style*="92400e"]:not([style*="background"]),
body a[style*="92400e"]:not([style*="background"]),
body em[style*="92400e"]:not([style*="background"]) { color: var(--pt-on-dark-2) !important; }

/* --- a paragraph with a hard-coded white tint on a light surface --- */
body p[style*="255,255,255"] { color: var(--pt-ink-2) !important; }
/* --- the inline-style attribute variants (the spaces matter) --- */
body a[style*="background: #"] { color: var(--pt-ink) !important; }
body p[style*="255, 255, 255"] { color: var(--pt-ink-2) !important; }
body a[style*="255, 255, 255"] { color: var(--pt-ink) !important; }

/* --- the CTA band paragraphs --- */
body .v2-cta-final p,
body .v2-cta-inner p,
body .v2-cta-final span { color: var(--pt-on-dark-2) !important; }

/* ============================================================
   10. THE PURPLE + GLASS LAYER  (v2 — 2026-11-19)
   Danny: 「剩係得 hero 係科技紫色，其他都係白色？」
            「文字少啲精簡，用 visual 代替」
            「好似 Apple 嘅 icon 咁樣有玻璃化」
   The body stays legible (B2B buyers read specs and prices) but
   the PURPLE now lives everywhere: a fixed cosmic mesh behind the
   page, deep cosmic purple brand anchors, and Apple glass on
   every elevated surface.
   ============================================================ */

/* --- the cosmic purple mesh behind the whole page --- */
body {
  background-color: var(--pt-paper) !important;
  background-image:
    radial-gradient(880px 620px at 6% -6%,  rgba(124, 58, 237, .14), transparent 60%),
    radial-gradient(820px 560px at 96% 4%,  rgba(168, 85, 247, .13), transparent 58%),
    radial-gradient(1100px 720px at 50% 104%, rgba(91, 33, 182, .10), transparent 60%) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* --- the deep cosmic purple brand anchors (multi-radial, NOT a stripe) --- */
/* the legacy v3-light-base pins `body .v2-hero { background-image: none !important }`
   at (0,2,1) — so the cosmic gradient needs the SAME weight, matched later. */
body .v2-hero.v2-hero,
body section.v2-hero,
body .v2-cta-final.v2-cta-final,
body section.v2-cta-final,
body .v2-footer.v2-footer,
body footer.v2-footer,
body .pc-cta.pc-cta,
body .section.cta-final.cta-final {
  background-color: #0B0A14 !important;
  background-image:
    radial-gradient(900px 540px at 16% -12%, rgba(168, 85, 247, .46), transparent 62%),
    radial-gradient(840px 560px at 88% 6%,   rgba(124, 58, 237, .48), transparent 60%),
    linear-gradient(158deg, #0B0A14 0%, #1B1133 46%, #120B24 100%) !important;
  background-repeat: no-repeat !important;
}
body .v2-hero::after {
  background: radial-gradient(120% 90% at 78% 6%, rgba(168, 85, 247, .22) 0%, rgba(124, 58, 237, 0) 55%) !important;
}
body .v2-mesh-canvas { opacity: .34 !important; filter: saturate(.7) !important; }

/* --- the Apple glass surface (every elevated element) --- */
body .pt-glass,
body .v2-nav,
body .hp-tile,
body .pt-tile,
body .pt-craft,
body .hp-craft > div,
body .pt-case,
body .hp-case,
body .hp-fact,
body .pt-fact,
body .v3-faq-list details,
body .pt-faq-item,
body .v2-sticky-cta,
body .v2-trust-badge,
body .v2-pos-point,
body .v2-feature-card,
body .v2-craft-card,
body .v2-bento-card {
  background: rgba(255, 255, 255, .62) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, .60) !important;
  box-shadow:
    0 8px 28px rgba(24, 12, 64, .10),
    inset 0 1px 0 rgba(255, 255, 255, .78) !important;
}
body .hp-tile:hover,
body .pt-tile:hover,
body .pt-craft:hover,
body .hp-craft > div:hover,
body .pt-case:hover,
body .hp-case:hover {
  background: rgba(255, 255, 255, .78) !important;
  border-color: rgba(124, 58, 237, .32) !important;
  box-shadow:
    0 14px 40px rgba(24, 12, 64, .14),
    0 0 0 1px rgba(124, 58, 237, .14),
    inset 0 1px 0 rgba(255, 255, 255, .85) !important;
}

/* the glass needs something colourful behind it to read as glass */
body .v2-nav {
  background: rgba(255, 255, 255, .72) !important;
  border-bottom: 1px solid rgba(124, 58, 237, .12) !important;
}

/* --- the icon tile: the visual that replaces a paragraph --- */
body .pt-icon,
body .hp-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, rgba(124, 58, 237, .17), rgba(168, 85, 247, .10)) !important;
  border: 1px solid rgba(124, 58, 237, .20) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7) !important;
  color: var(--pt-purple-deep) !important;
  margin-bottom: 16px !important;
}
body .pt-icon svg,
body .hp-icon svg {
  width: 23px !important;
  height: 23px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* the product cutout visual */
body .pt-shot,
body .hp-shot {
  display: block !important;
  width: 100% !important;
  height: 132px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 0 14px !important;
  filter: drop-shadow(0 10px 18px rgba(24, 12, 64, .16)) !important;
  transition: transform var(--pt-dur) var(--pt-ease-out) !important;
}
body .hp-tile:hover .hp-shot,
body .pt-tile:hover .pt-shot { transform: translateY(-4px) scale(1.04) !important; }

/* --- the card title + one short line (the copy is deliberately short) --- */
body .hp-tile h3,
body .pt-tile h3 {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: var(--pt-ink) !important;
  margin: 0 0 4px !important;
  letter-spacing: -.2px !important;
}
body .hp-tile p,
body .pt-tile p {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--pt-ink-2) !important;
  margin: 0 !important;
  max-width: 22ch !important;
}

/* --- the purple accent rule that draws itself in --- */
body .pt-rule {
  background: linear-gradient(90deg, var(--pt-purple), var(--pt-purple-bright)) !important;
}

/* --- the section wash: an alternating lavender band --- */
body .hp-sec-alt {
  background: linear-gradient(180deg, rgba(124, 58, 237, .055) 0%, rgba(124, 58, 237, 0) 100%) !important;
}

/* --- the glass pill (a trust badge, a stat) --- */
body .v2-trust-badge,
body .pt-pill {
  background: rgba(255, 255, 255, .55) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  box-shadow: 0 4px 18px rgba(24, 12, 64, .08), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
  color: var(--pt-ink) !important;
}
body .v2-trust-text strong { color: var(--pt-ink) !important; }
body .v2-trust-text span { color: var(--pt-ink-2) !important; }
/* --- the white product cutouts need a purple spotlight to read --- */
body .hp-tile { position: relative !important; overflow: hidden !important; }
body .hp-tile::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 30px !important;
  transform: translateX(-50%) !important;
  width: 170px !important;
  height: 128px !important;
  background: radial-gradient(ellipse at center,
    rgba(124, 58, 237, .22) 0%, rgba(168, 85, 247, .12) 45%, rgba(168, 85, 247, 0) 72%) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
body .hp-shot {
  position: relative !important;
  z-index: 1 !important;
  filter: drop-shadow(0 12px 22px rgba(24, 12, 64, .26)) !important;
}
body .hp-tile-kind,
body .hp-tile h3,
body .hp-tile p,
body .hp-tile-go { position: relative !important; z-index: 1 !important; }
/* --- the tote needs a tinted panel (the white bag has no contrast) --- */
body .pt-shot-panel {
  background: linear-gradient(160deg, rgba(124, 58, 237, .13), rgba(168, 85, 247, .07)) !important;
  border-radius: 12px !important;
  padding: 6px !important;
}

/* --- the real photograph in the printing-craft block --- */
body .hp-craft-photo {
  grid-column: 1 / -1 !important;
  margin: 0 0 26px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .6) !important;
  background: rgba(255, 255, 255, .55) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 10px 34px rgba(24, 12, 64, .12), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
  position: relative !important;
}
body .hp-craft-photo img {
  display: block !important;
  width: 100% !important;
  height: 300px !important;
  object-fit: cover !important;
  object-position: center 42% !important;
}
body .hp-craft-photo figcaption {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 34px 22px 16px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  background: linear-gradient(180deg, rgba(11, 10, 20, 0) 0%, rgba(11, 10, 20, .82) 62%) !important;
}
@media (max-width: 720px) {
  body .hp-craft-photo img { height: 210px !important; }
}
/* --- the yellow callout links (the FAQ / about panels) --- */
body [style*="background:#fef3c7"] a,
body [style*="background: #fef3c7"] a { color: var(--pt-ink) !important; }
body [style*="background:#fef3c7"] strong,
body [style*="background: #fef3c7"] strong { color: var(--pt-ink) !important; }
