/* ===== PartnerGeometrics Design System — 2026 =====
   Same class names as the original main.css (all 458 pages use them),
   rebuilt with light/dark tokens, Inter, inset hero cards and a floating nav.
   Served from /assets/ under a versioned name: /styles/* is cached immutable for a year. */

@font-face {
  font-family: 'Inter Variable';
  src: url('/assets/inter-latin-wght.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;

  /* Brand (fixed in both themes: used for the deep-teal surfaces) */
  --c-primary:        #16414a;
  --c-primary-dark:   #0f2f36;
  --c-accent:         #c98a2e;
  --c-accent-dark:    #a86f1f;
  --c-accent-light:   #dba652;
  --c-ink:            #0b2227;            /* hero / CTA / footer surface */

  /* Theme-aware */
  --c-primary-light:  light-dark(#1b6470, #79c6d1);   /* links */
  --c-heading:        light-dark(#0f2f36, #eef5f4);
  --c-accent-ink:     light-dark(#8f5d14, #e3ad5f);   /* amber text with AA contrast */
  --c-text:           light-dark(#18272c, #dde7e8);
  --c-text-muted:     light-dark(#52636a, #9fb0b4);
  --c-text-light:     light-dark(#7d8d92, #71858a);
  --c-text-inv:       #ffffff;
  --c-bg:             light-dark(#ffffff, #0a1518);
  --c-bg-alt:         light-dark(#f4f7f6, #0e1c20);
  --c-surface:        light-dark(#ffffff, #112127);
  --c-surface-2:      light-dark(#f4f7f6, #152a30);
  --c-bg-dark:        var(--c-ink);
  --c-border:         light-dark(#e1e7e6, #1d3238);
  --c-border-dark:    light-dark(#cbd5d4, #2a454c);
  --c-tint:           light-dark(rgb(22 65 74 / .06), rgb(121 198 209 / .08));
  --c-accent-tint:    light-dark(rgb(201 138 46 / .12), rgb(227 173 95 / .14));

  /* Condition tiers */
  --c-new:            light-dark(#047857, #34d399);
  --c-refurbished:    light-dark(#1d4ed8, #8cb0ff);
  --c-absolute:       light-dark(#8f5d14, #e3ad5f);
  --c-surplus:        light-dark(#4b5563, #a7b0bc);

  /* Type */
  --font: 'Inter Variable', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --text-xs:   0.75rem;  --text-sm: 0.875rem; --text-base: 1rem;   --text-lg: 1.125rem;
  --text-xl:   1.25rem;  --text-2xl: 1.5rem;  --text-3xl: 1.875rem; --text-4xl: 2.25rem; --text-5xl: 3rem;

  /* Spacing (8px base) */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem;  --sp-7: 1.75rem; --sp-8: 2rem;  --sp-10: 2.5rem;
  --sp-12: 3rem;   --sp-16: 4rem;   --sp-20: 5rem;   --sp-24: 6rem;

  /* Layout */
  --max-w: 1280px;
  --px: clamp(1rem, 4vw, 2rem);
  --edge: clamp(8px, 1.4vw, 16px);       /* inset for rounded full-width cards */
  --nav-h: 60px;

  /* Effects */
  --radius-sm: 0.375rem; --radius: 0.625rem; --radius-lg: 1rem; --radius-xl: 1.25rem; --radius-2xl: 1.75rem;
  --shadow-sm: 0 1px 2px rgb(10 30 35 / .06);
  --shadow:    0 6px 20px -8px rgb(10 30 35 / .18);
  --shadow-lg: 0 24px 48px -24px rgb(10 30 35 / .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --transition: 200ms var(--ease);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 32px); font-size: 16px; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font); font-optical-sizing: auto;
  color: var(--c-text); background: var(--c-bg);
  line-height: 1.6; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent-ink); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; color: var(--c-heading); font-weight: 650; letter-spacing: -0.02em; text-wrap: balance; }
p { margin-bottom: 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--c-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

/* ===== Utilities ===== */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: .6rem 1rem; border-radius: 999px; background: var(--c-heading); color: var(--c-bg);
  font-size: var(--text-sm); font-weight: 600; transform: translateY(-200%); transition: transform var(--transition);
}
.skip-link:focus { transform: none; color: var(--c-bg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 46px; padding: 0 1.375rem; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; letter-spacing: -0.005em;
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
/* 425 product pages set style="display:block" on the sidebar button; keep it centred */
.btn[style*="display:block"] { display: flex !important; }
.btn-lg { min-height: 54px; padding: 0 1.75rem; font-size: var(--text-base); }
.btn-sm { min-height: 38px; padding: 0 1rem; font-size: var(--text-sm); }

.btn-primary { background: var(--c-heading); color: var(--c-bg); }
.btn-primary:hover { background: var(--c-primary-light); color: var(--c-bg); }

.btn-accent { background: var(--c-accent); color: #fff; box-shadow: 0 6px 20px -8px rgb(201 138 46 / .7); }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--c-heading); border-color: var(--c-border-dark); }
.btn-outline:hover { background: var(--c-heading); color: var(--c-bg); border-color: var(--c-heading); }

.btn-outline-light { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(255 255 255 / .28); backdrop-filter: blur(8px); }
.btn-outline-light:hover { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .6); }

/* ===== Badge / Tag ===== */
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem;
  border-radius: 999px; font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.badge-accent  { background: var(--c-accent-tint); color: var(--c-accent-ink); }
.badge-light   { background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .9); border: 1px solid rgb(255 255 255 / .16); backdrop-filter: blur(8px); white-space: normal; line-height: 1.4; }
.badge-primary { background: var(--c-tint); color: var(--c-heading); }
.badge-green   { background: color-mix(in oklab, var(--c-new) 14%, transparent); color: var(--c-new); }

.tag { background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text-muted); font-size: var(--text-xs); font-weight: 500; padding: 3px 10px; border-radius: 999px; }

/* ===== Condition-tier pills ===== */
.cond-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
  border-radius: 999px; font-size: var(--text-xs); font-weight: 650; letter-spacing: .03em; text-transform: uppercase;
  border: 1px solid color-mix(in oklab, currentColor 28%, transparent);
  background: color-mix(in oklab, currentColor 10%, transparent);
}
.cond-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cond-new         { color: var(--c-new); }
.cond-refurbished { color: var(--c-refurbished); }
.cond-absolute    { color: var(--c-absolute); }
.cond-surplus     { color: var(--c-surplus); }
/* pills inside the always-dark hero cards */
.page-hero .cond-pill, .hero .cond-pill { --c-new: #4ade9c; --c-refurbished: #9dbcff; --c-absolute: #ecb766; --c-surplus: #c3cad3; color: inherit; }
.page-hero .cond-new, .hero .cond-new { color: var(--c-new); }
.page-hero .cond-refurbished, .hero .cond-refurbished { color: var(--c-refurbished); }
.page-hero .cond-absolute, .hero .cond-absolute { color: var(--c-absolute); }
.page-hero .cond-surplus, .hero .cond-surplus { color: var(--c-surplus); }

/* ===== Header / floating nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 10px var(--edge) 0;
  pointer-events: none;
}
.navbar { pointer-events: auto; max-width: calc(var(--max-w) + 16px); margin-inline: auto; }
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  height: var(--nav-h); padding: 0 8px 0 16px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--c-bg) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--c-border);
  box-shadow: 0 10px 30px -14px rgb(10 30 35 / .25);
}
.logo {
  display: inline-flex; align-items: center; gap: 0;
  font-size: 1.0625rem; font-weight: 650; color: var(--c-heading) !important; letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo strong { color: var(--c-accent-ink); font-weight: 650; }
.logo-img { display: block; width: auto; height: 30px; }
.logo-img-light { display: none; }
/* Dark theme: the header pill turns dark, so swap to the white-text logo. */
:root[data-theme="dark"] .site-header .logo-img-dark { display: none; }
:root[data-theme="dark"] .site-header .logo-img-light { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header .logo-img-dark { display: none; }
  :root:not([data-theme="light"]) .site-header .logo-img-light { display: block; }
}
@media (max-width: 600px) { .logo-img { height: 26px; } }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: block; color: var(--c-text-muted); font-size: var(--text-sm); font-weight: 500;
  padding: .5rem .85rem; border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--c-heading); background: var(--c-tint); }
.nav-links a[aria-current="page"] { color: var(--c-heading); background: var(--c-surface-2); }
.nav-links .nav-links-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: transparent; border: 0; cursor: pointer; color: var(--c-text-muted);
  transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--c-tint); color: var(--c-heading); }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}

.nav-toggle { display: none; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 250ms var(--ease); }
.nav-toggle span:first-child { transform: translateY(-3.5px); }
.nav-toggle span:last-child  { transform: translateY(3.5px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px; border-radius: 24px;
    background: var(--c-surface); border: 1px solid var(--c-border); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: .85rem 1rem; font-size: var(--text-base); border-radius: 16px; }
  .nav-links .nav-links-cta { display: block; margin-top: 4px; }
  .nav-links .nav-links-cta a { background: var(--c-accent); color: #fff; text-align: center; font-weight: 600; }
}

/* ===== Hero (home) ===== */
.hero, .page-hero, .cta-banner {
  --blueprint: rgb(255 255 255 / .06);
  position: relative; isolation: isolate; overflow: hidden;
  margin: 12px var(--edge) 0; border-radius: var(--radius-2xl);
  color: #fff;
  background:
    radial-gradient(60% 70% at 90% 0%, rgb(201 138 46 / .22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgb(31 108 120 / .55), transparent 70%),
    linear-gradient(160deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, #17505b 100%);
}
.hero::before, .page-hero::before, .cta-banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000 30%, transparent 85%);
          mask-image: radial-gradient(80% 80% at 70% 30%, #000 30%, transparent 85%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.35fr .9fr; align-items: center;
  gap: var(--sp-12); padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem); position: relative;
}
.hero-inner > * { min-width: 0; }
.hero-badge { margin-bottom: var(--sp-6); }
.hero h1 {
  font-size: clamp(2.375rem, 4.6vw, 4rem); font-weight: 650;
  color: #fff; line-height: 1.02; letter-spacing: -0.04em; margin-bottom: var(--sp-6);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f3c27a, var(--c-accent) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: clamp(var(--text-base), 1.4vw, var(--text-lg)); color: rgb(255 255 255 / .78); margin-bottom: var(--sp-8); max-width: 580px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-svg { width: 100%; max-width: 460px; filter: drop-shadow(0 30px 60px rgb(0 0 0 / .4)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-svg { animation: float 9s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px); } }
}

.stats-bar { position: relative; padding: 0 var(--px) var(--sp-6); }
.stats-row {
  max-width: calc(var(--max-w) - 2 * var(--px)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  padding: 0; border-radius: var(--radius-xl); overflow: hidden;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .1);
}
.stat { text-align: left; padding: var(--sp-5) var(--sp-6); background: rgb(8 30 35 / .55); backdrop-filter: blur(10px); }
.stat strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; color: #fff; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--text-sm); color: rgb(255 255 255 / .66); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Section ===== */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--c-bg-alt); }
.section-dark { background: var(--c-ink); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.eyebrow, .section-header .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--text-xs); font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-ink); margin-bottom: var(--sp-3);
}
.section-header .eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; opacity: .7; }
.section-header h2 { font-size: clamp(var(--text-3xl), 3.6vw, 2.875rem); letter-spacing: -0.03em; margin-bottom: var(--sp-4); }
.section-header p { font-size: var(--text-lg); color: var(--c-text-muted); max-width: 660px; margin-inline: auto; margin-bottom: 0; }

/* ===== Cards: shared surface ===== */
.product-card, .feature-card, .condition-card, .brand-card, .brand-entry, .app-card, .related-card, .service-card, .faq-item, .industry-chip {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl);
}

/* ===== Product Cards ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: var(--sp-4); }
.product-card {
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease), border-color var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--c-border-dark); }
.product-card-icon {
  position: relative; margin: 8px 8px 0; border-radius: calc(var(--radius-xl) - 6px);
  background:
    radial-gradient(70% 90% at 85% 10%, rgb(201 138 46 / .28), transparent 60%),
    linear-gradient(150deg, var(--c-primary-dark), var(--c-primary) 70%, #1b5d68);
  padding: var(--sp-8); display: flex; align-items: center; justify-content: center; min-height: 160px; overflow: hidden;
}
.product-card-icon::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.product-card-icon svg { position: relative; width: 84px; height: 84px; color: rgb(255 255 255 / .9); transition: transform 400ms var(--ease); }
.product-card:hover .product-card-icon svg { transform: scale(1.06) rotate(-2deg); }
.product-card-body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-size: var(--text-xl); margin-bottom: var(--sp-2); }
.product-card-body p { color: var(--c-text-muted); font-size: var(--text-sm); flex: 1; margin-bottom: var(--sp-5); line-height: 1.65; }
.product-card-body .btn { align-self: flex-start; }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--sp-5); }

/* ===== Feature Grid ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--sp-4); }
.feature-card { padding: var(--sp-7); transition: border-color var(--transition), transform 300ms var(--ease); }
.feature-card:hover { border-color: var(--c-border-dark); transform: translateY(-2px); }
.feature-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--c-accent-tint); color: var(--c-accent-ink); margin-bottom: var(--sp-5); }
.feature-card h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.feature-card p { color: var(--c-text-muted); font-size: var(--text-sm); margin: 0; }

/* ===== Condition Tier Cards ===== */
.condition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--sp-4); }
.condition-card {
  position: relative; overflow: hidden;
  padding: var(--sp-7) var(--sp-6) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3);
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.condition-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tier-color, var(--c-accent)); }
.condition-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, color-mix(in oklab, var(--tier-color, var(--c-accent)) 12%, transparent), transparent 70%); pointer-events: none; }
.condition-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.condition-card.tier-new         { --tier-color: var(--c-new); }
.condition-card.tier-refurbished { --tier-color: var(--c-refurbished); }
.condition-card.tier-absolute    { --tier-color: var(--c-absolute); }
.condition-card.tier-surplus     { --tier-color: var(--c-surplus); }
.condition-card h3 { font-size: var(--text-lg); color: var(--tier-color, var(--c-heading)); }
.condition-card p { color: var(--c-text-muted); font-size: var(--text-sm); margin: 0; }
.condition-card ul { display: flex; flex-direction: column; gap: 8px; margin-top: var(--sp-2); }
.condition-card li { font-size: var(--text-sm); color: var(--c-text-muted); padding-left: 1.4em; position: relative; }
.condition-card li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: .85em; height: .85em; border-radius: 50%;
  background: color-mix(in oklab, var(--tier-color, var(--c-accent)) 18%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--tier-color, var(--c-accent));
}

