/* Phase 4: Local Font Hosting - Removed Google Fonts @import */

/* Be Vietnam Pro - Used globally */

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/wp-content/uploads/fonts/be-vietnam-pro/BeVietnamPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/wp-content/uploads/fonts/be-vietnam-pro/BeVietnamPro-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/wp-content/uploads/fonts/be-vietnam-pro/BeVietnamPro-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/wp-content/uploads/fonts/be-vietnam-pro/BeVietnamPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/wp-content/uploads/fonts/be-vietnam-pro/BeVietnamPro-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Be Vietnam Pro is the single UI typeface site-wide: a Vietnamese-designed
   Neo-Grotesk whose diacritics are drawn into each glyph (not assembled), so VN
   text renders in one consistent face. Each weight is a full-charset woff2 — NO
   unicode-range subset splitting — which previously broke: a latin-only subset
   dropped the VN glyphs, and even after fixing that the multi-subset @font-face
   were fragile through LiteSpeed CSS-combine. One full font per weight = robust. */

/* Space Grotesk — display/headings. One variable woff2 subset to
   latin + latin-ext + vietnamese (full VN diacritics, NO unicode-range
   split). Mirrors the Be Vietnam Pro setup above: multi-subset @font-face
   are fragile through LiteSpeed CSS-combine and previously dropped VN
   glyphs (a latin-only file). One merged variable file = robust. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('/wp-content/uploads/fonts/space-grotesk/SpaceGrotesk-VN.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* JetBrains Mono — eyebrows/labels. One variable woff2, same merged
   latin + latin-ext + vietnamese coverage, no unicode-range split. */

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/wp-content/uploads/fonts/jetbrains-mono/JetBrainsMono-VN.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: Be Vietnam Pro, system-ui, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: JetBrains Mono, ui-monospace, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* Design tokens — single source of truth for color + motion.
     Consumed by component @apply blocks and semantic aliases below.
     Per-product accent is delivered separately via inline `--brand`
     (set on the product wrapper); classes read var(--brand). Keep that
     mechanism untouched — Tailwind safelist stays static, no dynamic classes. */

:root {
    /* Primary scale (600 is a real darker step than 500, used by nav hover) */
    --primary-500: #008ae5;
    --primary-600: #0079cc;
    --primary-700: #0066ad;
    /* Accent = fill / icon / badge ONLY. #FF6B35 on white ≈ 2.7:1 → never body text on light (fails 4.5:1). */
    --accent-500: #FF6B35;
    /* Surfaces + text (light) */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-strong: #111827;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-focus: #008ae5;
    /* Dark sections (hero band, footer, dark eco cards) */
    --color-dark-bg: #0b132b;
    --color-dark-surface: #111827;
    --color-dark-text: #f1f5f9;
    --color-dark-text-muted: #94a3b8;
    /* Motion sub-system — durations neutralized to 0 under prefers-reduced-motion (guard owned globally elsewhere) */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast: 150ms;
    --dur-base: 300ms;
    --dur-slow: 600ms;
    /* Shadow depth scale — one consistent elevation system for cards/popovers */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
    /* Section vertical rhythm as vars (mirrors Tailwind spacing tokens for non-utility use) */
    --section-sm: clamp(2.5rem, 2rem + 2vw, 4rem);
    --section-md: clamp(3.5rem, 2.5rem + 3vw, 6rem);
    --section-lg: clamp(5rem, 3.5rem + 4vw, 8rem);

    /* Switchboard template tokens (light theme). --blue aliases the existing
       primary scale to stay DRY; the rest are genuinely new brand tones. */
    --blue: var(--primary-500);
    --blue-dk: #0071BE;
    --blue-d2: #075a93;
    --sky: #46C2FF;
    --ok: #1ba672;
    --ink: #0a1a30;
    --slate: #54627a;
    /* --mist darkened from the template #8995ab (~2.9:1 on --bg, fails AA for
       small text) to ~4.5:1 so micro-labels stay legible. */
    --mist: #6b7896;
    --line: #d2e7f7;
    --line2: #e9f4fd;
    --bg: #F1F8FE;
    --card: #ffffff;
    --tint: #E1F2FD;
    --tint2: #F0F9FF;
    --navy: #072338;
    /* Switchboard elevation + layout (navy-tinted shadows, not pure black) */
    --shadow-s: 0 12px 28px -20px rgba(10, 26, 48, .5);
    --shadow-m: 0 22px 50px -32px rgba(10, 26, 48, .45);
    --shadow-l: 0 40px 90px -42px rgba(10, 26, 48, .55);
    --maxw: 1200px;
    --hdr-h: 68px;
    /* Font-stack aliases so ported Switchboard component CSS reads cleanly */
    --display: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    --body: 'Be Vietnam Pro', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
  }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
  }

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: var(--bg);
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
  }

/* Semantic heading hierarchy. Display font is Space Grotesk (full VN
     coverage), falling back to Be Vietnam Pro for any glyph it lacks; fluid
     token sizes from the config fontSize scale. The `body` prefix raises
     specificity to (0,0,2) so this outranks Kadence's late-loaded inline
     `h1..h6{font-family:var(--global-heading-font-family)}` (which resolves to
     `inherit` → the body font) without resorting to !important. */

body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    color: var(--color-text-strong);
  }

h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.3;
}

h5 {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.4;
}

h6 {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}

/* =========================================================================
     DESIGN SYSTEM — canonical components (additive).
     Legacy one-off classes (.btn-add-to-cart, .product-card, .proxy-btn-*)
     are intentionally NOT re-pointed here; the page-rework phases compose them
     onto these bases where the visual change can be reviewed on that page.
     ========================================================================= */

/* Non-heading semantic text (component names differ from the text-* size
     utilities to avoid an @apply self-reference). */

.lead {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  line-height: 1.6; color: var(--color-text-muted);
}

.caption {
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.01em; color: var(--color-text-muted);
}

/* --- Buttons: 3 variants x 3 sizes x states, min 44px tap target --- */

.btn {
  display: inline-flex;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
    min-height: 44px;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.btn:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-offset-width: 2px; --tw-ring-color: var(--color-focus);
}

.btn:disabled, .btn.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-primary {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1)); background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
}

.btn-primary:hover {
  --tw-translate-y: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-secondary {
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); color: var(--primary-700); border-color: var(--primary-500);
}

