/* ============================================================
   INFINEURAL THEME — Design System v4 "Material"
   Google One–style: white canvas, soft-gray rounded surfaces,
   pill buttons, Google blue. Display: Outfit · Text: Figtree
   Light default · Dark via [data-theme="dark"]
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── TOKENS: LIGHT (default) ── */
:root {
  --ink:        #1F1F1F;
  --ink-2:      #2D2D2D;
  --ink-3:      #444746;
  --mid:        #5E5E5E;
  --dim:        #80868B;
  --mist:       #DADCE0;
  --fog:        #F1F3F4;
  --snow:       #F8F9FA;
  --white:      #FFFFFF;
  --blue:       #0B57D0;
  --blue-deep:  #0842A0;
  --blue-tint:  #ECF3FE;
  --blue-dim:   rgba(11,87,208,0.08);
  --blue-ring:  rgba(11,87,208,0.24);
  --green:      #188038;
  --amber:      #E37400;
  --red:        #D93025;

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --r-pill:100px;

  --font:      'Figtree', 'Roboto', system-ui, -apple-system, sans-serif;
  --font-disp: 'Outfit', 'Figtree', system-ui, sans-serif;
  --font-logo: 'Outfit', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --max-w:  1200px;
  --pad-x:  clamp(1.25rem, 4vw, 2.25rem);
  --sec-y:  clamp(4.5rem, 9vw, 7.5rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-bg:      rgba(255,255,255,0);
  --nav-scrolled:rgba(255,255,255,0.95);
  --nav-border:  rgba(31,31,31,0.08);

  --shadow-sm:   0 1px 2px rgba(60,64,67,0.12);
  --shadow-md:   0 1px 3px rgba(60,64,67,0.14), 0 4px 12px rgba(60,64,67,0.10);
  --shadow-lg:   0 4px 8px rgba(60,64,67,0.10), 0 12px 32px rgba(60,64,67,0.12);
  --shadow-card: 0 1px 2px rgba(60,64,67,0.08), 0 8px 24px rgba(60,64,67,0.08);

  --blue-solid:      #0B57D0;
  --btn-on-blue:     #FFFFFF;

  /* Compat shim: legacy tokens referenced by pre-v4 inline styles on
     service/industry pages. Aliased to the v4 system so those pages
     inherit the homepage design language. */
  --accent:  #0B57D0;      /* solid brand blue behind white-text badges */
  --tx-2:    var(--mid);
  --tx-3:    var(--dim);
  --rose:    var(--red);
  --bg-card: var(--white);
}

/* ── TOKENS: DARK (Material dark) ── */
[data-theme="dark"] {
  --ink:        #E3E3E3;
  --ink-2:      #D0D0D0;
  --ink-3:      #C4C7C5;
  --mid:        #9AA0A6;
  --dim:        #757575;
  --mist:       #444746;
  --fog:        #28292A;
  --snow:       #1E1F20;
  --white:      #131314;
  --blue:       #A8C7FA;
  --blue-deep:  #D3E3FD;
  --blue-tint:  #0F2A52;
  --blue-dim:   rgba(168,199,250,0.12);
  --blue-ring:  rgba(168,199,250,0.32);
  --green:      #6DD58C;
  --amber:      #FDD663;
  --red:        #F28B82;

  --nav-bg:      rgba(19,19,20,0);
  --nav-scrolled:rgba(19,19,20,0.95);
  --nav-border:  rgba(255,255,255,0.08);

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 4px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.4);

  --blue-solid:      #A8C7FA;
  --btn-on-blue:     #062E6F;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--blue); color: #fff; }
[data-theme="dark"] ::selection { color: #062E6F; }

/* ── TYPOGRAPHY ── */
.t-hero {
  font-family: var(--font-disp);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
}
.t-hero em, .t-h2 em, .cta-h em { font-style: normal; color: var(--blue); }
.t-h2 {
  font-family: var(--font-disp);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 600; letter-spacing: -0.015em; line-height: 1.12;
}
.t-h3 { font-family: var(--font-disp); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.t-label {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: none; color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.t-body  { font-size: 1.05rem; line-height: 1.7; color: var(--mid); }
.t-sm    { font-size: 0.875rem; color: var(--mid); }

/* ── LAYOUT ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.sec  { padding: var(--sec-y) 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Gray section bands become rounded surface panels */
section.sec[style*="background:var(--snow)"] {
  background: transparent !important;
}
section.sec[style*="background:var(--snow)"] > .wrap {
  background: var(--snow);
  border-radius: var(--r-2xl);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* ── ANIMATION HELPERS ── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in { opacity: 0; transition: opacity 0.5s ease; }
.fade-in.visible { opacity: 1; }

.stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.stagger.visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay: 0.00s; }
.stagger.visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay: 0.06s; }
.stagger.visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay: 0.12s; }
.stagger.visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay: 0.18s; }
.stagger.visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay: 0.24s; }
.stagger.visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay: 0.30s; }
.stagger.visible > *:nth-child(7)  { opacity:1; transform:none; transition-delay: 0.36s; }
.stagger.visible > *:nth-child(8)  { opacity:1; transform:none; transition-delay: 0.42s; }
.stagger.visible > *:nth-child(9)  { opacity:1; transform:none; transition-delay: 0.48s; }
.stagger.visible > *:nth-child(10) { opacity:1; transform:none; transition-delay: 0.54s; }

.appear { opacity: 0; transform: translateY(14px); }
.appear.mounted { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .fade-in, .stagger > *, .appear {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   AMBIENT + MOTION (v4.1) — gradient blooms & scroll draw-in
   Decorative only, theme-aware, reduced-motion safe. No assets.
   ============================================================ */

/* Hero aurora: soft brand-accent color bloom behind the headline.
   .hero is position:relative; overflow:hidden with content at z-index:2. */
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -15% auto -15%;
  height: 135%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 52% at 28% 22%, rgba(11,87,208,0.20), transparent 68%),
    radial-gradient(34% 44% at 74% 14%, rgba(11,128,67,0.13), transparent 70%),
    radial-gradient(42% 50% at 62% 46%, rgba(230,116,0,0.10), transparent 72%);
  filter: blur(46px) saturate(1.05);
  opacity: 0.9;
  animation: hero-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
[data-theme="dark"] .hero::before {
  background:
    radial-gradient(38% 52% at 28% 22%, rgba(138,180,248,0.18), transparent 68%),
    radial-gradient(34% 44% at 74% 14%, rgba(129,201,149,0.11), transparent 70%),
    radial-gradient(42% 50% at 62% 46%, rgba(253,214,99,0.08), transparent 72%);
  opacity: 0.8;
}
@keyframes hero-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.03); }
}

/* Section eyebrow glow */
.t-label { text-shadow: 0 0 18px rgba(11,87,208,0.28); }
[data-theme="dark"] .t-label { text-shadow: 0 0 20px rgba(138,180,248,0.30); }

/* Practice service tiles: accent-tinted shadow bloom on hover.
   If color-mix is unsupported the whole declaration is dropped and the
   base .svc-tile:hover shadow (defined earlier) still applies. */
.svc-tile:hover {
  box-shadow: 0 12px 34px -10px color-mix(in srgb, var(--pp-accent) 45%, transparent),
              var(--shadow-sm);
}

/* Report chart draw-in. Bars default to their target height (--h) so they
   are always correct even with no reveal wrapper; inside .fade-in/.fade-up
   they start collapsed and grow to --h when the wrapper becomes .visible. */
.rc-bar { height: var(--h); }
.fade-in .rc-bar, .fade-up .rc-bar {
  height: 0;
  transition: height 0.85s var(--ease-out-expo);
}
.fade-in.visible .rc-bar, .fade-up.visible .rc-bar { height: var(--h); }
.fade-in.visible .rc-bar:nth-child(1),.fade-up.visible .rc-bar:nth-child(1){transition-delay:0.03s}
.fade-in.visible .rc-bar:nth-child(2),.fade-up.visible .rc-bar:nth-child(2){transition-delay:0.08s}
.fade-in.visible .rc-bar:nth-child(3),.fade-up.visible .rc-bar:nth-child(3){transition-delay:0.13s}
.fade-in.visible .rc-bar:nth-child(4),.fade-up.visible .rc-bar:nth-child(4){transition-delay:0.18s}
.fade-in.visible .rc-bar:nth-child(5),.fade-up.visible .rc-bar:nth-child(5){transition-delay:0.23s}
.fade-in.visible .rc-bar:nth-child(6),.fade-up.visible .rc-bar:nth-child(6){transition-delay:0.28s}
.fade-in.visible .rc-bar:nth-child(7),.fade-up.visible .rc-bar:nth-child(7){transition-delay:0.33s}
.fade-in.visible .rc-bar:nth-child(8),.fade-up.visible .rc-bar:nth-child(8){transition-delay:0.38s}
.fade-in.visible .rc-bar:nth-child(9),.fade-up.visible .rc-bar:nth-child(9){transition-delay:0.43s}
.fade-in.visible .rc-bar:nth-child(10),.fade-up.visible .rc-bar:nth-child(10){transition-delay:0.48s}

.rc-kpi-spark polyline { stroke-dasharray: 1; stroke-dashoffset: 0; }
.fade-in .rc-kpi-spark polyline, .fade-up .rc-kpi-spark polyline {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.15s ease 0.25s;
}
.fade-in.visible .rc-kpi-spark polyline, .fade-up.visible .rc-kpi-spark polyline { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .rc-bar, .fade-in .rc-bar, .fade-up .rc-bar { height: var(--h) !important; transition: none !important; }
  .rc-kpi-spark polyline { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* ── NAV SHELL ── */
.nav-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-shell.scrolled {
  background: var(--nav-scrolled);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-left { display: flex; align-items: center; gap: 1.75rem; }

/* ── LOGO ── */
.nav-logo { display: flex; align-items: center; }
.logo-name {
  font-size: 1.3rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
  font-family: var(--font-logo);
  transition: opacity 0.15s;
}
.logo-name::after { content: '.'; color: var(--blue); }
.nav-logo:hover .logo-name { opacity: 0.75; }

/* ── DESKTOP NAV LINKS ── */
.nav-links { display: flex; gap: 0.15rem; align-items: center; }
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 500; color: var(--mid);
  transition: color 0.15s, background 0.15s;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); white-space: nowrap; text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--fog); }

.nav-chevron { transition: transform 0.2s ease; flex-shrink: 0; color: var(--dim); }
.nav-item--drop.open > .nav-drop-toggle .nav-chevron { transform: rotate(180deg); }