/* ===== Brands ===== */
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--sp-3); }
.brand-card {
  padding: var(--sp-5); text-align: center; display: flex; flex-direction: column; gap: var(--sp-2);
  transition: border-color var(--transition), box-shadow var(--transition), transform 300ms var(--ease);
}
.brand-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-card .brand-name { font-size: var(--text-base); font-weight: 650; color: var(--c-heading); }
.brand-card .brand-parent { font-size: var(--text-xs); color: var(--c-text-muted); }
.brand-card .brand-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }

.brand-group { margin-bottom: var(--sp-12); }
.brand-group-title { font-size: var(--text-2xl); margin-bottom: var(--sp-6); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--c-border); position: relative; }
.brand-group-title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--c-accent); }
.brand-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: var(--sp-3); }
.brand-entry { padding: var(--sp-5) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); transition: border-color var(--transition); }
.brand-entry:hover { border-color: var(--c-border-dark); }
.brand-entry h3 { font-size: var(--text-base); color: var(--c-heading); margin: 0; }
.brand-entry .parent { font-size: var(--text-xs); color: var(--c-accent-ink); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.brand-entry p { font-size: var(--text-sm); color: var(--c-text-muted); margin: 0; }
.brand-entry-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: var(--sp-2); }

/* ===== Industries ===== */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: var(--sp-3); }
.industry-chip {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-4); text-align: center;
  transition: background var(--transition), border-color var(--transition), transform 300ms var(--ease), color var(--transition);
  font-size: var(--text-sm); font-weight: 550; color: var(--c-text);
}
.industry-chip:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-2px); }
.industry-chip svg { width: 30px; height: 30px; color: var(--c-accent-ink); }
.industry-chip:hover svg { color: var(--c-accent-light); }