.btn-secondary:hover { background: #e6f4ff; }

.btn-ghost {
  background-color: transparent; color: var(--color-text);
}

.btn-ghost:hover { background: var(--color-bg); }

.btn-sm {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.btn-md {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

/* --- Badges: semantic + brand (all pairings >= 4.5:1) --- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-success {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1));
}

.badge-warning {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}

.badge-info {
  --tw-bg-opacity: 1;
  background-color: rgb(224 242 254 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(7 89 133 / var(--tw-text-opacity, 1));
}

/* --- Cards: shared base + variants, one shadow scale --- */

.card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.card:hover { box-shadow: var(--shadow-lg); }

.card--product:hover {
  --tw-translate-y: -0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); border-color: #66bdff;
}

/* --- Forms: visible label, 44px inputs, error via text+icon+aria (not color-only) --- */

.field {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.field__label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500; color: var(--color-text);
}

.page-template-template-homepage main.input,.page-template-template-homepage main .textarea,.page-template-template-homepage main .select {
    max-width: none;
    width: 100%;
  }

.page-template-template-homepage section.input,.page-template-template-homepage section .textarea,.page-template-template-homepage section .select {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-templatestemplate-outsource-php main.input,.page-template-page-templatestemplate-outsource-php main .textarea,.page-template-page-templatestemplate-outsource-php main .select {
    max-width: none;
    width: 100%;
  }

.page-template-page-templatestemplate-outsource-php section.input,.page-template-page-templatestemplate-outsource-php section .textarea,.page-template-page-templatestemplate-outsource-php section .select {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-proxy-php main.input,.page-template-page-proxy-php main .textarea,.page-template-page-proxy-php main .select {
    max-width: none;
    width: 100%;
  }

.page-template-page-proxy-php section.input,.page-template-page-proxy-php section .textarea,.page-template-page-proxy-php section .select {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.input, .textarea, .select {
  width: 100%;
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
    border-color: var(--color-border);
    color: var(--color-text);
    min-height: 44px;
}

.input::-moz-placeholder, .textarea::-moz-placeholder { color: var(--color-text-muted); }

.input::placeholder, .textarea::placeholder { color: var(--color-text-muted); }

.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-offset-width: 1px;
    border-color: var(--primary-500);
    --tw-ring-color: var(--color-focus);
}

.textarea {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem; min-height: 120px;
}

/* --- Header "Sản Phẩm" simple dropdown (desktop) --- */

.\!dropdown {
  position: relative;
}

.dropdown {
  position: relative;
}

/* Old mobile-drawer styles removed: the #mobileDrawer markup they styled was
     retired with the chrome rebuild. The current right-slide drawer owns the
     .drawer class on its own (its inset-0 here was overriding the new right-
     anchored transform, leaving the panel visible on desktop). */

/* --- Homepage hero --- */

/* --- How-it-works steps --- */

.step {
  position: relative;
}

/* --- Why-choose pillars + ecosystem-connect --- */

/* --- Trust stats + logo wall --- */

.stat__num {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
}

@media (min-width: 768px) {

  .stat__num {
    font-size: 3rem;
    line-height: 1;
  }
}

.stat__num { font-family: 'Be Vietnam Pro', sans-serif; font-variant-numeric: tabular-nums; }

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.logo-placeholder {
  margin-left: 2rem;
  margin-right: 2rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); width: 140px; height: 48px;
}

/* --- FAQ: native <details>, accessible by default, 0 JS --- */

.faq-item {
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

@media (min-width: 640px) {

  .faq-item {
    padding: 1.25rem;
  }
}

.faq-item:hover, .faq-item[open] { border-color: var(--primary-500); }

.faq-summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1)); list-style: none; min-height: 44px;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary::after { content: "+"; font-size: 1.5rem; line-height: 2rem; font-weight: 400; line-height: 1; --tw-text-opacity: 1; color: rgb(0 121 204 / var(--tw-text-opacity, 1)); }

.faq-item[open] .faq-summary::after { content: "−"; }

.faq-summary:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 138 229 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 2px;
}

.faq-answer {
  margin-top: 0.75rem;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

/* --- Sticky mobile CTA (md:hidden, safe-area aware) --- */

.sticky-cta {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 40;
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 0.75rem;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

/* --- Skip-to-content link (off-screen until focused) --- */

.skip-link {
  position: absolute;
  left: 1rem;
  z-index: 100;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 600;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); top: -4rem; color: var(--primary-700); transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 121 204 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 2px; top: 1rem;
}

/* Shop Page Specific Styles */

/* Light Hero Gradient with Soft Glow */

.shop-hero-gradient {
    background: linear-gradient(135deg,
      rgba(0, 138, 229, 0.08) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(0, 138, 229, 0.06) 100%
    );
    position: relative;
    border: 1px solid rgba(0, 138, 229, 0.1);
    overflow: hidden;
  }

.shop-hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 30% 40%, rgba(0, 138, 229, 0.12) 0%, transparent 60%),
      radial-gradient(circle at 70% 60%, rgba(0, 138, 229, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

.shop-hero-gradient > * {
    position: relative;
    z-index: 1;
  }

/* Glassmorphism Sidebar Card - Light Theme */

.sidebar-card {
  border-radius: 1rem;
  border-width: 1px;
  border-color: rgb(226 232 240 / 0.6);
  background-color: rgb(255 255 255 / 0.9);
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-backdrop-blur: blur(24px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
}

.sidebar-card:hover {
  border-color: rgb(59 130 246 / 0.3);
  --tw-shadow-color: rgb(59 130 246 / 0.1);
  --tw-shadow: var(--tw-shadow-colored);
}

.sidebar-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 138, 229, 0.05);
  }

.sidebar-card:hover {
    box-shadow: 0 8px 24px rgba(0, 138, 229, 0.15), 0 0 0 1px rgba(0, 138, 229, 0.2);
  }

/* Hide duplicate category list in sidebar, keep WooCommerce Product Filters widget */

aside .sidebar-card > div > ul:first-of-type:not([class*="woocommerce"]) {
    display: none !important;
  }

/* More specific: hide category links list that appears before Product Filters dialog */

aside .sidebar-card > div > ul[style=""] {
    display: none !important;
  }

/* Light Product Cards with Soft Hover */

.product-card {
  overflow: hidden;
  border-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.06),
      0 0 0 1px rgba(0, 138, 229, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
      rgba(0, 138, 229, 0.06) 0%,
      transparent 50%,
      rgba(255, 107, 53, 0.04) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
  }

.product-card:hover {
  --tw-translate-y: -0.75rem;
  --tw-scale-x: 1.02;
  --tw-scale-y: 1.02;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    border-color: rgba(0, 138, 229, 0.2);
    box-shadow:
      0 12px 30px rgba(0, 138, 229, 0.15),
      0 0 0 1px rgba(0, 138, 229, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 1);
}

.product-card:hover::after {
    opacity: 1;
  }

.product-image-container {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.page-template-template-homepage main.product-image {
    max-width: none;
    width: 100%;
  }

.page-template-template-homepage section.product-image {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-templatestemplate-outsource-php main.product-image {
    max-width: none;
    width: 100%;
  }

.page-template-page-templatestemplate-outsource-php section.product-image {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-proxy-php main.product-image {
    max-width: none;
    width: 100%;
  }

.page-template-page-proxy-php section.product-image {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.product-image {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.1);
  }

/* Soft Badges */

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  border-radius: 9999px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    font-family: 'Be Vietnam Pro', sans-serif;
}

.product-badge-sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  }

.product-badge-new {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    box-shadow: 0 4px 12px rgba(0, 138, 229, 0.4);
    animation: pulse-subtle 2.5s ease-in-out infinite;
  }

@keyframes pulse-subtle {
    0%, 100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.92;
      transform: scale(1.05);
    }
  }

.product-hover-overlay {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 10;
  padding: 1.25rem;
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
  --tw-gradient-from: rgb(0 0 0 / 0.7) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.4) var(--tw-gradient-via-position), var(--tw-gradient-to);
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
  opacity: 0;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transform: translateY(20px);
}

.product-card:hover .product-hover-overlay {
  opacity: 1;
    transform: translateY(0);
}

.page-template-template-homepage main.btn-add-to-cart {
    max-width: none;
    width: 100%;
  }

.page-template-template-homepage section.btn-add-to-cart {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-templatestemplate-outsource-php main.btn-add-to-cart {
    max-width: none;
    width: 100%;
  }

.page-template-page-templatestemplate-outsource-php section.btn-add-to-cart {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-proxy-php main.btn-add-to-cart {
    max-width: none;
    width: 100%;
  }

.page-template-page-proxy-php section.btn-add-to-cart {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.btn-add-to-cart {
  width: 100%;
  border-radius: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 800;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    box-shadow: 0 4px 16px rgba(0, 138, 229, 0.4), 0 0 24px rgba(0, 138, 229, 0.15);
    color: #ffffff !important;
}

.btn-add-to-cart:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    box-shadow: 0 6px 24px rgba(0, 138, 229, 0.6), 0 0 32px rgba(0, 138, 229, 0.25);
    color: #ffffff !important;
}

.btn-add-to-cart:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Product Title with Gradient Fade for Ellipsis */

.product-title {
    position: relative;
  }

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%;
    height: 1.375em; /* One line height with leading-snug */
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
    pointer-events: none;
    opacity: 0.9;
    z-index: 5;
  }

/* Fade out gradient on hover to hint at full text */

.product-card:hover .product-title::after {
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }

/* Price Slider Styles */

/* Sticky Header Enhancement */

/* Hide WooCommerce default page title that appears after featured product */

.entry-header.product-archive-title {
    display: none !important;
  }

/* ==========================================
     HOMEPAGE TEMPLATE FULL-WIDTH OVERRIDE
     ========================================== */

/* Override Kadence theme's .site-main max-width constraint for homepage template */

.page-template-template-homepage .site-main {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

/* Ensure sections can be full-width */

.page-template-template-homepage main.w-full {
    max-width: none !important;
    width: 100% !important;
  }

/* Allow sections to extend full width */

.page-template-template-homepage section.w-full {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

/* ==========================================
     OUTSOURCE PAGE FULL-WIDTH OVERRIDE
     ========================================== */

/* Override Kadence theme's .site-main max-width constraint for outsource page */

.page-template-page-templatestemplate-outsource-php .site-main {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

/* Ensure outsource main can be full-width */

.page-template-page-templatestemplate-outsource-php main.w-full {
    max-width: none !important;
    width: 100% !important;
  }

/* Allow outsource sections to extend full width */

.page-template-page-templatestemplate-outsource-php section.w-full {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

/* ==========================================
     PROXY PAGE FULL-WIDTH OVERRIDE
     ========================================== */

/* Override Kadence theme's .site-main max-width constraint for proxy page */

.page-template-page-proxy-php .site-main {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

/* Ensure proxy main can be full-width */

.page-template-page-proxy-php main.w-full {
    max-width: none !important;
    width: 100% !important;
  }

/* Allow proxy sections to extend full width */

.page-template-page-proxy-php section.w-full {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

/* ==========================================
     CONTACT PAGE FULL-WIDTH OVERRIDE
     ========================================== */

/* Override Kadence theme's .site-main max-width constraint for contact page */

.page-template-page-contact-php .site-main {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

/* Create full-width background wrapper for contact page */

.page-template-page-contact-php .contact-full-width-wrapper {
    width: 100vw !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #f8fafc; /* Match body background */
    min-height: 100vh;
  }

/* ==========================================
     HEADER & FOOTER STYLES
     ========================================== */

/* Header Glassmorphism with fallback */

/* Fallback for browsers that don't support backdrop-filter */

/* Header scroll effect */

/* Mobile menu */

.mobile-menu {
  transition-property: all;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  opacity: 1;
    transform: translateY(0);
}

.mobile-menu.hidden {
  opacity: 0;
    transform: translateY(-10px);
}

/* Footer gradient */

/* Navigation link transitions */

/* Remove bullet points from navigation menu */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

nav li {
    list-style: none !important;
    list-style-type: none !important;
  }

/* Navigation link hover effect - primary-600 color */

nav li a {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

nav li a:hover {
  --tw-text-opacity: 1;
  color: rgb(0 121 204 / var(--tw-text-opacity, 1));
}

/* Focus states for accessibility — :focus-visible so the ring shows for
     keyboard users but not on mouse click (avoids ring-flash on tap). */

a:focus-visible, button:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 121 204 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 2px;
}

/* ==========================================
     ACCOUNT DROPDOWN MENU
     ========================================== */

/* Account dropdown container */

.account-dropdown {
  position: relative;
}

/* Account menu button */

.account-dropdown button {
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Dropdown arrow rotation when menu is open */

.account-dropdown button[aria-expanded="true"] svg:last-child {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Account dropdown menu */

.account-menu {
  z-index: 50;
    animation: slideDown 0.2s ease-out;
}

/* Slide down animation */

@keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* Menu items */

.account-menu a {
  display: block;
}

/* Menu item hover effect */

.account-menu a:hover {
  text-decoration-line: none;
}

/* Mobile responsive - full width menu on small screens */

@media (max-width: 640px) {
    .account-menu {
    left: 0px;
    right: 0px;
    width: 100vw;
    border-radius: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
  }
  }

/* ==========================================
     ECOSYSTEM HUB — brand bar, signpost, cards
     Per-item accent arrives as the inline `--brand` CSS var, so no
     dynamic Tailwind classes are needed (keeps the static safelist valid).
     ========================================== */

/* Homepage brand bar (sits above the sticky header) */

.brand-bar .container::-webkit-scrollbar {
    display: none;
  }

/* Right-edge fade hints the chips are horizontally scrollable on mobile,
     where the label + 4 chips overflow the viewport. */

/* Inner-page signpost pill (links to homepage #ecosystem) */

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
    background: var(--primary-500);
}

.pill:hover {
  --tw-translate-y: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    color: #fff;
}

/* Ecosystem cards */

.eco-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.eco-card:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-color: var(--brand);
}

.eco-card--dark {
  border-color: transparent;
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
    background: var(--color-dark-bg);
}

.eco-card__shot {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.page-template-template-homepage main.eco-card__shot img {
    max-width: none;
    width: 100%;
  }

.page-template-template-homepage section.eco-card__shot img {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-templatestemplate-outsource-php main.eco-card__shot img {
    max-width: none;
    width: 100%;
  }

.page-template-page-templatestemplate-outsource-php section.eco-card__shot img {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-proxy-php main.eco-card__shot img {
    max-width: none;
    width: 100%;
  }

.page-template-page-proxy-php section.eco-card__shot img {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.eco-card__shot img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
}

.eco-card:hover .eco-card__shot img {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.eco-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border-radius: 9999px;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    background: var(--brand);
}

.eco-card__body {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  padding: 1.25rem;
}

.eco-card__head {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.eco-card__logo {
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
    -o-object-fit: contain;
       object-fit: contain;
}

.eco-card__name {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
    color: var(--color-text-strong); /* explicit: parent theme styles h3 by element, beating inherited colour */
}

.eco-card--dark .eco-card__name {
    color: #fff;
  }

.eco-card__tagline {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
    color: var(--brand);
}

.eco-card__desc {
  flex: 1 1 0%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.eco-card--dark .eco-card__desc {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.eco-card__metric {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 9999px;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.eco-card--dark .eco-card__metric {
    color: #fff;
    background: color-mix(in srgb, var(--brand) 28%, transparent);
  }

.eco-card__cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
    color: var(--brand);
}

.eco-card__cta:hover {
  gap: 0.5rem;
}

.eco-card__cta--alt {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  opacity: 0.8;
}

.eco-card__cta--disabled {
  cursor: default;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.eco-card--dark .eco-card__cta--disabled {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

/* ==========================================
     WOOCOMMERCE — account + review forms
     WooCommerce ships raw default controls; map them onto the canonical
     .input / .btn look so login/register/review match the styled /contact form.
     ========================================== */

/* Login + Register columns -> design-system cards */

.woocommerce-account .col2-set .col-1,
  .woocommerce-account .col2-set .col-2,
  .woocommerce-account .u-column1,
  .woocommerce-account .u-column2 {
  border-radius: 1rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
}

@media (min-width: 640px) {

  .woocommerce-account .col2-set .col-1,
  .woocommerce-account .col2-set .col-2,
  .woocommerce-account .u-column1,
  .woocommerce-account .u-column2 {
    padding: 2rem;
  }
}

.woocommerce-account .col2-set .col-1,
  .woocommerce-account .col2-set .col-2,
  .woocommerce-account .u-column1,
  .woocommerce-account .u-column2 {
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
  }

/* Text inputs + textareas */

.page-template-template-homepage main.woocommerce form .form-row input.input-text,.page-template-template-homepage main
  .woocommerce form .form-row textarea,.page-template-template-homepage main
  .woocommerce-account input.input-text,.page-template-template-homepage main
  .woocommerce #review_form #respond input[type="text"],.page-template-template-homepage main
  .woocommerce #review_form #respond input[type="email"],.page-template-template-homepage main
  .woocommerce #review_form #respond textarea {
    max-width: none;
    width: 100%;
  }

.page-template-template-homepage section.woocommerce form .form-row input.input-text,.page-template-template-homepage section
  .woocommerce form .form-row textarea,.page-template-template-homepage section
  .woocommerce-account input.input-text,.page-template-template-homepage section
  .woocommerce #review_form #respond input[type="text"],.page-template-template-homepage section
  .woocommerce #review_form #respond input[type="email"],.page-template-template-homepage section
  .woocommerce #review_form #respond textarea {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-templatestemplate-outsource-php main.woocommerce form .form-row input.input-text,.page-template-page-templatestemplate-outsource-php main
  .woocommerce form .form-row textarea,.page-template-page-templatestemplate-outsource-php main
  .woocommerce-account input.input-text,.page-template-page-templatestemplate-outsource-php main
  .woocommerce #review_form #respond input[type="text"],.page-template-page-templatestemplate-outsource-php main
  .woocommerce #review_form #respond input[type="email"],.page-template-page-templatestemplate-outsource-php main
  .woocommerce #review_form #respond textarea {
    max-width: none;
    width: 100%;
  }

.page-template-page-templatestemplate-outsource-php section.woocommerce form .form-row input.input-text,.page-template-page-templatestemplate-outsource-php section
  .woocommerce form .form-row textarea,.page-template-page-templatestemplate-outsource-php section
  .woocommerce-account input.input-text,.page-template-page-templatestemplate-outsource-php section
  .woocommerce #review_form #respond input[type="text"],.page-template-page-templatestemplate-outsource-php section
  .woocommerce #review_form #respond input[type="email"],.page-template-page-templatestemplate-outsource-php section
  .woocommerce #review_form #respond textarea {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.page-template-page-proxy-php main.woocommerce form .form-row input.input-text,.page-template-page-proxy-php main
  .woocommerce form .form-row textarea,.page-template-page-proxy-php main
  .woocommerce-account input.input-text,.page-template-page-proxy-php main
  .woocommerce #review_form #respond input[type="text"],.page-template-page-proxy-php main
  .woocommerce #review_form #respond input[type="email"],.page-template-page-proxy-php main
  .woocommerce #review_form #respond textarea {
    max-width: none;
    width: 100%;
  }

.page-template-page-proxy-php section.woocommerce form .form-row input.input-text,.page-template-page-proxy-php section
  .woocommerce form .form-row textarea,.page-template-page-proxy-php section
  .woocommerce-account input.input-text,.page-template-page-proxy-php section
  .woocommerce #review_form #respond input[type="text"],.page-template-page-proxy-php section
  .woocommerce #review_form #respond input[type="email"],.page-template-page-proxy-php section
  .woocommerce #review_form #respond textarea {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

.woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce-account input.input-text,
  .woocommerce #review_form #respond input[type="text"],
  .woocommerce #review_form #respond input[type="email"],
  .woocommerce #review_form #respond textarea {
  width: 100%;
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
    border-color: var(--color-border);
    color: var(--color-text);
    min-height: 44px;
}

.woocommerce #review_form #respond textarea {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
    min-height: 120px;
}

.woocommerce form .form-row input.input-text:focus,
  .woocommerce form .form-row textarea:focus,
  .woocommerce-account input.input-text:focus,
  .woocommerce #review_form #respond input:focus,
  .woocommerce #review_form #respond textarea:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-offset-width: 1px;
    border-color: var(--primary-500);
    --tw-ring-color: var(--color-focus);
}

/* Labels */

.woocommerce-account .woocommerce-form-row > label,
  .woocommerce #review_form label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
    color: var(--color-text);
}

/* Buttons -> brand primary gradient (matches .btn-primary) */

.woocommerce form .button,
  .woocommerce-account button.button,
  .woocommerce #review_form #respond input#submit,
  .woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700)) !important;
    border: 0 !important;
}

.woocommerce form .button:hover,
  .woocommerce-account button.button:hover,
  .woocommerce #review_form #respond input#submit:hover,
  .woocommerce #respond input#submit:hover {
  --tw-translate-y: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Links + product tabs in brand */

.woocommerce-account .lost_password a,
  .woocommerce-tabs ul.tabs li a {
    color: var(--primary-700);
  }

.woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-500);
  }

/* Unified page-hero band: one light brand gradient used across every page
     header so the whole site reads as a single system. Home + outsource already
     use this tone; .page-hero is applied to the plainer subpage heroes, and the
     WooCommerce/Kadence default hero is mapped onto the same gradient below. */

.page-hero {
    background: linear-gradient(135deg,
      color-mix(in srgb, var(--primary-500) 7%, white) 0%,
      color-mix(in srgb, var(--primary-500) 13%, white) 100%);
  }

.page-hero__eyebrow {
  margin-bottom: 0.75rem;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
    color: var(--primary-700);
}

/* WooCommerce/Kadence default hero (account, store, single-product) -> same
     light gradient + dark title. Scoped to WC body classes (store pages only);
     custom-template pages bring their own hero. */

.woocommerce-page .entry-hero-container-inner,
  .single-product .entry-hero-container-inner {
    background: linear-gradient(135deg,
      color-mix(in srgb, var(--primary-500) 7%, white) 0%,
      color-mix(in srgb, var(--primary-500) 13%, white) 100%) !important;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
  }

.woocommerce-page .entry-hero-container-inner .entry-title,
  .single-product .entry-hero-container-inner .entry-title {
    color: var(--color-text) !important;
  }

/* Breadcrumbs (Kadence single-product + WC archive) -> tokenized + brand hover */

.kadence-breadcrumbs,
  .woocommerce-breadcrumb {
  font-size: 0.875rem;
  line-height: 1.25rem;
    color: var(--color-text-muted);
}

.kadence-breadcrumbs a,
  .woocommerce-breadcrumb a {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
    color: var(--color-text-muted);
}

.kadence-breadcrumbs a:hover,
  .woocommerce-breadcrumb a:hover {
    color: var(--primary-600);
  }

.kadence-breadcrumbs .bc-delimiter {
    color: var(--color-border);
  }

/* =========================================================================
     CHROME — sticky header, mega-menu, mobile drawer, navy footer, FAQ
     Ported from template bt-h.css (header/mega/drawer/footer/scrim/soon/burger
     sections). .lang rules intentionally NOT ported — Vietnamese-only site.
     ========================================================================= */

/* --- Header base --- */

.hdr {
    position: sticky; top: 0; z-index: 100;
    transition: background .25s, box-shadow .25s, border-color .25s;
    border-bottom: 1px solid transparent;
  }

.hdr.scrolled {
    background: rgba(243,248,255,.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    box-shadow: 0 4px 24px -18px rgba(10,26,48,.5);
  }

.hdr-in {
    max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
    height: var(--hdr-h); display: flex; align-items: center; gap: 26px;
  }

.hdr-brand {
    display: flex; align-items: center; gap: 11px; flex-shrink: 0;
    text-decoration: none;
  }

.hdr-brand img { width: 34px; height: 34px; border-radius: 9px; }

.hdr-brand b  { font-family: var(--display); font-size: 17px; letter-spacing: -.02em; color: var(--ink); }

.hdr-nav {
    display: flex; align-items: center; gap: 4px; height: 100%;
  }

.hdr-nav > a,
  .hdr-nav > .has-mega > button {
    display: inline-flex; align-items: center; gap: 6px;
    height: 100%; padding: 0 14px;
    font-size: 14.5px; font-weight: 500; color: var(--slate);
    background: none; border: none; cursor: pointer;
    font-family: var(--body); position: relative; transition: color .15s;
    text-decoration: none;
  }

.hdr-nav > a:hover,
  .hdr-nav > .has-mega:hover > button,
  .hdr-nav > a.on { color: var(--ink); }

/* Active underline for current page */

.hdr-nav > a.on::after {
    content: ""; position: absolute;
    left: 14px; right: 14px; bottom: 18px;
    height: 2px; background: var(--blue); border-radius: 2px;
  }

.hdr-nav .has-mega > button svg {
    width: 14px; height: 14px; stroke: currentColor; fill: none;
    stroke-width: 2; transition: transform .2s;
  }

.hdr-nav .has-mega:hover > button svg { transform: rotate(180deg); }

.hdr-right {
    margin-left: auto; display: flex; align-items: center; gap: 12px;
  }

.hdr-right .sw-btn-ghost { background: transparent; }

/* --- Mega-menu --- */

.has-mega { position: static; }

.mega {
    position: absolute; left: 50%;
    transform: translateX(-50%) translateY(8px);
    top: calc(var(--hdr-h) - 6px);
    width: min(880px, calc(100vw - 40px));
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; box-shadow: var(--shadow-l);
    padding: 18px; opacity: 0; visibility: hidden;
    transition: .2s; z-index: 120;
  }

.has-mega:hover .mega,
  .mega:hover,
  .has-mega.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.mega-card {
    display: flex; gap: 13px; padding: 14px; border-radius: 13px;
    transition: .15s; border: 1px solid transparent; text-decoration: none;
  }

.mega-card:hover { background: var(--tint2); border-color: var(--line); }

.mega-card .ic {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--tint); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
  }

.mega-card .ic svg { width: 21px; height: 21px; stroke: var(--blue); fill: none; stroke-width: 1.9; }

.mega-card:hover .ic { background: var(--blue); }

.mega-card:hover .ic svg { stroke: #fff; }

.mega-card b { font-family: var(--display); font-size: 15px; display: flex; align-items: center; gap: 8px; color: var(--ink); }

.mega-card .soon {
    font-family: var(--mono); font-size: 9px; color: var(--blue);
    border: 1px solid var(--blue); border-radius: 5px;
    padding: 1px 5px; letter-spacing: .04em;
  }

.mega-card p { font-size: 12.5px; color: var(--slate); margin: 3px 0 0; line-height: 1.45; }

.mega-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 14px; padding: 14px 14px 4px;
    border-top: 1px solid var(--line2);
  }

.mega-foot span { font-size: 13px; color: var(--slate); }

.mega-foot a {
    font-family: var(--mono); font-size: 12.5px; font-weight: 600;
    color: var(--blue); display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
  }

.mega-foot a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* --- Hamburger --- */

.\!burger {
    display: none !important; width: 42px !important; height: 42px !important;
    border: 1px solid var(--line) !important; border-radius: 11px !important;
    background: #fff !important; cursor: pointer !important;
    flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 4px !important;
  }

.burger {
    display: none; width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 11px;
    background: #fff; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  }

.\!burger span { width: 18px !important; height: 2px !important; background: var(--ink) !important; border-radius: 2px !important; transition: .2s !important; }

.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

.\!burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg) !important; }

.burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }

.\!burger.x span:nth-child(2) { opacity: 0 !important; }

.burger.x span:nth-child(2) { opacity: 0; }

.\!burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) !important; }

.burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Scrim + Drawer --- */

.\!scrim {
    position: fixed !important; inset: 0 !important;
    background: rgba(10,26,48,.4) !important; backdrop-filter: blur(2px) !important;
    z-index: 130 !important; opacity: 0 !important; pointer-events: none !important; transition: .2s !important;
  }

.scrim {
    position: fixed; inset: 0;
    background: rgba(10,26,48,.4); backdrop-filter: blur(2px);
    z-index: 130; opacity: 0; pointer-events: none; transition: .2s;
  }

.\!scrim.on { opacity: 1 !important; pointer-events: auto !important; }

.scrim.on { opacity: 1; pointer-events: auto; }

.drawer {
    position: fixed; top: 0; right: 0; height: 100%;
    width: min(360px, 86vw); background: #fff; z-index: 140;
    transform: translateX(100%); pointer-events: none;
    transition: transform .26s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    box-shadow: -20px 0 60px -30px rgba(10,26,48,.6);
  }

.drawer.on { transform: none; pointer-events: auto; }

.drawer-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--line);
  }