/* ── DROPDOWN BASE ── */
.nav-dropdown {
  display: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  padding-top: 8px;
}
.nav-dropdown--mega,
.nav-dropdown--company {
  animation: dropdown-in 0.13s cubic-bezier(0.16,1,0.3,1);
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item--drop.open > .nav-dropdown { display: block; }

@media (hover: hover) {
  .nav-links .nav-item--drop:hover > .nav-dropdown { display: block; }
  .nav-links .nav-item--drop:hover > .nav-drop-toggle .nav-chevron { transform: rotate(180deg); }
  .nav-links .nav-item--drop:hover > .nav-drop-toggle { color: var(--ink); background: var(--fog); }
}

/* ── MEGA MENU (Services) ── */
.nav-dropdown--mega {
  min-width: 540px;
  background: var(--white);
  border: none;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  overflow: hidden;
}
[data-theme="dark"] .nav-dropdown--mega { background: var(--snow); }
.nav-mega-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.25rem; list-style: none;
}
.nav-mega-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.7rem; border-radius: var(--r-lg);
  transition: background 0.15s; cursor: pointer;
  text-decoration: none;
}
.nav-mega-item:hover { background: var(--fog); }

.nav-mega-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  border: none;
  background: var(--blue-tint);
  color: var(--blue);
}
.nav-mega-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.nav-mega-title { font-size: 0.87rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.nav-mega-desc  { font-size: 0.76rem; color: var(--dim); line-height: 1.35; }

.nav-dropdown-footer {
  padding: 0.6rem 0.7rem 0.15rem;
  font-size: 0.82rem; color: var(--dim);
  border-top: 1px solid var(--fog); margin-top: 0.35rem;
}
.nav-dropdown-footer a { color: var(--blue); font-weight: 600; }
.nav-dropdown-footer a:hover { text-decoration: underline; }

/* ── COMPANY DROPDOWN ── */
.nav-dropdown--company {
  min-width: 400px; left: 0;
  transform: none !important;
  background: var(--white);
  border: none;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  overflow: hidden;
}
[data-theme="dark"] .nav-dropdown--company { background: var(--snow); }
.nav-company-grid { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.nav-company-main { display: flex; flex-direction: column; gap: 0.2rem; list-style: none; }
.nav-company-links { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.25rem 0.5rem; list-style: none; min-width: 130px; }

.nav-slim-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.6rem; border-radius: var(--r-pill);
  font-size: 0.87rem; font-weight: 500; color: var(--mid);
  transition: background 0.15s, color 0.15s; text-decoration: none;
  white-space: nowrap;
}
.nav-slim-link:hover { color: var(--ink); background: var(--fog); }
.nav-slim-link svg { flex-shrink: 0; }

/* ── NAV RIGHT ── */
.nav-right { display: flex; align-items: center; gap: 0.55rem; }
.nav-ghost-cta { }

/* ── THEME SWITCHER ── */
.theme-switcher {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: var(--r-pill); background: var(--fog); border: none;
}
.theme-btn {
  width: 30px; height: 26px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; background: transparent; color: var(--dim);
  transition: all 0.2s;
}
.theme-btn:hover { color: var(--mid); }
.theme-btn.active { background: var(--white); box-shadow: var(--shadow-sm); color: var(--ink-3); }
[data-theme="dark"] .theme-btn.active { background: var(--mist); color: var(--ink); }

/* ── ANIMATED BURGER ── */
.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: transparent; cursor: pointer; color: var(--mid);
  transition: background 0.15s;
}
.nav-burger:hover { background: var(--fog); }

.burger-svg { transition: transform 300ms cubic-bezier(0.16,1,0.3,1); display: block; }
.nav-burger.open .burger-svg { transform: rotate(-45deg); }
.burger-path-morph {
  stroke-dasharray: 12 63;
  transition: stroke-dasharray 300ms ease, stroke-dashoffset 300ms ease;
}
.nav-burger.open .burger-path-morph {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}
.burger-path-mid { transition: opacity 300ms ease; }
.nav-burger.open .burger-path-mid { opacity: 0; }

/* ── MOBILE DRAWER ── */
.nav-mobile {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--fog);
}
.nav-mobile.open {
  display: flex;
  animation: mobile-in 200ms cubic-bezier(0.16,1,0.3,1);
}
@keyframes mobile-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-inner {
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  padding: 1rem var(--pad-x) calc(env(safe-area-inset-bottom) + 1rem);
}
.nav-mobile-scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding-bottom: 1rem;
}
.nav-mobile-section { display: flex; flex-direction: column; gap: 0.15rem; }
.nav-mobile-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--blue);
  padding: 0.25rem 0.5rem 0.5rem;
}
.nav-mobile .nav-mega-item { padding: 0.45rem 0.5rem; }
.nav-mobile .nav-mega-icon { width: 36px; height: 36px; }
.nav-mobile .nav-slim-link { padding: 0.55rem 0.6rem; font-size: 0.92rem; }

.nav-mobile-actions {
  flex-shrink: 0; display: flex; flex-direction: column; gap: 0.65rem;
  padding-top: 1rem; border-top: 1px solid var(--fog);
}
.nav-mobile-theme {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.5rem 0;
}
.nav-mobile-theme .theme-switcher { flex: 1; display: flex; gap: 2px; }
.nav-mobile-theme .theme-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 0.35rem; font-size: 0.78rem; font-weight: 600;
  padding: 0.5rem 0.5rem; width: auto; height: auto;
  border-radius: var(--r-pill);
}

/* ── BUTTONS (Material pills) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.65rem 1.5rem; border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 600;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap; letter-spacing: 0; cursor: pointer;
  font-family: var(--font);
}
.btn-sm  { padding: 0.45rem 1.1rem; font-size: 0.84rem; }
.btn-lg  { padding: 0.85rem 1.9rem; font-size: 0.95rem; }
.btn-xl  { padding: 0.95rem 2.1rem; font-size: 1rem; }
.btn-full{ width: 100%; justify-content: center; }

.btn-primary {
  background: var(--blue-solid); color: var(--btn-on-blue);
}
.btn-primary:hover {
  background: var(--blue-deep); color: var(--btn-on-blue);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent; color: var(--blue);
  border: 1px solid var(--mist);
}
.btn-ghost:hover { background: var(--blue-dim); border-color: var(--blue-ring); color: var(--blue); }

.btn-link { background: transparent; color: var(--blue); padding: 0.65rem 0.5rem; }
.btn-link:hover { color: var(--blue-deep); background: var(--blue-dim); border-radius: var(--r-pill); }
.btn-link::after { content: '→'; transition: transform 0.2s; display: inline-block; }
.btn-link:hover::after { transform: translateX(3px); }

.btn-blue { background: var(--blue-solid); color: var(--btn-on-blue); }
.btn-blue:hover { background: var(--blue-deep); }

.btn-invert { background: #fff; color: #0B57D0; }
.btn-invert:hover { background: #ECF3FE; }

/* ── HERO (centered, Google One style) ── */
.hero {
  display: flex; align-items: flex-start;
  position: relative; overflow: hidden;
  padding-top: clamp(7.5rem, 14vh, 10rem);
  padding-bottom: 0;
  background: var(--white);
}
.hero-bg { display: none; }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 3rem;
}
.hero-grid .t-body { margin-left: auto; margin-right: auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--mist); border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  text-transform: none; color: var(--mid);
  margin-bottom: 1.75rem; background: var(--white);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  flex-shrink: 0;
}
.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; }
.hero-note {
  font-size: 0.85rem; color: var(--dim);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.5rem;
}
.hero-note::before { display: none; }

/* Hero facts panel → centered chip row */
.hero-index {
  border-left: none;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  background: var(--snow);
  border-radius: var(--r-xl);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 2rem;
  width: 100%;
}
@media (max-width: 1024px) { .hero-index { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px)  { .hero-index { grid-template-columns: 1fr; } }
.hero-index-item { display: flex; flex-direction: column; gap: 0.3rem; text-align: left; }
.hero-index-k {
  font-size: 0.74rem; letter-spacing: 0.02em; text-transform: none;
  font-weight: 700; color: var(--blue);
}
.hero-index-v { font-size: 0.92rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.hero-index-v a { border-bottom: 1px solid var(--mist); transition: border-color 0.15s; }
.hero-index-v a:hover { border-color: var(--blue); color: var(--blue); }

/* ── PRACTICE STRIP (bottom of hero) ── */
.proof-strip {
  border-top: none;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 0 0 1rem;
}
.proof-inner {
  display: flex; align-items: stretch; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}
.proof-stat {
  display: flex; flex-direction: column; gap: 0.3rem; flex-shrink: 0;
  background: var(--fog); border-radius: var(--r-lg);
  padding: 1.1rem 1.5rem; text-align: left;
  flex: 1; min-width: 240px; max-width: 360px;
}
.proof-num  {
  font-family: var(--font-disp);
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.proof-lbl  { font-size: 0.8rem; color: var(--mid); font-weight: 500; }
.proof-div  { display: none; }
.proof-logo-pill {
  display: flex; align-items: center;
  padding: 0.35rem 0.8rem; border: 1px solid var(--mist); border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 600; color: var(--mid); background: transparent;
}

/* ── SECTION HEADER ── */
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.25rem; }

/* ── FEATURE GRID (soft cards) ── */
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem; background: transparent;
  border: none; border-radius: 0; overflow: visible;
}
.feat-cell {
  background: var(--snow); padding: 2rem 1.75rem 2.25rem;
  border-radius: var(--r-xl);
  transition: background 0.2s; position: relative;
}
.feat-cell:hover { background: var(--fog); }
a.feat-cell { cursor: pointer; }

.feat-grid:has(> .feat-card) {
  gap: 1rem;
  background: transparent;
  border: none;
  overflow: visible;
}
.feat-card {
  background: var(--snow);
  border: none;
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.feat-card:hover { background: var(--fog); }
.feat-desc { font-size: 0.9rem; line-height: 1.7; color: var(--mid); }

.feat-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--blue-tint); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 1.4rem; flex-shrink: 0;
}
.feat-title { font-family: var(--font-disp); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; color: var(--ink); }
.feat-body  { font-size: 0.9rem; line-height: 1.65; color: var(--mid); }
.feat-num   {
  position: absolute; top: 1.75rem; right: 1.75rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--dim);
}
.feat-more {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1.1rem; font-size: 0.86rem; font-weight: 600; color: var(--blue);
}