/* ===== CTA Banner ===== */
.cta-banner { text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); margin-block: 0 var(--edge); }
.cta-banner h2 { color: #fff; font-size: clamp(var(--text-3xl), 3.6vw, 2.75rem); letter-spacing: -0.03em; margin-bottom: var(--sp-4); }
.cta-banner p { color: rgb(255 255 255 / .78); font-size: var(--text-lg); margin-bottom: var(--sp-8); max-width: 640px; margin-inline: auto; }
.cta-banner a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { padding: var(--sp-5) 0 var(--sp-2); font-size: var(--text-sm); color: var(--c-text-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: var(--sp-2); border-right: 1.5px solid var(--c-text-light); border-top: 1.5px solid var(--c-text-light); transform: translateY(-1px) rotate(45deg); }
.breadcrumbs a { color: var(--c-text-muted); padding: 2px 0; }
.breadcrumbs a:hover { color: var(--c-heading); }
.breadcrumbs li:last-child { color: var(--c-heading); font-weight: 550; }
.breadcrumbs + .page-hero { margin-top: var(--sp-2); }

/* ===== Page Hero (inner pages) ===== */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
/* Large, faint logo icon (white/amber variant of public/favicon.svg) as a
   watermark on the right of page headers, partly cropped off the edge, above
   the blueprint grid and under the content (same treatment as PartnerPLC). */
.page-hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; top: 50%; right: -90px; width: min(560px, 48vw); aspect-ratio: 1 / 1; transform: translateY(-50%); background: url(/favicon-light.svg) center / contain no-repeat; opacity: .06; }
@media (max-width: 768px) { .page-hero::after { width: 300px; right: -110px; opacity: .05; } }
@media print { .page-hero::after { display: none; } }
.page-hero .eyebrow { color: var(--c-accent-light); }
.page-hero h1 { font-size: clamp(2.125rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; color: #fff; margin-bottom: var(--sp-5); max-width: 22ch; }
.page-hero p { font-size: var(--text-lg); color: rgb(255 255 255 / .78); max-width: 720px; margin-bottom: 0; }
.page-hero a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .4); text-underline-offset: 3px; }

/* ===== Spec Table ===== */
.spec-table { margin-block: var(--sp-8); overflow-x: auto; border-radius: var(--radius-xl); border: 1px solid var(--c-border); background: var(--c-surface); }
.spec-table table { font-size: var(--text-sm); }
.spec-table thead { background: var(--c-surface-2); }
.spec-table th { padding: var(--sp-4) var(--sp-5); text-align: left; font-weight: 650; font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); white-space: nowrap; }
.spec-table td { padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--c-border); vertical-align: top; }
.spec-table td:first-child { color: var(--c-text-muted); font-weight: 500; width: 38%; }
.spec-table td:not(:first-child) { color: var(--c-heading); font-variant-numeric: tabular-nums; }
.spec-table tr:hover td { background: var(--c-tint); }