.drawer-top .hdr-brand b { font-size: 16px; }

.drawer-close {
    width: 38px; height: 38px; border: 1px solid var(--line);
    border-radius: 10px; background: #fff; cursor: pointer;
    font-size: 20px; color: var(--slate); line-height: 1;
  }

.drawer-body { padding: 14px 18px; overflow-y: auto; flex: 1; }

.drawer-body a {
    display: block; padding: 13px 8px; font-size: 16px;
    font-weight: 500; color: var(--ink);
    border-bottom: 1px solid var(--line2); text-decoration: none;
  }

.drawer-body a.drawer-prod {
    display: flex; align-items: center; gap: 11px; padding: 11px 8px;
  }

.drawer-sec {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--mist); padding: 16px 8px 6px;
  }

.drawer-prod {
    display: flex; align-items: center; gap: 11px;
    padding: 11px 8px; border-bottom: 1px solid var(--line2);
  }

.drawer-prod .ic {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--tint); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
  }

.drawer-prod .ic svg { width: 17px; height: 17px; stroke: var(--blue); fill: none; stroke-width: 1.9; }

.drawer-prod b  { font-size: 14.5px; font-weight: 600; display: block; color: var(--ink); }

.drawer-prod small { font-size: 11.5px; color: var(--mist); font-family: var(--mono); }