/* ── SERVICE LEDGER (grouped index, soft panels) ── */
.ledger-group {
  border-top: none;
  background: var(--snow);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}
.ledger-group:last-child { border-bottom: none; }
.ledger-head {
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem;
  padding: 0 0 1rem; align-items: start;
}
.ledger-title { font-family: var(--font-disp); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.ledger-note  { font-size: 0.9rem; color: var(--mid); line-height: 1.65; max-width: 560px; }
.ledger-rows  { padding: 0; }
.ledger-row {
  display: grid; grid-template-columns: 44px 230px 1fr auto; gap: 1.25rem;
  align-items: baseline;
  padding: 0.85rem 1rem;
  border-radius: var(--r-lg);
  transition: background 0.15s;
}
.ledger-row:hover { background: var(--white); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .ledger-row:hover { background: var(--fog); box-shadow: none; }
.ledger-row:hover .ledger-arrow { color: var(--blue); transform: translateX(2px); }
.ledger-no {
  font-size: 0.76rem; font-weight: 700; color: var(--dim); letter-spacing: 0.02em;
}
.ledger-name { font-size: 0.98rem; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.ledger-desc { font-size: 0.88rem; color: var(--mid); line-height: 1.6; }
.ledger-arrow { color: var(--dim); transition: color 0.15s, transform 0.15s; font-size: 0.95rem; }
@media (max-width: 900px) {
  .ledger-head { grid-template-columns: 1fr; gap: 0.5rem; }
  .ledger-row { grid-template-columns: 36px 1fr auto; }
  .ledger-desc { grid-column: 2 / 3; grid-row: 2; }
  .ledger-arrow { grid-row: 1; }
}

/* ── SERVICES SHOWCASE (practice panels) ── */
.practice-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.practice-panel {
  background: var(--pp-tint);
  border-radius: var(--r-2xl);
  padding: clamp(1.75rem, 3.5vw, 3rem);
}
.practice-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem 2.5rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.practice-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pp-accent); margin-bottom: 0.7rem;
}
.practice-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pp-accent); flex-shrink: 0; }
.practice-title {
  font-family: var(--font-disp); font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1;
}
.practice-note { font-size: 0.92rem; color: var(--mid); line-height: 1.6; max-width: 440px; }
.practice-services {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 0.75rem;
}
.svc-tile {
  position: relative; display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--white); border-radius: var(--r-lg);
  padding: 1.15rem 1.25rem;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s;
}
[data-theme="dark"] .svc-tile { background: var(--fog); }
.svc-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-tile-ic {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--r-md);
  background: var(--pp-ic); color: var(--pp-accent);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease-out-expo);
}
.svc-tile:hover .svc-tile-ic { transform: scale(1.07); }
.svc-tile-txt { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; padding-right: 1.1rem; }
.svc-tile-name { font-size: 0.95rem; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.svc-tile-desc {
  font-size: 0.8rem; color: var(--mid); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-tile-arrow {
  position: absolute; top: 1.15rem; right: 1.1rem;
  color: var(--dim); font-size: 0.95rem; line-height: 1;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
}
.svc-tile:hover .svc-tile-arrow { opacity: 1; transform: translateX(0); color: var(--pp-accent); }
@media (hover: none) { .svc-tile-arrow { opacity: 0.55; transform: none; } }
@media (max-width: 560px) { .practice-services { grid-template-columns: 1fr; } }

/* Practice accent identities (light) */
.pp--growth  { --pp-tint: rgba(11,87,208,0.06);  --pp-accent: #0B57D0; --pp-ic: rgba(11,87,208,0.10); }
.pp--design  { --pp-tint: rgba(11,128,67,0.07);  --pp-accent: #0B8043; --pp-ic: rgba(11,128,67,0.11); }
.pp--hosting { --pp-tint: rgba(196,86,0,0.06);   --pp-accent: #B65C00; --pp-ic: rgba(196,86,0,0.11); }
/* Practice accent identities (dark) */
[data-theme="dark"] .pp--growth  { --pp-tint: rgba(168,199,250,0.07); --pp-accent: #A8C7FA; --pp-ic: rgba(168,199,250,0.13); }
[data-theme="dark"] .pp--design  { --pp-tint: rgba(109,213,140,0.07); --pp-accent: #6DD58C; --pp-ic: rgba(109,213,140,0.13); }
[data-theme="dark"] .pp--hosting { --pp-tint: rgba(253,214,99,0.07);  --pp-accent: #FDD663; --pp-ic: rgba(253,214,99,0.13); }

/* ── HOW IT WORKS STEPS (soft cards) ── */
.steps-wrap {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
  border-top: none;
}
.steps-wrap::before { display: none; }
.step {
  text-align: left; position: relative; z-index: 1;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.5rem;
}
.step + .step { padding-left: 1.5rem; border-left: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-tint); border: none; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 1.1rem;
  font-family: var(--font-disp);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0; color: var(--blue);
}
.step-num::before { content: none; }
.step-title { font-family: var(--font-disp); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; color: var(--ink); }
.step-body  { font-size: 0.87rem; line-height: 1.65; color: var(--mid); }

/* ── TESTIMONIALS / QUOTES ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.testi-card {
  background: var(--snow); border: none; border-radius: var(--r-xl);
  padding: 1.9rem; transition: background 0.2s;
  display: flex; flex-direction: column;
}
.testi-card:hover { background: var(--fog); }
.testi-stars  { display: flex; gap: 2px; margin-bottom: 1rem; color: var(--amber); }
.testi-text   {
  font-size: 1rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 1.5rem;
  font-style: normal;
}
.testi-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testi-av     {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem; color: var(--blue); flex-shrink: 0;
  background: var(--blue-tint) !important; border: none;
}
.testi-name   { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.testi-role   { font-size: 0.75rem; color: var(--dim); margin-top: 0.1rem; }
.testi-tags   { display: flex; gap: 0.4rem; margin-top: 1.25rem; flex-wrap: wrap; }
.testi-tag    {
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: var(--r-pill);
  background: var(--white); color: var(--mid); border: 1px solid var(--mist);
}

/* ── PRICING GRID (Google One plan cards) ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; border: none; }
.price-card {
  border: 1px solid var(--mist); border-radius: var(--r-xl); padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s; background: var(--white);
  display: flex; flex-direction: column;
}
.price-card + .price-card { border-left: 1px solid var(--mist); }
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card-featured {
  background: var(--blue-tint);
  border-color: transparent;
  box-shadow: none;
}
.price-card-featured:hover { box-shadow: var(--shadow-md); }
.pc-label {
  font-size: 0.76rem; font-weight: 700; text-transform: none; letter-spacing: 0.02em; margin-bottom: 0.6rem;
}
.pc-label-l, .pc-label-d { color: var(--blue); }
.pc-name  { font-family: var(--font-disp); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.pc-name-l, .pc-name-d { color: var(--ink); }
.pc-desc  { font-size: 0.87rem; line-height: 1.6; margin-bottom: 1.5rem; }
.pc-desc-l, .pc-desc-d { color: var(--mid); }
.pc-price { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.07); }
[data-theme="dark"] .pc-price { border-bottom-color: rgba(255,255,255,0.09); }
.pc-amount { font-family: var(--font-disp); font-size: 2.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.pc-amount-l, .pc-amount-d { color: var(--ink); }
.pc-per   { font-size: 0.84rem; font-weight: 500; margin-left: 0.25rem; }
.pc-per-l, .pc-per-d { color: var(--dim); }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.pc-feature  { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.88rem; line-height: 1.5; }
.pc-feature-l, .pc-feature-d { color: var(--mid); }
.pc-check {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 2px;
}
.pc-check-l, .pc-check-d { background: transparent; color: var(--blue); border: none; }
.pc-most-pop {
  display: inline-flex; align-self: flex-start;
  font-size: 0.7rem; font-weight: 700; text-transform: none; letter-spacing: 0.02em;
  padding: 0.3rem 0.8rem; border-radius: var(--r-pill);
  background: var(--blue-solid); color: var(--btn-on-blue);
  margin-bottom: 1rem;
}
.price-card .btn { margin-top: auto; }
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── TRANSPARENCY / DETAIL POINTS ── */
.t-points { display: flex; flex-direction: column; gap: 0.75rem; }
.t-point  {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.4rem; background: var(--snow);
  border: none; border-top: none; border-radius: var(--r-lg);
}
.t-point:last-child { border-bottom: none; }
.t-icon  {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--blue-tint); border: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.t-title { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.t-body  { font-size: 0.87rem; color: var(--mid); line-height: 1.65; }

/* Report / summary card */
.report-card    { background: var(--snow); border: none; border-radius: var(--r-xl); overflow: hidden; }
.rc-header      { padding: 1.1rem 1.4rem; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; background: transparent; }
[data-theme="dark"] .rc-header { border-bottom-color: rgba(255,255,255,0.08); }
.rc-title       { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.rc-kpis        { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; background: transparent; }
.rc-kpi         { background: transparent; padding: 1.1rem 1.4rem; }
.rc-kpi-val     { font-family: var(--font-disp); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.rc-kpi-lbl     { font-size: 0.68rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.25rem; font-weight: 600; }
.rc-tasks       { padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.rc-task        { display: flex; align-items: center; gap: 0.6rem; font-size: 0.84rem; color: var(--mid); }
.rc-dot         { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.rc-spend       { padding: 1.1rem 1.4rem; border-top: 1px solid rgba(0,0,0,0.06); }
[data-theme="dark"] .rc-spend { border-top-color: rgba(255,255,255,0.08); }
.rc-spend-row   { display: flex; justify-content: space-between; font-size: 0.82rem; margin-top: 0.35rem; color: var(--mid); }
.rc-illus       { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.rc-chart       { padding: 1.1rem 1.4rem 0.5rem; }
.rc-chart-top   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; }
.rc-chart-title { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.rc-chart-note  { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.rc-bars        { display: flex; align-items: flex-end; gap: 6px; height: 76px; }
.rc-bar         { flex: 1; border-radius: 4px 4px 0 0; background: rgba(11,87,208,0.16); transition: height 0.3s var(--ease-out-expo); }
.rc-bar.is-peak { background: var(--blue-solid); }
[data-theme="dark"] .rc-bar { background: rgba(168,199,250,0.18); }
[data-theme="dark"] .rc-bar.is-peak { background: var(--blue-solid); }
.rc-kpi-spark   { display: block; height: 22px; margin-bottom: 0.4rem; }
.rc-kpi-spark svg { width: 100%; height: 100%; overflow: visible; }


/* ── STATS ROW ── */
.stats-row  { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; border: none; }
.stat-card  { text-align: left; padding: 1.75rem 1.5rem; background: var(--snow); border-radius: var(--r-xl); }
.stat-card + .stat-card { padding-left: 1.5rem; border-left: none; }
.s-num { font-family: var(--font-disp); font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; color: var(--blue); line-height: 1; }
.s-lbl { font-size: 0.84rem; color: var(--mid); margin-top: 0.6rem; font-weight: 500; }

/* ── CTA SECTION (blue rounded panel) ── */
:root   { --cta-bg: #0B57D0; }
[data-theme="dark"] { --cta-bg: #0F2A52; }

.cta-wrap {
  background: transparent; border-radius: var(--r-2xl);
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 5vw, 2rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-wrap::before { display: none; }
/* Duplicate-CTA guard: the .cta-wrap CTA is template-rendered inside its own
   <section>, never inside editor content. If a copy was pasted into the page
   editor it lands inside .post-content and renders as an unstyled/light
   duplicate. Hide it (and its now-empty wrapper) so only the real CTA shows.
   The server-side filter in functions.php also strips it; this is the
   can't-fail visual backstop. */
.post-content .cta-wrap { display: none !important; }
.post-content .wrap > .fade-up:has(> .cta-wrap:only-child) { display: none !important; }
.cta-wrap .t-label { justify-content: center; }
.cta-h   {
  font-family: var(--font-disp);
  font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.12; color: var(--ink); margin-bottom: 1.25rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.cta-h em { color: var(--blue); }
.cta-sub { font-size: 1rem; color: var(--tx-2); max-width: 540px; margin: 0 auto 2.25rem; line-height: 1.7; }
.cta-form { display: flex; gap: 0.6rem; max-width: 480px; margin: 0 auto 0.9rem; }
.cta-input {
  flex: 1; padding: 0.85rem 1.25rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--mist);
  color: var(--ink); font-size: 0.92rem; outline: none; font-family: var(--font);
  transition: border-color 0.2s, background 0.2s;
}
.cta-input:focus { border-color: var(--blue); background: var(--white); }
.cta-input::placeholder { color: var(--tx-3); }
.cta-note { font-size: 0.8rem; color: var(--tx-3); text-align: center; }

/* Standard theme buttons will be used instead of specific overrides */

/* ── INDUSTRIES PILLS ── */
.ind-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.ind-pill  {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem; border: 1px solid var(--mist); border-radius: var(--r-pill);
  font-size: 0.86rem; font-weight: 500; color: var(--mid); background: transparent;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.ind-pill:hover { border-color: var(--blue-ring); color: var(--blue); background: var(--blue-dim); }

/* ── COMPARISON GRID (kept for inner pages) ── */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.comparison-col { display: flex; flex-direction: column; gap: 0.75rem; }
.comparison-col-head {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; text-transform: none;
  letter-spacing: 0.02em; padding: 0.65rem 1.1rem; border-radius: var(--r-pill);
  border-bottom: none;
  margin-bottom: 0.25rem;
}
.comparison-col-head--old { background: var(--fog); color: var(--dim); }
.comparison-col-head--new { background: var(--blue-tint); color: var(--blue); }
.comparison-col-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--mist); color: var(--dim);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.comparison-col-icon--new { background: var(--blue-dim); color: var(--blue); }
.comparison-card {
  padding: 1.25rem 1.4rem; border-radius: var(--r-lg);
  border: none; background: var(--snow);
}
.comparison-card--old { border: none; opacity: 0.85; }
.comparison-card--new { border: none; background: var(--blue-tint); }
.comparison-card-title { font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.comparison-card-body  { font-size: 0.84rem; color: var(--mid); line-height: 1.6; }
@media (max-width: 640px) { .comparison-grid { grid-template-columns: 1fr; } }

/* ── INDUSTRY CARDS (compact) ── */
.ind-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
.ind-card-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.1rem; border: none; border-radius: var(--r-lg);
  background: var(--white); transition: background 0.15s, box-shadow 0.15s;
}
[data-theme="dark"] .ind-card-item { background: var(--fog); }
.ind-card-item:hover { box-shadow: var(--shadow-sm); }
.ind-card-icon {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: var(--blue-tint); border: none; color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ind-card-name { font-size: 0.87rem; font-weight: 600; color: var(--ink); }
.ind-card-tag  { font-size: 0.74rem; color: var(--dim); margin-top: 0.1rem; }
@media (max-width: 1024px) { .ind-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .ind-cards { grid-template-columns: repeat(2, 1fr); } }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--fog); padding: 4rem 0 2rem; background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-logo-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; }
.footer-logo-row .logo-mark { display: none; }
.footer-brand p  { font-size: 0.9rem; color: var(--mid); line-height: 1.7; max-width: 290px; }
.footer-col h6 {
  font-size: 0.8rem; font-weight: 700; text-transform: none; letter-spacing: 0.02em;
  color: var(--ink); margin-bottom: 1.1rem;
}
.footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a    { font-size: 0.9rem; color: var(--mid); transition: color 0.15s; }
.footer-col a:hover { color: var(--blue); }
.footer-social   { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--fog); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid); transition: all 0.15s;
}
.footer-social a:hover { color: var(--blue); background: var(--blue-tint); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--fog);
  font-size: 0.82rem; color: var(--dim); flex-wrap: wrap; gap: 1rem;
}
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.f-badge {
  background: var(--fog); border: none; border-radius: var(--r-pill);
  padding: 0.3rem 0.9rem; font-size: 0.74rem; font-weight: 600; color: var(--mid);
}

/* ── PAGE HERO (inner pages, centered) ── */
.page-hero {
  display: flex; align-items: center;
  /* Unified, compact interior hero. Inline per-page min-heights (40-72vh)
     were removed; this single value governs every page-hero. */
  min-height: 34vh;
  padding-top: clamp(5.5rem, 9vh, 7rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  position: relative; overflow: hidden;
  background: var(--white);
  border-bottom: none;
}
.page-hero-bg { display: none; }
.page-hero-inner { text-align: center; max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero-inner .t-hero { margin: 0.75rem 0 1.25rem; }
.page-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 1rem; border: 1px solid var(--mist); background: var(--white); border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; text-transform: none;
  color: var(--mid); margin-bottom: 1.25rem;
}
.page-pill::before { content: none; }

/* ── BLOG CARDS ── */
.blog-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.blog-card    {
  background: var(--snow); border: none; border-radius: var(--r-xl);
  overflow: hidden; transition: background 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
}
.blog-card:hover { background: var(--fog); box-shadow: none; }
.blog-thumb, .blog-img { height: 200px; background: var(--fog); position: relative; overflow: hidden; display: block; }
.blog-thumb img, .blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-ph {
  height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--fog); color: var(--mist);
}
.blog-body    { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta    { display: flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; color: var(--dim); margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-cat     {
  font-size: 0.7rem; font-weight: 700; text-transform: none; letter-spacing: 0.02em;
  padding: 0.22rem 0.65rem; border-radius: var(--r-pill); background: var(--blue-tint); color: var(--blue);
}
.blog-time    { font-size: 0.74rem; color: var(--dim); }
.blog-title   { font-family: var(--font-disp); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.6rem; line-height: 1.35; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--blue); }
.blog-excerpt { font-size: 0.88rem; color: var(--mid); line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.blog-footer  { display: flex; align-items: center; gap: 0.6rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.06); }
[data-theme="dark"] .blog-footer { border-top-color: rgba(255,255,255,0.08); }
.blog-link    { font-size: 0.85rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.2s; }
.blog-card:hover .blog-link { gap: 0.6rem; }

/* ── SINGLE POST ── */
.post-hero {
  padding-top: 7rem; padding-bottom: 3.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--fog);
  position: relative; overflow: hidden;
}
.post-hero-bg { display: none; }
.post-hero-inner { max-width: 780px; margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }
.post-hero-inner h1 { font-family: var(--font-disp); font-weight: 600; letter-spacing: -0.015em; }
.post-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.84rem; color: var(--dim); margin-bottom: 1.5rem; flex-wrap: wrap; }

.post-feat-img {
  width: 100%; max-width: 960px; margin: 0 auto; padding: 0 var(--pad-x);
  margin-top: -1.5rem; margin-bottom: 0; position: relative; z-index: 2;
}
.post-feat-img img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 7; object-fit: cover;
}
.post-meta-sep { color: var(--mist); }

.post-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 4rem;
  align-items: start; max-width: var(--max-w); margin: 0 auto;
  padding: var(--sec-y) var(--pad-x);
}
.post-sidebar { position: sticky; top: 100px; }
.post-sidebar-box {
  background: var(--snow); border: none;
  border-radius: var(--r-xl); padding: 1.5rem; margin-bottom: 1.5rem;
}
.post-toc-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 1rem; }
.post-toc a {
  display: block; font-size: 0.84rem; color: var(--mid);
  padding: 0.3rem 0 0.3rem 0.75rem;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.5;
}
.post-toc a:hover, .post-toc a.active { color: var(--blue); border-left-color: var(--blue); }

.post-wrap { max-width: 100%; }
.post-content { font-size: 1.05rem; line-height: 1.8; color: var(--ink-3); }
.post-content h2 { font-family: var(--font-disp); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 2.5rem 0 1rem; line-height: 1.2; }
.post-content h3 { font-family: var(--font-disp); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 2rem 0 0.75rem; }
.post-content p  { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: revert; }
.post-content li { margin-bottom: 0.5rem; }
.post-content a  { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.post-content blockquote {
  border-left: none; padding: 1.25rem 1.5rem;
  margin: 2rem 0; font-style: normal; font-size: 1.05rem;
  color: var(--ink); background: var(--blue-tint); border-radius: var(--r-lg);
}
.post-content code { font-size: 0.875em; background: var(--fog); border: none; border-radius: 6px; padding: 0.15em 0.45em; font-family: var(--font-mono); }
.post-content pre { background: var(--snow); border: none; border-radius: var(--r-lg); padding: 1.5rem; overflow-x: auto; margin: 1.5rem 0; }
.post-content pre code { background: none; padding: 0; }
.post-content img { border-radius: var(--r-lg); margin: 1.5rem 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.post-content th { background: var(--snow); font-weight: 600; color: var(--ink); padding: 0.75rem 1rem; text-align: left; border-bottom: 2px solid var(--mist); }
.post-content td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--fog); color: var(--mid); }
.post-content tr:last-child td { border-bottom: none; }

.post-author {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; background: var(--snow); border: none;
  border-radius: var(--r-xl); margin-top: 3rem;
}
.post-author-av {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1.1rem; color: var(--btn-on-blue);
  background: var(--blue-solid);
}
.post-author-name { font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.post-author-role { font-size: 0.76rem; color: var(--dim); margin-bottom: 0.6rem; }
.post-author-bio  { font-size: 0.87rem; color: var(--mid); line-height: 1.65; }

@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 2rem; }
  .post-sidebar { position: static; display: none; }
}

/* ── SERVICE DETAIL ── */
.svc-detail-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.svc-feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.svc-feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.4rem; background: var(--snow);
  border: none; border-top: none; border-radius: var(--r-lg);
  transition: background 0.15s;
}
.svc-feature-item:last-child { border-bottom: none; }
.svc-feature-item:hover { background: var(--fog); }
.svc-feature-icon { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--blue-tint); border: none; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── CONTACT FORM ── */
.contact-form-wrap { background: var(--snow); border: none; border-radius: var(--r-xl); padding: 2rem; }
.form-group   { margin-bottom: 1.25rem; }
.form-label   { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.8rem 1.1rem; border-radius: var(--r-md);
  border: 1px solid var(--mist); background: var(--white); color: var(--ink);
  font-size: 0.94rem; font-family: var(--font); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Info cards (contact page) */
.info-card    { background: var(--snow); border: none; border-radius: var(--r-xl); padding: 1.5rem; margin-bottom: 1rem; transition: background 0.2s; }
.info-card:hover { background: var(--fog); }
.info-icon    { margin-bottom: 0.75rem; color: var(--blue); }
.info-title   { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.info-text    { font-size: 0.88rem; color: var(--mid); line-height: 1.65; margin-bottom: 0.75rem; }
.info-link    { font-size: 0.88rem; font-weight: 600; color: var(--blue); display: block; margin-top: 0.3rem; transition: color 0.15s; }
.info-link:hover { color: var(--blue-deep); }

/* ── PARTNER TIER CARDS ── */
.tier-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.tier-card  {
  background: var(--snow); border: none; border-radius: var(--r-xl);
  padding: 2rem; transition: box-shadow 0.2s;
}
.tier-card:hover  { box-shadow: var(--shadow-md); }
.tier-card.featured { background: var(--blue); border: none; transform: none; box-shadow: none; }

/* ── INDUSTRY CARDS (large) ── */
.industry-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.industry-card  {
  background: var(--snow); border: none; border-radius: var(--r-xl);
  padding: 2rem; transition: background 0.2s; cursor: pointer;
}
.industry-card:hover { background: var(--fog); box-shadow: none; transform: none; }
.industry-icon  { margin-bottom: 1rem; color: var(--blue); }
.industry-title { font-family: var(--font-disp); font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.industry-body  { font-size: 0.88rem; color: var(--mid); line-height: 1.65; }

/* ── FAQ (rounded expanders) ── */
.faq-item {
  border-bottom: none;
  background: var(--snow);
  border-radius: var(--r-lg);
  margin-bottom: 0.75rem;
  padding: 0 1.4rem;
  transition: background 0.2s;
}
.faq-item:first-child { border-top: none; }
.faq-item.open { background: var(--fog); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--ink); font-size: 0.98rem; font-weight: 600;
  padding: 1.25rem 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font); transition: color 0.15s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.85rem; color: var(--mid);
  transition: transform 0.3s, background 0.2s, color 0.2s;
}
[data-theme="dark"] .faq-icon { background: var(--mist); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue-solid); color: var(--btn-on-blue); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.92rem; color: var(--mid); line-height: 1.7;
  max-width: 680px;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.4rem; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 4px; }

/* ── 404 ── */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.e404-num { font-family: var(--font-disp); font-size: clamp(6rem, 15vw, 10rem); font-weight: 600; letter-spacing: -0.03em; color: var(--blue-tint); line-height: 1; }
[data-theme="dark"] .e404-num { color: var(--fog); }
.e404-title { font-family: var(--font-disp); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 1rem 0 0.5rem; }
.e404-body  { font-size: 1rem; color: var(--mid); margin-bottom: 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid    { gap: 2.5rem; }
  .hero-index   { gap: 1.5rem 2.5rem; }
  .feat-grid    { grid-template-columns: repeat(2,1fr); }
  .steps-wrap   { grid-template-columns: repeat(2,1fr); }
  .testi-grid   { grid-template-columns: 1fr; }
  .two-col      { grid-template-columns: 1fr; gap: 3rem; }
  .svc-detail-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stats-row    { grid-template-columns: repeat(2,1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .tier-grid    { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid    { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .nav-links        { display: none; }
  .nav-burger       { display: flex; }
  .nav-ghost-cta    { display: none; }
  .nav-right .btn-primary { display: none; }
}
@media (max-width: 768px) {
  .feat-grid    { grid-template-columns: 1fr; }
  .cta-form     { flex-direction: column; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .industry-grid { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-index   { flex-direction: column; gap: 1.25rem; }
}
@media (max-width: 480px) {
  .steps-wrap   { grid-template-columns: 1fr; }
  .stats-row    { grid-template-columns: 1fr; }
  .nav-right .theme-switcher { display: none; }
  .nav-right .btn-primary { font-size: 0.8rem; padding: 0.4rem 0.9rem; }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }
.gap-sm { gap: 0.5rem; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   WOOCOMMERCE — Neural Cart, Checkout, My Account, Product
   ============================================================ */

/* ── Page shell ── */
.nc-page-shell { position: relative; overflow: hidden; }
.nc-page-inner  { max-width: var(--max-w); margin: 0 auto; padding: 6rem var(--pad-x) var(--sec-y); }

/* ── Neural Cart container ── */
.neural-cart-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .neural-cart-container { grid-template-columns: 1fr; }
}

/* ── Cart item cards ── */
.cart-list { display: flex; flex-direction: column; gap: 1rem; }
.cart-item-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 1.5rem;
}
@media (max-width: 600px) {
  .cart-item-card { grid-template-columns: 1fr; }
}
.cart-item-thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--r-md); }
.cart-item-meta { font-size: 0.8rem; color: var(--dim); }
.cart-item-meta dd { display: inline-block; margin: 0; background: var(--snow); border: 1px solid var(--mist); border-radius: var(--r-sm); padding: 0.2rem 0.5rem; font-size: 0.72rem; }

/* ── Cart sidebar ── */
.cart-sidebar { position: sticky; top: 90px; }
@media (max-width: 900px) {
  .cart-sidebar { position: static; }
}
.cart-summary {
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 2rem;
}
.cart-summary h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--mid);
}
.summary-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.5rem;
}
.cart-summary .woocommerce-Price-amount { font-weight: 700; }

/* ── Checkout layout ── */
.nc-wrap { max-width: var(--max-w); margin: 0 auto; padding: 3rem var(--pad-x) var(--sec-y); }

.nc-steps-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  padding: 0.5rem;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nc-step-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dim);
  cursor: default;
  transition: background 0.2s, color 0.2s;
}
.nc-step-item.active {
  background: var(--blue);
  color: #fff;
}
.nc-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nc-step-connector { width: 2rem; height: 1px; background: var(--mist); flex-shrink: 0; }

.nc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .nc-layout { grid-template-columns: 1fr; }
  .nc-sidebar { order: -1; }
}

/* ── Step panels ── */
.nc-step { display: none; }
.nc-step.active { display: block; }
.nc-step-header { margin-bottom: 2rem; }
.nc-step-header h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.4rem; }
.nc-step-desc { color: var(--mid); font-size: 0.95rem; }
.nc-step-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist);
}

/* ── Cart items in checkout ── */
.nc-cart-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.nc-item-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}
@media (max-width: 600px) { .nc-item-card { grid-template-columns: 1fr; } }
.nc-item-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-md); }
.nc-item-tag { font-size: 0.68rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.nc-item-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.4rem; }
.nc-item-addons { font-size: 0.8rem; color: var(--dim); }
.nc-reconfigure-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--blue); margin-top: 0.5rem; }
.nc-price-label { font-size: 0.68rem; font-weight: 700; color: var(--dim); text-transform: uppercase; margin-bottom: 0.25rem; }
.nc-item-price { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.nc-qty-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.nc-qty-ctrl { display: flex; align-items: center; border: 1px solid var(--mist); border-radius: var(--r-md); overflow: hidden; }
.nc-qty-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--snow); color: var(--ink); font-size: 1rem; cursor: pointer; border: none; }
.nc-qty-val { padding: 0 0.6rem; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.nc-remove-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--r-sm); border: 1px solid var(--mist); color: var(--red); }
.nc-qty-solo { font-size: 0.8rem; color: var(--dim); }
.nc-empty-state { text-align: center; padding: 4rem 2rem; color: var(--dim); }