/* ===== Product Detail ===== */
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product-detail-grid > * { min-width: 0; }
.product-sidebar {
  position: sticky; top: calc(var(--nav-h) + 28px);
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-2xl);
  padding: var(--sp-6); box-shadow: var(--shadow);
}
.product-sidebar h3 { font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: var(--sp-4); }
.sidebar-list { display: flex; flex-direction: column; margin-bottom: var(--sp-6); }
.sidebar-list li { display: flex; justify-content: space-between; gap: var(--sp-4); font-size: var(--text-sm); padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-border); color: var(--c-text-muted); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list strong { color: var(--c-heading); font-weight: 600; text-align: right; }
.product-sidebar .btn { width: 100%; }

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item { overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition); }
.faq-item:hover { border-color: var(--c-border-dark); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6); font-weight: 600; cursor: pointer; color: var(--c-heading);
  font-size: var(--text-base); list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-accent-tint) center / 12px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23c98a2e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 250ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 300ms var(--ease), content-visibility 300ms allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-answer { padding: 0 var(--sp-6) var(--sp-6); color: var(--c-text-muted); font-size: var(--text-base); line-height: 1.7; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== Two-column layout ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.two-col > * { min-width: 0; }
.two-col-text h2 { font-size: clamp(var(--text-3xl), 3.4vw, 2.75rem); letter-spacing: -0.03em; margin-bottom: var(--sp-4); }
.two-col-text p { color: var(--c-text-muted); margin-bottom: var(--sp-4); }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ===== Icon Box ===== */
.icon-box-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--sp-6) var(--sp-8); }
.icon-box { display: flex; gap: var(--sp-4); }
.icon-box .icon-wrap { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--c-accent-tint); display: flex; align-items: center; justify-content: center; }
.icon-box svg { width: 22px; height: 22px; color: var(--c-accent-ink); }
.icon-box h3 { font-size: var(--text-base); margin-bottom: var(--sp-1); }
.icon-box p { font-size: var(--text-sm); color: var(--c-text-muted); margin: 0; }