.drawer-foot {
    padding: 16px 18px; border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px;
  }

/* --- Navy footer --- */

.ft { background: var(--navy); color: #cdd8ea; padding: 56px 0 30px; }

.ft-in { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.ft-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px; padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

.ft-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }

.ft-brand img { width: 34px; height: 34px; border-radius: 9px; }

.ft-brand b   { font-family: var(--display); font-size: 18px; color: #fff; }

.ft-col p     { font-size: 13.5px; color: #9fb0c9; max-width: 34ch; margin: 0 0 16px; line-height: 1.6; }

.ft-soc       { display: flex; gap: 10px; }

.ft-soc a {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.07);
    display: flex; align-items: center; justify-content: center; transition: .15s;
  }

.ft-soc a:hover { background: var(--blue); }

.ft-soc svg { width: 17px; height: 17px; stroke: #cdd8ea; fill: none; stroke-width: 1.9; }

.ft-soc a:hover svg { stroke: #fff; }

.ft-col h5 {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
    text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 600;
  }

.ft-col a {
    display: block; font-size: 14px; color: #9fb0c9;
    padding: 5px 0; transition: .15s; text-decoration: none;
  }

.ft-col a:hover { color: #fff; }

.ft-bot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding-top: 22px;
    font-family: var(--mono); font-size: 12px; color: #7e8eaa; flex-wrap: wrap;
  }

.ft-bot a       { color: #9fb0c9; }

.ft-bot a:hover { color: #fff; }

.ft-legal       { display: flex; gap: 6px; align-items: center; }

/* --- FAQ accordion (.qa/.ans) ---------------------------------- */

/* Guards against conflict with native <details> FAQ — these selectors
     only activate if .qa markup is present (template-style FAQ port). */

.\!qa {
    border: 1px solid var(--line) !important; border-radius: 14px !important;
    margin-bottom: 10px !important; background: var(--card) !important; overflow: hidden !important;
  }

.qa {
    border: 1px solid var(--line); border-radius: 14px;
    margin-bottom: 10px; background: var(--card); overflow: hidden;
  }

.\!qa button {
    width: 100% !important; display: flex !important; justify-content: space-between !important; gap: 14px !important;
    padding: 18px 20px !important; background: none !important; border: none !important; cursor: pointer !important;
    font-family: var(--display) !important; font-weight: 600 !important; font-size: 16px !important;
    color: var(--ink) !important; text-align: left !important;
  }

.qa button {
    width: 100%; display: flex; justify-content: space-between; gap: 14px;
    padding: 18px 20px; background: none; border: none; cursor: pointer;
    font-family: var(--display); font-weight: 600; font-size: 16px;
    color: var(--ink); text-align: left;
  }

.\!qa .pm { font-family: var(--mono) !important; color: var(--blue) !important; font-size: 18px !important; transition: .2s !important; flex-shrink: 0 !important; }

.qa .pm { font-family: var(--mono); color: var(--blue); font-size: 18px; transition: .2s; flex-shrink: 0; }

.\!qa.open .pm { transform: rotate(45deg) !important; }

.qa.open .pm { transform: rotate(45deg); }

.\!qa .ans { max-height: 0 !important; overflow: hidden !important; transition: max-height .3s !important; }

.qa .ans { max-height: 0; overflow: hidden; transition: max-height .3s; }

.qa .\!ans { max-height: 0 !important; overflow: hidden !important; transition: max-height .3s !important; }

.\!qa .ans p { padding: 0 20px 18px !important; margin: 0 !important; font-size: 14.5px !important; color: var(--slate) !important; }

.qa .ans p { padding: 0 20px 18px; margin: 0; font-size: 14.5px; color: var(--slate); }

.qa .\!ans p { padding: 0 20px 18px !important; margin: 0 !important; font-size: 14.5px !important; color: var(--slate) !important; }

/* --- Responsive breakpoints (chrome only) --------------------- */

@media (max-width: 980px) {
    .hdr-nav            { display: none; }
    .burger             { display: flex; }
    .hdr-right .sw-btn-ghost,
    .hdr-right .sw-btn-primary { display: none; }
    .ft-top             { grid-template-columns: 1fr 1fr; }
    .\!burger             { display: flex !important; }
  }

@media (max-width: 560px) {
    .ft-top             { grid-template-columns: 1fr; }
  }

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.-right-2 {
  right: -0.5rem;
}

.-top-2 {
  top: -0.5rem;
}

.-top-4 {
  top: -1rem;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.top-0 {
  top: 0px;
}

.top-8 {
  top: 2rem;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.col-span-3 {
  grid-column: span 3 / span 3;
}

.col-span-9 {
  grid-column: span 9 / span 9;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.ml-8 {
  margin-left: 2rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mr-6 {
  margin-right: 1.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.inline-table {
  display: inline-table;
}

.table-row {
  display: table-row;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.aspect-\[16\/10\] {
  aspect-ratio: 16/10;
}

.size-full {
  width: 100%;
  height: 100%;
}

.h-0\.5 {
  height: 0.125rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-3 {
  height: 0.75rem;
}

.h-3\.5 {
  height: 0.875rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.max-h-\[450px\] {
  max-height: 450px;
}

.min-h-\[3\.1rem\] {
  min-height: 3.1rem;
}

.min-h-\[4\.5rem\] {
  min-height: 4.5rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-3 {
  width: 0.75rem;
}

.w-3\.5 {
  width: 0.875rem;
}

.w-32 {
  width: 8rem;
}

.w-4 {
  width: 1rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-56 {
  width: 14rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-80 {
  width: 20rem;
}

.w-9 {
  width: 2.25rem;
}

.w-auto {
  width: auto;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-full {
  width: 100%;
}

.w-screen {
  width: 100vw;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-full {
  max-width: 100%;
}

.max-w-sm {
  max-width: 24rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.grow {
  flex-grow: 1;
}

.border-collapse {
  border-collapse: collapse;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes marquee {

  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  animation: marquee 40s linear infinite;
}

.cursor-pointer {
  cursor: pointer;
}

.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}

.resize {
  resize: both;
}

.list-disc {
  list-style-type: disc;
}

.columns-2 {
  -moz-columns: 2;
       columns: 2;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.-space-x-px > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(-1px * var(--tw-space-x-reverse));
  margin-left: calc(-1px * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.self-start {
  align-self: flex-start;
}

.overflow-hidden {
  overflow: hidden;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-e-lg {
  border-start-end-radius: 0.5rem;
  border-end-end-radius: 0.5rem;
}

.rounded-r-lg {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.rounded-s-lg {
  border-start-start-radius: 0.5rem;
  border-end-start-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-4 {
  border-width: 4px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-e-0 {
  border-inline-end-width: 0px;
}

.border-l {
  border-left-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-\[color\:var\(--color-border\)\] {
  border-color: var(--color-border);
}

.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}

.border-primary-600 {
  --tw-border-opacity: 1;
  border-color: rgb(0 121 204 / var(--tw-border-opacity, 1));
}

.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}

.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}

.bg-\[color\:var\(--color-bg\)\] {
  background-color: var(--color-bg);
}

.bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-primary-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(204 233 255 / var(--tw-bg-opacity, 1));
}

.bg-primary-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(230 244 255 / var(--tw-bg-opacity, 1));
}

.bg-primary-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(0 138 229 / var(--tw-bg-opacity, 1));
}

.bg-primary-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(0 121 204 / var(--tw-bg-opacity, 1));
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/80 {
  background-color: rgb(255 255 255 / 0.8);
}

.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-blue-700 {
  --tw-gradient-from: #1d4ed8 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(29 78 216 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-cyber-blue\/10 {
  --tw-gradient-from: rgb(0 102 255 / 0.1) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 102 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-cyber-blue\/20 {
  --tw-gradient-from: rgb(0 102 255 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 102 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-gray-900 {
  --tw-gradient-from: #111827 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-primary-600 {
  --tw-gradient-from: #0079cc var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 121 204 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-primary-700 {
  --tw-gradient-from: #0073cc var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 115 204 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-gray-900 {
  --tw-gradient-to: rgb(17 24 39 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #111827 var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-transparent {
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-black {
  --tw-gradient-to: #000 var(--tw-gradient-to-position);
}

.to-blue-800 {
  --tw-gradient-to: #1e40af var(--tw-gradient-to-position);
}

.to-primary-600 {
  --tw-gradient-to: #0079cc var(--tw-gradient-to-position);
}

.to-primary-700 {
  --tw-gradient-to: #0073cc var(--tw-gradient-to-position);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.bg-clip-text {
  -webkit-background-clip: text;
          background-clip: text;
}

.stroke-2 {
  stroke-width: 2;
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pl-5 {
  padding-left: 1.25rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-h5 {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.4;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.italic {
  font-style: italic;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-snug {
  line-height: 1.375;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-\[color\:var\(--color-text-muted\)\] {
  color: var(--color-text-muted);
}

.text-\[color\:var\(--color-text-strong\)\] {
  color: var(--color-text-strong);
}

.text-blue-50 {
  --tw-text-opacity: 1;
  color: rgb(239 246 255 / var(--tw-text-opacity, 1));
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}

.text-emerald-800 {
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-primary-500 {
  --tw-text-opacity: 1;
  color: rgb(0 138 229 / var(--tw-text-opacity, 1));
}

.text-primary-600 {
  --tw-text-opacity: 1;
  color: rgb(0 121 204 / var(--tw-text-opacity, 1));
}

.text-primary-700 {
  --tw-text-opacity: 1;
  color: rgb(0 115 204 / var(--tw-text-opacity, 1));
}

.text-primary-800 {
  --tw-text-opacity: 1;
  color: rgb(0 92 153 / var(--tw-text-opacity, 1));
}

.text-primary-900 {
  --tw-text-opacity: 1;
  color: rgb(0 69 102 / var(--tw-text-opacity, 1));
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}

.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

.text-slate-900 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}

.text-transparent {
  color: transparent;
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.no-underline {
  text-decoration-line: none;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.opacity-0 {
  opacity: 0;
}

.opacity-90 {
  opacity: 0.9;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.brightness-105 {
  --tw-brightness: brightness(1.05);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-2xl {
  --tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-lg {
  --tw-backdrop-blur: blur(16px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-blur-md {
  --tw-backdrop-blur: blur(12px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-1000 {
  transition-duration: 1000ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-700 {
  transition-duration: 700ms;
}

/* Breakpoint contract (Tailwind defaults, no custom screens — YAGNI):
     sm=640px, md=768px, lg=1024px, xl=1280px. Cards: 1 col mobile -> 2 sm -> 3 lg. */

/* Section vertical rhythm */

.section-y-md { padding-top: var(--section-md); padding-bottom: var(--section-md); }

.section-y-lg { padding-top: var(--section-lg); padding-bottom: var(--section-lg); }

/* Responsive card grid: 1 -> 2 -> 3 columns, >=16px gap */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 640px) {

  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {

  .grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* One reusable full-width breakout (replaces per-template duplicates) */

/* Reveal-on-scroll: add .is-visible (via shared IntersectionObserver) to animate in.
     Easing/duration from the motion tokens. Reduced-motion guard is global (elsewhere)
     and the observer also skips animation when prefers-reduced-motion is set. */

/* ==========================================
     PHASE 3: CUSTOM OPTIMIZATION UTILITIES
     ========================================== */

/* Section Background - Gradient with mesh effect */

/* Section Container - Exact 1320px max-width */

.section-container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem; /* 20px */
    padding-right: 1.25rem; /* 20px */
  }

/* Content Narrow - 760px for optimal text readability */

.content-narrow {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

/* Responsive overrides for mobile */

@media (max-width: 767px) {
    .section-container {
      padding-left: 1rem; /* 16px on mobile */
      padding-right: 1rem; /* 16px on mobile */
    }
  }

/* ==========================================
     EXISTING UTILITIES
     ========================================== */

/* Fade In Up Animation */

@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

.animate-fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 0;
  }

/* Staggered Animation Support */

.stagger-1 { animation-delay: 0.1s; }

.stagger-3 { animation-delay: 0.3s; }

/* Background Utilities */

.textured-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e0f1ff' fill-opacity='0.6'%3E%3Crect x='0' y='0' width='4' height='4'/%3E%3Crect x='14' y='14' width='4' height='4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
  }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

/* Glassmorphism Utility */

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

/* Outsource Page Specific Styles */

/* Textured Background Pattern */

.textured-bg {
    background-color: #f8fafc;
    background-image:
      linear-gradient(rgba(2, 132, 199, 0.03) 1px, transparent 1px),
      linear-gradient(to right, rgba(2, 132, 199, 0.03) 1px, #f8fafc 1px);
    background-size: 20px 20px;
  }

/* Tab Button Active State */

.tab-button.active {
    background-color: color-mix(in srgb, var(--primary-500) 10%, white) !important;
    color: var(--primary-700) !important;
    border-right-width: 4px;
    border-color: var(--primary-700);
    font-weight: 600;
  }

/* CTA Glow Effect */

/* ==========================================
     PROXY PAGE STYLES
     ========================================== */

/* Gradient Background */

.proxy-gradient-bg {
    background-image:
      radial-gradient(circle at top right, rgba(0, 138, 229, 0.1), transparent 40%),
      radial-gradient(circle at bottom left, rgba(0, 138, 229, 0.1), transparent 50%);
  }

/* Feature Card Hover Effect */

.proxy-feature-card {
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
  transition-property: all;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.proxy-feature-card:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-border-opacity: 1;
  border-color: rgb(0 138 229 / var(--tw-border-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Pricing Card */

.proxy-pricing-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 2rem;
}

.proxy-pricing-card.popular {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-border-opacity: 1;
  border-color: rgb(0 138 229 / var(--tw-border-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Button Styles */

.proxy-btn-primary {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(0 138 229 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.proxy-btn-primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 121 204 / var(--tw-bg-opacity, 1));
}

.proxy-btn-secondary {
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(0 138 229 / var(--tw-border-opacity, 1));
  background-color: transparent;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(0 138 229 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.proxy-btn-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 138 229 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Testimonial Carousel Animation */

@keyframes proxy-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-344px * 10));
    }
  }

.proxy-testimonial-track {
    animation: proxy-scroll 40s linear infinite;
    display: flex;
    width: calc(344px * 20); /* 10 cards x 2 for seamless loop */
  }

.proxy-testimonial-track:hover {
    animation-play-state: paused;
  }

/* FAQ Accordion */

.proxy-faq-item {
  cursor: pointer;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.proxy-faq-item:hover {
  --tw-border-opacity: 1;
  border-color: rgb(0 138 229 / var(--tw-border-opacity, 1));
}

.proxy-faq-item summary {
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
}

.proxy-faq-item p {
  margin-top: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

/* =========================================================================
   Global reduced-motion guard (single owner). Plain CSS outside @layer so it
   is never tree-shaken and always wins. Neutralizes animations, transitions
   and scroll-triggered reveals for users who prefer reduced motion.
   ========================================================================= */

@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;
  }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
  .hero__tile:hover,
  .card:hover,
  .btn-primary:hover { transform: none !important; }
}

/* =========================================================================
   SWITCHBOARD COMPONENT LIBRARY (ported from the /H/ template)
   Every class is `sw-` prefixed so it never touches the live theme's
   .btn/.card/.field/.lead/.step/.stat. Page templates (later epics) only
   CONSUME these classes; they never re-author base component CSS.
   Raw template hex mapped to the :root design tokens added above.
   Authored as plain (unlayered) CSS — NOT inside @layer components — because
   Tailwind purges unused component-layer rules, and page templates that
   consume these classes are built in later epics, so the library must ship
   in full regardless of current usage.
   ========================================================================= */

/* ---- label + gradient-text primitives ---- */

.sw-mono { font-family: var(--mono); }

.sw-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; }

.sw-eyebrow .ln { width: 30px; height: 1px; background: currentColor; }

.sw-grad { background: linear-gradient(100deg, var(--blue), var(--sky));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- buttons ---- */

.sw-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
    border-radius: 11px; font-family: var(--body); font-weight: 600; font-size: 14.5px;
    cursor: pointer; border: 1px solid transparent; transition: .16s; white-space: nowrap; }

.sw-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.sw-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(0,138,229,.8); }

.sw-btn-primary:hover { transform: translateY(-2px); background: var(--blue-dk); }

.sw-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }

.sw-btn-ghost:hover { border-color: var(--blue); color: var(--blue-dk); }

.sw-btn-light { background: var(--tint); color: var(--blue-dk); border-color: transparent; }

.sw-btn-light:hover { background: #dcebfd; }

.sw-btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 13px; }

.sw-btn-block { width: 100%; justify-content: center; }

/* ---- section primitives ---- */

.sw-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.sw-sec { padding: 72px 0; }

.sw-sec-tight { padding: 46px 0; }

.sw-sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }

.sw-sec-head .sw-eyebrow { justify-content: center; margin-bottom: 14px; }

.sw-sec-head h2 { font-size: clamp(28px,3.8vw,42px); letter-spacing: -.03em; margin: 0 0 14px; }

.sw-sec-head p { font-size: 17px; color: var(--slate); margin: 0; }

/* ---- stats ---- */

.sw-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.sw-stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }

.sw-stat .n { font-family: var(--display); font-size: clamp(28px,3vw,36px); font-weight: 700; color: var(--blue); letter-spacing: -.03em; }

.sw-stat .l { font-size: 13px; color: var(--slate); margin-top: 4px; }

/* ---- why grid ---- */

.sw-whygrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.sw-whycard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: .16s; }

.sw-whycard:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #cfe0f5; }

.sw-whycard .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

.sw-whycard .ic svg { width: 23px; height: 23px; stroke: var(--blue); fill: none; stroke-width: 2; }

.sw-whycard b { font-size: 15.5px; display: block; margin-bottom: 6px; }

.sw-whycard p { font-size: 13.5px; color: var(--slate); margin: 0; }

/* ---- tool chips ---- */

.sw-tgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }

.sw-tchip { display: flex; align-items: center; gap: 11px; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); transition: .15s; }

.sw-tchip:hover { border-color: var(--blue); box-shadow: var(--shadow-s); transform: translateY(-2px); }

.sw-tchip > svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 1.9; flex-shrink: 0; }

.sw-tchip b { font-size: 13.5px; display: block; line-height: 1.2; }

.sw-tchip small { font-size: 11px; color: var(--mist); font-family: var(--mono); }

/* ---- services band ---- */

.sw-svc { background: linear-gradient(120deg, var(--blue), var(--sky)); border-radius: 24px; padding: 48px; color: #fff; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }

.sw-svc::after { content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); filter: blur(10px); }

.sw-svc > div { position: relative; }

.sw-svc h2 { font-size: 30px; color: #fff; margin: 12px 0 12px; }

.sw-svc p { font-size: 16px; color: rgba(255,255,255,.92); margin: 0 0 20px; }

.sw-svc .sw-eyebrow { color: rgba(255,255,255,.85); }

.sw-svc .sl { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.sw-svc .sl div { display: flex; gap: 9px; align-items: center; font-size: 14px; }

.sw-svc .sl svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; flex-shrink: 0; }

.sw-svc-side { text-align: center; }

.sw-svc-side .big { font-family: var(--display); font-size: 52px; font-weight: 700; line-height: 1; }

.sw-svc-side p { font-size: 13px; color: rgba(255,255,255,.85); margin: 8px 0 16px; }

/* ---- faq ---- */

.sw-faq { max-width: 780px; margin: 0 auto; }

.sw-qa { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--card); overflow: hidden; }

.sw-qa button { width: 100%; display: flex; justify-content: space-between; gap: 14px; padding: 18px 20px; background: none; border: none; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); text-align: left; }

.sw-qa .pm { font-family: var(--mono); color: var(--blue); font-size: 18px; transition: .2s; flex-shrink: 0; }

.sw-qa.open .pm { transform: rotate(45deg); }

.sw-qa .ans { max-height: 0; overflow: hidden; transition: max-height .3s; }

.sw-qa .ans p { padding: 0 20px 18px; margin: 0; font-size: 14.5px; color: var(--slate); }

/* ---- final CTA ---- */

.sw-final { position: relative; text-align: center; padding: 84px 28px; overflow: hidden; background: var(--tint2); }

.sw-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 50% 120%, var(--tint), transparent 70%); }

.sw-final > * { position: relative; }

.sw-final h2 { font-size: clamp(30px,4.6vw,48px); letter-spacing: -.035em; margin: 0 auto 16px; max-width: 18ch; }

.sw-final p { font-size: 18px; color: var(--slate); max-width: 52ch; margin: 0 auto 26px; }

.sw-final-cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---- dark mock visuals (homepage switchboard tabs + product hero) ---- */

.sw-mockwin { background: linear-gradient(160deg, #0a1426, #10243f); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-l); }

.sw-mockwin-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.08); }

.sw-mockwin-bar i { width: 9px; height: 9px; border-radius: 50%; }

.sw-mockwin-bar .t { margin-left: 8px; font-family: var(--mono); font-size: 10.5px; color: #7f93ad; }

.sw-mockwin-body { padding: 18px; }

.sw-vgrid { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; }

.sw-vcell { aspect-ratio: 9/14; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, rgba(0,138,229,.5), rgba(54,182,255,.3)); border: 1px solid rgba(255,255,255,.1); }

.sw-vcell svg { width: 13px; height: 13px; fill: #cfe6ff; }

.sw-vcell.run { background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); }

.sw-ba { display: flex; gap: 10px; }

.sw-ba > div { flex: 1; aspect-ratio: 4/5; border-radius: 10px; display: flex; align-items: flex-end; padding: 12px; font-family: var(--mono); font-size: 11px; }

.sw-ba .before { background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 9px, rgba(255,255,255,.02) 9px 18px); color: #7f93ad; }

.sw-ba .after { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; }

.sw-flow { display: flex; flex-direction: column; gap: 10px; }

.sw-flowrow { display: flex; align-items: center; gap: 10px; }

.sw-flowrow b { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.sw-flowrow span { flex: 1; height: 32px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; padding-left: 12px; font-family: var(--mono); font-size: 11.5px; color: #cfe0f5; }

.sw-wave { display: flex; align-items: center; gap: 5px; height: 150px; padding: 0 6px; }

.sw-wave i { flex: 1; background: rgba(255,255,255,.4); border-radius: 3px; }

/* ---- product hero ---- */

.sw-phero { position: relative; overflow: hidden; }

.sw-phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(620px 340px at 78% -14%, var(--tint), transparent 62%); }

.sw-phero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: center; padding: 64px 0 60px; }

.sw-phero .crumb { font-family: var(--mono); font-size: 12px; color: var(--mist); margin-bottom: 16px; }

.sw-phero .crumb a { color: var(--blue); }

.sw-phero .badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--blue-dk); background: var(--tint); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }

.sw-phero h1 { font-size: clamp(34px,4.6vw,54px); letter-spacing: -.04em; margin: 0 0 18px; }

.sw-phero .sw-lead { font-size: 18px; color: var(--slate); max-width: 46ch; margin: 0 0 26px; }

.sw-phero-cta { display: flex; gap: 13px; flex-wrap: wrap; }

.sw-phero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

.sw-phero-tags span { font-family: var(--mono); font-size: 11.5px; color: var(--blue-dk); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; }

/* ---- feature cards ---- */

.sw-featgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.sw-featcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: .16s; }

.sw-featcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #cfe0f5; }

.sw-featcard .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

.sw-featcard .ic svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.9; }

.sw-featcard h3 { font-size: 18px; margin-bottom: 8px; }

.sw-featcard p { font-size: 14px; color: var(--slate); margin: 0; }

/* ---- big steps row ---- */

.sw-bigsteps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); }

.sw-bigstep { padding: 30px; border-right: 1px solid var(--line); }

.sw-bigstep:last-child { border-right: none; }

.sw-bigstep .num { font-family: var(--mono); font-size: 13px; color: var(--blue); margin-bottom: 12px; }

.sw-bigstep h4 { font-size: 18px; margin-bottom: 8px; }

.sw-bigstep p { font-size: 14px; color: var(--slate); margin: 0; }

/* ---- split feature ---- */

.sw-fsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 30px; }

.sw-fsplit:last-child { margin-bottom: 0; }

.sw-fsplit.rev .sw-fs-text { order: 2; }

.sw-fs-text h3 { font-size: 24px; margin-bottom: 12px; }

.sw-fs-text p { font-size: 15px; color: var(--slate); margin: 0 0 16px; }

.sw-fs-text ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }

.sw-fs-text li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }

.sw-fs-text li svg { width: 17px; height: 17px; stroke: var(--blue); fill: none; stroke-width: 2.2; flex-shrink: 0; margin-top: 2px; }

/* ---- generic page hero (tools/services/pricing) ---- */

.sw-pagehero { text-align: center; padding: 60px 0 16px; position: relative; overflow: hidden; }

.sw-pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(560px 300px at 50% -20%, var(--tint), transparent 64%); }

.sw-pagehero h1 { font-size: clamp(34px,4.6vw,52px); letter-spacing: -.04em; margin: 16px auto 16px; max-width: 18ch; }

.sw-pagehero p { font-size: 18px; color: var(--slate); max-width: 56ch; margin: 0 auto; }

/* ---- tools page big chips ---- */

.sw-toolhero { text-align: center; padding: 56px 0 10px; }

.sw-toolcat { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 34px 0 16px; }

.sw-toolbig { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }

.sw-toolbig .sw-tchip { flex-direction: column; align-items: flex-start; gap: 0; padding: 20px; }

.sw-toolbig .sw-tchip .tg-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

.sw-toolbig .sw-tchip .tg-ic svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.9; }

.sw-toolbig .sw-tchip b { font-size: 15px; margin-bottom: 5px; }

.sw-toolbig .sw-tchip small { font-size: 12.5px; color: var(--slate); font-family: var(--body); line-height: 1.5; }

.sw-toolbig .sw-tchip .tag { font-family: var(--mono); font-size: 10px; color: var(--blue-dk); background: var(--tint); border-radius: 5px; padding: 2px 7px; margin-top: 10px; }

/* ---- pricing ---- */

.sw-pricegrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }

.sw-plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; position: relative; transition: .16s; }

.sw-plan.feat { border-color: var(--blue); box-shadow: 0 30px 70px -40px rgba(0,138,229,.6); }

.sw-plan.feat::before { content: attr(data-badge); position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }

.sw-plan h3 { font-size: 20px; margin-bottom: 6px; }

.sw-plan .ptag { font-size: 13px; color: var(--slate); margin-bottom: 18px; }

.sw-plan .price { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -.03em; }

.sw-plan .price small { font-size: 15px; color: var(--mist); font-weight: 500; font-family: var(--body); }

.sw-plan .pl-list { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }

.sw-plan .pl-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }

.sw-plan .pl-list svg { width: 17px; height: 17px; stroke: var(--blue); fill: none; stroke-width: 2.2; flex-shrink: 0; margin-top: 2px; }

.sw-plan .pl-list li.off { color: var(--mist); }

.sw-plan .pl-list li.off svg { stroke: var(--mist); }

/* ---- form field (namespaced — never the live theme .field) ---- */

.sw-field { margin-bottom: 16px; }

.sw-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }

.sw-field input, .sw-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; font-family: var(--body); font-size: 14.5px; background: #fff; transition: .15s; }

.sw-field textarea { min-height: 120px; resize: vertical; }

.sw-field input:focus, .sw-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,138,229,.14); }

/* ---- about values + story ---- */

.sw-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.sw-valcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }

.sw-valcard .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

.sw-valcard .ic svg { width: 23px; height: 23px; stroke: var(--blue); fill: none; stroke-width: 1.9; }

.sw-valcard h3 { font-size: 18px; margin-bottom: 8px; }

.sw-valcard p { font-size: 14px; color: var(--slate); margin: 0; }

.sw-story { max-width: 760px; margin: 0 auto; }

.sw-story p { font-size: 17px; color: var(--slate); margin: 0 0 18px; line-height: 1.7; }

.sw-story p strong { color: var(--ink); font-weight: 600; }

/* ---- download ---- */

.sw-dlgrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }

.sw-dlcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; gap: 18px; align-items: flex-start; transition: .16s; }

.sw-dlcard:hover { border-color: #cfe0f5; box-shadow: var(--shadow-m); }

.sw-dlcard .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.sw-dlcard .ic svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

.sw-dlcard h3 { font-size: 18px; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }

.sw-dlcard .soon { font-family: var(--mono); font-size: 9.5px; color: var(--blue); border: 1px solid var(--blue); border-radius: 5px; padding: 2px 6px; }

.sw-dlcard p { font-size: 13.5px; color: var(--slate); margin: 0 0 14px; }

.sw-dlcard .meta { font-family: var(--mono); font-size: 11px; color: var(--mist); margin-bottom: 14px; }

.sw-platrow { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.sw-platrow .chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); font-size: 13.5px; font-weight: 600; }

.sw-platrow .chip svg { width: 17px; height: 17px; }

/* ---- blog ---- */

.sw-bloggrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.sw-post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .16s; display: flex; flex-direction: column; }

.sw-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #cfe0f5; }

.sw-post .cover { height: 150px; background: linear-gradient(135deg, var(--blue), var(--sky)); position: relative; display: flex; align-items: center; justify-content: center; }

.sw-post .cover svg { width: 42px; height: 42px; stroke: rgba(255,255,255,.9); fill: none; stroke-width: 1.6; }

.sw-post .cover.v2 { background: linear-gradient(135deg, var(--blue-d2), var(--blue)); }

.sw-post .cover.v3 { background: linear-gradient(135deg, var(--sky), #9ad8ff); }

.sw-post .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }

.sw-post .cat { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }

.sw-post h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.25; }

.sw-post p { font-size: 13.5px; color: var(--slate); margin: 0 0 14px; flex: 1; }

.sw-post .meta { font-family: var(--mono); font-size: 11.5px; color: var(--mist); display: flex; gap: 10px; }

/* ---- legal / doc prose ---- */

.sw-prose { max-width: 780px; margin: 0 auto; }

.sw-prose .updated { font-family: var(--mono); font-size: 12px; color: var(--mist); margin-bottom: 30px; }

.sw-prose h2 { font-size: 22px; margin: 34px 0 12px; }

.sw-prose h2:first-child { margin-top: 0; }

.sw-prose p { font-size: 15px; color: var(--slate); margin: 0 0 14px; line-height: 1.7; }

.sw-prose ul { margin: 0 0 16px; padding-left: 20px; }

.sw-prose li { font-size: 15px; color: var(--slate); margin-bottom: 8px; line-height: 1.6; }

.sw-prose strong { color: var(--ink); font-weight: 600; }

.sw-toc { background: var(--tint2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 30px; }

.sw-toc b { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--slate); display: block; margin-bottom: 10px; }

.sw-toc a { display: block; font-size: 14px; color: var(--blue); padding: 4px 0; }

/* Legal pages — last-updated datestamp, displayed above TOC in .sw-prose */

.sw-updated { font-family: var(--mono); font-size: 12px; color: var(--mist); margin-bottom: 30px; }

/* Switchboard responsive — mirrors the template breakpoints (page-level chrome
   nav/drawer breakpoints are owned by the later chrome epic). */

@media (max-width: 980px) {
  .sw-stats, .sw-whygrid, .sw-tgrid { grid-template-columns: repeat(2,1fr); }
  .sw-svc { grid-template-columns: 1fr; padding: 34px; }
}

@media (max-width: 880px) {
  .sw-phero-in { grid-template-columns: 1fr; gap: 32px; }
  .sw-featgrid { grid-template-columns: 1fr; }
  .sw-toolbig { grid-template-columns: repeat(2,1fr); }
  .sw-pricegrid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .sw-bloggrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .sw-fsplit { grid-template-columns: 1fr; gap: 24px; }
  .sw-fsplit.rev .sw-fs-text { order: 0; }
  .sw-values { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sw-bigsteps { grid-template-columns: 1fr; }
  .sw-bigstep { border-right: none; border-bottom: 1px solid var(--line); }
  .sw-bigstep:last-child { border-bottom: none; }
  .sw-dlgrid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sw-stats, .sw-whygrid, .sw-tgrid { grid-template-columns: 1fr; }
  .sw-sec { padding: 54px 0; }
  .sw-toolbig { grid-template-columns: 1fr; }
  .sw-bloggrid { grid-template-columns: 1fr; }
}

/* =========================================================================
   HOMEPAGE — hero + switchboard shell + section overrides
   Plain (unlayered) CSS so Tailwind purge never drops it, consistent with
   the sw-* library above.
   ========================================================================= */

/* --- Hero band --- */

.hero { position: relative; overflow: hidden; }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 380px at 50% -12%, var(--tint), transparent 64%),
    linear-gradient(var(--tint2) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, var(--tint2) 1px, transparent 1px) 0 0 / 34px 100%;
  -webkit-mask: radial-gradient(700px 440px at 50% 6%, #000, transparent 78%);
  mask: radial-gradient(700px 440px at 50% 6%, #000, transparent 78%);
}

.hero-in { text-align: center; padding: 64px 0 26px; }

.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--blue-dk);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-s);
}

.hero .pill .led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(0,138,229,.16);
}

.hero h1 {
  font-size: clamp(38px, 5.8vw, 64px); letter-spacing: -.045em;
  margin: 22px auto 18px; max-width: 17ch;
}

.sw-lead { font-size: 18.5px; color: var(--slate); max-width: 54ch; margin: 0 auto 28px; }

.hero-cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* --- Hero proof + trustbar --- */

.hero-proof {
  display: flex; align-items: center; justify-content: center;
  gap: 11px; margin-top: 24px; font-size: 14px; color: var(--slate);
}

.avatars { display: flex; }

.avatars span {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff;
  margin-left: -9px; background: linear-gradient(135deg, var(--blue), var(--sky));
}

.avatars span:first-child { margin-left: 0; }

.trustbar {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap; margin-top: 30px;
  font-family: var(--mono); font-size: 12px; color: var(--mist);
}

.trustbar b { color: var(--slate); font-weight: 600; }

/* --- Switchboard shell. Tab selectors are scoped under .sb so the generic
   .tabs/.tab names never leak onto WooCommerce's product tab strip
   (ul.tabs.wc-tabs), which would otherwise inherit this card styling. --- */

.sb { max-width: 1100px; margin: 34px auto 0; padding: 0 28px; }

.sb .tabs {
  display: flex; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 8px; box-shadow: var(--shadow-m);
  overflow-x: auto; scrollbar-width: none;
}

.sb .tabs::-webkit-scrollbar { display: none; }

.sb .tab {
  flex: 1; display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; border-radius: 11px; cursor: pointer;
  border: none; background: none; transition: .16s;
  white-space: nowrap; min-width: -moz-max-content; min-width: max-content;
}

.sb .tab .ti {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--tint); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: .16s;
}

.sb .tab .ti svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 1.9; }

.sb .tab .tx { text-align: left; }

.sb .tab .tx b { font-family: var(--display); font-size: 15px; display: block; letter-spacing: -.01em; }

.sb .tab .tx small { font-size: 11px; color: var(--mist); font-family: var(--mono); }

.sb .tab.on { background: var(--blue); }

.sb .tab.on .tx b { color: #fff; }

.sb .tab.on .tx small { color: rgba(255,255,255,.8); }

.sb .tab.on .ti { background: rgba(255,255,255,.2); }

.sb .tab.on .ti svg { stroke: #fff; }

.panel-wrap { margin-top: 16px; }

.sbpanel {
  display: none; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-l);
}

.sbpanel.on { display: grid; animation: fade .35s ease; }

@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sb-info { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; }

.sb-info .sw-eyebrow { margin-bottom: 12px; }

.sb-info h2 {
  font-size: 29px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.sb-info .soon {
  font-family: var(--mono); font-size: 10px; color: var(--blue);
  border: 1px solid var(--blue); border-radius: 6px; padding: 2px 7px;
}

.sb-info p { font-size: 15.5px; color: var(--slate); margin: 0 0 18px; }

.sb-info ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }

.sb-info li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }

.sb-info li svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2.2; flex-shrink: 0; margin-top: 2px; }

.sb-info .sw-btn { align-self: flex-start; }

.sb-visual {
  background: linear-gradient(160deg, #0a1426, #10243f);
  padding: 30px; display: flex; align-items: center; justify-content: center;
}

.vmock {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden;
}

.vmock-bar {
  height: 34px; display: flex; align-items: center; gap: 6px;
  padding: 0 13px; border-bottom: 1px solid rgba(255,255,255,.08);
}

.vmock-bar i { width: 9px; height: 9px; border-radius: 50%; }

.vmock-bar .t { margin-left: 8px; font-family: var(--mono); font-size: 10.5px; color: #7f93ad; }

.vmock-body { padding: 15px; }

/* vgrid cells — reuse sw-vgrid/sw-vcell but the markup uses .vgrid/.vcell
   so add aliases that forward to the same visuals */

.vgrid { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }

.vcell {
  aspect-ratio: 9/14; border-radius: 6px; display: flex; align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, rgba(0,138,229,.5), rgba(54,182,255,.3));
  border: 1px solid rgba(255,255,255,.1);
}

.vcell svg { width: 12px; height: 12px; fill: #cfe6ff; }

.vcell.run { background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); }

/* ba before/after */

.ba { display: flex; gap: 9px; }

.ba > div {
  flex: 1; aspect-ratio: 4/5; border-radius: 9px;
  display: flex; align-items: flex-end; padding: 10px;
  font-family: var(--mono); font-size: 10px;
}

.ba .before {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 8px, rgba(255,255,255,.02) 8px 16px);
  color: #7f93ad;
}

.ba .after { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; }

/* flow */

.flow { display: flex; flex-direction: column; gap: 8px; }

.flowrow { display: flex; align-items: center; gap: 9px; }

.flowrow b {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff; font-family: var(--mono); font-weight: 700; font-size: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.flowrow span {
  flex: 1; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; padding-left: 11px;
  font-family: var(--mono); font-size: 11px; color: #cfe0f5;
}

/* wave — reuse sw-wave visuals with .wave/.wave i selectors */

.wave { display: flex; align-items: center; gap: 4px; height: 120px; padding: 0 4px; }

.wave i { flex: 1; background: rgba(255,255,255,.4); border-radius: 3px; }

/* --- How-it-works steps — namespaced sw-step, mobile stack --- */

.sw-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 980px; margin: 0 auto; }

.sw-step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px; text-align: center;
}

.sw-step .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--mono); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}

.sw-step b { font-size: 16px; display: block; margin-bottom: 6px; }

.sw-step p { font-size: 13.5px; color: var(--slate); margin: 0; }

@media (max-width: 560px) {
  .sw-steps { grid-template-columns: 1fr; }
}

/* --- Why grid — tint band override --- */

.why { background: var(--tint2); }

.sw-whygrid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

@media (max-width: 980px) { .sw-whygrid-4 { grid-template-columns: repeat(2,1fr); } }

@media (max-width: 560px) { .sw-whygrid-4 { grid-template-columns: 1fr; } }

/* --- FAQ restyle to .qa card look — native <details> kept --- */

.faq-item {
  border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 10px; background: var(--card); overflow: hidden;
}

.faq-item[open] { border-color: var(--blue); }

.faq-summary {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; padding: 18px 20px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  color: var(--ink); text-align: left; list-style: none; min-height: 44px;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary::after {
  content: "+"; font-family: var(--mono); color: var(--blue);
  font-size: 18px; transition: .2s; flex-shrink: 0;
}

details[open] > .faq-summary::after { transform: rotate(45deg); }

.faq-summary:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(0,138,229,.25);
  border-radius: 13px;
}

.faq-answer { padding: 0 20px 18px; font-size: 14.5px; color: var(--slate); }

/* --- Final CTA --- */

.final {
  position: relative; text-align: center;
  padding: 84px 28px; overflow: hidden; background: var(--tint2);
}

.final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 50% 120%, var(--tint), transparent 70%);
}