/* ── Coupon bar ── */
.nc-coupon-bar {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
}
.nc-coupon-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  background: var(--snow);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 0.6rem 0.75rem;
}
.nc-coupon-field input { background: none; border: none; outline: none; color: var(--ink); font-family: var(--font); font-size: 0.9rem; flex: 1; }

/* ── Billing fields ── */
.nc-billing-card {
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 2rem;
}
.nc-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .nc-fields-grid { grid-template-columns: 1fr; } }
.nc-field-wrap { display: flex; flex-direction: column; }
.nc-field-wrap.notes-row { grid-column: 1 / -1; }
.nc-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mid); margin-bottom: 0.4rem; display: block; }
.nc-input {
  background: var(--snow);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  width: 100%;
}
.nc-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); }
.nc-textarea { resize: vertical; min-height: 80px; }

/* ── Summary sidebar ── */
.nc-sidebar { position: sticky; top: 90px; }
@media (max-width: 900px) {
  .nc-sidebar { position: static; }
}
.nc-summary-card {
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 2rem;
}
.nc-summary-label { font-size: 0.68rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.nc-summary-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.nc-summary-lines { margin-bottom: 1rem; }
.nc-summary-item { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; padding: 0.4rem 0; border-bottom: 1px solid var(--mist); }
.nc-summary-item-name { color: var(--mid); }
.nc-summary-item-price { font-weight: 600; color: var(--ink); }
.nc-summary-totals { border-top: 1px solid var(--mist); padding-top: 1rem; }
.nc-summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; font-size: 0.85rem; color: var(--mid); }
.nc-discount { color: var(--green); }
.nc-grand-total { font-size: 1rem; font-weight: 800; color: var(--ink); border-top: 1px solid var(--mist); padding-top: 1rem; margin-top: 0.5rem; }
.nc-due-label { font-size: 0.68rem; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.nc-trust-badge { display: flex; align-items: center; gap: 0.6rem; font-size: 0.75rem; color: var(--dim); margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--mist); }
.nc-sidebar-steps { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.nc-ss-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--dim); }
.nc-ss-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mist); flex-shrink: 0; transition: background 0.2s; }
.nc-ss-item.active { color: var(--ink); }
.nc-ss-item.active .nc-ss-dot { background: var(--blue); }