/* ===== Application grid ===== */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--sp-3); }
.app-card { padding: var(--sp-5) var(--sp-6); transition: border-color var(--transition), transform 300ms var(--ease); }
.app-card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.app-card h4 { font-size: var(--text-base); margin-bottom: var(--sp-1); color: var(--c-heading); }
.app-card p { font-size: var(--text-sm); color: var(--c-text-muted); margin: 0; }

/* ===== Contact Form ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: var(--sp-5); }
.form-group label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--c-heading); margin-bottom: var(--sp-2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-height: 48px; padding: .7rem 1rem; border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-lg); font-family: var(--font); font-size: var(--text-base);
  color: var(--c-text); background: var(--c-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: var(--c-text-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-tint); }
.form-group input:user-invalid, .form-group textarea:user-invalid { border-color: #dc2626; }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.contact-info-card {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-2xl); padding: var(--sp-8);
  background: radial-gradient(70% 60% at 100% 0%, rgb(201 138 46 / .2), transparent 60%), linear-gradient(160deg, var(--c-primary-dark), var(--c-primary));
}
.contact-info-card h3 { color: var(--c-accent-light); margin-bottom: var(--sp-6); font-size: var(--text-xl); }
.contact-info-item { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.contact-info-item svg { width: 20px; height: 20px; color: var(--c-accent-light); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: var(--text-sm); color: rgb(255 255 255 / .6); margin-bottom: var(--sp-1); font-weight: 500; }
.contact-info-item a { color: #fff; }
.contact-info-item a:hover { color: var(--c-accent-light); }

/* ===== Related Products ===== */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--sp-3); }
.related-card {
  position: relative; padding: var(--sp-5) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2);
  transition: border-color var(--transition), box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.related-card:hover { border-color: var(--c-border-dark); box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card h4 { font-size: var(--text-base); color: var(--c-heading); }
.related-card p { font-size: var(--text-sm); color: var(--c-text-muted); flex: 1; margin: 0; }
.related-card .arrow { color: var(--c-accent-ink); font-weight: 600; font-size: var(--text-lg); align-self: flex-end; transition: transform 300ms var(--ease); }
.related-card:hover .arrow { transform: translateX(4px); }

/* ===== Prose ===== */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(var(--text-2xl), 2.4vw, 2rem); letter-spacing: -0.025em; margin-top: var(--sp-12); margin-bottom: var(--sp-4); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-xl); margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.prose p { color: var(--c-text-muted); margin-bottom: var(--sp-4); font-size: 1.0625rem; line-height: 1.75; }
.prose ul, .prose ol { margin-bottom: var(--sp-5); padding-left: var(--sp-5); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { color: var(--c-text-muted); margin-bottom: var(--sp-2); padding-left: var(--sp-1); }
.prose li::marker { color: var(--c-accent); }
.prose strong { color: var(--c-heading); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 3px; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--sp-4); }
.service-card { padding: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-3); transition: box-shadow 300ms var(--ease), transform 300ms var(--ease); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card .icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--c-accent-tint); color: var(--c-accent-ink); }
.service-card h3 { font-size: var(--text-xl); }
.service-card p { color: var(--c-text-muted); font-size: var(--text-sm); flex: 1; margin: 0; }