.final > * { position: relative; }

.final h2 { font-size: clamp(30px,4.6vw,48px); letter-spacing: -.035em; margin: 0 auto 16px; max-width: 18ch; }

.final p { font-size: 18px; color: var(--slate); max-width: 52ch; margin: 0 auto 26px; }

.final-cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* --- Switchboard responsive (standardised to 980px = nav breakpoint) --- */

@media (max-width: 980px) {
  .sbpanel.on { grid-template-columns: 1fr; }
  .sb-visual { order: -1; }
  .sb .tab .tx { display: none; }
  .sb .tab { flex: none; }
}

/* =========================================================================
   AUTH / LOGIN — Woo my-account split-panel restyle
   All selectors scoped under .auth to avoid collision with Woo/Kadence.
   .oauth OMITTED — social login not shipped this round.
   ========================================================================= */

.auth {
  min-height: calc(100vh - var(--hdr-h, 72px));
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-side {
  background: linear-gradient(165deg, #0a1426, #10243f 60%, #0c2c5c);
  color: #fff;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-side::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,138,229,.25), transparent 70%);
  pointer-events: none;
}

.a-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }

.a-brand img { width: 36px; height: 36px; border-radius: 10px; -o-object-fit: cover; object-fit: cover; }

.a-brand b { font-size: 17px; color: #fff; font-family: var(--display); }

.auth-side h2 { font-size: 32px; color: #fff; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 28px; }

.a-feats { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 14px; }

.a-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: #cfe0f5; }

.a-feats li svg { width: 18px; height: 18px; stroke: var(--sky, #36b6ff); fill: none; stroke-width: 2.2; flex-shrink: 0; margin-top: 2px; }

.auth-caption { font-size: 13px; color: rgba(207,224,245,.6); margin-top: 32px; }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 28px;
}

.auth-card { width: 100%; max-width: 380px; }

.auth-card h1 { font-size: 26px; margin-bottom: 8px; }

.auth-card .sub { font-size: 14.5px; color: var(--slate); margin-bottom: 26px; }

.seg {
  display: flex;
  background: var(--tint2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 4px;
  margin-bottom: 22px;
}

.seg button {
  flex: 1;
  padding: 9px 14px;
  border: none;
  background: none;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: .15s;
}

.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mist);
  font-size: 13px;
  margin: 18px 0;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-fine {
  font-size: 12.5px;
  color: var(--mist);
  text-align: center;
  margin-top: 16px;
}

.auth-fine a { color: var(--blue); text-decoration: none; }

.auth-fine a:hover { text-decoration: underline; }

/* sw-field: scoped input styling used inside .auth-card */

.auth-card .sw-field { margin-bottom: 14px; }

.auth-card .sw-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }

.auth-card .sw-field input,
.auth-card .sw-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 15px;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}

.auth-card .sw-field input:focus,
.auth-card .sw-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,138,229,.14);
}