/* ── Product Configurator ── */

/* Hero */
.cfg-hero { padding: 120px 0 80px; min-height: auto; }
.cfg-hero-title { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.5rem; }
.cfg-hero-desc { max-width: 650px; font-size: 1.1rem; color: var(--mid); line-height: 1.7; }
.cfg-back-link {
  font-size: 0.85rem; color: var(--dim); display: inline-flex; align-items: center;
  gap: 0.6rem; margin-bottom: 2.5rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; text-decoration: none; transition: color 0.2s;
}
.cfg-back-link:hover { color: var(--ink); }

/* Section wrapper */
.cfg-section { padding: 0 0 var(--sec-y); }

/* Content blocks (left column cards) */
.content-block {
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.content-block:last-child { margin-bottom: 0; }

/* Feature checklist */
.cfg-checks { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.cfg-checks li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--mid); line-height: 1.6; }
.cfg-check-icon {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--blue-dim); border: 1px solid var(--blue-ring);
  display: flex; align-items: center; justify-content: center;
}

/* Stats row */
.cfg-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cfg-stat-box {
  background: var(--white); border: 1px solid var(--mist); border-radius: var(--r-xl);
  padding: 2rem; text-align: center;
}
.cfg-stat-num { font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.cfg-stat-lbl { font-size: 0.8rem; color: var(--dim); font-weight: 600; margin-top: 0.35rem; }

/* Thumbnail */
.cfg-thumbnail { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--mist); }