/* ===== Footer ===== */
.footer {
  background: var(--c-ink); color: rgb(255 255 255 / .68);
  margin: var(--edge) var(--edge) var(--edge); border-radius: var(--radius-2xl);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid { display: grid; grid-template-columns: 320px 1fr 1fr 1fr; gap: var(--sp-8); padding-bottom: var(--sp-12); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo { color: #fff !important; }
.footer .logo strong { color: var(--c-accent-light); }
.footer-brand .logo { font-size: var(--text-xl); margin-bottom: var(--sp-4); }
.footer-brand .logo img { display: block; width: auto; height: 40px; }
.footer-brand p { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--sp-4); }
.footer-brand address { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--sp-3); }
.footer-brand a { color: rgb(255 255 255 / .75); }
.footer-brand a:hover { color: var(--c-accent-light); }
.footer-col h3 { color: #fff; font-size: var(--text-xs); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { font-size: var(--text-sm); color: rgb(255 255 255 / .66); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .08); padding-block: var(--sp-6);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3);
  font-size: var(--text-xs); color: rgb(255 255 255 / .55);
}
.footer-bottom a { color: rgb(255 255 255 / .55); }
.footer-bottom a:hover { color: #fff; }

/* ===== 404 ===== */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page h1 { font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; letter-spacing: -0.06em; margin-bottom: 0; line-height: 1;
  background: linear-gradient(180deg, var(--c-border-dark), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h2 { font-size: var(--text-2xl); margin-bottom: var(--sp-4); }
.error-page p { color: var(--c-text-muted); margin-bottom: var(--sp-8); }

/* ===== Misc ===== */
.divider { height: 1px; background: var(--c-border); margin-block: var(--sp-10); }
.text-accent { color: var(--c-accent-ink); }
.text-primary { color: var(--c-heading); }
.lead { font-size: var(--text-lg); color: var(--c-text-muted); }
.alert { padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-lg); border: 1px solid; margin-bottom: var(--sp-5); font-size: var(--text-sm); }
.alert-success { background: color-mix(in oklab, var(--c-new) 10%, transparent); border-color: color-mix(in oklab, var(--c-new) 35%, transparent); color: var(--c-new); }
.alert-error   { background: var(--c-accent-tint); border-color: color-mix(in oklab, var(--c-accent) 40%, transparent); color: var(--c-accent-ink); }

/* Inline-styled boxes that assumed a light page */
[style*="background:var(--c-bg-alt)"] { background: var(--c-surface-2) !important; }

/* ===== Scroll-driven reveal (progressive) ===== */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .product-card, .feature-card, .condition-card, .service-card, .app-card, .related-card, .brand-entry, .industry-chip, .icon-box, .faq-item, .spec-table {
      animation: pg-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes pg-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ===== Print ===== */
@media print {
  .site-header, .hero-visual, .cta-banner, .footer, .skip-link { display: none; }
  .hero, .page-hero { background: none; color: #000; margin: 0; border-radius: 0; }
  .hero h1, .page-hero h1, .page-hero p { color: #000; }
}