/* Native Woo form fields inside the auth card */

.auth-card .woocommerce-form-row { margin-bottom: 14px; }

.auth-card .woocommerce-form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }

.auth-card .woocommerce-form-row .woocommerce-Input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 15px;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}

.auth-card .woocommerce-form-row .woocommerce-Input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,138,229,.14);
}

.auth-card .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }

.auth-card .woocommerce-button[type="submit"],
.auth-card button[name="login"],
.auth-card button[name="register"] {
  width: 100%;
  padding: 13px 20px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s;
  box-shadow: 0 12px 26px -12px rgba(0,138,229,.7);
}

.auth-card .woocommerce-button[type="submit"]:hover,
.auth-card button[name="login"]:hover,
.auth-card button[name="register"]:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
}

.auth-card .woocommerce-LostPassword { margin-top: 12px; text-align: center; font-size: 13px; }

.auth-card .woocommerce-LostPassword a { color: var(--blue); text-decoration: none; }

.auth-card p.woocommerce-privacy-policy-text { font-size: 12px; color: var(--mist); margin-top: 12px; }

/* hide Woo notices that appear inside the card (show them elsewhere) */

.auth-card .woocommerce-error,
.auth-card .woocommerce-message,
.auth-card .woocommerce-info { border-radius: 10px; font-size: 13.5px; }