/* Layout */
.configurator-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 1024px) { .configurator-layout { grid-template-columns: 1fr; } }

/* Sticky panel */
.config-panel-wrap { position: sticky; top: 90px; }
@media (max-width: 1024px) { .config-panel-wrap { position: static; } }

/* Panel card */
.config-panel {
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 2rem;
}
.cfg-panel-header { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--mist); }

/* Field groups */
.cfg-field-group { margin-bottom: 1.75rem; }
.cfg-field-label {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--mid); margin-bottom: 0.75rem;
}

/* Billing cycle selector */
.cfg-cycle-options { display: flex; gap: 0.5rem; }
.cfg-cycle-option { flex: 1; cursor: pointer; }
.cfg-cycle-option input { display: none; }
.cycle-content {
  text-align: center; padding: 0.75rem; border-radius: var(--r-md);
  border: 1px solid var(--mist); cursor: pointer; transition: border-color 0.2s, background 0.2s;
  background: var(--white);
}
.cycle-content:hover { border-color: var(--blue-ring); }
.cycle-content.is-active { border-color: var(--blue); background: var(--blue-dim); }
.cfg-cycle-name { font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.cfg-cycle-price { font-size: 0.75rem; color: var(--dim); margin-top: 0.1rem; }

/* Add-ons */
.cfg-addons-list { display: flex; flex-direction: column; gap: 0.5rem; }
.cfg-addon { display: block; cursor: pointer; }
.cfg-addon input { display: none; }
.cfg-addon-content {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border: 1px solid var(--mist); border-radius: var(--r-md);
  transition: border-color 0.2s, background 0.2s;
}
.cfg-addon:hover .cfg-addon-content { border-color: var(--blue-ring); }
.cfg-addon.is-checked .cfg-addon-content { border-color: var(--blue); background: var(--blue-dim); }
.cfg-addon-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cfg-addon-name { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.cfg-addon-sub { font-size: 0.7rem; color: var(--dim); }
.cfg-addon-price { font-weight: 700; color: var(--ink); font-size: 0.9rem; white-space: nowrap; }
.cfg-addon-suffix { font-weight: 500; color: var(--dim); font-size: 0.78rem; }
.cfg-no-addons {
  padding: 1.25rem; background: var(--snow); border: 1px solid var(--mist);
  border-radius: var(--r-md); text-align: center; color: var(--dim); font-size: 0.85rem;
}

/* Total & submit */
.cfg-footer { border-top: 1px solid var(--mist); padding-top: 1.5rem; margin-top: 1.5rem; }
.cfg-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.cfg-total-label { font-size: 0.8rem; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.cfg-total-price { font-size: 1.75rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.cfg-submit-btn { width: 100%; justify-content: center; font-weight: 800; letter-spacing: 0.05em; }
.cfg-secure-note {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1rem; font-size: 0.72rem; color: var(--dim); text-align: center;
}

/* Trust badge below panel */
.cfg-trust-badge {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem;
  padding: 1.25rem; background: rgba(16,185,129,0.05);
  border: 1px solid rgba(16,185,129,0.15); border-radius: var(--r-lg);
}
.cfg-trust-icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: #059669; display: flex; align-items: center; justify-content: center; color: white;
}
.cfg-trust-title { font-size: 0.75rem; font-weight: 800; color: var(--ink); }
.cfg-trust-sub { font-size: 0.65rem; color: var(--dim); margin-top: 0.15rem; }

/* Mobile adjustments */
@media (max-width: 600px) {
  .cfg-hero { padding: 100px 0 60px; }
  .cfg-stat-row { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cfg-cycle-options { flex-wrap: wrap; }
}

/* ── My Account ── */
.woocommerce-MyAccount-content { min-width: 0; }

/* WC default form field overrides */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
  background: var(--snow);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.2s;
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--r-lg);
  border: 1px solid var(--mist);
  background: var(--fog);
  color: var(--ink);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  list-style: none;
}
.woocommerce-error { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.05); color: var(--red); }
.woocommerce-message { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.05); color: var(--green); }

/* ── Shop archive product grid responsive ── */
@media (max-width: 900px) {
  /* Product grid: 3-col → 2-col */
  .woocommerce-page .stagger[style*="grid-template-columns:repeat(3,1fr)"],
  .woocommerce .stagger[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 540px) {
  /* Product grid: 2-col → 1-col */
  .woocommerce-page .stagger[style*="grid-template-columns:repeat(3,1fr)"],
  .woocommerce .stagger[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Trust bar: 4-col → 2-col */
  .woocommerce-page div[style*="grid-template-columns:repeat(4,1fr)"],
  .woocommerce div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── WooCommerce page wrapper (no hero) ── */
/* page.php skips the hero banner on WC pages and adds .woo-page-section    */
/* to the content section so we can control spacing independently.           */
.woo-page-section { padding-top: 3rem; }
@media (max-width: 600px) {
  /* WooCommerce native form tables scroll horizontally on narrow screens */
  .woo-page-section .post-content table.shop_table,
  .woo-page-section .post-content .woocommerce-checkout-review-order-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Stack WC native cart/checkout sidebar below main form on mobile */
  .woo-page-section .post-content .woocommerce {
    display: block;
  }
  .woo-page-section .post-content #customer_details,
  .woo-page-section .post-content #order_review {
    float: none !important;
    width: 100% !important;
  }
}

/* ============================================================
   BLOG ARCHIVE v2 — improved styles
   ============================================================ */

/* ── Featured post card ── */
.arch-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--mist);
  text-decoration: none;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.arch-featured:hover { border-color: var(--ink-3); box-shadow: var(--shadow-lg); }

.arch-featured-left {
  background: linear-gradient(135deg, #0029b1 0%, #001f8a 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem; position: relative; overflow: hidden;
}
/* dark image tint so text remains readable when there's a thumbnail */
.arch-featured-left::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,41,177,0.85) 0%, rgba(0,10,60,0.75) 100%);
  z-index: 0;
}
.arch-featured-left > * { position: relative; z-index: 1; }

.arch-featured-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 100px;
  margin-bottom: 1.25rem; width: fit-content;
}
.arch-featured-cat {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem;
}
.arch-featured-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -0.03em; color: white; margin-bottom: 0.75rem;
}
.arch-featured-date { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

.arch-featured-right {
  background: var(--white); padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.arch-featured-exc {
  font-size: 0.95rem; color: var(--mid); line-height: 1.75; margin-bottom: 2rem; flex: 1;
}
.arch-featured-author {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.arch-featured-cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; font-weight: 700; color: var(--blue);
  transition: gap 0.2s;
}
.arch-featured:hover .arch-featured-cta { gap: 0.65rem; }

[data-theme="dark"] .arch-featured-right { background: var(--snow); }
@media (max-width: 768px) {
  .arch-featured { grid-template-columns: 1fr; }
  .arch-featured-left { min-height: 240px; padding: 2rem; }
  .arch-featured-right { padding: 2rem; }
  .arch-featured-exc { margin-bottom: 1.25rem; }
}

/* ── Author / avatar shared components ── */
.arch-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: white;
  background: linear-gradient(135deg, #0029b1, #0021a0);
}
.arch-av--sm { width: 28px; height: 28px; font-size: 0.62rem; }

.arch-av-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.arch-av-role { font-size: 0.75rem; color: var(--dim); margin-top: 0.1rem; }
.arch-av-meta {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; color: var(--dim); flex: 1;
}
.arch-av-sep { color: var(--mist); }

/* ── Filter bar ── */
.arch-filter-bar {
  border-bottom: 1px solid var(--mist);
  background: var(--white);
  padding: 0.9rem 0;
  position: sticky; top: 60px; z-index: 100;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}
[data-theme="dark"] .arch-filter-bar { background: rgba(10,10,11,0.92); border-color: rgba(255,255,255,0.07); }
.arch-filter-inner {
  display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
}
.arch-filter-label {
  font-size: 0.72rem; font-weight: 600; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.07em; margin-right: 0.25rem;
}

/* ── Card enhancements ── */
.blog-thumb--zoom img { transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.blog-card:hover .blog-thumb--zoom img { transform: scale(1.04); }

/* Gradient overlay at bottom of thumbnail for legibility */
.blog-thumb { position: relative; }
.blog-thumb-gradient {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.12) 0%, transparent 100%);
  pointer-events: none;
}

/* Category-coloured placeholder backgrounds */
.blog-thumb-ph--cat { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #2563eb; }
.blog-thumb-ph--cat[data-cat="seo"]        { background: linear-gradient(135deg,#f0fdf4,#dcfce7); color:#16a34a; }
.blog-thumb-ph--cat[data-cat="case-study"] { background: linear-gradient(135deg,#fff7ed,#ffedd5); color:#ea580c; }
.blog-thumb-ph--cat[data-cat="reputation"] { background: linear-gradient(135deg,#fdf4ff,#f3e8ff); color:#9333ea; }
.blog-thumb-ph--cat[data-cat="automation"] { background: linear-gradient(135deg,#f0fdf4,#dcfce7); color:#16a34a; }

.blog-meta-dot { color: var(--mist); }

/* ── Newsletter strip ── */
.arch-newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.arch-newsletter-form {
  display: flex; gap: 0.65rem; align-items: flex-start; flex-wrap: wrap;
}
@media (max-width: 640px) {
  .arch-newsletter { flex-direction: column; align-items: flex-start; }
  .arch-newsletter-form { flex-direction: column; width: 100%; }
  .arch-newsletter-form .form-input { min-width: unset; width: 100%; }
}

/* ── Pagination (WP native) ── */
.nav-links .page-numbers {
  display: inline-flex; align-items: center;
  padding: 0.4rem 0.85rem; border-radius: var(--r-md);
  font-size: 0.85rem; font-weight: 600; color: var(--mid);
  border: 1px solid var(--mist); text-decoration: none;
  transition: all 0.15s; margin: 0.15rem;
}
.nav-links .page-numbers:hover { color: var(--ink); background: var(--fog); border-color: var(--ink-3); }
.nav-links .page-numbers.current { background: #0029b1; color: white; border-color: #0029b1; }
[data-theme="dark"] .nav-links .page-numbers.current { background: #4169e8; border-color: #4169e8; }
.nav-links .page-numbers.dots { border: none; background: none; }
.nav-links .prev, .nav-links .next {
  display: inline-flex; align-items: center; gap: 0.3rem;
}

/* ============================================================
   SINGLE POST v2 — improved styles
   ============================================================ */

/* ── Post body wrapper (replaces old padding approach) ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) var(--sec-y);
  align-items: start;
}
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 2rem; }
  .post-sidebar { display: none; }
}

/* ── TOC link variants ── */
.toc-link {
  display: block; font-size: 0.82rem; color: var(--mid);
  padding: 0.35rem 0 0.35rem 0.75rem;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s; line-height: 1.5;
  text-decoration: none;
}
.toc-link--sub { padding-left: 1.5rem; font-size: 0.78rem; }
.toc-link:hover, .toc-link.active { color: var(--blue); border-left-color: var(--blue); }

/* ── Share button row ── */
.post-share-btn {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 600; color: var(--mid);
  background: var(--white); border: 1px solid var(--mist);
  border-radius: var(--r-md); padding: 0.5rem 0.85rem;
  cursor: pointer; width: 100%; text-align: left;
  font-family: var(--font); transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.post-share-btn:hover { color: var(--ink); border-color: var(--ink-3); background: var(--fog); }
[data-theme="dark"] .post-share-btn { background: var(--fog); }

/* ── In-post CTA strip ── */
.post-cta-strip {
  margin: 3rem 0;
  background: var(--cta-bg); border-radius: var(--r-xl);
  padding: 2rem 2.5rem; position: relative; overflow: hidden;
}
.post-cta-strip::before {
  content: ''; position: absolute; top: -60%; left: -10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,41,177,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.post-cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.post-cta-strip .btn-primary {
  background: white; color: #0029b1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.post-cta-strip .btn-primary:hover { background: #eef2ff; color: #0021a0; transform: translateY(-1px); }
@media (max-width: 640px) {
  .post-cta-strip { padding: 1.75rem; }
  .post-cta-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Prev / Next card-style ── */
.post-prevnext {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--mist);
}
.post-prevnext-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.25rem; border: 1px solid var(--mist);
  border-radius: var(--r-xl); text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.post-prevnext-card:hover { border-color: var(--ink-3); box-shadow: var(--shadow-md); background: var(--snow); }
.post-prevnext-dir {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--dim);
}
.post-prevnext-title {
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .post-prevnext { grid-template-columns: 1fr; }
}

/* ── Sidebar related posts ── */
.sidebar-related-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--mist); cursor: pointer;
}
.sidebar-related-item:last-child { border-bottom: none; }
.sidebar-related-item:hover div { color: var(--blue) !important; }
.sidebar-related-thumb {
  width: 52px; height: 52px; border-radius: var(--r-md);
  object-fit: cover; flex-shrink: 0;
}
.sidebar-related-thumb--ph {
  background: var(--fog); border: 1px solid var(--mist);
}

/* ============================================================
   INFINITE SCROLL — loader + end indicator
   ============================================================ */

/* Spinning loader icon */
.is-spinner-ring {
  display: inline-flex; align-items: center; justify-content: center;
}
.is-spinner-ring svg {
  animation: is-spin 0.9s linear infinite;
  color: var(--blue);
}
@keyframes is-spin { to { transform: rotate(360deg); } }

/* "You've reached the end" rounded pill */
.is-end-pill {
  display: inline-block;
  font-size: 0.82rem; color: var(--dim); font-weight: 500;
  padding: 0.45rem 1.25rem;
  border: 1px solid var(--mist); border-radius: 100px;
  background: var(--snow);
}

/* ============================================================
   NEURAL ACCOUNT — My Account shell
   ============================================================ */

/* ── Override WC default layout ── */
.woocommerce-account .woo-page-section { padding: 0; }

/* ── Two-column shell ── */
.na-shell {
  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: 80vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem var(--px) 5rem;
  gap: 2rem;
  align-items: start;
}

/* ── SIDEBAR ── */
.na-sidebar {
  position: sticky; top: 90px;
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column;
}

/* User chip */
.na-user-chip {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--mist);
}
.na-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg,#0029b1,#001f8a);
  color: white; font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.na-av--sm { width: 30px; height: 30px; font-size: 0.65rem; }
.na-user-info { min-width: 0; }
.na-user-name {
  font-size: 0.88rem; font-weight: 700; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.na-user-email {
  font-size: 0.72rem; color: var(--dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Nav */
.na-nav { padding: 0.75rem; flex: 1; }
.na-nav-item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.65rem 0.9rem; border-radius: var(--r-lg);
  color: var(--mid); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: background 0.18s, color 0.18s;
  margin-bottom: 2px;
}
.na-nav-item:hover { background: var(--snow); color: var(--ink); }
.na-nav-item--active {
  background: var(--blue-dim); color: var(--blue); font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--blue-ring);
}
.na-nav-icon { flex-shrink: 0; opacity: 0.8; }
.na-nav-item--active .na-nav-icon { opacity: 1; }
.na-nav-label { flex: 1; }

/* Sidebar footer */
.na-sidebar-footer {
  padding: 1rem 1.5rem; border-top: 1px solid var(--mist);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.na-logout-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600; color: var(--dim);
  text-decoration: none; transition: color 0.18s;
}
.na-logout-link:hover { color: #dc2626; }
.na-member-since { font-size: 0.7rem; color: var(--dim); opacity: 0.6; }

/* ── CONTENT ── */
.na-content { min-width: 0; }
.na-mobile-bar { display: none; }

/* Page header */
.na-page-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.na-page-title {
  font-size: clamp(1.35rem,2.5vw,1.75rem);
  font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
  margin-bottom: 0.25rem;
}
.na-page-sub { font-size: 0.88rem; color: var(--dim); }

/* KPI row */
.na-kpi-row {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.na-kpi {
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.na-kpi:hover { border-color: var(--ink-3); box-shadow: var(--shadow-sm); }
.na-kpi-icon {
  width: 36px; height: 36px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.na-kpi-icon--blue   { background: rgba(0,41,177,0.1);   color: var(--blue); }
.na-kpi-icon--green  { background: rgba(16,185,129,0.1); color: #059669; }
.na-kpi-icon--purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.na-kpi-num   { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 0.35rem; }
.na-kpi-label { font-size: 0.75rem; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: 0.07em; }
.na-kpi-sub   { font-size: 0.72rem; color: var(--dim); margin-top: 0.35rem; }
.na-kpi-sub--warn { color: #d97706; font-weight: 700; }

/* Section card */
.na-section {
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.75rem; margin-bottom: 1.5rem;
}
.na-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}
.na-section-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0; }
.na-section-link { font-size: 0.82rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.na-section-link:hover { text-decoration: underline; }

/* Table */
.na-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--mist); }
.na-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.na-table thead tr { border-bottom: 1px solid var(--mist); }
.na-table th {
  text-align: left; padding: 0.75rem 1rem;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--dim); background: var(--snow);
}
.na-table td {
  padding: 1rem; color: var(--mid); vertical-align: middle;
  border-bottom: 1px solid var(--mist);
}
.na-table tr:last-child td { border-bottom: none; }
.na-table tbody tr:hover { background: rgba(0,0,0,0.015); }

/* Status pill */
.na-status-pill {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}

/* Row link */
.na-row-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; font-weight: 600; color: var(--blue); text-decoration: none;
  transition: gap 0.18s;
}
.na-row-link:hover { gap: 0.5rem; }

/* Pagination */
.na-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-lg);
  font-size: 0.85rem; font-weight: 600; color: var(--mid);
  background: var(--fog); border: 1px solid var(--mist);
  text-decoration: none; transition: all 0.18s;
}
.na-page-btn:hover, .na-page-btn--active { background: var(--blue); color: white; border-color: var(--blue); }

/* Quick-link cards */
.na-quick-links {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 0.75rem; margin-top: 1.5rem;
}
.na-quick-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.1rem 1rem;
  text-decoration: none; transition: all 0.2s;
}
.na-quick-card:hover { border-color: var(--blue); background: var(--snow); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.na-quick-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(0,41,177,0.08); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.na-quick-card:hover .na-quick-icon { background: rgba(0,41,177,0.14); }
.na-quick-title { font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 0.1rem; }
.na-quick-sub   { font-size: 0.73rem; color: var(--dim); }
.na-quick-chevron { margin-left: auto; flex-shrink: 0; color: var(--dim); transition: transform 0.2s; }
.na-quick-card:hover .na-quick-chevron { transform: translateX(3px); color: var(--blue); }

/* Service cards */
.na-svc-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.na-svc-card {
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.na-svc-card:hover { border-color: var(--ink-3); box-shadow: var(--shadow-sm); }
.na-svc-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.na-svc-icon {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  background: rgba(0,41,177,0.08); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.na-svc-name  { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; line-height: 1.3; }
.na-svc-meta  { font-size: 0.75rem; color: var(--dim); display: flex; gap: 0.4rem; margin-bottom: 1.25rem; }
.na-svc-footer{ display: flex; align-items: center; justify-content: space-between; }
.na-svc-price { font-size: 0.9rem; font-weight: 700; color: var(--ink); }

/* Help banner */
.na-help-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.5rem 1.75rem; margin-top: 1rem;
}

/* Empty state */
.na-empty {
  text-align: center; padding: 4rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.na-empty p { color: var(--dim); font-size: 0.9rem; margin: 0; }

/* Form card */
.na-form-card {
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 2rem; margin-bottom: 1.5rem;
}
.na-form-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--mist);
}
.na-form-card .woocommerce-Input,
.na-form-card input[type="text"],
.na-form-card input[type="email"],
.na-form-card input[type="password"],
.na-form-card input[type="tel"],
.na-form-card select,
.na-form-card textarea {
  width: 100%;
  background: var(--white); border: 1px solid var(--mist);
  border-radius: var(--r-lg); padding: 0.7rem 0.9rem;
  font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s; outline: none;
}
.na-form-card input:focus,
.na-form-card select:focus,
.na-form-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,41,177,0.08); }
.na-form-card .woocommerce-form-row { margin-bottom: 1.25rem; }
.na-form-card label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--mid); margin-bottom: 0.4rem; }
.na-form-card .button,
.na-form-card input[type="submit"] {
  background: var(--blue); color: white; border: none;
  border-radius: var(--r-lg); padding: 0.75rem 2rem;
  font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s;
}
.na-form-card .button:hover,
.na-form-card input[type="submit"]:hover { opacity: 0.85; }

/* WC notices */
.na-content .woocommerce-message,
.na-content .woocommerce-error,
.na-content .woocommerce-info {
  border-radius: var(--r-lg); padding: 0.9rem 1.25rem;
  font-size: 0.88rem; margin-bottom: 1.25rem;
}
.na-content .woocommerce-message { background: rgba(16,185,129,0.08); border-left: 3px solid #059669; color: #065f46; }
.na-content .woocommerce-error   { background: rgba(239,68,68,0.08);  border-left: 3px solid #dc2626; color: #7f1d1d; }
.na-content .woocommerce-info    { background: rgba(0,41,177,0.07);   border-left: 3px solid var(--blue); color: var(--blue); }

/* Mobile toggle */
.na-mobile-toggle {
  display: none; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-lg); padding: 0.55rem 1rem; cursor: pointer;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .na-shell {
    grid-template-columns: 1fr;
    padding: 0 var(--px) 3rem;
    gap: 0;
  }
  .na-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 9990;
    width: 280px; border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
  }
  .na-sidebar--open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,0.22); }
  .na-mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1.25rem 0 1.5rem;
  }
  .na-mobile-toggle { display: flex; }
  .na-mobile-title  { font-size: 1rem; font-weight: 700; color: var(--ink); }
  .na-kpi-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .na-kpi-row     { grid-template-columns: 1fr; }
  .na-quick-links { grid-template-columns: 1fr; }
  .na-svc-grid    { grid-template-columns: 1fr; }
  .na-table th:nth-child(2),
  .na-table td:nth-child(2) { display: none; }
}

/* ── Support ticket rows ── */
.na-ticket-row {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.na-ticket-row:hover { border-color: var(--ink-3); box-shadow: var(--shadow-sm); }
.na-ticket-icon {
  width: 40px; height: 40px; border-radius: var(--r-lg); flex-shrink: 0;
  background: rgba(0,41,177,0.08); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.na-ticket-body { flex: 1; min-width: 0; }
.na-ticket-head {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap; margin-bottom: 0.35rem;
}
.na-ticket-title { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.na-ticket-meta  { font-size: 0.75rem; color: var(--dim); display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* ── Payment method card ── */
.na-pm-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}
.na-pm-card:hover { border-color: var(--ink-3); }
.na-pm-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(0,41,177,0.08); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}

/* ── Inline notices ── */
.na-content-notice {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.9rem 1.25rem; border-radius: var(--r-lg);
  font-size: 0.88rem; margin-bottom: 1.25rem;
}
.na-notice--success {
  background: rgba(16,185,129,0.08);
  border-left: 3px solid #059669;
  color: #065f46;
}
.na-notice--error {
  background: rgba(239,68,68,0.08);
  border-left: 3px solid #dc2626;
  color: #7f1d1d;
}


/* -- Address cards -- */
.na-addr-card {
  background: var(--fog); border: 1px solid var(--mist);
  border-radius: var(--r-xl); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.na-addr-card:hover { border-color: var(--ink-3); box-shadow: var(--shadow-sm); }
.na-addr-head { display: flex; align-items: flex-start; gap: 1rem; }
.na-addr-label { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.na-addr-desc  { font-size: 0.75rem; color: var(--dim); margin-top: 2px; }
.na-addr-body  { font-size: 0.88rem; color: var(--mid); line-height: 1.75; flex: 1; }
.na-addr-empty { color: var(--dim); font-style: italic; }
.na-addr-foot  { margin-top: auto; }

/* -- Mobile sidebar backdrop overlay -- */
.na-overlay {
  position: fixed; inset: 0; z-index: 9989;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1);
}
.na-overlay--visible { opacity: 1; pointer-events: auto; }

/* -- account woocommerce wrapper reset -- */
.na-content .woocommerce { padding: 0; margin: 0; }
.na-content .woocommerce-MyAccount-content { padding: 0; }

/* ============================================================
   NEURAL AUTH  Login / Register / Lost Password
   ============================================================ */

/* -- Override WC bare page wrapper -- */
.woocommerce-account:not(.logged-in) .woo-page-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.na-auth-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem var(--px) 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.na-auth-wrap--narrow { max-width: 560px; }

/* Brand */
.na-auth-brand { margin-bottom: 0.5rem; }
.na-auth-brand img { max-height: 36px; width: auto; }
.na-auth-logo-text { font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing:-0.04em; }

/* Cards container */
.na-auth-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* Single card */
.na-auth-card {
  background: var(--fog);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  transition: box-shadow 0.2s;
}
.na-auth-card:hover { box-shadow: var(--shadow-sm); }
.na-auth-card--secondary { border-style: dashed; }

/* Card header */
.na-auth-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.na-auth-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--r-lg);
  background: rgba(0,41,177,0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.na-auth-icon--green { background: rgba(16,185,129,0.1); color: #059669; }

.na-auth-title {
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink);
  margin: 0 0 0.2rem;
}
.na-auth-sub { font-size: 0.85rem; color: var(--dim); margin: 0; }

/* Fields */
.na-auth-field { margin-bottom: 1.25rem; }
.na-auth-field label {
  display: block; font-size: 0.82rem;
  font-weight: 600; color: var(--mid);
  margin-bottom: 0.4rem;
}
.na-auth-field input[type="text"],
.na-auth-field input[type="email"],
.na-auth-field input[type="password"] {
  width: 100%;
  background: var(--white); border: 1px solid var(--mist);
  border-radius: var(--r-lg); padding: 0.72rem 0.9rem;
  font-size: 0.9rem; color: var(--ink); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  font-family: var(--font);
}
.na-auth-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,41,177,0.08);
}

/* Label row (label + forgot link) */
.na-auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.na-auth-label-row label { margin-bottom: 0; }
.na-auth-forgot {
  font-size: 0.78rem; font-weight: 600;
  color: var(--blue); text-decoration: none;
}
.na-auth-forgot:hover { text-decoration: underline; }

/* Remember me */
.na-auth-remember {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--mid);
  margin-bottom: 1.5rem; cursor: pointer;
}
.na-auth-remember input { cursor: pointer; }

/* Submit button */
.na-auth-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--blue); color: white; border: none;
  border-radius: var(--r-lg); padding: 0.82rem 1.5rem;
  font-size: 0.92rem; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: var(--font);
}
.na-auth-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.na-auth-btn--green { background: #059669; }

/* Switch link */
.na-auth-switch {
  text-align: center; font-size: 0.85rem;
  color: var(--dim); margin-top: 1.5rem 0 0;
}
.na-auth-switch-link {
  font-weight: 600; color: var(--blue); text-decoration: none;
}
.na-auth-switch-link:hover { text-decoration: underline; }

/* Note (auto-generate pass) */
.na-auth-note {
  font-size: 0.82rem; color: var(--dim);
  background: var(--snow); border: 1px solid var(--mist);
  border-radius: var(--r-lg); padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

/* Footer note */
.na-auth-footer-note {
  font-size: 0.75rem; color: var(--dim);
  text-align: center; margin-top: 0.5rem;
}

/* -- Responsive -- */
@media (max-width: 700px) {
  .na-auth-cards { grid-template-columns: 1fr; }
  .na-auth-card { padding: 1.5rem 1.25rem; }
}

/* ============================================================
   ORDER NOTES TIMELINE
   ============================================================ */
.na-order-notes {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.na-order-note {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--snow);
  border: 1px solid var(--mist);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-lg);
  align-items: start;
}
.na-order-note-meta {
  font-size: 0.72rem; font-weight: 700;
  color: var(--dim); text-transform: uppercase;
  letter-spacing: 0.05em; padding-top: 0.15rem;
}
.na-order-note-body {
  font-size: 0.88rem; color: var(--mid);
}
.na-order-note-body p { margin: 0 0 0.5rem; }
.na-order-note-body p:last-child { margin-bottom: 0; }

@media (max-width: 540px) {
  .na-order-note { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* -- WC notices fix in account shell -- */
.na-content .woocommerce > .woocommerce-error,
.na-content .woocommerce > .woocommerce-message,
.na-content .woocommerce > .woocommerce-info {
  border-radius: var(--r-lg);
  padding: 0.9rem 1.25rem;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

/* Responsive Grid Utilities (Auto Layout Fixes) */
.grid-cols-2 { display: grid; grid-template-columns: 1fr; }
.grid-cols-3 { display: grid; grid-template-columns: 1fr; }
.grid-cols-4 { display: grid; grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-cols-4 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .grid-cols-2 { grid-template-columns: 1fr 1fr; }
  .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