@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding: 40px 20px; }
}

@media (min-width: 768px) {

  .md\:hidden.mobile-menu {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-blue-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(204 233 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(230 244 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 115 204 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.hover\:text-blue-700:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}

.hover\:text-blue-800:hover {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}

.hover\:text-primary-600:hover {
  --tw-text-opacity: 1;
  color: rgb(0 121 204 / var(--tw-text-opacity, 1));
}

.hover\:text-primary-700:hover {
  --tw-text-opacity: 1;
  color: rgb(0 115 204 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:shadow-2xl:hover {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-glow:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
  }

.hover\:\[animation-play-state\:paused\]:hover {
  animation-play-state: paused;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.active\:scale-95:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:translate-x-1 {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:rotate-2 {
  --tw-rotate: 2deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:text-primary-600 {
  --tw-text-opacity: 1;
  color: rgb(0 121 204 / var(--tw-text-opacity, 1));
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 640px) {

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .sm\:pb-16 {
    padding-bottom: 4rem;
  }

  .sm\:text-left {
    text-align: left;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {

  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-9 {
    grid-column: span 9 / span 9;
  }

  .md\:block {
    display: block;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:gap-4 {
    gap: 1rem;
  }

  .md\:border-r {
    border-right-width: 1px;
  }

  .md\:border-t-0 {
    border-top-width: 0px;
  }

  .md\:border-gray-200 {
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  }

  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.rtl\:rotate-180:where([dir="rtl"], [dir="rtl"] *) {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
