/* Generated by scripts/build-css.mjs — do not edit. Sources: assets/css/tokens.css, css/main.css, css/redesign.css, css/site.css, assets/css/mm-design.css, assets/css/mm-site.css, assets/css/mm-about.css, assets/css/mm-modern.css, assets/css/mm-foundation.css, assets/css/mm-portfolio.css, assets/css/mm-software.css, assets/css/mm-hero-slider.css, assets/css/mm-spots.css, assets/css/mm-nav.css */
/* ==== assets/css/tokens.css ==== */
/* ==========================================================================
   MetalMitra design tokens (2026-11 redesign, Phase 1).
   Loaded FIRST in the bundle: older files that already define a token with the same
   name (--bg, --surface) keep their value, everything else here is new and shared.
   Colours are the existing brand values (amber #f2a900, navy #0b1f3a, blue #1e4e8c),
   so there is one amber and one navy on the site, not two.
   ========================================================================== */
:root {
  /* Surfaces — 4 levels */
  --bg: #ffffff;
  --surface: #f6f8fc;
  --raised: #ffffff;
  --overlay: rgba(11, 31, 58, 0.72);
  --ink-900: #0b1f3a;
  --ink-700: #16213d;
  --ink-500: #5a6785;
  --ink-300: #8b97b3;
  --line: #dde2ec;

  /* Dark sections */
  --dark-bg: #0b1f3a;
  --dark-raised: #142a52;
  --dark-line: rgba(255, 255, 255, 0.08);

  /* Accent */
  --amber: #f2a900;
  --amber-ink: #b57600; /* amber that keeps 3:1 on white (focus rings, small marks) */
  --orange: #ff7a18;
  --blue: #1e4e8c; /* steel blue. (--steel is already the grey #9aa5b1 in main.css and keeps that meaning) */
  --grad-accent: linear-gradient(135deg, var(--amber), var(--orange));
  --grad-cool: linear-gradient(135deg, var(--blue), #163a6b);

  /* Shadows — two layers each: one tight, one wide and soft */
  --sh-1: 0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 12px rgba(11, 31, 58, 0.05);
  --sh-2: 0 2px 4px rgba(11, 31, 58, 0.08), 0 12px 32px rgba(11, 31, 58, 0.1);
  --sh-3: 0 4px 8px rgba(11, 31, 58, 0.1), 0 24px 64px rgba(11, 31, 58, 0.16);
  --sh-glow: 0 0 0 1px rgba(242, 169, 0, 0.25), 0 8px 32px rgba(242, 169, 0, 0.18);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Type */
  --font-display: 'Satoshi', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Inter', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Motion */
  --d-fast: 180ms;
  --d-base: 320ms;
  --d-slow: 560ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --d-fast: 0ms;
    --d-base: 0ms;
    --d-slow: 0ms;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==== css/main.css ==== */
/* ==========================================================================
   MetalMitra — main stylesheet
   Clean white, Gemini-inspired, with a light glass layer.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --surface: #f8f9fa;
  --surface-2: #f1f3f4;
  --text: #1f1f1f;
  --text-secondary: #5f6368;
  --text-tertiary: #80868b;
  --border: #e8eaed;
  --border-strong: #dadce0;
  --primary: #1e4e8c;
  --primary-hover: #173d6e;
  --primary-soft: #e8eef7;
  --violet: #0b1f3a;
  --steel: #9aa5b1;
  --success: #188038;
  --success-soft: #e6f4ea;
  --error: #d93025;
  --error-soft: #fce8e6;
  --warning: #b06000;
  --warning-soft: #fef7e0;

  /* Logo colours — used sparingly next to the logo */
  --brand-navy: #0b1f3a;
  --brand-orange: #f2a900;

  --gradient: linear-gradient(90deg, #1e4e8c 0%, #0b1f3a 50%, #9aa5b1 100%);
  --gradient-diag: linear-gradient(135deg, #1e4e8c 0%, #0b1f3a 50%, #9aa5b1 100%);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-edge: rgba(31, 31, 31, 0.07);
  --glass-blur: saturate(180%) blur(18px);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(11, 31, 58, 0.04),
    0 12px 32px -12px rgba(11, 31, 58, 0.18);

  --shadow-xs: 0 1px 2px rgba(60, 64, 67, 0.08);
  --shadow-sm: 0 1px 3px rgba(60, 64, 67, 0.08), 0 4px 12px -4px rgba(60, 64, 67, 0.1);
  --shadow-md: 0 2px 6px rgba(60, 64, 67, 0.06), 0 16px 40px -16px rgba(11, 31, 58, 0.2);
  --shadow-lg: 0 4px 12px rgba(60, 64, 67, 0.06), 0 32px 64px -24px rgba(11, 31, 58, 0.28);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --font-heading: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-display: clamp(2.75rem, 1.55rem + 4.4vw, 4.5rem); /* 44 → 72 */
  --fs-h2: clamp(2rem, 1.45rem + 2.1vw, 3rem); /* 32 → 48 */
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); /* 22 → 28 */
  --fs-h4: 1.25rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem); /* 17 → 18 */
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  --container: 1200px;
  --container-wide: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(72px, 48px + 6vw, 120px);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 560ms;

  color-scheme: light;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 72px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked {
  overflow: hidden;
}
img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.028em;
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}
h4 {
  font-size: var(--fs-h4);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration: underline;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgba(30, 78, 140, 0.16);
}
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus {
  transform: none;
  text-decoration: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  width: 100%;
  max-width: calc(760px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: var(--section-pad);
}
.section-alt {
  background: var(--surface);
}
.section-tight {
  padding-block: calc(var(--section-pad) * 0.6);
}
.section-head {
  max-width: 760px;
  margin: 0 auto var(--space-8);
  text-align: center;
}
.section-head.align-left {
  margin-inline: 0;
  text-align: left;
}
.section-head h2 + p,
.section-head .lead {
  margin-top: var(--space-2);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-secondary);
}
.muted {
  color: var(--text-secondary);
}
.small {
  font-size: var(--fs-small);
}

.grid {
  display: grid;
  gap: var(--space-3);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1023px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split.is-reversed > :first-child {
  order: 2;
}
@media (max-width: 1023px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .split.is-reversed > :first-child {
    order: 0;
  }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  margin-bottom: var(--space-3);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-xs);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 3px rgba(30, 78, 140, 0.12);
}
.kicker {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.04em;
}
.accent-line {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
}

/* ---------- Icons ---------- */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm {
  width: 18px;
  height: 18px;
}
.icon-xs {
  width: 16px;
  height: 16px;
}
.icon-lg {
  width: 28px;
  height: 28px;
}
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--primary);
  background: linear-gradient(180deg, #fff, var(--primary-soft));
  border: 1px solid rgba(30, 78, 140, 0.14);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(30, 78, 140, 0.45);
}
.icon-tile.is-steel {
  color: var(--brand-navy);
  background: linear-gradient(180deg, #fff, #eef1f5);
  border-color: rgba(11, 31, 58, 0.12);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(11, 31, 58, 0.4);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease,
    box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) ease;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .icon-arrow {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(30, 78, 140, 0.3), 0 8px 20px -10px rgba(30, 78, 140, 0.8);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: inherit;
  background: var(--gradient);
  filter: blur(12px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}
.btn-primary:hover::before {
  opacity: 0.45;
}
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary);
}
.btn-primary:focus-visible::before {
  opacity: 0.7;
}
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: #c4c7cc;
  color: var(--text);
}
.btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 78, 140, 0.3);
  border-color: var(--primary);
}
.btn-glass {
  background: var(--glass-bg-strong);
  color: var(--text);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.btn-glass:hover {
  background: #fff;
  color: var(--text);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding-inline: 12px;
}
.btn-ghost:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
}
.btn-sm {
  --btn-h: 40px;
  padding: 0 18px;
  font-size: 0.9375rem;
}
.btn-lg {
  --btn-h: 56px;
  padding: 0 30px;
  font-size: 1.0625rem;
}
.btn-block {
  width: 100%;
}
.btn[disabled],
.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn .spinner {
  display: none;
}
.btn.is-loading .spinner {
  display: inline-block;
}
.btn.is-loading .icon {
  display: none;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary);
}
.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease-out);
}
.link-arrow:hover {
  text-decoration: none;
  color: var(--primary-hover);
}
.link-arrow:hover .icon,
.card:hover .link-arrow .icon {
  transform: translateX(4px);
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.chip .icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}
.chip-sm {
  padding: 4px 10px;
  font-size: var(--fs-xs);
  gap: 6px;
}
.chip-soon {
  background: linear-gradient(90deg, rgba(30, 78, 140, 0.1), rgba(242, 169, 0, 0.084));
  color: var(--violet);
  font-weight: 600;
}
.chip-success {
  background: var(--success-soft);
  color: var(--success);
}
.chip-warning {
  background: var(--warning-soft);
  color: var(--warning);
}
.chip-primary {
  background: var(--primary-soft);
  color: var(--primary);
}
.chip-glass {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}
.section-alt .card {
  background: var(--bg);
}
.card.is-surface {
  background: var(--surface);
}
.card:is(a, .is-interactive):hover,
.card.is-hoverable:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
a.card {
  color: inherit;
  text-decoration: none;
}
.card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.card .icon-tile {
  margin-bottom: var(--space-3);
}
.card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}
.card .link-arrow {
  margin-top: auto;
  padding-top: var(--space-3);
}
.card-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.section-alt .card-glass,
.card.card-glass {
  background: var(--glass-bg);
}
.card-number {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* Ambient glow used behind glass groups */
.glow-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.glow-field > span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}
.glow-field .g-blue {
  background: #1e4e8c;
}
.glow-field .g-violet {
  background: #0b1f3a;
}
.glow-field .g-steel {
  background: #9aa5b1;
}
.glow-field + * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header — logo, navigation and CTA float as separate glass pieces
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 14px;
  pointer-events: none;
  transition: padding var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  padding-top: 10px;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-2);
  height: var(--header-h);
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
}
.header-inner > * {
  pointer-events: auto;
}

/* Logo capsule */
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px 8px 10px;
  margin-left: -10px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.brand img {
  height: 40px;
  width: auto;
}
.brand:hover {
  text-decoration: none;
}
.site-header.is-scrolled .brand {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.brand:focus-visible {
  outline-offset: 2px;
  border-radius: var(--radius-pill);
}

/* Centre navigation island */
.nav-island {
  justify-self: center;
  position: relative;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled .nav-island {
  background: var(--glass-bg-strong);
}
.nav-island ul {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.nav-link:hover {
  color: var(--text);
  text-decoration: none;
}
.nav-link[aria-current='page'] {
  color: var(--text);
  font-weight: 600;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.nav-link:focus-visible {
  outline-offset: 0;
  border-radius: var(--radius-pill);
}
/* JS replaces the static active pill with a sliding indicator */
.nav-island.has-indicator .nav-link[aria-current='page'] {
  background: transparent;
  box-shadow: none;
}
.nav-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 0;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(31, 31, 31, 0.04);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity var(--dur) ease;
}
.nav-island.has-indicator .nav-indicator.is-ready {
  opacity: 1;
}
.nav-indicator::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: translateX(-50%);
}

/* Right actions */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta {
  box-shadow: 0 1px 2px rgba(30, 78, 140, 0.3), 0 10px 24px -10px rgba(30, 78, 140, 0.9);
}
.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge);
  color: var(--text);
  transition: transform var(--dur-fast) ease;
}
.menu-toggle:active {
  transform: scale(0.94);
}

@media (max-width: 1279px) {
  .nav-link {
    padding: 10px 13px;
    font-size: 0.90625rem;
  }
  .brand img {
    height: 36px;
  }
}
@media (max-width: 1099px) {
  .nav-island {
    display: none;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .menu-toggle {
    display: grid;
  }
}
@media (max-width: 767px) {
  :root {
    --header-h: 60px;
  }
  .site-header {
    padding-top: 10px;
  }
  .brand {
    padding: 6px 12px 6px 8px;
    margin-left: -8px;
  }
  .brand img {
    height: 30px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 14px var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(28px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  opacity: 1;
}
.mobile-menu .glow-field .g-blue {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
}
.mobile-menu .glow-field .g-violet {
  width: 280px;
  height: 280px;
  bottom: 40px;
  left: -100px;
}
.mobile-menu-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.mobile-menu-top .brand img {
  height: 30px;
}
.mobile-menu nav {
  position: relative;
  z-index: 1;
  margin-top: var(--space-4);
}
.mobile-menu nav ul {
  list-style: none;
  display: grid;
  gap: 4px;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.06);
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 1.2rem + 2vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), color var(--dur-fast);
}
.mobile-menu nav a .icon {
  color: var(--text-tertiary);
}
.mobile-menu nav a[aria-current='page'] {
  color: var(--primary);
}
.mobile-menu nav a:hover {
  text-decoration: none;
  color: var(--primary);
}
.mobile-menu.is-open nav a {
  opacity: 1;
  transform: none;
}
.mobile-menu-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.mobile-menu-foot a.mail {
  justify-self: center;
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(56px, 7vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* Soft dot grid fading out from the top */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(31, 31, 31, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 20%, #000 20%, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero-copy h1 {
  max-width: 12ch;
}
.hero-copy .lead {
  max-width: 34rem;
  margin-top: var(--space-3);
}
.hero-copy .btn-row {
  margin-top: var(--space-5);
}
.hero-centered {
  text-align: center;
}
.hero-centered h1 {
  max-width: 16ch;
  margin-inline: auto;
}
.hero-centered .lead {
  max-width: 40rem;
  margin: var(--space-3) auto 0;
}
.hero-centered .btn-row {
  justify-content: center;
  margin-top: var(--space-5);
}
.page-hero {
  padding-bottom: clamp(48px, 6vw, 88px);
}
.page-hero h1 {
  max-width: 18ch;
}
.page-hero.hero-centered h1 {
  margin-inline: auto;
}
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy h1,
  .hero-copy .lead {
    margin-inline: auto;
  }
  .hero-copy .btn-row {
    justify-content: center;
  }
}
@media (max-width: 479px) {
  .hero .btn-row .btn {
    width: 100%;
  }
}

/* Hero glow */
.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.hero-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.hero-glow .g1 {
  width: 520px;
  height: 520px;
  right: -60px;
  top: 40px;
  background: radial-gradient(circle, rgba(30, 78, 140, 0.55), rgba(30, 78, 140, 0) 70%);
  animation: drift-a 18s var(--ease-in-out) infinite alternate;
}
.hero-glow .g2 {
  width: 460px;
  height: 460px;
  right: 220px;
  top: 260px;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.35), rgba(242, 169, 0, 0) 70%);
  animation: drift-b 22s var(--ease-in-out) infinite alternate;
}
.hero-glow .g3 {
  width: 380px;
  height: 380px;
  right: 40px;
  top: 420px;
  background: radial-gradient(circle, rgba(154, 165, 177, 0.6), rgba(154, 165, 177, 0) 70%);
  animation: drift-c 20s var(--ease-in-out) infinite alternate;
}
.hero-centered .hero-glow .g1 {
  right: auto;
  left: 8%;
  top: 30%;
}
.hero-centered .hero-glow .g2 {
  right: 6%;
  top: 18%;
}
.hero-centered .hero-glow .g3 {
  right: 34%;
  top: 55%;
}
@keyframes drift-a {
  to {
    transform: translate3d(-60px, 40px, 0) scale(1.08);
  }
}
@keyframes drift-b {
  to {
    transform: translate3d(70px, -50px, 0) scale(0.92);
  }
}
@keyframes drift-c {
  to {
    transform: translate3d(-40px, -60px, 0) scale(1.1);
  }
}
@media (max-width: 1023px) {
  .hero-glow .g1 {
    right: -120px;
    top: auto;
    bottom: 120px;
  }
  .hero-glow .g2 {
    right: auto;
    left: -120px;
    top: auto;
    bottom: 0;
  }
  .hero-glow .g3 {
    right: 20%;
    top: auto;
    bottom: -80px;
  }
}

/* Floating cards in the home hero */
.hero-visual {
  position: relative;
  min-height: 520px;
}
.float-card {
  position: absolute;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
  animation: float 7s var(--ease-in-out) infinite;
}
.float-card.fc-site {
  top: 0;
  left: 0;
  width: min(440px, 88%);
  animation-duration: 8s;
}
.float-card.fc-post {
  right: 0;
  top: 190px;
  z-index: 1;
  width: min(300px, 62%);
  animation-delay: -2.5s;
}
.float-card.fc-mail {
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(300px, 64%);
  animation-duration: 6.5s;
  animation-delay: -4s;
}
@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}
@media (max-width: 1023px) {
  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin: var(--space-4) auto 0;
  }
}
@media (max-width: 479px) {
  .hero-visual {
    min-height: 470px;
  }
  .float-card.fc-site {
    width: 100%;
  }
  .float-card.fc-post {
    top: 200px;
    width: 78%;
  }
  .float-card.fc-mail {
    left: 0;
    width: 86%;
  }
}

/* ==========================================================================
   UI mockups (built with HTML/CSS)
   ========================================================================== */
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.06);
}
.mock-chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dadce0;
}
.mock-chrome i:nth-child(1) {
  background: #f28b82;
}
.mock-chrome i:nth-child(2) {
  background: #fdd663;
}
.mock-chrome i:nth-child(3) {
  background: #81c995;
}
.mock-url {
  flex: 1;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(241, 243, 244, 0.9);
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}
.mock-url .icon {
  width: 11px;
  height: 11px;
  color: var(--success);
}
.mock-body {
  padding: 18px;
}
.mock-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock-site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--brand-navy);
}
.mock-site-logo b {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-navy), #4a6a96);
}
.mock-lines {
  display: flex;
  gap: 8px;
}
.mock-lines span {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: #e3e6ea;
}
.mock-site-hero {
  position: relative;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(120deg, #0b1f3a 0%, #2c4a74 55%, #8796a8 100%);
  color: #fff;
  overflow: hidden;
}
.mock-site-hero::after {
  /* brushed metal sheen */
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 7px);
}
.mock-site-hero small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
.mock-site-hero strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.2;
  max-width: 15ch;
}
.mock-site-hero .mock-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 700;
}
.mock-spec {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 11px;
}
.mock-spec th,
.mock-spec td {
  padding: 7px 8px;
  text-align: left;
  border-bottom: 1px solid #eef0f2;
}
.mock-spec th {
  color: var(--text-secondary);
  font-weight: 500;
  background: rgba(248, 249, 250, 0.9);
}
.mock-spec td {
  color: var(--text);
  font-weight: 500;
}
.mock-spec tr:last-child td {
  border-bottom: 0;
}

.mock-post {
  padding: 16px;
}
.mock-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-navy), #3d5e8c);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
}
.mock-post-head strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}
.mock-post-head small {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}
.mock-post-head .li-badge {
  margin-left: auto;
  color: #1e4e8c;
}
.mock-post p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
}
.mock-post-media {
  position: relative;
  height: 96px;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #cfd6de 0%, #f4f6f8 35%, #a9b4c0 60%, #e8ecf0 100%);
}
.mock-post-media::before,
.mock-post-media::after {
  /* stylised stack of pipes */
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  height: 22px;
  border-radius: 11px;
  background: linear-gradient(180deg, #eef1f4, #9aa5b1 70%, #7b8794);
  box-shadow: 0 3px 6px rgba(11, 31, 58, 0.25);
}
.mock-post-media::before {
  top: 22px;
}
.mock-post-media::after {
  top: 52px;
  left: 30px;
  right: 30px;
}
.mock-post-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-secondary);
}

.mock-notify {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.mock-notify .icon-wrap {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  color: #fff;
  background: var(--gradient-diag);
  box-shadow: 0 8px 18px -8px rgba(30, 78, 140, 0.8);
}
.mock-notify .icon-wrap .icon {
  width: 20px;
  height: 20px;
}
.mock-notify strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
}
.mock-notify small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-secondary);
}
.mock-notify .tick {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}
.mock-notify .tick .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

/* Dashboard mockup */
.dashboard {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
  font-size: 12px;
}
.dash-side {
  padding: 18px 12px;
  background: rgba(248, 249, 250, 0.7);
  border-right: 1px solid rgba(31, 31, 31, 0.06);
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
}
.dash-brand img {
  width: 26px;
  height: auto;
}
.dash-nav {
  list-style: none;
  display: grid;
  gap: 2px;
}
.dash-nav li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}
.dash-nav li .icon {
  width: 15px;
  height: 15px;
}
.dash-nav li.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}
.dash-main {
  padding: 18px;
  min-width: 0;
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.dash-top strong {
  font-family: var(--font-heading);
  font-size: 15px;
}
.sample-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.dash-stat {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}
.dash-stat small {
  display: block;
  color: var(--text-secondary);
  font-size: 10.5px;
}
.dash-stat b {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.dash-stat em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 10.5px;
  color: var(--success);
  font-weight: 600;
}
.dash-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.dash-table th,
.dash-table td {
  padding: 9px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #f1f3f4;
}
.dash-table th {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 11px;
  background: var(--surface);
}
.dash-table tr:last-child td {
  border-bottom: 0;
}
.dash-table td:first-child {
  font-weight: 600;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 600;
}
.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-active {
  background: var(--success-soft);
  color: var(--success);
}
.status-paused {
  background: var(--warning-soft);
  color: var(--warning);
}
.status-done {
  background: var(--surface-2);
  color: var(--text-secondary);
}
.status-new {
  background: var(--primary-soft);
  color: var(--primary);
}
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 14px;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.dash-bars span {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #0b1f3a, #1e4e8c);
  opacity: 0.85;
}
.dash-bars span:nth-child(1) { height: 32%; }
.dash-bars span:nth-child(2) { height: 45%; }
.dash-bars span:nth-child(3) { height: 40%; }
.dash-bars span:nth-child(4) { height: 58%; }
.dash-bars span:nth-child(5) { height: 66%; }
.dash-bars span:nth-child(6) { height: 61%; }
.dash-bars span:nth-child(7) { height: 78%; }
.dash-bars span:nth-child(8) { height: 86%; }
.dash-bars span:nth-child(9) { height: 92%; }
.dash-replies {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.dash-reply {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.dash-reply .mock-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 10.5px;
}
.dash-reply .mock-avatar.av-2 {
  background: linear-gradient(135deg, #0b1f3a, #4b6890);
}
.dash-reply .mock-avatar.av-3 {
  background: linear-gradient(135deg, #188038, #5bb974);
}
.dash-reply div {
  min-width: 0;
}
.dash-reply strong {
  display: block;
  font-size: 12px;
}
.dash-reply small {
  display: block;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-reply time {
  margin-left: auto;
  color: var(--text-tertiary);
  font-size: 10.5px;
  white-space: nowrap;
}
.dashboard.is-compact {
  grid-template-columns: minmax(0, 1fr);
}
.dashboard.is-compact .dash-side {
  display: none;
}
.dash-table-wrap {
  overflow-x: auto;
}
@media (max-width: 767px) {
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
  }
  .dash-side {
    display: none;
  }
  .dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-table-wrap {
    overflow-x: auto;
  }
}

/* ==========================================================================
   Home sections
   ========================================================================== */
.built-for {
  padding-block: var(--space-6) var(--space-4);
}
.built-for-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.built-for-label {
  flex: none;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-secondary);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.built-for .chip {
  padding: 7px 14px;
  font-size: 0.875rem;
}
.built-for .chip-row,
.hero-centered .chip-row {
  justify-content: center;
}

.problem-card .icon-tile {
  color: var(--error);
  background: linear-gradient(180deg, #fff, var(--error-soft));
  border-color: rgba(217, 48, 37, 0.14);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(217, 48, 37, 0.4);
}

/* Steps with a connecting gradient line */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  list-style: none;
  counter-reset: step;
}
.steps.steps-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  opacity: 0.6;
}
.steps.steps-4::before {
  left: 12.5%;
  right: 12.5%;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 var(--space-2);
}
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), 0 0 0 6px var(--bg);
}
.section-alt .step-num {
  box-shadow: var(--shadow-sm), 0 0 0 6px var(--surface);
}
.step h3 {
  font-size: 1.25rem;
}
.step p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 1rem;
}
@media (max-width: 1023px) {
  .steps.steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-6);
  }
  .steps.steps-4::before {
    display: none;
  }
}
@media (max-width: 767px) {
  .steps,
  .steps.steps-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }
  .steps::before {
    display: block;
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #1e4e8c, #0b1f3a, #9aa5b1);
  }
  .steps.steps-4::before {
    display: block;
  }
  .step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: var(--space-3);
    text-align: left;
    padding: 0;
  }
  .step-num {
    margin: 0;
    grid-row: span 2;
  }
  .step h3 {
    align-self: end;
  }
}

/* Spotlight */
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight .glow-field .g-blue {
  width: 420px;
  height: 420px;
  right: 4%;
  top: 12%;
}
.spotlight .glow-field .g-violet {
  width: 360px;
  height: 360px;
  right: 26%;
  bottom: 4%;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}
.check-list li .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  stroke-width: 2.2;
}
.check-list.is-compact {
  gap: 10px;
  font-size: 1rem;
}
.spotlight-copy .check-list {
  margin-top: var(--space-4);
}
.spotlight-copy .btn {
  margin-top: var(--space-5);
}

/* FAQ accordion */
.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: 24px 4px;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.faq-trigger:hover {
  color: var(--primary);
}
.faq-trigger .plus {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast) ease;
}
.faq-trigger .plus .icon {
  width: 18px;
  height: 18px;
}
.faq-trigger[aria-expanded='true'] .plus {
  transform: rotate(45deg);
  background: var(--primary-soft);
  color: var(--primary);
}
.faq-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.js .faq-panel {
  grid-template-rows: 0fr;
}
.js .faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}
.faq-panel > div {
  overflow: hidden;
}
.faq-panel p {
  padding: 0 56px 24px 4px;
  color: var(--text-secondary);
}

/* CTA band */
.cta-band {
  position: relative;
  padding-block: var(--section-pad);
}
.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-xl);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cta-panel .glow-field span {
  opacity: 0.4;
}
.cta-panel .glow-field .g-blue {
  width: 380px;
  height: 380px;
  left: -80px;
  top: -120px;
}
.cta-panel .glow-field .g-violet {
  width: 360px;
  height: 360px;
  right: -60px;
  bottom: -140px;
}
.cta-panel .glow-field .g-steel {
  width: 300px;
  height: 300px;
  left: 40%;
  bottom: -180px;
}
.cta-panel h2 {
  max-width: 18ch;
  margin-inline: auto;
}
.cta-panel p {
  max-width: 34rem;
  margin: var(--space-2) auto 0;
  color: var(--text-secondary);
  font-size: var(--fs-lead);
}
.cta-panel .btn-row {
  justify-content: center;
  margin-top: var(--space-5);
}

/* ==========================================================================
   Services page
   ========================================================================== */
.node-map {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 760 / 360;
  margin: var(--space-8) auto 0;
}
.node-map svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.node-map svg.lines path {
  fill: none;
  stroke: url(#line-gradient);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: dash 12s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}
.node-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(96px, 16vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), 0 0 0 10px rgba(30, 78, 140, 0.06),
    0 0 60px rgba(242, 169, 0, 0.175);
}
.node-center img {
  width: 72%;
}
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: clamp(0.75rem, 0.65rem + 0.4vw, 0.9375rem);
}
.node .icon {
  color: var(--primary);
}
.node.n1 { left: 13%; top: 16%; }
.node.n2 { left: 50%; top: 4%; }
.node.n3 { left: 87%; top: 16%; }
.node.n4 { left: 87%; top: 84%; }
.node.n5 { left: 50%; top: 96%; }
.node.n6 { left: 13%; top: 84%; }
.node.n7 { left: 4%; top: 50%; }
.node.n7 { display: none; }
@media (max-width: 599px) {
  .node .chip-label {
    display: none;
  }
  .node.chip {
    padding: 10px;
  }
}

.subnav-wrap {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  z-index: 40;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.subnav {
  pointer-events: auto;
  max-width: 100%;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar {
  display: none;
}
.subnav ul {
  display: flex;
  gap: 2px;
  list-style: none;
}
.subnav a {
  display: block;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.subnav a:hover {
  color: var(--text);
  text-decoration: none;
}
.subnav a.is-current {
  color: var(--primary);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 1099px) {
  .subnav-wrap {
    top: calc(var(--header-h) + 14px);
    justify-content: flex-start;
  }
}
/* On narrow screens, sit below the floating header row */
@media (max-width: 767px) {
  .subnav-wrap {
    top: calc(var(--header-h) + 16px);
    padding-inline: 12px;
  }
}

.service-section {
  scroll-margin-top: calc(var(--header-h) + 90px);
}
.service-section + .service-section {
  border-top: 1px solid var(--border);
}
.service-copy h2 {
  font-size: clamp(1.875rem, 1.45rem + 1.6vw, 2.625rem);
}
.service-copy .title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-2);
}
.service-copy .desc {
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.service-copy h3 {
  margin: var(--space-4) 0 var(--space-2);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.why-line {
  display: flex;
  gap: 12px;
  margin-top: var(--space-4);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1rem;
}
.why-line .icon {
  color: var(--violet);
  margin-top: 1px;
}
.why-line strong {
  font-weight: 600;
}

/* Visual stage: a soft glow with glass cards on top */
.stage {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface), #fff);
  border: 1px solid var(--border);
  overflow: hidden;
}
.stage::before,
.stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
}
.stage::before {
  top: -20%;
  right: -10%;
  background: #1e4e8c;
}
.stage::after {
  bottom: -25%;
  left: -10%;
  background: #0b1f3a;
}
.stage.is-steel::before {
  background: #9aa5b1;
  opacity: 0.55;
}
.glass-panel {
  position: relative;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-md);
  font-size: 13px;
}
.glass-panel + .glass-panel {
  margin-top: 14px;
}
.glass-panel.inset-left {
  margin-right: 12%;
}
.glass-panel.inset-right {
  margin-left: 12%;
}
.panel-pad {
  padding: 18px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}
.lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-row span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.lang-row span.is-on {
  background: var(--primary-soft);
  border-color: transparent;
  color: var(--primary);
}
.mini-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mini-form span {
  height: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
}
.mini-form span.wide {
  grid-column: span 2;
  height: 46px;
}
.mini-form b {
  grid-column: span 2;
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
}
.li-banner {
  height: 70px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(110deg, #0b1f3a, #31507c 50%, #9aa5b1);
}
.li-company {
  padding: 0 18px 18px;
}
.li-company .mock-avatar {
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border: 3px solid #fff;
  border-radius: 14px;
  font-size: 16px;
}
.li-company strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}
.li-company small {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
}
.li-company .li-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.li-company .li-actions span {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  background: #1e4e8c;
  color: #fff;
}
.li-company .li-actions span + span {
  background: #fff;
  color: #1e4e8c;
  border: 1px solid #1e4e8c;
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
}
.cal span.has-post::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-diag);
}
.cal span.is-head {
  aspect-ratio: auto;
  background: none;
  border: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.portal-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.portal-row + .portal-row {
  border-top: 1px solid rgba(31, 31, 31, 0.06);
}
.portal-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  color: #fff;
}
.portal-logo.p1 { background: #2e3192; }
.portal-logo.p2 { background: #0072bc; }
.portal-logo.p3 { background: #e85d22; }
.portal-logo.p4 { background: #ff6a00; }
.portal-row strong {
  display: block;
  font-size: 13px;
}
.progress {
  height: 6px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--surface-2);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}
.progress i.w-100 { width: 100%; }
.progress i.w-95 { width: 95%; }
.progress i.w-90 { width: 90%; }
.progress i.w-85 { width: 85%; }
.doc-stack {
  position: relative;
  height: 330px;
}
.doc {
  position: absolute;
  width: 62%;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 11px;
}
.doc.d1 {
  left: 0;
  top: 30px;
  transform: rotate(-5deg);
}
.doc.d2 {
  left: 19%;
  top: 6px;
  z-index: 1;
}
.doc.d3 {
  right: 0;
  top: 50px;
  transform: rotate(5deg);
}
.doc-cover {
  height: 92px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #0b1f3a, #4b6890 60%, #c3ccd6);
}
.doc.d3 .doc-cover {
  background: linear-gradient(135deg, #f2a900, #ffc94a);
}
.doc strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 12.5px;
}
.doc small {
  color: var(--text-secondary);
}
.doc .bar {
  height: 6px;
  border-radius: 3px;
  margin-top: 8px;
  background: var(--surface-2);
}
.doc .bar.short {
  width: 60%;
}
.serp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
}
.serp-search .icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}
.serp-result {
  padding: 14px 4px 4px;
}
.serp-result small {
  color: var(--success);
  font-size: 11.5px;
}
.serp-result strong {
  display: block;
  margin-top: 2px;
  color: #1a0dab;
  font-size: 15px;
  font-weight: 500;
}
.serp-result p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}
.phone-shell {
  width: min(300px, 100%);
  margin-inline: auto;
  padding: 10px;
  border-radius: 36px;
  background: #1f1f1f;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #efeae2;
  font-size: 12px;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: #075e54;
  color: #fff;
}
.phone-head .mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 10.5px;
}
.phone-head strong {
  display: block;
  font-size: 13px;
}
.phone-head small {
  opacity: 0.8;
  font-size: 10.5px;
}
.chat {
  display: grid;
  gap: 8px;
  padding: 14px;
}
.bubble {
  max-width: 82%;
  padding: 8px 11px;
  border-radius: 12px;
  background: #fff;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.bubble.me {
  justify-self: end;
  background: #d9fdd3;
}
.bubble small {
  display: block;
  margin-top: 2px;
  text-align: right;
  font-size: 9.5px;
  color: var(--text-tertiary);
}
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.quick-replies span {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #008069;
  font-weight: 600;
  font-size: 11px;
  border: 1px solid #d1e7dd;
}
.catalog-item {
  display: flex;
  gap: 10px;
  align-items: center;
}
.catalog-item i {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #cfd6de, #f4f6f8 45%, #9aa5b1);
}
.assistant {
  display: grid;
  gap: 10px;
}
.assistant .bubble {
  max-width: 88%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: none;
  font-size: 12.5px;
}
.assistant .bubble.bot {
  background: linear-gradient(180deg, #f5f7fa, #fff);
  border-color: rgba(30, 78, 140, 0.18);
}
.assistant .bubble.me {
  background: var(--surface-2);
  border-color: transparent;
}
.assistant .who {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--violet);
}
.assistant .who .icon {
  width: 14px;
  height: 14px;
}

/* Engagement models */
.plan-card {
  padding: var(--space-5) var(--space-4);
}
.plan-card.is-featured {
  border: 0;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-md);
}
.plan-card .plan-tag {
  align-self: flex-start;
  margin-bottom: var(--space-3);
}
.plan-card h3 {
  font-size: 1.5rem;
}
.plan-card > p {
  min-height: 3.2em;
}
.plan-card .check-list {
  margin: var(--space-4) 0;
  font-size: 0.9875rem;
}
.plan-card .btn {
  margin-top: auto;
}

/* ==========================================================================
   Auto Mail page
   ========================================================================== */
.product-hero .dashboard {
  margin-top: var(--space-8);
}
.product-hero .dash-wrap {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
}
.product-hero .dash-wrap::before {
  content: '';
  position: absolute;
  inset: 10% 5% -6%;
  z-index: -1;
  border-radius: 40px;
  background: var(--gradient);
  filter: blur(60px);
  opacity: 0.28;
}
.tabs {
  max-width: 1040px;
  margin-inline: auto;
}
.tablist {
  display: inline-flex;
  gap: 2px;
  padding: 6px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}
.tabs-head {
  display: flex;
  justify-content: center;
}
.tab {
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast) ease, background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.tab:hover {
  color: var(--text);
}
.tab[aria-selected='true'] {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.tabpanel {
  animation: fade-in 420ms var(--ease-out);
}
.no-js .tabpanel[hidden] {
  display: block !important;
  margin-top: var(--space-4);
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.respect-card .icon-tile {
  color: var(--success);
  background: linear-gradient(180deg, #fff, var(--success-soft));
  border-color: rgba(24, 128, 56, 0.16);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(24, 128, 56, 0.4);
}

/* ==========================================================================
   Industries page
   ========================================================================== */
.industry-card {
  padding: var(--space-4);
}
.industry-card .industry-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.industry-card .industry-head .icon-tile {
  margin: 0;
  width: 56px;
  height: 56px;
}
.industry-card .industry-head .icon {
  width: 30px;
  height: 30px;
}
.industry-card dl {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}
.industry-card dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.industry-card dd {
  margin: 4px 0 0;
  font-size: 0.96875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.industry-card dd.helps {
  color: var(--text);
}
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  list-style: none;
}
.flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gradient);
  opacity: 0.5;
}
.flow-step {
  position: relative;
  padding: var(--space-4) var(--space-3);
  text-align: center;
}
.flow-step .icon-tile {
  margin-bottom: var(--space-2);
}
.flow-step strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
}
.flow-step span {
  display: block;
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.flow-step .flow-arrow {
  position: absolute;
  right: calc(var(--space-3) / -2);
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: -14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  transform: translateY(-50%);
  box-shadow: var(--shadow-xs);
}
.flow-step .flow-arrow .icon {
  width: 14px;
  height: 14px;
}
@media (max-width: 1023px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow::before,
  .flow-step .flow-arrow {
    display: none;
  }
}
@media (max-width: 479px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   About page
   ========================================================================== */
.logo-reveal {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
}
.logo-reveal .emblem {
  width: 100%;
}
.logo-reveal .wordmark {
  width: 100%;
  margin-top: 4%;
}
.logo-reveal .ring {
  position: absolute;
  left: 50%;
  top: 9%;
  width: 80%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
}
.logo-reveal .ring circle {
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.logo-reveal .ring .r-navy {
  stroke: var(--brand-navy);
  opacity: 0;
}
.logo-reveal .ring .r-orange {
  stroke: var(--brand-orange);
  opacity: 0;
}
/* Animated only once JS marks it ready, so no-JS shows the finished logo */
.logo-reveal.is-armed .emblem {
  clip-path: circle(0% at 50% 62%);
  opacity: 0;
}
.logo-reveal.is-armed .wordmark {
  clip-path: inset(0 100% 0 0);
}
.logo-reveal.is-playing .ring circle {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: ring-draw 1.4s var(--ease-out) forwards, ring-fade 0.6s ease 1.9s forwards;
}
.logo-reveal.is-playing .ring .r-orange {
  animation-delay: 0.35s, 1.9s;
}
.logo-reveal.is-playing .emblem {
  animation: emblem-in 1.1s var(--ease-out) 0.9s forwards;
}
.logo-reveal.is-playing .wordmark {
  animation: wordmark-in 1s var(--ease-in-out) 1.8s forwards;
}
@keyframes ring-draw {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes ring-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes emblem-in {
  0% {
    opacity: 1;
    clip-path: circle(0% at 50% 62%);
  }
  100% {
    opacity: 1;
    clip-path: circle(75% at 50% 62%);
  }
}
@keyframes wordmark-in {
  to {
    clip-path: inset(0 0 0 0);
  }
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
}
.story .prose p + p {
  margin-top: var(--space-2);
}
.story .prose p {
  color: var(--text-secondary);
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.story .prose strong {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 1023px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
  }
}
.mv-card {
  padding: var(--space-5);
}
.mv-card h3 {
  font-size: 1.5rem;
}
.mv-card p {
  font-size: var(--fs-lead);
}
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.compare th,
.compare td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.compare thead th {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  background: var(--surface);
}
.compare thead th.is-us {
  color: var(--primary);
  background: linear-gradient(180deg, #f3f7ff, var(--surface));
}
.compare tbody th {
  width: 22%;
  font-weight: 600;
  color: var(--text);
}
.compare td {
  color: var(--text-secondary);
}
.compare td.is-us {
  color: var(--text);
  background: rgba(232, 238, 247, 0.35);
}
.compare td .cell {
  display: flex;
  gap: 10px;
}
.compare td .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.compare td.is-us .icon {
  color: var(--success);
  stroke-width: 2;
}
.compare td:not(.is-us) .icon {
  color: var(--text-tertiary);
}
.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 767px) {
  .compare thead {
    display: none;
  }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }
  .compare tr {
    border-bottom: 1px solid var(--border);
  }
  .compare tr:last-child {
    border-bottom: 0;
  }
  .compare th,
  .compare td {
    border: 0;
    padding: 12px 18px;
  }
  .compare tbody th {
    padding-top: 18px;
    width: 100%;
  }
  .compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-tertiary);
  }
  .compare td.is-us {
    margin-bottom: 12px;
  }
}
.parent-block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}
.parent-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.parent-mark img {
  width: 82px;
}
.parent-block h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
}
.parent-block p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: var(--fs-lead);
}
@media (max-width: 767px) {
  .parent-block {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .parent-mark {
    margin-inline: auto;
  }
}
.placeholder {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 0.85em;
  font-weight: 600;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
}
.form-card h2 {
  font-size: clamp(1.625rem, 1.35rem + 1vw, 2rem);
}
.form-card .form-intro {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  margin-top: var(--space-4);
}
.form-grid .span-2 {
  grid-column: span 2;
}
@media (max-width: 599px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid .span-2 {
    grid-column: auto;
  }
}
.field {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
}
.field > label,
.field-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.field .req {
  color: var(--error);
  margin-left: 2px;
}
.field .opt {
  font-weight: 400;
  color: var(--text-tertiary);
  font-size: var(--fs-small);
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder,
.textarea::placeholder {
  color: #9aa0a6;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: #bdc1c6;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 78, 140, 0.14);
}
.textarea {
  min-height: 140px;
  resize: vertical;
}
.select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235f6368' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea,
.field.is-invalid .combo-input {
  border-color: var(--error);
  background: #fffafa;
}
.field.is-invalid .input:focus,
.field.is-invalid .select:focus,
.field.is-invalid .textarea:focus {
  box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.12);
}
.field-error {
  display: none;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--error);
  line-height: 1.4;
}
.field-error .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.field.is-invalid .field-error {
  display: flex;
}
.field-hint {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}
.phone-group {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
  gap: 8px;
}
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.choice-group legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.choice span .icon {
  width: 16px;
  height: 16px;
  display: none;
  stroke-width: 2.2;
}
.choice:hover span {
  border-color: #bdc1c6;
  color: var(--text);
}
.choice input:checked + span {
  background: var(--primary-soft);
  border-color: rgba(30, 78, 140, 0.35);
  color: var(--primary);
}
.choice input:checked + span .icon {
  display: block;
}
.choice input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.form-actions .small {
  color: var(--text-tertiary);
}
.form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: var(--space-3);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--error-soft);
  color: var(--error);
  font-size: 0.9375rem;
}
.form-alert.is-visible {
  display: flex;
}
.form-alert .icon {
  width: 20px;
  height: 20px;
}
.form-success {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-2);
  text-align: center;
  animation: fade-in 500ms var(--ease-out);
}
.form-success .success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #188038, #34a853);
  box-shadow: 0 0 0 10px var(--success-soft), 0 16px 32px -12px rgba(24, 128, 56, 0.6);
}
.form-success .success-mark .icon {
  width: 34px;
  height: 34px;
  stroke-width: 2.2;
}
.form-success h2 {
  margin-top: var(--space-2);
}
.form-success p {
  max-width: 28rem;
  color: var(--text-secondary);
}

/* Searchable country combobox */
.combo {
  position: relative;
}
.combo-input {
  padding-right: 44px;
}
.combo .combo-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}
.combo-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  max-height: 264px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
.combo-list li {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9375rem;
  cursor: pointer;
}
.combo-list li[aria-selected='true'] {
  font-weight: 600;
  color: var(--primary);
}
.combo-list li.is-active {
  background: var(--primary-soft);
}
.combo-list li.combo-empty {
  color: var(--text-tertiary);
  cursor: default;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 1023px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.contact-info {
  display: grid;
  gap: var(--space-2);
}
.info-row {
  display: flex;
  gap: var(--space-2);
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
}
.info-row .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
}
.info-row .icon-tile .icon {
  width: 22px;
  height: 22px;
}
.info-row small {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.info-row strong,
.info-row a.value {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.info-row a.value:hover {
  color: var(--primary);
}
.form-section {
  position: relative;
  overflow: hidden;
}
.form-section .glow-field .g-blue {
  width: 420px;
  height: 420px;
  right: -60px;
  top: 0;
}
.form-section .glow-field .g-violet {
  width: 380px;
  height: 380px;
  right: 30%;
  bottom: -120px;
}
.form-section .glow-field .g-steel {
  width: 300px;
  height: 300px;
  left: -60px;
  top: 30%;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: var(--fs-small);
}
.legal-toc ol {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.legal-toc a {
  color: var(--text-secondary);
}
.legal-toc a:hover {
  color: var(--primary);
}
.prose {
  max-width: 720px;
}
.prose h2 {
  margin: var(--space-6) 0 var(--space-2);
  font-size: 1.5rem;
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose li {
  color: var(--text-secondary);
}
.prose p + p {
  margin-top: var(--space-2);
}
.prose ul {
  display: grid;
  gap: 8px;
  margin: var(--space-2) 0;
  padding-left: 22px;
}
.review-note {
  display: flex;
  gap: 12px;
  margin-bottom: var(--space-5);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--warning-soft);
  color: #7a4100;
  font-size: 0.9375rem;
}
.review-note .icon {
  color: var(--warning);
}
@media (max-width: 1023px) {
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-toc {
    position: static;
  }
}

/* Error / status pages */
.status-page {
  min-height: 78vh;
  display: grid;
  align-items: center;
}
.status-code {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.status-page .status-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
}
.status-icon.is-success {
  color: #fff;
  background: linear-gradient(135deg, #188038, #34a853);
  box-shadow: 0 0 0 10px var(--success-soft);
}
.status-icon.is-error {
  color: var(--error);
  background: var(--error-soft);
}
.status-icon.is-neutral {
  color: var(--primary);
  background: var(--primary-soft);
}
.status-icon .icon {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: clamp(56px, 7vw, 88px);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(480px, 60%);
  height: 2px;
  transform: translateX(-50%);
  background: var(--gradient);
  border-radius: 2px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.6fr) minmax(0, 0.8fr) minmax(0, 1.05fr) minmax(0, 1.4fr);
  gap: var(--space-5) var(--space-4);
}
.footer-brand img {
  height: 104px;
  width: auto;
}
.footer-brand .tagline {
  margin-top: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.footer-brand p {
  margin-top: 6px;
  max-width: 22rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.footer-col h2 {
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.footer-col a:hover {
  color: var(--text);
}
.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: var(--space-3);
  list-style: none;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--text-tertiary);
}
.footer-contact a {
  color: var(--text-secondary);
  word-break: break-word;
}
.footer-contact a:hover {
  color: var(--primary);
}
.newsletter p {
  margin-bottom: var(--space-2);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.newsletter-form {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border-strong);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.newsletter-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 78, 140, 0.14);
}
.newsletter-form input[type='email'] {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
}
.newsletter-form input[type='email']:focus {
  outline: none;
}
.newsletter-form .btn {
  --btn-h: 40px;
  padding: 0 18px;
  font-size: 0.9375rem;
}
.newsletter .form-msg {
  min-height: 1.4em;
  margin-top: 8px;
  font-size: var(--fs-small);
}
.newsletter .form-msg.is-error {
  color: var(--error);
}
.newsletter .form-msg.is-success {
  color: var(--success);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.footer-bottom nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom a {
  color: var(--text-secondary);
}
.footer-bottom a:hover {
  color: var(--text);
}
@media (max-width: 1099px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand,
  .newsletter {
    grid-column: span 3;
  }
  .footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 var(--space-4);
    align-items: center;
  }
  .footer-brand img {
    grid-row: span 3;
  }
}
@media (max-width: 599px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand,
  .newsletter {
    grid-column: span 2;
  }
  .footer-brand {
    display: block;
  }
  .footer-brand img {
    height: 96px;
  }
  .footer-col.col-contact {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.16), 0 14px 30px -10px rgba(7, 94, 84, 0.7);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.2), 0 18px 34px -10px rgba(7, 94, 84, 0.75);
}
.wa-float .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}
.wa-float .wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
}
.wa-float:hover .wa-tip,
.wa-float:focus-visible .wa-tip {
  opacity: 1;
  transform: none;
}

/* Toasts */
.toast-region {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  gap: 10px;
  width: min(440px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(31, 31, 31, 0.92);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  pointer-events: auto;
  animation: toast-in 380ms var(--ease-out);
}
.toast.is-leaving {
  animation: toast-out 260ms ease forwards;
}
.toast .icon {
  width: 20px;
  height: 20px;
}
.toast.is-success .icon {
  color: #81c995;
}
.toast.is-error .icon {
  color: #f28b82;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.reveal-scale {
  transform: scale(0.96);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .float-card,
  .hero-glow span,
  .node-map svg.lines path {
    animation: none !important;
  }
  .logo-reveal.is-armed .emblem,
  .logo-reveal.is-armed .wordmark {
    clip-path: none;
    opacity: 1;
  }
}

/* Browsers without backdrop-filter get solid surfaces */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.94);
    --glass-bg-strong: rgba(255, 255, 255, 0.98);
  }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.chip-row { list-style: none; }
.field > label.consent {
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Global positioning additions
   ========================================================================== */

/* Hero spacing on large screens, larger logo on wide displays */
.hero {
  padding-top: calc(var(--header-h) + clamp(48px, 5vw, 80px));
}
@media (min-width: 1440px) {
  .brand img {
    height: 44px;
  }
}

/* Markets row under the hero buttons */
.hero-markets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: var(--space-5);
}
.hero-markets-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-markets-label .icon {
  color: var(--primary);
}
.hero-markets ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.hero-markets a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.hero-markets a:hover {
  text-decoration: none;
  color: var(--primary);
  border-color: rgba(30, 78, 140, 0.35);
  background: #fff;
}
@media (max-width: 1023px) {
  .hero-markets {
    justify-content: center;
  }
  .hero-markets ul {
    justify-content: center;
  }
}

/* Website mockup: links and language switcher */
.mock-site-links {
  display: flex;
  gap: 12px;
  margin-left: auto;
  margin-right: 12px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.mock-lang {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.mock-lang > * {
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}
.mock-lang b {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}
@media (max-width: 479px) {
  .mock-site-links {
    display: none;
  }
  .mock-lang {
    margin-left: auto;
  }
}

/* Rotating global activity card */
.float-card.fc-mail {
  width: min(350px, 74%);
}
.ticker {
  display: grid;
}
.ticker-item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  pointer-events: none;
}
.ticker-item.is-active {
  opacity: 1;
  transform: none;
}
.ticker-item.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}
.ticker-item > div {
  min-width: 0;
}
.ticker-item strong,
.ticker-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-notify .icon-wrap.is-violet {
  background: linear-gradient(135deg, #0b1f3a, #4b6890);
  box-shadow: 0 8px 18px -8px rgba(242, 169, 0, 0.56);
}
.mock-notify .icon-wrap.is-green {
  background: linear-gradient(135deg, #188038, #34a853);
  box-shadow: 0 8px 18px -8px rgba(24, 128, 56, 0.7);
}
.mock-notify .icon-wrap.is-steel {
  background: linear-gradient(135deg, #0b1f3a, #5b7395);
  box-shadow: 0 8px 18px -8px rgba(11, 31, 58, 0.7);
}
.mock-notify .cc {
  margin-left: auto;
  flex: none;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.hero-visual-note {
  position: absolute;
  right: 4px;
  bottom: -30px;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

/* Markets section */
.markets {
  overflow: hidden;
}
.markets .glow-field .g-blue {
  width: 460px;
  height: 460px;
  left: -120px;
  top: 10%;
}
.markets .glow-field .g-violet {
  width: 420px;
  height: 420px;
  right: -100px;
  top: 30%;
}
.markets .glow-field .g-steel {
  width: 360px;
  height: 360px;
  left: 40%;
  bottom: -160px;
}
.region-card {
  padding: var(--space-4);
}
.region-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.region-code {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 56px;
  padding: 0 10px;
  border-radius: 16px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--gradient-diag);
  box-shadow: 0 10px 22px -10px rgba(30, 78, 140, 0.7);
}
.region-head h3 {
  font-size: 1.25rem;
}
.region-langs {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}
.region-card dl {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}
.region-card dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.region-card dd {
  margin: 4px 0 0;
  font-size: 0.96875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.region-card div:last-child dd {
  color: var(--text);
  font-weight: 500;
}
.markets-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-5);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.markets-foot .icon {
  color: var(--primary);
}

/* Portal region labels on the services page */
.portal-region {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Contact: office hours shown in the visitor's time */
.local-hours {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--primary);
}
.ticker {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 479px) {
  .float-card.fc-mail {
    width: 92%;
  }
}

/* ==========================================================================
   Products
   ========================================================================== */

/* Product marks: gradient tile with an icon until a real logo is added */
.product-mark {
  --pm-size: 44px;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--pm-size);
  height: var(--pm-size);
  border-radius: calc(var(--pm-size) * 0.3);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px -10px rgba(11, 31, 58, 0.6);
}
.product-mark .icon {
  width: 52%;
  height: 52%;
  stroke-width: 1.8;
}
.product-mark.pm-sm { --pm-size: 26px; }
.product-mark.pm-md { --pm-size: 44px; }
.product-mark.pm-lg { --pm-size: 64px; }
.product-mark.pm-quotemitra { background: linear-gradient(135deg, #1e4e8c 0%, #5a8fbf 100%); }
.product-mark.pm-mtcmitra { background: linear-gradient(135deg, #0b1f3a 0%, #188038 100%); }
.product-mark.pm-automailmitra { background: linear-gradient(135deg, #0b1f3a 0%, #1e4e8c 100%); }
.product-mark.has-logo {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.product-mark.has-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.eyebrow-product {
  padding-left: 6px;
  color: var(--text);
  font-weight: 600;
}
.eyebrow-product::before {
  display: none;
}

/* Navigation dropdown */
.has-menu {
  position: relative;
}
.nav-caret {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  transition: transform var(--dur) var(--ease-out);
}
.has-menu:hover .nav-caret,
.has-menu:focus-within .nav-caret {
  transform: rotate(180deg);
}
.nav-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  width: 340px;
  padding-top: 14px;
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s;
}
.nav-menu-panel {
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.nav-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  color: var(--text);
}
.nav-menu-item:hover,
.nav-menu-item:focus-visible {
  background: var(--surface);
  text-decoration: none;
}
.nav-menu-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
}
.nav-menu-item small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.nav-menu-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.nav-menu-all:hover {
  text-decoration: none;
  color: var(--primary-hover);
}
.mobile-menu nav .mobile-sub {
  display: grid;
  gap: 2px;
  margin: 4px 0 8px;
  padding-left: 4px;
}
.mobile-menu nav .mobile-sub a {
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Product cards */
.product-card {
  padding: var(--space-4);
}
.product-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.product-card-head h3 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}
.product-row-title {
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
}
.product-tagline {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.product-card > p {
  margin-top: var(--space-2);
}
.product-card .check-list {
  font-size: 0.9375rem;
}
.center-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}
.product-mini-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.product-mini-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}
.product-mini-list strong {
  color: var(--text);
}

/* Product trio on the overview hero */
.product-trio {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: 920px;
  margin: var(--space-8) auto 0;
}
.trio-card {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 6px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  text-align: left;
  color: var(--text);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-md);
  animation: float 8s var(--ease-in-out) infinite;
}
.trio-card.t2 {
  animation-delay: -2.6s;
  margin-top: -16px;
}
.trio-card.t3 {
  animation-delay: -5.2s;
}
.trio-card:hover {
  text-decoration: none;
}
.trio-card .product-mark {
  margin-bottom: var(--space-1);
}
.trio-card strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.trio-card > span:not(.product-mark):not(.trio-lines) {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.trio-lines {
  display: grid;
  gap: 6px;
  width: 100%;
  margin-top: var(--space-2);
}
.trio-lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-2);
}
.trio-lines i:nth-child(2) { width: 80%; }
.trio-lines i:nth-child(3) { width: 55%; }
@media (max-width: 767px) {
  .product-trio {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }
  .trio-card.t2 {
    margin-top: 0;
  }
}

/* Product page hero */
.product-page-hero .hero-copy h1 {
  max-width: 13ch;
}
.product-visual {
  position: relative;
}
.product-shot {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
}

/* App window mockups (QuoteMitra, MTCMitra) */
.app-window {
  border-radius: 22px;
  overflow: hidden;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
  font-size: 12px;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.06);
  background: rgba(248, 249, 250, 0.7);
}
.app-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
}
.app-crumbs {
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-crumbs b {
  color: var(--text);
  font-weight: 600;
}
.app-bar .sample-label {
  margin-left: auto;
}
.app-body {
  padding: 16px;
}
.quote-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.quote-meta > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  min-width: 0;
}
.quote-meta small {
  display: block;
  font-size: 10.5px;
  color: var(--text-tertiary);
}
.quote-meta strong {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quote-meta span:not(.seg) {
  display: block;
  font-size: 10.5px;
  color: var(--text-secondary);
}
.seg {
  display: inline-flex;
  gap: 2px;
  margin-top: 4px;
  padding: 2px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: 10px;
  font-weight: 600;
}
.seg > * {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-style: normal;
  color: var(--text-tertiary);
}
.seg b {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}
.quote-table-wrap {
  overflow-x: auto;
}
.quote-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.quote-table th,
.quote-table td {
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #f1f3f4;
}
.quote-table th {
  font-weight: 500;
  font-size: 10.5px;
  color: var(--text-secondary);
  background: var(--surface);
}
.quote-table td:first-child {
  font-weight: 600;
}
/* Grade column wraps before the table needs to scroll */
.quote-table td:nth-child(2) {
  white-space: normal;
  min-width: 96px;
}
.quote-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.quote-table tbody tr:last-child td {
  border-bottom: 1px solid var(--border);
}
.quote-table tfoot td {
  color: var(--text-secondary);
  font-weight: 500;
}
.quote-table tfoot td:first-child {
  text-align: right;
}
.quote-table tfoot tr.total td {
  border-bottom: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  background: var(--primary-soft);
}
.mtc-table tbody tr:last-child td {
  border-bottom: 0;
}
.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
}
.app-chip.ok {
  background: var(--success-soft);
  color: var(--success);
}
.app-chip .icon,
.app-btn .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  white-space: nowrap;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 11.5px;
  box-shadow: 0 8px 18px -10px rgba(30, 78, 140, 0.9);
}
.mtc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.mtc-head small {
  display: block;
  font-size: 10.5px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mtc-head strong {
  font-family: var(--font-heading);
  font-size: 15px;
}
.mtc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mtc-table {
  margin-top: 12px;
}
.mtc-table td:first-child {
  font-weight: 500;
}
.ok-cell {
  width: 1%;
  color: var(--success);
}
.ok-cell .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}
.mtc-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}
.mtc-foot .mtc-doc {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1f6f50, #134735);
}
.mtc-foot .mtc-doc .icon {
  width: 22px;
  height: 22px;
}
.mtc-foot strong {
  display: block;
  font-size: 12.5px;
}
.mtc-foot div span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}
@media (max-width: 599px) {
  .quote-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mtc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mtc-foot .app-btn,
  .app-crumbs {
    display: none;
  }
}

/* Chip groups */
.metal-chips,
.enduse-chips {
  gap: 10px;
}
.enduse-chips {
  justify-content: center;
  max-width: 980px;
  margin-inline: auto;
}
.flow-step .product-mark {
  margin-bottom: var(--space-2);
}

/* Industry tabs */
.industry-tabs .tablist {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-tabs .tab {
  white-space: nowrap;
}
.industry-card h3 {
  font-size: 1.125rem;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.flip {
  transform: scaleX(-1);
}

/* Index hero: search + categories */
.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(560px, 100%);
  margin: var(--space-5) auto 0;
  padding: 6px 6px 6px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge);
}
.blog-search:focus-within {
  box-shadow: var(--glass-shadow), 0 0 0 2px var(--primary);
}
.blog-search .icon {
  color: var(--text-tertiary);
  width: 20px;
  height: 20px;
}
.blog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
}
.blog-search input:focus {
  outline: none;
}
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-4);
}
.blog-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.blog-cat span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.blog-cat:hover {
  text-decoration: none;
  color: var(--text);
  border-color: #c4c7cc;
}
.blog-cat.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.blog-cat.is-active span {
  color: rgba(255, 255, 255, 0.7);
}
.blog-list {
  padding-top: var(--space-4);
}

/* Covers */
.post-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-cover-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c 0%, #0b1f3a 60%, #9aa5b1 100%);
}
.post-cover-art.cover-seo { background: linear-gradient(135deg, #1e4e8c 0%, #5a8fbf 100%); }
.post-cover-art.cover-linkedin { background: linear-gradient(135deg, #1e4e8c 0%, #0b1f3a 100%); }
.post-cover-art.cover-b2b-portals { background: linear-gradient(135deg, #d99400 0%, #f2a900 40%, #0b1f3a 100%); }
.post-cover-art.cover-metal-industry { background: linear-gradient(135deg, #0b1f3a 0%, #4b6890 55%, #9aa5b1 100%); }
.post-cover-art.cover-product-updates { background: linear-gradient(135deg, #188038 0%, #1e4e8c 100%); }
.cover-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.cover-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.cover-icon .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.6;
}
.cover-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Post meta */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
.post-cat {
  font-weight: 600;
  color: var(--primary);
}
.post-cat:hover {
  text-decoration: none;
  color: var(--primary-hover);
}

/* Featured */
.post-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.post-featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.post-featured-cover {
  display: block;
  min-height: 320px;
}
.post-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: clamp(24px, 4vw, 48px);
}
.post-featured-body .chip {
  align-self: flex-start;
}
.post-featured-body h2 {
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
}
.post-featured-body h2 a,
.post-card-title a {
  color: var(--text);
}
.post-featured-body h2 a:hover,
.post-card-title a:hover {
  color: var(--primary);
  text-decoration: none;
}
.post-featured-body > p {
  color: var(--text-secondary);
  font-size: var(--fs-lead);
}
@media (max-width: 899px) {
  .post-featured {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-featured-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* Cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
}
@media (max-width: 1023px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.post-card-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-card-cover > * {
  transition: transform 600ms var(--ease-out);
}
.post-card:hover .post-card-cover > * {
  transform: scale(1.04);
}
.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-3);
}
.post-card-title {
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.post-card-body > p {
  color: var(--text-secondary);
  font-size: 0.96875rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.blog-empty {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  padding: var(--space-8) 0;
  text-align: center;
}
.blog-empty .status-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

/* Newsletter box */
.newsletter-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}
.newsletter-box .glow-field .g-blue {
  width: 320px;
  height: 320px;
  left: -80px;
  top: -140px;
}
.newsletter-box .glow-field .g-violet {
  width: 300px;
  height: 300px;
  right: -60px;
  bottom: -160px;
}
.newsletter-box-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
}
.newsletter-box-copy {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.newsletter-box-copy .icon-tile {
  flex: none;
}
.newsletter-box h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
}
.newsletter-box-copy p {
  margin-top: 6px;
  color: var(--text-secondary);
}
.newsletter-box .newsletter-form {
  background: #fff;
}
.newsletter-box.is-compact {
  margin-top: var(--space-6);
}
.newsletter-box.is-compact .newsletter-box-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}
@media (max-width: 767px) {
  .newsletter-box-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Popular */
.popular-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-5);
  max-width: 980px;
  margin-inline: auto;
}
.popular-list li {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}
.popular-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.popular-list a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--text);
}
.popular-list a:hover {
  color: var(--primary);
  text-decoration: none;
}
.popular-list .post-meta {
  margin-top: 4px;
}
@media (max-width: 767px) {
  .popular-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Article */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--gradient);
}
.article-hero {
  padding-bottom: var(--space-5);
}
.article-hero h1 {
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  letter-spacing: -0.03em;
}
.article-hero .lead {
  margin-top: var(--space-3);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: var(--space-3);
  font-size: var(--fs-small);
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--text-tertiary);
}
.breadcrumb a {
  color: var(--text-secondary);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-4);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.article-meta strong {
  color: var(--text);
  font-weight: 600;
}
.article-meta .dot {
  color: var(--text-tertiary);
}
.author-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
}
.article-cover-wrap {
  max-width: calc(1040px + var(--gutter) * 2);
}
.article-cover {
  margin: 0;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: var(--space-8);
  padding-bottom: var(--section-pad);
}
.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  display: grid;
  gap: var(--space-4);
}
.toc strong,
.share strong {
  display: block;
  margin-bottom: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.toc ol {
  list-style: none;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--border);
}
.toc a {
  display: block;
  margin-left: -2px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
.toc .toc-l3 a {
  padding-left: 26px;
  font-size: 0.8125rem;
}
.toc a:hover {
  color: var(--text);
  text-decoration: none;
}
.toc a.is-current {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  transition: color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.share-btn .icon {
  width: 18px;
  height: 18px;
}
.share-btn:hover {
  color: var(--primary);
  border-color: rgba(30, 78, 140, 0.4);
  transform: translateY(-1px);
}
@media (max-width: 1023px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: var(--space-5);
  }
  .article-aside {
    position: static;
    order: 2;
  }
  .toc {
    display: none;
  }
}

/* Article typography */
.article-body {
  max-width: none;
  font-size: 1.125rem;
  line-height: 1.75;
}
.article-body > * + * {
  margin-top: 1.25em;
}
.article-body h2 {
  margin: 2em 0 0.6em;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.article-body h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.3125rem;
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.article-body h4 {
  margin: 1.4em 0 0.4em;
  font-size: 1.125rem;
}
.article-body > h2:first-child,
.article-body > h3:first-child {
  margin-top: 0;
}
.article-body p,
.article-body li {
  color: #3c4043;
}
.article-body strong {
  color: var(--text);
  font-weight: 650;
}
.article-body a {
  text-decoration: underline;
  text-decoration-color: rgba(30, 78, 140, 0.35);
  text-underline-offset: 3px;
}
.article-body a:hover {
  text-decoration-color: currentColor;
}
.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}
.article-body li + li {
  margin-top: 0.45em;
}
.article-body li::marker {
  color: var(--primary);
}
.article-body li:has(> input[type='checkbox']) {
  list-style: none;
  margin-left: -1.4em;
}
.article-body input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  vertical-align: -3px;
  accent-color: var(--primary);
}
.article-body blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid transparent;
  border-image: var(--gradient) 1;
  background: var(--surface);
  font-size: 1.1875rem;
  color: var(--text);
}
.article-body img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.article-body hr {
  margin: 2.4em 0;
  border: 0;
  height: 1px;
  background: var(--border);
}
.article-body code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.9em;
}
.article-body pre {
  padding: 18px;
  border-radius: var(--radius-md);
  background: #1f1f1f;
  color: #e8eaed;
  overflow-x: auto;
  font-size: 0.875rem;
}
.article-body pre code {
  padding: 0;
  background: none;
}
.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.article-body th,
.article-body td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--surface);
  font-weight: 600;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-6);
  list-style: none;
}
.article-tags a:hover {
  text-decoration: none;
  background: var(--primary-soft);
  color: var(--primary);
}
.author-box {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.author-box-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 20px;
  background: var(--surface);
}
.author-box p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.post-nav-link {
  display: grid;
  gap: 4px;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}
.post-nav-link small {
  font-weight: 500;
  color: var(--text-tertiary);
}
.post-nav-link.is-next {
  text-align: right;
}
.post-nav-link:hover {
  text-decoration: none;
  border-color: rgba(30, 78, 140, 0.4);
  color: var(--primary);
}
@media (max-width: 599px) {
  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-cover {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
  }
}

/* Home: latest articles */
.latest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.latest-head .section-head {
  margin: 0;
}

/* Nav with Blog link: switch to the menu button a little earlier */
@media (max-width: 1199px) {
  .nav-island {
    display: none;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .menu-toggle {
    display: grid;
  }
}
@media (min-width: 1200px) and (max-width: 1360px) {
  .nav-link {
    padding: 10px 12px;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   Products & application industries
   ========================================================================== */
.chip-sector {
  background: var(--primary-soft);
  color: #174ea6;
}
.chip-sector .icon {
  color: var(--primary);
}
.built-for-label.mt-3 {
  margin-top: var(--space-3);
}
.chip-row a.chip:hover {
  text-decoration: none;
  color: var(--primary);
}
.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: rgba(31, 31, 31, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.tab[aria-selected='true'] .tab-count {
  background: var(--primary-soft);
  color: var(--primary);
}
.applications {
  overflow: hidden;
}
.applications .glow-field .g-blue {
  width: 460px;
  height: 460px;
  left: -140px;
  top: 8%;
}
.applications .glow-field .g-violet {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 40%;
}
.applications .glow-field .g-steel {
  width: 360px;
  height: 360px;
  left: 35%;
  bottom: -180px;
}
.sector-card {
  padding: var(--space-4);
}
.sector-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.sector-head h3 {
  font-size: 1.1875rem;
}
.sector-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  color: #fff;
  background: var(--gradient-diag);
  box-shadow: 0 10px 22px -10px rgba(30, 78, 140, 0.7);
}
.sector-icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
}
.sector-card dl {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}
.sector-card dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.sector-card dd {
  margin: 4px 0 0;
  font-size: 0.96875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.sector-card dd.helps {
  color: var(--text);
}
@media (max-width: 767px) {
  .industry-tabs .tab {
    padding: 9px 14px;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   Homepage problem section: handwritten heading + reasons slider
   ========================================================================== */
@font-face {
  font-family: 'Dancing Script';
  src: url('/fonts/dancing-script-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
.problem {
  overflow: hidden;
}
.problem-head {
  margin-bottom: var(--space-6);
}
.problem-head .lead {
  max-width: 44rem;
  margin: var(--space-2) auto 0;
}
.handwrite {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1;
}
.handwrite svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.hw-line {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 108px;
  font-weight: 700;
  fill: var(--text);
  stroke: var(--text);
  stroke-width: 1.1;
  stroke-linejoin: round;
  paint-order: stroke;
}
.hw-line.is-accent {
  fill: url(#hw-gradient);
  stroke: url(#hw-gradient);
}
.hw-pen {
  pointer-events: none;
  filter: drop-shadow(0 6px 6px rgba(11, 31, 58, 0.25));
}
@media (max-width: 599px) {
  .handwrite {
    margin-inline: -12px;
  }
}

/* Slider */
.slider {
  --slide-w: clamp(280px, 28vw, 380px);
  --slider-pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  position: relative;
}
.slider-track {
  display: flex;
  gap: var(--space-3);
  padding: 8px var(--slider-pad) 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--slider-pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-track:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}
.slider-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.slide {
  flex: 0 0 var(--slide-w);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), opacity 500ms var(--ease-out);
}
.slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.js .slider .slide {
  opacity: 0.55;
}
.js .slider .slide.is-near {
  opacity: 1;
}
.slide-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
}
.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.slide:hover .slide-media img {
  transform: scale(1.05);
}
.slide-media.is-empty {
  background:
    radial-gradient(circle at 80% 15%, rgba(242, 169, 0, 0.154), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(30, 78, 140, 0.22), transparent 55%),
    linear-gradient(135deg, #f3f6fb, #eef0f5);
}
.slide-media.is-empty::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(11, 31, 58, 0.18);
  border-radius: 16px;
}
.slide-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--text-tertiary);
}
.slide-placeholder-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: #fff;
  background: var(--gradient-diag);
  box-shadow: 0 14px 28px -14px rgba(30, 78, 140, 0.8);
  transition: transform 600ms var(--ease-out);
}
.slide:hover .slide-placeholder-icon {
  transform: translateY(-4px) rotate(-4deg);
}
.slide-placeholder-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.7;
}
.slide-placeholder-text {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.slide-num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.slide-body {
  padding: var(--space-3);
}
.slide-body h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}
.slide-body p {
  margin-top: 8px;
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  overflow: hidden;
  transition: width 400ms var(--ease-out), background-color 300ms;
}
.slider-dot[aria-selected='true'] {
  width: 40px;
  background: var(--primary-soft);
}
.slider-dot span {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--gradient);
}
.slider-dot[aria-selected='true'] span {
  transform: scaleX(1);
}
.slider.is-autoplay .slider-dot[aria-selected='true'] span {
  animation: dot-progress var(--autoplay-ms, 5000ms) linear forwards;
}
.slider.is-paused .slider-dot[aria-selected='true'] span {
  animation-play-state: paused;
}
@keyframes dot-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.slider-buttons {
  display: flex;
  gap: 8px;
}
.slider-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: background-color var(--dur-fast), transform var(--dur-fast), border-color var(--dur-fast);
}
.slider-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.slider-btn:active {
  transform: scale(0.94);
}
.slider-btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}
.slider-btn .icon {
  width: 20px;
  height: 20px;
}
@media (max-width: 767px) {
  .slider {
    --slide-w: 82vw;
  }
  .slide-body {
    padding: var(--space-3) 20px;
  }
  .slider-btn {
    width: 44px;
    height: 44px;
  }
}

/* Comfortable tap targets on touch screens */
.legal-toc a {
  display: block;
  padding: 5px 0;
}
.consent input {
  width: 22px;
  height: 22px;
}
.article-tags .chip {
  padding: 7px 12px;
}

/* ==========================================================================
   Sourcing desk
   ========================================================================== */
.sr-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: var(--space-4);
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.sr-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sr-trust .icon {
  color: var(--success);
}
@media (max-width: 1023px) {
  .sr-trust {
    justify-content: center;
  }
}

/* Request tracker mockup */
.tracker {
  max-width: 480px;
  margin-inline: auto;
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
  animation: float 9s var(--ease-in-out) infinite;
}
.tracker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.tracker-head small,
.tracker-offer small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tracker-head strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.tracker-req {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-3) 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
}
.tracker-req strong {
  display: block;
  font-size: 0.9375rem;
}
.tracker-req span:not(.product-mark) {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.tracker-steps {
  position: relative;
  display: grid;
  gap: 14px;
  list-style: none;
}
.tracker-steps::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--success), #1e4e8c);
  opacity: 0.4;
}
.tracker-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tracker-steps .dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  box-shadow: 0 0 0 4px #fff;
}
.tracker-steps .dot .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}
.tracker-steps .is-current .dot {
  background: var(--gradient-diag);
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(30, 78, 140, 0.18);
}
.tracker-steps strong {
  display: block;
  font-size: 0.9375rem;
}
.tracker-steps small {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.tracker-offer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: var(--space-3);
}
.tracker-offer > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}
.tracker-offer strong {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
}
.tracker-offer > div:first-child strong {
  color: var(--primary);
}

/* Layout */
.sr-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.sr-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.sr-aside h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
}
.sr-contact {
  margin-top: var(--space-5);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--glass-bg-strong);
  border: 1px solid var(--border);
}
.sr-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 1023px) {
  .sr-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sr-aside {
    position: static;
  }
}

/* Form */
.sr-step {
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
  min-width: 0;
}
.sr-step > legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}
.sr-step > legend > span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-diag);
  color: #fff;
  font-size: 0.8125rem;
}
.sr-step .form-grid {
  margin-top: 0;
}
.sr-requirement {
  min-height: 180px;
}
.input-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(124px, 0.7fr);
  gap: 8px;
}
.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.dropzone:hover,
.dropzone.is-over {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.dropzone:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.dropzone > .icon {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--primary);
}
.dropzone strong {
  display: block;
  font-size: 0.9375rem;
}
.dropzone small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.dropzone input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  list-style: none;
}
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.875rem;
}
.file-list li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-list li small {
  flex: none;
  color: var(--text-tertiary);
}
.sr-ref {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.sr-region {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-2);
  text-align: center;
}
.sr-region .status-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.sr-region .status-icon .icon {
  width: 30px;
  height: 30px;
}
.sr-region p {
  max-width: 28rem;
  color: var(--text-secondary);
}
@media (max-width: 599px) {
  .tracker {
    padding: var(--space-3);
  }
  .tracker-offer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .tracker-offer > div:first-child {
    grid-column: span 2;
  }
  .dropzone {
    padding: 16px;
  }
}

.product-trio.is-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
}
.product-trio.is-duo .trio-card.t2 {
  margin-top: 0;
}
@media (max-width: 767px) {
  .product-trio.is-duo {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sr-card .phone-group {
  grid-template-columns: minmax(132px, 0.45fr) minmax(0, 1fr);
}
.sr-step .choice-group legend .opt {
  font-weight: 400;
}

/* ==========================================================================
   Software store: checkout, order / download page, QuoteMitra page
   ========================================================================== */
.center {
  text-align: center;
}
.h-sm {
  font-size: 1.05rem;
  margin: var(--space-3) 0 var(--space-1);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.crumbs a {
  color: var(--text-secondary);
}
.crumbs a:hover {
  color: var(--primary);
}
.checkout-section {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 5vw, 64px));
  overflow: hidden;
}
.checkout-head {
  max-width: 720px;
  margin-bottom: var(--space-5);
}
.checkout-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin: 0 0 8px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.checkout-summary {
  order: 2;
  position: sticky;
  top: 110px;
  display: grid;
  gap: var(--space-2);
}
.checkout-card {
  order: 1;
}
.summary-card {
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-md);
}
.summary-product {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.summary-product strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.summary-product span {
  font-size: 13px;
  color: var(--text-secondary);
}
.summary-price {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2);
}
.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.plan-chip .icon {
  width: 14px;
  height: 14px;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 2px;
}
.price-line b {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-line span {
  color: var(--text-secondary);
  font-weight: 500;
}
.summary-price small {
  color: var(--text-secondary);
  font-size: 13px;
}
.summary-version {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--space-2) 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.summary-steps {
  margin-top: var(--space-2);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 14px;
}
.summary-steps ol {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
  display: grid;
  gap: 4px;
}
.trust-row {
  display: grid;
  gap: 8px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--text-secondary);
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-row .icon {
  color: var(--success);
}
.checkout-card .sr-step + .sr-step {
  margin-top: var(--space-2);
}
.checkout-card .field[data-field='agree'] {
  margin-top: var(--space-3);
}
.checkout-pay {
  display: grid;
  gap: 10px;
  margin-top: var(--space-3);
}
.checkout-pay .btn .icon {
  vertical-align: -3px;
}
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
}
.pay-methods span {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.checkout-help {
  margin-top: var(--space-4);
  text-align: center;
}
.input-mono {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field[hidden] {
  display: none;
}

/* Order / download page */
.order-wrap {
  max-width: 1040px;
}
.order-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}
.order-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}
.order-hero .lead {
  margin: 0;
}
.order-hero .success-mark,
.order-hero .status-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 6px;
}
.order-hero .success-mark {
  color: #fff;
  background: linear-gradient(135deg, #188038, #34a853);
  box-shadow: 0 0 0 10px var(--success-soft), 0 16px 32px -12px rgba(24, 128, 56, 0.6);
}
.order-hero .success-mark .icon {
  width: 34px;
  height: 34px;
  stroke-width: 2.2;
}
.order-hero .status-icon .icon {
  width: 32px;
  height: 32px;
}
.is-spinning .icon {
  animation: spin 1.2s linear infinite;
}
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: var(--space-3);
  align-items: start;
}
.download-card {
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius-xl);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
  display: grid;
  gap: 14px;
}
.download-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.download-head strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}
.download-head span {
  font-size: 14px;
  color: var(--text-secondary);
}
.download-card .btn-lg {
  gap: 10px;
}
.download-card .btn-lg span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download-card > p {
  margin: 0;
}
.order-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--text);
  font-size: 14px;
}
.order-notice .icon {
  flex: none;
  color: var(--primary);
  margin-top: 2px;
}
.order-notice.is-error {
  background: var(--error-soft);
}
.order-notice.is-error .icon {
  color: var(--error);
}
.licence-box {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: #fff;
}
.licence-box > small:first-child {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}
.licence-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.licence-row code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(15px, 2.4vw, 19px);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.licence-box .muted {
  font-size: 13px;
}
.install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.install-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
}
.install-steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.install-steps p {
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}
.checksum {
  margin: 0;
  overflow-wrap: anywhere;
}
.checksum code {
  font-size: 11px;
}
.order-side {
  display: grid;
  gap: var(--space-2);
}
.order-side .h-sm {
  margin-top: 0;
}
.order-kv {
  margin: 0 0 var(--space-2);
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.order-kv div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.order-kv dt {
  color: var(--text-secondary);
}
.order-kv dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.order-kv .is-total {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 16px;
}
.order-kv-inline {
  min-width: min(100%, 360px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--glass-bg-strong);
  border: 1px solid var(--border);
}
.help-card {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.help-card p {
  margin: 0 0 4px;
}
.help-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.order-legal {
  margin-top: var(--space-4);
}

/* QuoteMitra product page */
.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge);
}
.price-badge b {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.price-badge span {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.hero-copy .price-badge {
  margin-top: var(--space-3);
}
.price-intl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 0.9375rem;
  color: inherit;
  opacity: 0.92;
}
.price-intl strong {
  color: inherit;
}
.price-intl a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.price-intl .icon {
  flex: none;
  color: currentColor;
}
.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: var(--space-3) 0 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-facts .icon {
  color: var(--success);
}
.fact-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-sm);
}
.fact-strip li {
  display: grid;
  gap: 2px;
  padding: 20px 22px;
}
.fact-strip li + li {
  border-left: 1px solid var(--border);
}
.fact-strip b {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.fact-strip span {
  font-size: 14px;
  color: var(--text-secondary);
}
.qm-panel-grid:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.qm-panel-copy h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.qm-panel-copy p {
  color: var(--text-secondary);
  margin: 0 0 var(--space-2);
}
.mock-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: start;
}
.paste-box,
.paste-result > small {
  font-size: 12px;
}
.paste-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: #e7fbe9;
  border: 1px solid #c8eccb;
}
.paste-box small,
.paste-result > small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.paste-box p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #1f3d24;
}
.paste-result .quote-table {
  margin-top: 8px;
}
.paste-result .app-actions {
  margin-top: 10px;
}
.quote-table tr.is-alert td {
  background: #fff4e5;
}
.alert-cell {
  color: var(--warning);
}
.alert-cell .icon {
  width: 14px;
  height: 14px;
}
.alert-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f5d28a;
}
.alert-card .alert-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fde7b0;
  color: var(--warning);
}
.alert-card .alert-icon .icon {
  width: 18px;
  height: 18px;
}
.alert-card strong {
  display: block;
  font-size: 13px;
}
.alert-card span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}
.qm-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.qm-tiles > div {
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  gap: 2px;
}
.qm-tiles small,
.qm-panel > small {
  font-size: 11px;
  color: var(--text-secondary);
}
.qm-tiles strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.qm-tiles span {
  font-size: 11px;
  color: var(--text-tertiary);
}
.qm-tiles span.up {
  color: var(--success);
  font-weight: 700;
}
.qm-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.qm-panel {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}
.qm-bars,
.qm-follow {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 12px;
}
.qm-bars li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.qm-bars span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qm-bars i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e4e8c, #0b1f3a);
}
.qm-bars i.w-100 {
  width: 100%;
}
.qm-bars i.w-75 {
  width: 75%;
}
.qm-bars i.w-60 {
  width: 60%;
}
.qm-bars i.w-40 {
  width: 40%;
}
.qm-follow li {
  display: grid;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f3f4;
}
.qm-follow li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.qm-follow span {
  color: var(--text-secondary);
}
.shot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-3);
}
.shot-gallery figure {
  margin: 0;
}
.shot-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.shot-gallery figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}
.pricing-section {
  position: relative;
  overflow: hidden;
}
.price-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
  overflow: hidden;
}
.price-card-main {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(160deg, rgba(232, 238, 247, 0.9), rgba(255, 255, 255, 0.4));
}
.price-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.price-card-head strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.price-card-head span:not(.plan-chip) {
  font-size: 13px;
  color: var(--text-secondary);
}
.price-card-head .plan-chip {
  margin-left: auto;
}
.price-big {
  display: flex;
  align-items: center;
  gap: 14px;
}
.price-big b {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-big span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.35;
}
.price-card-list {
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 14px;
  align-content: start;
}
.price-card-list p {
  margin: 0;
}
.sysreq {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: var(--space-5);
}
.sysreq > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}
.sysreq .icon {
  flex: none;
  color: var(--primary);
  margin-top: 2px;
}
.sysreq b {
  display: block;
  color: var(--text);
}
.trio-card .trio-price {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
}
.card-price {
  display: block;
  margin-top: var(--space-2);
  font-size: 14px;
  color: var(--text-secondary);
}
.card-price b {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
}
.footer-bottom .admin-lock {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-tertiary);
  opacity: 0.7;
}
.footer-bottom .admin-lock:hover,
.footer-bottom .admin-lock:focus-visible {
  opacity: 1;
  color: var(--primary);
  background: var(--primary-soft);
}
.footer-bottom .admin-lock .icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 1023px) {
  .checkout-layout,
  .order-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .checkout-summary {
    order: 0;
    position: static;
  }
  .qm-panel-grid:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }
  .sysreq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact-strip li:nth-child(3) {
    border-left: 0;
  }
  .fact-strip li:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .price-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .mock-split,
  .qm-dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .qm-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .sysreq {
    grid-template-columns: minmax(0, 1fr);
  }
  .fact-strip li {
    padding: 16px;
  }
  .price-card-head .plan-chip {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-spinning .icon {
    animation: none;
  }
}

/* MTCMitra library mock */
.lib-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.lib-search .icon {
  width: 14px;
  height: 14px;
  color: var(--text-tertiary);
}
.quote-table tr.is-pick td {
  background: var(--primary-soft);
}
.lib-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text-secondary);
}
.lib-tag.is-user {
  background: var(--success-soft);
  color: var(--success);
}
.lib-chem {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}
.lib-chem small {
  font-size: 11px;
  color: var(--text-secondary);
}
.chem-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.chem-chips span {
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--surface);
  font-size: 11.5px;
}

/* Sourcing page — upload & products */
.tracker-file {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 600;
}
.tracker-file .icon {
  color: var(--primary);
}
.tracker-file small {
  margin-left: auto;
  font-weight: 500;
  color: var(--text-secondary);
}
.upload-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.upload-types > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge);
}
.upload-types b {
  font-size: 15px;
}
.upload-types small {
  color: var(--text-secondary);
  font-size: 13px;
}
.upload-types p {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}
.ft {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: 8px 14px 8px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.ft-pdf {
  background: linear-gradient(160deg, #ea4335, #c5221f);
}
.ft-xls {
  background: linear-gradient(160deg, #34a853, #188038);
}
.ft-doc {
  background: linear-gradient(160deg, #4285f4, #1e4e8c);
}
.ft-dwg {
  background: linear-gradient(160deg, #8e7cc3, #0b1f3a);
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}
.source-grid > div {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
}
.source-grid h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.source-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}
@media (max-width: 1023px) {
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .source-grid,
  .upload-types {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Software: security & free AI */
.trust-section {
  position: relative;
  color: #e8eefc;
  background: radial-gradient(60% 80% at 15% 0%, rgba(30, 78, 140, 0.35), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(242, 169, 0, 0.245), transparent 60%), #0b1830;
}
.trust-head {
  max-width: 760px;
  margin: 0 auto var(--space-6);
  text-align: center;
}
.trust-head .kicker {
  color: #9cc0ff;
}
.trust-head h2 {
  color: #fff;
}
.trust-head .lead {
  color: #c4d1ea;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}
.trust-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.trust-card h3 {
  margin: 14px 0 6px;
  color: #fff;
  font-size: 1.1rem;
}
.trust-card p {
  margin: 0;
  color: #c4d1ea;
  font-size: 15px;
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
}
.trust-icon .icon {
  width: 22px;
  height: 22px;
}
.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.ai-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.ai-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
}
.ai-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
}
.ai-steps h3 {
  margin: 6px 0 6px;
  font-size: 1.15rem;
}
.ai-steps p {
  margin: 0 0 6px;
  color: var(--text-secondary);
}
.ai-steps code {
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
}
.ai-uses {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-md);
}
.ai-uses ul {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ai-uses li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}
.ai-uses li .icon {
  color: var(--violet, #0b1f3a);
  margin-top: 3px;
}
.ai-uses li b {
  color: var(--text);
}
@media (max-width: 1023px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ai-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 599px) {
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checkout-card .form-grid {
  align-items: start;
}

/* Original product logo (round) */
.product-mark.has-logo {
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px -8px rgba(11, 31, 58, 0.45);
}
.product-mark.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Home: two centred product cards with the real screen */
.product-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: 1080px;
  margin: 0 auto;
}
.duo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-md);
  transition: transform 0.25s var(--ease-out, ease), box-shadow 0.25s;
}
.duo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-lg);
}
.duo-shot {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(160deg, #eef3fb, #f8f9fa);
  border-bottom: 1px solid var(--border);
}
.duo-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 0.6s var(--ease-out, ease);
}
.duo-card:hover .duo-shot img {
  transform: scale(1.03);
}
.duo-body {
  display: grid;
  gap: var(--space-2);
  padding: clamp(20px, 3vw, 32px);
  flex: 1;
  align-content: start;
}
.duo-body p {
  margin: 0;
  color: var(--text-secondary);
}
.duo-body h3 {
  margin: 0;
}
.duo-body h3 a {
  color: inherit;
}
.duo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}
.duo-price b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.duo-price span {
  font-size: 13px;
  color: var(--text-secondary);
}
.duo-actions {
  display: flex;
  gap: 8px;
}

/* Product pages: real screenshot showcase */
.showcase .tablist {
  flex-wrap: wrap;
  justify-content: center;
}
.showcase-panel:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
  margin-top: var(--space-4);
}
.app-frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.45), var(--shadow-md);
}
.app-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #eef1f5;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
}
.app-frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d5dc;
}
.app-frame-bar i:nth-child(1) {
  background: #ff5f57;
}
.app-frame-bar i:nth-child(2) {
  background: #febc2e;
}
.app-frame-bar i:nth-child(3) {
  background: #28c840;
}
.app-frame-bar span {
  margin-left: 8px;
  font-weight: 600;
}
.app-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}
.showcase-copy p {
  margin: 0 0 var(--space-2);
  color: var(--text-secondary);
}
.product-shot {
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.45), var(--shadow-md);
}

/* Product pages: complete feature list */
.feature-columns {
  columns: 3 300px;
  column-gap: var(--space-3);
}
.feature-group {
  break-inside: avoid;
  margin: 0 0 var(--space-3);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.feature-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.1rem;
}
.feature-group h3 .icon-tile {
  margin: 0;
  width: 38px;
  height: 38px;
  flex: none;
}
.feature-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.feature-group li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.feature-group li .icon {
  color: var(--success);
  margin-top: 3px;
}

@media (max-width: 1023px) {
  .showcase-panel:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .product-duo {
    grid-template-columns: minmax(0, 1fr);
  }
  .showcase .tablist {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .showcase .tablist::-webkit-scrollbar {
    display: none;
  }
  .showcase .tab {
    flex: none;
  }
}
@media (max-width: 420px) {
  .duo-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .duo-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* Safety net: nothing may widen the page on small screens */
body {
  overflow-x: clip;
}
@media (max-width: 599px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

/* ==========================================================================
   Home hero with the animated MetalMitra logo
   ========================================================================== */
.hero-media {
  min-height: min(100svh, 800px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(40px, 5vw, 72px);
  background: var(--bg, #fff);
}
.hero-media::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 15% 30%, #000 20%, transparent 75%);
}
.hero-media-grid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero-media .hero-countries {
  width: auto;
  max-width: 100%;
}
.hero-media .hero-copy {
  max-width: 620px;
}
.hero-media .hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 0;
  margin: var(--space-4) 0 0;
  padding: 0;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.hero-points li:first-child {
  padding-left: 0;
}
.hero-points li + li {
  border-left: 1px solid var(--border-strong);
}
.hp-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft);
}
.hp-icon .icon {
  width: 20px;
  height: 20px;
}
.hero-countries {
  margin-top: var(--space-4);
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  box-shadow: 0 0 0 1px var(--glass-edge), var(--shadow-md);
  width: max-content;
  max-width: min(880px, calc(100vw - 32px));
}
.hc-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.hero-countries ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.hero-countries a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 5px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-countries a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.hero-countries img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}
.hero-countries .hc-more {
  padding-left: 12px;
  color: var(--primary);
}
.hero-countries .hc-more .icon {
  width: 14px;
  height: 14px;
}
/* Flags pop in one after another when the card appears */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-countries li {
    opacity: 0;
    transform: translateY(8px) scale(0.94);
  }
  .js .hero-countries.is-visible li {
    animation: chip-in 0.45s var(--ease-out, ease) forwards;
  }
  .js .hero-countries.is-visible li:nth-child(1) { animation-delay: 0.75s; }
  .js .hero-countries.is-visible li:nth-child(2) { animation-delay: 0.83s; }
  .js .hero-countries.is-visible li:nth-child(3) { animation-delay: 0.91s; }
  .js .hero-countries.is-visible li:nth-child(4) { animation-delay: 0.99s; }
  .js .hero-countries.is-visible li:nth-child(5) { animation-delay: 1.07s; }
  .js .hero-countries.is-visible li:nth-child(6) { animation-delay: 1.15s; }
  .js .hero-countries.is-visible li:nth-child(7) { animation-delay: 1.23s; }
}
@keyframes chip-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .hero-points {
    grid-template-columns: repeat(2, auto);
    row-gap: 14px;
  }
  .hero-points li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 1023px) {
  .hero-media {
    min-height: 0;
    justify-content: flex-start;
  }
  .hero-media-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media .hero-copy {
    max-width: none;
  }
}
@media (max-width: 599px) {
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-points li {
    padding: 2px 0;
    border-left: 0 !important;
  }
  .hero-countries {
    padding: 14px;
  }
  .hero-countries a {
    font-size: 0.8125rem;
  }
}

/* Brand stage: logo card with soft brand glow and floating service tags */
.hero-brand {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 56px) clamp(12px, 3vw, 40px);
  isolation: isolate;
}
.hb-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.hb-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hb-glow span:first-child {
  width: 62%;
  aspect-ratio: 1;
  top: 4%;
  right: 2%;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.32), transparent 70%);
}
.hb-glow span:last-child {
  width: 70%;
  aspect-ratio: 1;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle, rgba(11, 31, 58, 0.24), transparent 70%);
}
.hb-ring {
  position: absolute;
  z-index: -1;
  width: 104%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px dashed rgba(11, 31, 58, 0.16);
  pointer-events: none;
}
.hb-ring::before,
.hb-ring::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hb-ring::before {
  top: 14%;
  left: 14%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 6px rgba(242, 169, 0, 0.16);
}
.hb-ring::after {
  bottom: 12%;
  right: 16%;
  background: var(--brand-navy);
  box-shadow: 0 0 0 6px rgba(11, 31, 58, 0.12);
}
.hb-card {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 28px) 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 0 0 1px var(--glass-edge), var(--shadow-lg);
  text-align: center;
}
.hb-card::before {
  /* Thin brand-coloured line along the top edge */
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-orange));
}
.hb-logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
  transition: opacity 0.6s ease;
}
.js .hero-brand:not(.is-ready) .hb-logo {
  opacity: 0;
}
.hb-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e8e3e;
  box-shadow: 0 0 0 4px rgba(30, 142, 62, 0.16);
}
.hb-tags {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hb-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  box-shadow: 0 0 0 1px var(--glass-edge), var(--shadow-md);
  line-height: 1.2;
  white-space: nowrap;
}
.hb-tag strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}
.hb-tag small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.hb-tag-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-soft);
}
.hb-tag-icon .icon {
  width: 18px;
  height: 18px;
}
.hb-tag-2 .hb-tag-icon {
  color: var(--brand-orange);
  background: rgba(242, 169, 0, 0.12);
}
.hb-tag-3 .hb-tag-icon {
  color: var(--brand-navy);
  background: rgba(11, 31, 58, 0.09);
}
.hb-tag-1 {
  top: 6%;
  left: -6%;
}
.hb-tag-2 {
  top: 42%;
  right: -10%;
}
.hb-tag-3 {
  bottom: 2%;
  left: -6%;
}
@media (prefers-reduced-motion: no-preference) {
  .js .hb-tag {
    opacity: 0;
    transform: translateY(10px);
  }
  .js .hero-brand.is-ready .hb-tag {
    animation: hb-tag-in 0.6s var(--ease-out, ease) forwards, hb-float 6s ease-in-out infinite;
  }
  .js .hero-brand.is-ready .hb-tag-1 { animation-delay: 1.4s, 2s; }
  .js .hero-brand.is-ready .hb-tag-2 { animation-delay: 1.7s, 2.3s; }
  .js .hero-brand.is-ready .hb-tag-3 { animation-delay: 2s, 2.6s; }
  .hb-ring {
    animation: hb-spin 60s linear infinite;
  }
}
@keyframes hb-tag-in {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hb-float {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}
@keyframes hb-spin {
  to {
    rotate: 360deg;
  }
}
@media (max-width: 1439px) {
  .hb-tag-1 { left: 0; }
  .hb-tag-2 { right: 0; }
  .hb-tag-3 { left: 0; }
}
@media (max-width: 1023px) {
  .hero-brand {
    max-width: 520px;
    margin-top: var(--space-3);
  }
}
@media (max-width: 599px) {
  .hero-brand {
    padding: 20px 0 0;
  }
  .hb-ring,
  .hb-glow span:first-child {
    display: none;
  }
  /* Phones: tags become a tidy row under the card instead of floating over it */
  .hb-tags {
    display: grid;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
  }
  .hb-tag {
    position: static;
    white-space: normal;
  }
}

/* ==========================================================================
   Navbar intro: first visit shows only "Home", then each item slides in
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .nav-intro .nav-island .nav-link {
    overflow: hidden;
    animation: nav-item-in 0.55s var(--ease-out, ease) backwards;
  }
  .nav-intro .nav-island li:nth-child(1) .nav-link { animation-name: nav-home-in; animation-delay: 0.1s; }
  .nav-intro .nav-island li:nth-child(2) .nav-link { animation-delay: 0.7s; }
  .nav-intro .nav-island li:nth-child(3) .nav-link { animation-delay: 0.85s; }
  .nav-intro .nav-island li:nth-child(4) .nav-link { animation-delay: 1s; }
  .nav-intro .nav-island li:nth-child(5) .nav-link { animation-delay: 1.15s; }
  .nav-intro .nav-island li:nth-child(6) .nav-link { animation-delay: 1.3s; }
  .nav-intro .nav-island li:nth-child(7) .nav-link { animation-delay: 1.45s; }
  .nav-intro .nav-island li:nth-child(8) .nav-link { animation-delay: 1.6s; }
  .nav-intro .header-cta {
    animation: nav-cta-in 0.6s var(--ease-out, ease) 1.85s backwards;
  }
}
@keyframes nav-item-in {
  from {
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    filter: blur(6px);
  }
  60% {
    opacity: 0.4;
  }
  to {
    max-width: 12rem;
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes nav-home-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes nav-cta-in {
  from {
    opacity: 0;
    transform: translateX(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Problem slides with the square artwork (badge and frame are part of the image) */
.slide-media.has-image {
  aspect-ratio: 1 / 1;
  background: #f4f7fd;
}
.slide-media.has-image img {
  display: block;
  object-fit: cover;
}
.slide:hover .slide-media.has-image img {
  transform: scale(1.025);
}

/* ==========================================================================
   Global reach — region cards
   ========================================================================== */
.markets {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}
.reach-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 880px;
  margin: 0 auto var(--space-6);
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-edge), var(--shadow-sm);
}
.reach-stats li {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 18px 12px;
  text-align: center;
}
.reach-stats li + li {
  border-left: 1px solid var(--border);
}
.reach-stats b {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #1e4e8c, #0b1f3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reach-stats span {
  font-size: 13px;
  color: var(--text-secondary);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.region {
  --a1: #1e4e8c;
  --a2: #0b1f3a;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 26px 22px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--a1) 9%, transparent), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s var(--ease-out, ease), border-color 0.35s ease;
}
.region::before {
  /* accent line along the top */
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  opacity: 0.9;
}
.region:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--a1) 35%, var(--border));
  box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--a1) 45%, transparent), var(--shadow-md);
}
.region-eu { --a1: #1e4e8c; --a2: #0b1f3a; }
.region-me { --a1: #c98a00; --a2: #f2a900; --a-ink: #8a5a00; }
.region-na { --a1: #0b1f3a; --a2: #1e4e8c; }
.region-af { --a1: #188038; --a2: #34a853; }
.region-ap { --a1: #d93025; --a2: #e8618c; }
.region-la { --a1: #2a4a6b; --a2: #5a7894; }
.region-watermark {
  position: absolute;
  right: -6px;
  top: 2px;
  z-index: -1;
  font-family: var(--font-heading);
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--a-ink, var(--a1));
  opacity: 0.06;
  pointer-events: none;
}
.region-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.flag-stack {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 0 0 8px;
}
.flag-stack li {
  margin-left: -8px;
  transition: margin 0.35s var(--ease-out, ease), transform 0.35s var(--ease-out, ease);
}
.flag-stack img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(11, 31, 58, 0.18);
  object-fit: cover;
}
.region:hover .flag-stack li {
  margin-left: -2px;
}
.region:hover .flag-stack li:hover {
  transform: translateY(-3px) scale(1.08);
}
.flag-more {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: color-mix(in srgb, var(--a1) 12%, #fff);
  color: var(--a-ink, var(--a1));
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(11, 31, 58, 0.12);
}
.region-badge {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.region h3 {
  margin: 4px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.lang-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 0;
  padding: 0;
}
.lang-chips li {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.region-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a-ink, var(--a1));
}
.region-label .icon {
  width: 14px;
  height: 14px;
}
.region-expect p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.region-channels {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
}
.region-channels ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.channel .icon {
  width: 14px;
  height: 14px;
  color: var(--text-tertiary);
}
.channel-google .icon {
  color: #ea4335;
}
.channel-linkedin .icon {
  color: #1e4e8c;
}
.channel-whatsapp .icon {
  color: #2a4a6b;
}
.channel-portal .icon,
.channel-outreach .icon {
  color: var(--a-ink, var(--a1));
}
@media (max-width: 1023px) {
  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .region-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .reach-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reach-stats li:nth-child(3) {
    border-left: 0;
  }
  .reach-stats li:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .region {
    padding: 22px 20px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .region,
  .flag-stack li {
    transition: none;
  }
  .region:hover {
    transform: none;
  }
}

/* ==========================================================================
   Home — services cards
   ========================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.svc-card {
  --a1: #1e4e8c;
  --a2: #0b1f3a;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 22px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(110% 60% at 100% 0%, color-mix(in srgb, var(--a1) 8%, transparent), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s var(--ease-out, ease), border-color 0.35s ease;
}
.svc-card:hover {
  text-decoration: none;
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--a1) 35%, var(--border));
  box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--a1) 45%, transparent), var(--shadow-md);
}
.svc-card::after {
  /* accent bar that grows on hover */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out, ease);
}
.svc-card:hover::after {
  transform: scaleX(1);
}
.svc-web { --a1: #1e4e8c; --a2: #3d6fb0; }
.svc-li { --a1: #1e4e8c; --a2: #3d6fb0; }
.svc-b2b { --a1: #0b1f3a; --a2: #4b6890; }
.svc-out { --a1: #f2a900; --a2: #ffc94a; --a-ink: #8a5a00; }
.svc-seo { --a1: #2a4a6b; --a2: #5a7894; }
.svc-wa { --a1: #2a4a6b; --a2: #5a7894; }
.svc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.svc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--a1) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.4s var(--ease-out, ease);
}
.svc-card:hover .svc-icon {
  transform: rotate(-6deg) scale(1.06);
}
.svc-icon .icon {
  width: 24px;
  height: 24px;
}
.svc-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--a1) 22%, #e8eaed);
}
.svc-card h3 {
  margin: 8px 0 0;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.svc-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.svc-gets {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 4px 0 6px;
  padding: 0;
}
.svc-gets li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}
.svc-gets .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 2px;
  border-radius: 50%;
  color: var(--a-ink, var(--a1));
  background: color-mix(in srgb, var(--a1) 12%, transparent);
  stroke-width: 3;
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  font-weight: 600;
  font-size: 15px;
  color: var(--a-ink, var(--a1));
}
.svc-more .icon {
  transition: transform 0.3s var(--ease-out, ease);
}
.svc-card:hover .svc-more .icon {
  transform: translateX(4px);
}
.svc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: var(--space-5);
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(232, 238, 247, 0.9), rgba(253, 240, 230, 0.8));
  border: 1px solid #dde6f1;
}
.svc-cta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}
.svc-cta span {
  color: var(--text-secondary);
  font-size: 15px;
}
.svc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 1023px) {
  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .svc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc-card {
    padding: 24px 20px 18px;
  }
  .svc-cta {
    padding: 20px;
  }
  .svc-cta-actions,
  .svc-cta-actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-icon,
  .svc-card::after {
    transition: none;
  }
  .svc-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Home — how we work (flow)
   ========================================================================== */
.hw-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.hw-flow::before {
  /* connector line between the step icons */
  content: '';
  position: absolute;
  top: 58px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: repeating-linear-gradient(90deg, #bccbe0 0 8px, transparent 8px 14px);
  z-index: 0;
}
.hw-flow-step {
  --a1: #1e4e8c;
  --a2: #0b1f3a;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.hw-flow-step:nth-child(2) { --a1: #0b1f3a; --a2: #4b6890; }
.hw-flow-step:nth-child(3) { --a1: #2a4a6b; --a2: #5a7894; }
.hw-flow-step:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--a1) 30%, var(--border));
  box-shadow: 0 22px 44px -24px color-mix(in srgb, var(--a1) 45%, transparent), var(--shadow-md);
}
.hw-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.hw-flow-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--a1) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.hw-flow-icon .icon {
  width: 26px;
  height: 26px;
}
.hw-flow-num {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--a-ink, var(--a1));
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(31, 31, 31, 0.15);
}
.hw-flow-when {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--a-ink, var(--a1));
  background: color-mix(in srgb, var(--a1) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--a1) 18%, transparent);
}
.hw-flow-when .icon {
  width: 14px;
  height: 14px;
}
.hw-flow-step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a-ink, var(--a1));
}
.hw-flow-step h3 {
  margin: -4px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.hw-flow-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.hw-flow-gets {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px dashed var(--border-strong);
}
.hw-flow-gets li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}
.hw-flow-gets .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 2px;
  border-radius: 50%;
  color: var(--a-ink, var(--a1));
  background: color-mix(in srgb, var(--a1) 12%, transparent);
  stroke-width: 3;
}
.hw-flow-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-top: var(--space-5);
  text-align: center;
}
.hw-flow-foot p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-secondary);
}
.hw-flow-foot p .icon {
  color: var(--primary, #1e4e8c);
  flex: none;
}
@media (max-width: 899px) {
  .hw-flow {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
  .hw-flow::before {
    top: 40px;
    bottom: 40px;
    left: 56px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, #bccbe0 0 8px, transparent 8px 14px);
  }
}
@media (max-width: 639px) {
  .hw-flow-step {
    padding: 24px 20px 22px;
  }
  .hw-flow::before {
    left: 50px;
  }
  .hw-flow-foot p {
    display: block;
  }
  .hw-flow-foot .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hw-flow-step {
    transition: none;
  }
  .hw-flow-step:hover {
    transform: none;
  }
}

/* ==========================================================================
   Home — why MetalMitra (bento)
   ========================================================================== */
.why-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: var(--space-3);
}
.why-hero {
  grid-row: 1 / span 3;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 34px;
  border-radius: var(--radius-xl);
  color: #e8eefb;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(242, 169, 0, 0.315), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(30, 78, 140, 0.35), transparent 70%),
    linear-gradient(160deg, #0f1b2d, #0b1f3a);
  box-shadow: 0 30px 60px -30px rgba(15, 27, 45, 0.6);
  overflow: hidden;
  isolation: isolate;
}
.why-hero::after {
  /* faint grid texture */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.why-hero-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #f2a900, #ffc94a);
  box-shadow: 0 14px 28px -12px rgba(242, 169, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.why-hero-icon .icon {
  width: 28px;
  height: 28px;
}
.why-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8b26a;
}
.why-hero h3 {
  margin: -4px 0 0;
  font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}
.why-hero p {
  margin: 0;
  color: #b9c6dc;
  line-height: 1.65;
}
.why-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.why-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.why-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.why-products span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #dce4ee;
}
.why-products .icon {
  flex: none;
  color: #8fb4ff;
}
.why-card {
  --a1: #1e4e8c;
  --a2: #3d6fb0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px 26px 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.why-one { --a1: #0b1f3a; --a2: #4b6890; }
.why-report { --a1: #2a4a6b; --a2: #5a7894; }
.why-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--a1) 30%, var(--border));
  box-shadow: 0 22px 44px -24px color-mix(in srgb, var(--a1) 45%, transparent), var(--shadow-md);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--a1) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.why-icon .icon {
  width: 24px;
  height: 24px;
}
.why-card h3 {
  margin: 2px 0 6px;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.why-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.why-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--a-ink, var(--a1));
}
.why-note .icon {
  width: 15px;
  height: 15px;
}
@media (max-width: 959px) {
  .why-bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .why-hero {
    grid-row: auto;
  }
}
@media (max-width: 639px) {
  .why-hero {
    padding: 28px 22px;
  }
  .why-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 22px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-card {
    transition: none;
  }
  .why-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Home — FAQ (split layout, card accordion)
   ========================================================================== */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: var(--space-6, 56px);
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: calc(var(--header-h, 88px) + 24px);
}
.faq-aside h2 {
  margin: 10px 0 14px;
}
.faq-aside .lead {
  margin: 0;
}
.faq-help {
  display: grid;
  gap: 8px;
  margin-top: var(--space-4, 32px);
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(242, 169, 0, 0.084), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.faq-help-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  box-shadow: 0 12px 24px -12px rgba(30, 78, 140, 0.7);
}
.faq-help strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}
.faq-help p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}
.faq-help-links {
  display: grid;
  gap: 6px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}
.faq-help-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  overflow-wrap: anywhere;
}
.faq-help-links a:hover {
  color: var(--primary);
  text-decoration: none;
}
.faq-help-links .icon {
  flex: none;
  color: var(--primary);
}
.faq-help .btn {
  justify-self: start;
}
.faq.faq-cards {
  display: grid;
  gap: 12px;
  max-width: none;
  margin: 0;
  border-top: 0;
}
.faq-cards .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-cards .faq-item:hover {
  border-color: #cdd9e8;
}
.faq-cards .faq-item.is-open {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: 0 18px 40px -24px rgba(30, 78, 140, 0.45), var(--shadow-sm);
}
.faq-cards .faq-trigger {
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 20px;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0875rem);
}
.faq-cards .faq-text {
  flex: 1;
  min-width: 0;
}
.faq-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft, #e8eef7);
  transition: background 0.3s ease, color 0.3s ease;
}
.faq-ico .icon {
  width: 20px;
  height: 20px;
}
.faq-cards .faq-item.is-open .faq-ico {
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
}
.faq-cards .faq-trigger .plus {
  width: 32px;
  height: 32px;
}
.faq-cards .faq-panel p {
  margin: 0;
  padding: 0 64px 22px 76px;
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 959px) {
  .faq-split {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4, 32px);
  }
  .faq-aside {
    position: static;
    text-align: center;
  }
  .faq-help {
    max-width: 520px;
    margin-inline: auto;
    justify-items: center;
    text-align: center;
  }
  .faq-help .btn {
    justify-self: center;
  }
  .faq-help-links {
    justify-items: center;
  }
  /* on stacked layouts the help card moves below the questions */
  .faq-split {
    display: flex;
    flex-direction: column;
  }
  .faq-aside {
    display: contents;
  }
  .faq-aside > .kicker,
  .faq-aside > h2,
  .faq-aside > .lead {
    text-align: center;
    order: 0;
  }
  .faq-aside > h2 {
    margin: 0;
  }
  .faq-aside > .lead {
    max-width: 640px;
    margin: -16px auto 0;
  }
  .faq-aside > .kicker {
    align-self: center;
    margin-bottom: -20px;
  }
  .faq.faq-cards {
    order: 1;
  }
  .faq-help {
    order: 2;
    margin-top: 0;
    width: 100%;
  }
}
@media (max-width: 639px) {
  .faq-cards .faq-trigger {
    gap: 12px;
    padding: 16px;
  }
  .faq-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .faq-cards .faq-panel p {
    padding: 0 16px 18px 64px;
  }
  .faq-help .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Services page — hero hub + subnav
   ========================================================================== */
.svc-hero {
  padding-bottom: var(--space-6, 56px);
}
.svc-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--space-6, 56px);
  align-items: center;
}
.svc-hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 1.06;
}
.svc-hero-copy .lead {
  max-width: 560px;
}
.svc-hero-copy .btn-row {
  margin-top: var(--space-4, 32px);
}
.svc-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: var(--space-4, 32px) 0 0;
  padding: 0;
  list-style: none;
}
.svc-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.svc-hero-points .icon {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 10px;
  color: var(--primary);
  background: var(--primary-soft, #e8eef7);
}
.svc-hub {
  position: relative;
  padding: 22px;
  border-radius: 28px;
  background: var(--glass-bg-strong, rgba(255, 255, 255, 0.82));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.7));
  -webkit-backdrop-filter: var(--glass-blur, blur(18px));
  backdrop-filter: var(--glass-blur, blur(18px));
  box-shadow: 0 40px 80px -40px rgba(11, 31, 58, 0.35), 0 0 0 1px rgba(30, 78, 140, 0.06);
}
.svc-hub-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 4px 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.svc-hub-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(30, 78, 140, 0.07), var(--shadow-sm);
}
.svc-hub-logo img {
  width: 40px;
  height: auto;
}
.svc-hub-title {
  display: grid;
  min-width: 0;
}
.svc-hub-title strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.svc-hub-title span {
  font-size: 13.5px;
  color: var(--text-secondary);
}
.svc-hub-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #137a3f;
  background: #e7f6ec;
  white-space: nowrap;
}
.svc-hub-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a4a6b;
  box-shadow: 0 0 0 0 rgba(42, 74, 107, 0.5);
  animation: hub-pulse 2s ease-out infinite;
}
@keyframes hub-pulse {
  to {
    box-shadow: 0 0 0 8px rgba(42, 74, 107, 0);
  }
}
.svc-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hub-tile {
  --a1: #1e4e8c;
  --a2: #3d6fb0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.3s var(--ease-out, ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.hub-tile:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--a1) 35%, var(--border));
  box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--a1) 55%, transparent);
}
.hub-li { --a1: #1e4e8c; --a2: #3d6fb0; }
.hub-b2b { --a1: #0b1f3a; --a2: #4b6890; }
.hub-cat { --a1: #c98a00; --a2: #ffc94a; --a-ink: #8a5a00; }
.hub-seo { --a1: #2a4a6b; --a2: #5a7894; }
.hub-wa { --a1: #2a4a6b; --a2: #5a7894; }
.hub-out { --a1: #f2a900; --a2: #ffc94a; --a-ink: #8a5a00; }
.hub-ai { --a1: #f2a900; --a2: #8b5cf6; --a-ink: #8a5a00; }
.hub-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 10px 18px -10px color-mix(in srgb, var(--a1) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.hub-icon .icon {
  width: 20px;
  height: 20px;
}
.hub-text {
  display: grid;
  min-width: 0;
}
.hub-text strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}
.hub-text small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}
.hub-soon {
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
  color: #a21caf;
  background: #fae8ff;
}
.hub-go {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--a-ink, var(--a1));
  background: color-mix(in srgb, var(--a1) 10%, #fff);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out, ease);
}
.hub-tile:hover .hub-go,
.hub-tile:focus-visible .hub-go {
  opacity: 1;
  transform: none;
}
.hub-go .icon {
  width: 14px;
  height: 14px;
}

/* subnav with icons */
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.subnav a .icon {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.75;
}
.subnav a.is-current {
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  box-shadow: 0 8px 18px -10px rgba(30, 78, 140, 0.8);
}
.subnav a.is-current .icon {
  opacity: 1;
}

@media (max-width: 1099px) {
  .svc-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5, 40px);
  }
  .svc-hero-copy {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }
  .svc-hero-copy .lead {
    margin-inline: auto;
  }
  .svc-hero-copy .btn-row,
  .svc-hero-points {
    justify-content: center;
  }
  .svc-hub {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }
}
@media (max-width: 639px) {
  .svc-hub {
    padding: 14px;
    border-radius: 22px;
  }
  .svc-hub-head {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-bottom: 14px;
    margin-bottom: 12px;
  }
  .svc-hub-live {
    margin-left: 0;
  }
  .svc-hub-grid {
    gap: 8px;
  }
  .hub-tile {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 10px;
    padding: 12px;
  }
  .hub-go {
    display: none;
  }
    .svc-hero-copy .btn-row .btn {
    width: 100%;
  }
  .svc-hero-points {
    flex-direction: column;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hub-live i {
    animation: none;
  }
  .hub-tile,
  .hub-go {
    transition: none;
  }
  .hub-tile:hover {
    transform: none;
  }
}

/* ==========================================================================
   Services page — per-service accents, actions, plans
   ========================================================================== */
.svc-sec { --a1: #1e4e8c; --a2: #3d6fb0; }
.svc-sec.svc-li { --a1: #1e4e8c; --a2: #3d6fb0; }
.svc-sec.svc-b2b { --a1: #0b1f3a; --a2: #4b6890; }
.svc-sec.svc-cat { --a1: #c98a00; --a2: #ffc94a; --a-ink: #8a5a00; }
.svc-sec.svc-seo { --a1: #2a4a6b; --a2: #5a7894; }
.svc-sec.svc-wa { --a1: #2a4a6b; --a2: #5a7894; }
.svc-sec.svc-out { --a1: #f2a900; --a2: #ffc94a; --a-ink: #8a5a00; }
.svc-sec.svc-ai { --a1: #f2a900; --a2: #8b5cf6; --a-ink: #8a5a00; }
.svc-sec .icon-tile.svc-tile {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--a1) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.svc-sec .icon-tile.svc-tile .icon {
  width: 26px;
  height: 26px;
  color: #fff;
}
.svc-index {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--a-ink, var(--a1));
}
.svc-index i {
  margin-left: 4px;
  font-style: normal;
  font-weight: 600;
  color: #6b7280;
}
.svc-sec .service-copy h3 {
  color: var(--a-ink, var(--a1));
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
}
.svc-sec .check-list .icon {
  color: var(--a-ink, var(--a1));
  background: color-mix(in srgb, var(--a1) 12%, transparent);
}
.svc-sec .why-line {
  position: relative;
  background: color-mix(in srgb, var(--a1) 5%, #fff);
  border-color: color-mix(in srgb, var(--a1) 18%, var(--border));
  overflow: hidden;
}
.svc-sec .why-line::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--a1), var(--a2));
}
.svc-sec .why-line .icon {
  color: var(--a-ink, var(--a1));
}
.svc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: var(--space-4, 32px);
}
.svc-actions .btn {
  border-color: color-mix(in srgb, var(--a1) 35%, var(--border));
  color: var(--a-ink, var(--a1));
}
.svc-actions .btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  border-color: transparent;
}
.svc-actions .link-arrow {
  color: var(--a-ink, var(--a1));
}
.svc-sec .stage::before {
  background: var(--a1);
  opacity: 0.3;
}
.svc-sec .stage::after {
  background: var(--a2);
  opacity: 0.22;
}
.svc-sec .stage.is-steel::before {
  background: var(--a1);
  opacity: 0.26;
}
.svc-sec .stage {
  border-color: color-mix(in srgb, var(--a1) 14%, var(--border));
  box-shadow: 0 40px 80px -50px color-mix(in srgb, var(--a1) 60%, transparent);
}

/* plans */
.plan-grid {
  align-items: stretch;
}
.plan-card {
  --a1: #1e4e8c;
  --a2: #3d6fb0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease;
}
.plan-card.plan-pro { --a1: #0b1f3a; --a2: #1e4e8c; }
.plan-card.plan-grow { --a1: #2a4a6b; --a2: #5a7894; }
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--a1) 50%, transparent), var(--shadow-md);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--space-3);
}
.plan-top .plan-tag {
  margin: 0;
}
.plan-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--a1) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.plan-icon .icon {
  width: 24px;
  height: 24px;
}
.plan-card .check-list .icon {
  color: var(--a-ink, var(--a1));
  background: color-mix(in srgb, var(--a1) 12%, transparent);
}
.plan-card.is-featured {
  position: relative;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(242, 169, 0, 0.056), transparent 60%) padding-box,
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #1e4e8c, #0b1f3a) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 60px -30px rgba(242, 169, 0, 0.35), var(--shadow-md);
}
.plan-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--space-3);
  font-size: 13px;
  color: var(--text-secondary);
}
@media (min-width: 1024px) {
  .plan-card.is-featured {
    transform: translateY(-10px);
  }
  .plan-card.is-featured:hover {
    transform: translateY(-14px);
  }
}
@media (max-width: 639px) {
  .svc-actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan-card,
  .plan-card:hover,
  .plan-card.is-featured,
  .plan-card.is-featured:hover {
    transition: none;
    transform: none;
  }
}

/* ==========================================================================
   AdSense units (Admin → Marketing & Ads)
   ========================================================================== */
.ad-slot {
  margin: var(--space-5, 40px) 0;
  padding: 12px 14px 16px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}
.ad-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted, #9aa0a6);
}
.ad-ins {
  display: block;
  min-height: 100px;
}
.ad-slot:has(ins[data-ad-status='unfilled']) {
  display: none;
}

/* ==========================================================================
   Products page — dark hero with live app slideshow, product cards, bento
   ========================================================================== */
@property --px-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.px-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h, 88px) + 56px) 0 0;
  color: #e6ecf7;
  background:
    radial-gradient(110% 70% at 85% 0%, #1b2f55 0%, transparent 60%),
    linear-gradient(180deg, #060b16 0%, #0b1527 55%, #0f1b2d 100%);
}
.px-aurora span {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: px-drift 18s ease-in-out infinite alternate;
}
.px-aurora span:nth-child(1) {
  top: -140px;
  left: -100px;
  width: 560px;
  height: 560px;
  background: #1e4e8c;
}
.px-aurora span:nth-child(2) {
  top: 8%;
  right: -120px;
  width: 520px;
  height: 520px;
  background: #0b1f3a;
  animation-delay: -6s;
}
.px-aurora span:nth-child(3) {
  bottom: -220px;
  left: 38%;
  width: 440px;
  height: 440px;
  background: #f2a900;
  opacity: 0.22;
  animation-delay: -12s;
}
@keyframes px-drift {
  to {
    transform: translate3d(70px, 50px, 0) scale(1.15);
  }
}
.px-gridlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 35%, #000, transparent 78%);
  mask-image: radial-gradient(70% 60% at 60% 35%, #000, transparent 78%);
}
.px-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: center;
}
.px-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.px-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a7894;
  box-shadow: 0 0 0 0 rgba(90, 120, 148, 0.6);
  animation: hub-pulse 2s ease-out infinite;
}
.px-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.6rem, 1.5rem + 3.2vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.px-gradient {
  background: linear-gradient(100deg, #8fb0d9 0%, #8a9fbd 35%, #ffb37a 60%, #8fb0d9 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: px-shine 7s linear infinite;
}
@keyframes px-shine {
  to {
    background-position: 200% center;
  }
}
.px-lead {
  max-width: 560px;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: #aebbd3;
  text-wrap: pretty;
}
.px-copy .btn-row {
  margin-top: 30px;
}
.px-hero .btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
.px-hero .btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
}
.px-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.px-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #d5dfef;
}
.px-trust .icon {
  color: #7fd4a8;
}
.px-mini-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 30px;
}
.px-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.px-mini-text {
  display: grid;
  flex: 1;
  min-width: 0;
}
.px-mini strong {
  font-family: var(--font-heading);
}
.px-mini small {
  font-size: 13px;
  color: #9fb0cc;
}
.px-mini > .icon {
  flex: none;
  color: #9fb0cc;
  transition: transform 0.3s var(--ease-out, ease);
}
.px-mini:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(143, 176, 217, 0.5);
}
.px-mini:hover > .icon {
  transform: translateX(3px);
  color: #fff;
}

/* stage + slideshow */
.px-stage {
  position: relative;
}
.px-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 20px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.px-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #b8c5dc;
  font: 600 14px/1 var(--font-body);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.px-tab:hover {
  color: #fff;
}
.px-tab.is-on {
  color: #0f1b2d;
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.px-tab .product-mark {
  width: 28px;
  height: 28px;
}
.px-tilt {
  position: relative;
  perspective: 1600px;
}
.px-device {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #0b1424;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 60px 110px -45px rgba(0, 0, 0, 0.85),
    0 0 90px -20px rgba(242, 169, 0, 0.315);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.3s ease-out;
}
.px-device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: linear-gradient(#18243a, #121c2f);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.px-device-bar i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.px-device-bar i:nth-child(2) { background: #febc2e; }
.px-device-bar i:nth-child(3) { background: #28c840; }
.px-device-bar span {
  min-width: 0;
  margin-left: 10px;
  overflow: hidden;
  font-size: 12.5px;
  color: #94a3bd;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.px-screens {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1600 / 842;
  background: #f5f6f8;
  view-transition-name: px-screen;
}
.px-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.px-slide.is-active {
  opacity: 1;
  transform: none;
}
.px-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
:root.px-vt {
  view-transition-name: none;
}
:root.px-vt .px-slide {
  transition: none;
}
::view-transition-old(px-screen) {
  animation: px-vt-out 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
::view-transition-new(px-screen) {
  animation: px-vt-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes px-vt-out {
  to {
    opacity: 0;
    transform: scale(0.96) translateX(-4%);
    filter: blur(8px);
  }
}
@keyframes px-vt-in {
  from {
    opacity: 0;
    transform: scale(1.05) translateX(4%);
    filter: blur(8px);
  }
}
.px-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.px-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #3d6fb0, #8a9fbd, #ffb37a);
  transform: scaleX(0);
  transform-origin: left;
}
.px-progress span.is-running {
  animation: px-progress var(--px-dur, 5s) linear forwards;
}
.is-paused .px-progress span {
  animation-play-state: paused;
}
@keyframes px-progress {
  to {
    transform: scaleX(1);
  }
}
.px-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  font: 600 13px/1 var(--font-body);
  color: #0f1b2d;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.65);
  animation: px-float 6s ease-in-out infinite;
  white-space: nowrap;
}
.px-float.f1 { left: -30px; bottom: 20%; }
.px-float.f1 .icon { color: #1e4e8c; }
.px-float.f2 { right: -22px; top: 16%; animation-delay: -2s; }
.px-float.f2 .icon { color: #2a4a6b; }
.px-float.f3 { right: 14%; bottom: -16px; animation-delay: -4s; }
.px-float.f3 .icon { color: #f2a900; }
@keyframes px-float {
  50% {
    translate: 0 -10px;
  }
}
.px-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.px-caption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  margin: 0;
  font-size: 14.5px;
  color: #c9d5ea;
}
.px-caption b {
  flex: none;
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.px-caption span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.px-buttons {
  display: flex;
  flex: none;
  gap: 8px;
}
.px-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.px-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}
.px-pause {
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.is-paused .px-pause {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* capability marquee */
.px-marquee {
  margin-top: 80px;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.px-marquee-track {
  display: flex;
  width: max-content;
  animation: px-marquee 50s linear infinite;
}
.px-marquee:hover .px-marquee-track {
  animation-play-state: paused;
}
.px-marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.px-marquee li {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #8fa1c0;
  white-space: nowrap;
}
.px-marquee li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d6fb0, #8a9fbd);
}
@keyframes px-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* product cards with an animated gradient border */
.px-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.px-card {
  --a1: #1e4e8c;
  --a2: #0b1f3a;
  --px-angle: 0deg;
  padding: 1.5px;
  border-radius: 28px;
  background: conic-gradient(from var(--px-angle), var(--a1), var(--a2) 18%, #e4e7ec 34%, #e4e7ec 66%, var(--a2) 82%, var(--a1));
  animation: px-spin 9s linear infinite;
  transition: transform 0.4s var(--ease-out, ease), box-shadow 0.4s ease;
}
.px-card.px-mtcmitra {
  --a1: #2a4a6b;
  --a2: #f2a900;
}
.px-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 44px 80px -44px color-mix(in srgb, var(--a1) 60%, transparent);
}
@keyframes px-spin {
  to {
    --px-angle: 360deg;
  }
}
.px-card-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 26px;
  border-radius: 26.5px;
  background: #fff;
  container-type: inline-size;
}
.px-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.px-card-head h3 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.px-card-head > div > span {
  font-size: 14.5px;
  color: var(--text-secondary);
}
.px-os {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.px-shot {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #f1f3f4;
  box-shadow: 0 24px 44px -26px rgba(15, 27, 45, 0.4);
}
.px-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.px-card:hover .px-shot img {
  transform: scale(1.045);
}
.px-summary {
  margin: 0;
  line-height: 1.65;
  color: var(--text-secondary);
}
.px-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.px-chips li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--a-ink, var(--a1));
  background: color-mix(in srgb, var(--a1) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--a1) 20%, transparent);
}
.px-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--border-strong);
}
.px-price b {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.px-price span {
  font-size: 13px;
  color: var(--text-secondary);
}
.px-buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@container (max-width: 470px) {
  .px-os {
    display: none;
  }
  .px-buy-actions,
  .px-buy-actions .btn {
    width: 100%;
  }
}

/* bento */
.px-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.px-tile {
  --a1: #1e4e8c;
  --a2: #3d6fb0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease;
}
.px-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -26px color-mix(in srgb, var(--a1) 50%, transparent), var(--shadow-md);
}
.px-tile h3 {
  margin: 6px 0 0;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}
.px-tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.px-tile-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--a1) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.px-tile-icon .icon {
  width: 24px;
  height: 24px;
}
.t-life { --a1: #f2a900; --a2: #ffc94a; --a-ink: #8a5a00; }
.t-std { --a1: #0b1f3a; --a2: #4b6890; }
.t-trade { --a1: #1e4e8c; --a2: #3d6fb0; }
.t-mail { --a1: #2a4a6b; --a2: #5a7894; }
.t-help { --a1: #2a4a6b; --a2: #5a7894; }
.px-tile-lg {
  --a1: #2a4a6b;
  --a2: #5a7894;
  grid-column: span 2;
  grid-row: span 2;
  padding: 34px;
  color: #dce4ee;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(242, 169, 0, 0.28), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(30, 78, 140, 0.35), transparent 70%),
    linear-gradient(160deg, #0f1b2d, #0b1f3a);
  border: 0;
}
.px-tile-lg h3 {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  line-height: 1.2;
  color: #fff;
}
.px-tile-lg p {
  max-width: 560px;
  font-size: 16px;
  color: #b9c6dc;
}
.px-offline-visual {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
}
.px-offline-visual .pc,
.px-offline-visual .cloud {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.px-offline-visual .cloud {
  border-radius: 50%;
  color: #7d8aa3;
}
.px-offline-visual .cloud i {
  position: absolute;
  width: 72%;
  height: 2px;
  border-radius: 2px;
  background: #ff6b6b;
  transform: rotate(-45deg);
}
.px-offline-visual .wire {
  position: relative;
  flex: 1;
  height: 2px;
  margin: 0 14px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 6px, transparent 6px 12px);
}
.px-offline-visual .wire::after {
  /* data tries to leave the PC and stops halfway */
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #5a7894;
  box-shadow: 0 0 14px #5a7894;
  animation: px-packet 3.2s ease-in-out infinite;
}
@keyframes px-packet {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  55% { left: 45%; opacity: 1; }
  75%, 100% { left: 45%; opacity: 0; }
}

/* workflow pipeline — fills as it scrolls into view where supported */
.px-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  view-timeline-name: --pxflow;
}
.px-flow::before,
.px-flow::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  border-radius: 2px;
}
.px-flow::before {
  background: var(--border-strong);
}
.px-flow::after {
  background: linear-gradient(90deg, #1e4e8c, #0b1f3a, #2a4a6b);
  transform-origin: left;
}
@supports (animation-timeline: view()) {
  .px-flow::after {
    transform: scaleX(0);
    animation: px-fill linear both;
    animation-timeline: --pxflow;
    animation-range: entry 30% cover 50%;
  }
}
@keyframes px-fill {
  to {
    transform: scaleX(1);
  }
}
.px-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  text-align: center;
}
.px-step-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 22px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.px-step-icon .icon {
  width: 28px;
  height: 28px;
}
.px-step strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.px-step > span:last-child {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 1099px) {
  .px-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .px-copy {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }
  .px-lead,
  .px-mini-prices {
    margin-inline: auto;
  }
  .px-copy .btn-row,
  .px-trust {
    justify-content: center;
  }
  .px-mini {
    text-align: left;
  }
  .px-stage {
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
  }
  .px-controls {
    text-align: left;
  }
}
@media (max-width: 899px) {
  .px-duo {
    grid-template-columns: minmax(0, 1fr);
  }
  .px-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .px-tile-lg {
    grid-row: auto;
  }
  .px-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-width: 520px;
    margin-inline: auto;
  }
  .px-flow::before,
  .px-flow::after {
    top: 36px;
    bottom: 36px;
    left: 35px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .px-flow::after {
    background: linear-gradient(180deg, #1e4e8c, #0b1f3a, #2a4a6b);
    transform-origin: top;
  }
  @supports (animation-timeline: view()) {
    .px-flow::after {
      transform: scaleY(0);
      animation-name: px-fill-y;
    }
  }
  .px-step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 2px;
    align-items: center;
    padding: 0;
    text-align: left;
  }
  .px-step-icon {
    grid-row: span 2;
    margin: 0;
  }
  .px-step strong {
    align-self: end;
  }
  .px-step > span:last-child {
    align-self: start;
  }
}
@keyframes px-fill-y {
  to {
    transform: scaleY(1);
  }
}
@media (max-width: 639px) {
  .px-hero {
    padding-top: calc(var(--header-h, 72px) + 36px);
  }
  .px-copy .btn-row .btn {
    width: 100%;
  }
  .px-mini-prices {
    grid-template-columns: minmax(0, 1fr);
  }
  .px-float {
    display: none;
  }
  .px-marquee {
    margin-top: 56px;
  }
  .px-caption span {
    white-space: normal;
  }
  .px-card-inner {
    padding: 18px;
  }
  .px-bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .px-tile-lg {
    grid-column: auto;
    padding: 26px;
  }
}
@media (hover: none), (pointer: coarse) {
  .px-device {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .px-aurora span,
  .px-gradient,
  .px-eyebrow i,
  .px-float,
  .px-card,
  .px-marquee-track,
  .px-offline-visual .wire::after {
    animation: none;
  }
  .px-marquee-track {
    flex-wrap: wrap;
    width: auto;
  }
  .px-marquee ul + ul {
    display: none;
  }
  .px-slide,
  .px-device,
  .px-card,
  .px-tile,
  .px-shot img {
    transition: none;
  }
  .px-card:hover,
  .px-tile:hover {
    transform: none;
  }
}

/* dark products hero: keep the logo and menu readable */
body:has(.px-hero) .site-header .brand,
body:has(.px-hero) .nav-island,
body:has(.px-hero) .menu-toggle {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.55);
}

.nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Industries page — hero with moving product columns, tabbed cards, sector rail
   ========================================================================== */
.g-metals { --a1: #1e4e8c; --a2: #3d6fb0; }
.g-pipes { --a1: #2a4a6b; --a2: #5a7894; }
.g-engineering { --a1: #0b1f3a; --a2: #4b6890; }
.g-trade { --a1: #f2a900; --a2: #ffc94a; --a-ink: #8a5a00; }

.ind-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h, 88px) + 48px) 0 var(--space-7, 72px);
}
.ind-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.ind-hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.5rem, 1.5rem + 2.8vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}
.ind-hero-copy .lead {
  max-width: 580px;
}
.ind-hero-copy .btn-row {
  margin-top: 30px;
}
.ind-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.ind-stats li {
  display: grid;
  min-width: 132px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ind-stats b {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #1e4e8c, #0b1f3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ind-stats span {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* three columns of products drifting up and down */
.ind-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  height: 560px;
  padding: 0 6px;
  overflow: hidden;
  border-radius: 32px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.ind-col {
  overflow: hidden;
}
.ind-col-track {
  display: grid;
  gap: 14px;
  animation: ind-up 46s linear infinite;
}
.ind-col-2 .ind-col-track {
  animation-name: ind-down;
  animation-duration: 54s;
}
.ind-col-3 .ind-col-track {
  animation-duration: 40s;
}
.ind-visual:hover .ind-col-track {
  animation-play-state: paused;
}
@keyframes ind-up {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 7px)); }
}
@keyframes ind-down {
  from { transform: translateY(calc(-50% - 7px)); }
  to { transform: translateY(0); }
}
.ind-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px -22px rgba(15, 27, 45, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ind-pill > span:last-child {
  display: grid;
  min-width: 0;
}
.ind-pill strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ind-pill small {
  font-size: 12px;
  color: var(--text-secondary);
}
.ind-pill-icon,
.ind-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--a1) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.ind-pill-icon .icon {
  width: 22px;
  height: 22px;
}

/* tabs */
.ind-tabs {
  max-width: none;
}
.ind-tabs .tablist {
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ind-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 600;
}
.ind-tab .icon {
  color: var(--a-ink, var(--a1));
}
.ind-tab[aria-selected='true'] {
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--a1) 80%, transparent);
}
.ind-tab[aria-selected='true'] .icon {
  color: #fff;
}
.ind-tab[aria-selected='true'] .tab-count {
  color: var(--a-ink, var(--a1));
  background: #fff;
}
.ind-panel {
  margin-top: var(--space-5, 40px);
  animation: none;
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ind-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease, border-color 0.35s ease;
  animation: ind-card-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.ind-card:nth-child(2) { animation-delay: 50ms; }
.ind-card:nth-child(3) { animation-delay: 100ms; }
.ind-card:nth-child(4) { animation-delay: 150ms; }
.ind-card:nth-child(5) { animation-delay: 200ms; }
.ind-card:nth-child(6) { animation-delay: 250ms; }
.ind-card:nth-child(7) { animation-delay: 300ms; }
.ind-card:nth-child(8) { animation-delay: 350ms; }
.ind-card:nth-child(9) { animation-delay: 400ms; }
.ind-card:nth-child(n + 10) { animation-delay: 450ms; }
@keyframes ind-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}
.ind-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--a1) 30%, var(--border));
  box-shadow: 0 24px 46px -26px color-mix(in srgb, var(--a1) 55%, transparent), var(--shadow-md);
}
.ind-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ind-card-head h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ind-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  transition: transform 0.4s var(--ease-out, ease);
}
.ind-icon .icon {
  width: 24px;
  height: 24px;
}
.ind-card:hover .ind-icon {
  transform: rotate(-6deg) scale(1.06);
}
.ind-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a1, var(--primary));
}
.ind-label .icon {
  width: 14px;
  height: 14px;
}
.ind-look {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}
.ind-challenge {
  display: flex;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.ind-challenge .icon {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #c98a00;
}
.ind-help {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--a1) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--a1) 16%, transparent);
}
.ind-help p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

/* sector rail */
.ind-rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.ind-rail-head .section-head {
  max-width: 760px;
  margin: 0;
}
.ind-rail-nav {
  display: flex;
  flex: none;
  gap: 10px;
  padding-bottom: 6px;
}
.ind-rail-btn {
  width: 48px;
  height: 48px;
  color: var(--text);
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.ind-rail-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  border-color: transparent;
}
.ind-rail-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}
.ind-rail-wrap {
  margin-top: var(--space-5, 40px);
}
.ind-rail {
  --rail-pad: max(var(--gutter, 16px), calc((100% - var(--container, 1200px)) / 2));
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 10px var(--rail-pad) 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  list-style: none;
  cursor: grab;
}
.ind-rail::-webkit-scrollbar {
  display: none;
}
.ind-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.ind-rail:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.sector-tile {
  --a1: #1e4e8c;
  --a2: #3d6fb0;
  position: relative;
  display: flex;
  flex: 0 0 min(340px, 82vw);
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--a1) 12%, transparent), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease;
}
.sector-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -28px color-mix(in srgb, var(--a1) 60%, transparent), var(--shadow-md);
}
.s-water { --a1: #1e4e8c; --a2: #38bdf8; }
.s-agri { --a1: #2a4a6b; --a2: #84cc16; }
.s-oil { --a1: #0b1f3a; --a2: #475569; }
.s-build { --a1: #c98a00; --a2: #ffc94a; --a-ink: #8a5a00; }
.s-plumb { --a1: #0891b2; --a2: #22d3ee; --a-ink: #0e6a85; }
.s-fire { --a1: #dc2626; --a2: #f2a900; }
.s-mine { --a1: #78716c; --a2: #a8a29e; }
.s-power { --a1: #ca8a04; --a2: #facc15; }
.s-chem { --a1: #7c3aed; --a2: #a78bfa; }
.s-auto { --a1: #334155; --a2: #64748b; }
.s-marine { --a1: #0e7490; --a2: #0ea5e9; }
.s-hvac { --a1: #2a4a6b; --a2: #5eead4; }
.sector-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--a1) 14%, #eef0f3);
}
.sector-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--a1) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.sector-badge .icon {
  width: 28px;
  height: 28px;
}
.sector-tile h3 {
  margin: 4px 0 0;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.sector-block p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.sector-buyers {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
}
.sector-buyers p {
  color: var(--text);
}
.ind-rail-progress {
  width: min(320px, 60%);
  height: 4px;
  margin: 4px auto 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--border);
}
.ind-rail-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1e4e8c, #0b1f3a);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.15s linear;
}

@media (max-width: 1099px) {
  .ind-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ind-hero-copy {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }
  .ind-hero-copy .lead {
    margin-inline: auto;
  }
  .ind-hero-copy .btn-row,
  .ind-stats {
    justify-content: center;
  }
  .ind-visual {
    width: 100%;
    max-width: 760px;
    height: 400px;
    margin-inline: auto;
  }
  .ind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ind-rail-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 639px) {
  .ind-hero {
    padding-top: calc(var(--header-h, 72px) + 32px);
  }
  .ind-hero-copy .btn-row .btn {
    width: 100%;
  }
  .ind-stats li {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px;
  }
  .ind-stats b {
    font-size: 1.5rem;
  }
  .ind-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 340px;
  }
  .ind-col-3 {
    display: none;
  }
  .ind-pill {
    padding: 10px;
    gap: 10px;
  }
  .ind-pill-icon {
    width: 36px;
    height: 36px;
  }
  .ind-tabs .tablist {
    border-radius: 22px;
  }
  .ind-tab {
    padding: 9px 14px;
    font-size: 14px;
  }
  .ind-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ind-col-track,
  .ind-card {
    animation: none;
  }
  .ind-card,
  .sector-tile,
  .ind-icon {
    transition: none;
  }
  .ind-card:hover,
  .sector-tile:hover {
    transform: none;
  }
}

/* ==========================================================================
   Sourcing Desk — India / abroad switch, WhatsApp CTA, sticky mobile bar
   ========================================================================== */
.sr-switch {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sr-switch a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.sr-switch a:hover {
  color: var(--text);
  text-decoration: none;
}
.sr-switch a img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.sr-switch a[aria-current='page'] {
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  box-shadow: 0 10px 22px -12px rgba(30, 78, 140, 0.9);
}
.sr-india .sr-switch a[aria-current='page'] {
  background: linear-gradient(135deg, #f2a900, #ffc94a 45%, #2a4a6b);
}
.btn-wa {
  color: #fff;
  background: #2a4a6b;
  border-color: #2a4a6b;
  box-shadow: 0 14px 28px -14px rgba(42, 74, 107, 0.8);
}
.btn-wa:hover {
  color: #fff;
  background: #178f45;
  border-color: #178f45;
}
.btn-wa .icon {
  width: 20px;
  height: 20px;
}
.sr-hero h1 {
  font-size: clamp(2.3rem, 1.4rem + 2.4vw, 3.6rem);
  line-height: 1.06;
  text-wrap: balance;
}
.px-step-icon {
  position: relative;
}
.sr-step-no {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  box-shadow: 0 6px 14px -6px rgba(30, 78, 140, 0.8);
}
.sr-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sr-facts li b {
  background: linear-gradient(120deg, #1e4e8c, #0b1f3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sr-india .sr-facts li b {
  background-image: linear-gradient(120deg, #f2a900, #c98a00);
}
.mono-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sr-contact {
  display: grid;
  gap: 8px;
}
.sr-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sr-cross {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 22px;
  color: var(--text);
  background: linear-gradient(120deg, rgba(232, 238, 247, 0.9), rgba(253, 240, 230, 0.8));
  border: 1px solid #dde6f1;
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease;
}
.sr-cross:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px rgba(30, 78, 140, 0.6);
}
.sr-cross > span:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}
.sr-cross strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.sr-cross small {
  font-size: 14.5px;
  color: var(--text-secondary);
}
.sr-cross-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
}
.sr-cross-icon img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.sr-global .sr-cross-icon {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.sr-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -18px rgba(15, 27, 45, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateY(0);
  transition: transform 0.35s var(--ease-out, ease), opacity 0.35s ease;
}
.sr-sticky[hidden] {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
.sr-sticky .btn-primary {
  flex: 1;
}
.sr-sticky .btn-wa {
  flex: none;
  width: 52px;
  padding: 0;
  justify-content: center;
}
@media (min-width: 768px) {
  .sr-sticky {
    display: none !important;
  }
}
/* the floating WhatsApp bubble would sit on top of the sticky bar */
@media (max-width: 767px) {
  body:has(.sr-sticky:not([hidden])) .wa-float {
    opacity: 0;
    pointer-events: none;
  }
}
@media (max-width: 1023px) {
  .sr-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .sr-switch {
    display: flex;
    width: 100%;
  }
  .sr-switch a {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 13px;
  }
  .sr-hero .btn-row .btn {
    width: 100%;
  }
  .sr-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sr-cross {
    padding: 18px;
    gap: 14px;
  }
}

.sr-required-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -4px 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  background: var(--primary-soft, #e8eef7);
}
.sr-required-note .icon {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

/* ==========================================================================
   About page — orbit hero, journey timeline, research insights, team
   ========================================================================== */
.ab-hero h1 {
  font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.9rem);
  line-height: 1.05;
  text-wrap: balance;
}
.ab-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.ab-stats li {
  display: grid;
  min-width: 140px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ab-stats b {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #0b1f3a, #f2a900);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-stats span {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* logo inside a slowly turning orbit of product icons */
.ab-orbit-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}
.ab-orbit-wrap .logo-reveal {
  position: relative;
  z-index: 2;
  width: min(72%, 340px);
}
.ab-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ab-ring {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(11, 31, 58, 0.18);
}
.ab-ring.r1 {
  width: min(100%, 500px);
}
.ab-ring.r2 {
  width: min(78%, 390px);
  border-style: solid;
  border-color: rgba(242, 169, 0, 0.18);
}
.ab-orbit-icons {
  position: absolute;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  container-type: inline-size;
  animation: ab-spin 60s linear infinite;
}
.ab-orbit-icons li {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
}
.ab-orbit-icons li span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0b1f3a, #2f5689);
  box-shadow: 0 14px 26px -12px rgba(11, 31, 58, 0.6);
  animation: ab-spin 60s linear infinite reverse;
}
.ab-orbit-icons li:nth-child(even) span {
  background: linear-gradient(135deg, #f2a900, #ffc94a);
  box-shadow: 0 14px 26px -12px rgba(242, 169, 0, 0.6);
}
.ab-orbit-icons li span .icon {
  width: 24px;
  height: 24px;
}
/* place 8 icons around the ring (radius = half of the ring) */
.ab-orbit-icons .o1 { transform: rotate(0deg) translate(0, calc(-50cqi + 6px)) rotate(0deg); }
.ab-orbit-icons .o2 { transform: rotate(45deg) translate(0, calc(-50cqi + 6px)) rotate(-45deg); }
.ab-orbit-icons .o3 { transform: rotate(90deg) translate(0, calc(-50cqi + 6px)) rotate(-90deg); }
.ab-orbit-icons .o4 { transform: rotate(135deg) translate(0, calc(-50cqi + 6px)) rotate(-135deg); }
.ab-orbit-icons .o5 { transform: rotate(180deg) translate(0, calc(-50cqi + 6px)) rotate(-180deg); }
.ab-orbit-icons .o6 { transform: rotate(225deg) translate(0, calc(-50cqi + 6px)) rotate(-225deg); }
.ab-orbit-icons .o7 { transform: rotate(270deg) translate(0, calc(-50cqi + 6px)) rotate(-270deg); }
.ab-orbit-icons .o8 { transform: rotate(315deg) translate(0, calc(-50cqi + 6px)) rotate(-315deg); }
@keyframes ab-spin {
  to {
    transform: rotate(360deg);
  }
}

/* journey timeline */
.ab-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, #0b1f3a, #0b1f3a, #f2a900);
  opacity: 0.35;
}
.ab-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 18px;
}
.ab-step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0b1f3a, #2f5689);
  box-shadow: 0 14px 26px -12px rgba(11, 31, 58, 0.6), 0 0 0 6px var(--bg, #fff);
}
.ab-step:nth-child(2) .ab-step-dot { background: linear-gradient(135deg, #c98a00, #ffc94a); }
.ab-step:nth-child(3) .ab-step-dot { background: linear-gradient(135deg, #0b1f3a, #4b6890); }
.ab-step:nth-child(4) .ab-step-dot { background: linear-gradient(135deg, #f2a900, #f2a900); }
.ab-step-dot .icon {
  width: 24px;
  height: 24px;
}
.ab-step-card {
  position: relative;
  height: 100%;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease;
}
.ab-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ab-step-no {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #eef0f3;
}
.ab-step-card h3 {
  position: relative;
  margin: 0 0 8px;
  padding-right: 44px;
  font-size: 1.15rem;
}
.ab-step-card p {
  position: relative;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* research insights on dark */
.ab-insights {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #dce4ee;
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(242, 169, 0, 0.245), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(242, 169, 0, 0.22), transparent 70%),
    linear-gradient(160deg, #0b1527, #0b1f3a);
}
.ab-insights h2 {
  color: #fff;
}
.ab-insights .lead {
  color: #aebbd3;
}
.ab-kicker-light {
  color: #f8b26a;
}
.ab-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ab-insight {
  position: relative;
  padding: 28px 28px 26px 92px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease-out, ease);
}
.ab-insight:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(248, 178, 106, 0.4);
}
.ab-insight-no {
  position: absolute;
  top: 24px;
  left: 26px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #f8b26a, #8a9fbd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-insight h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #fff;
}
.ab-insight p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #aebbd3;
}

/* team */
.ab-team {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.ab-team-copy h2 {
  margin: 10px 0 14px;
}
.ab-team-copy p:not(.lead) {
  margin-top: 14px;
  color: var(--text-secondary);
}
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* mission & vision */
.ab-mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ab-mv-card {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(30, 78, 140, 0.12), transparent 60%),
    #fff;
  box-shadow: var(--shadow-sm);
}
.ab-mv-card.is-vision {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(242, 169, 0, 0.14), transparent 60%),
    #fff;
}
.ab-mv-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.ab-mv-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  box-shadow: 0 14px 26px -12px rgba(30, 78, 140, 0.7);
}
.is-vision .ab-mv-icon {
  background: linear-gradient(135deg, #f2a900, #ffc94a);
  box-shadow: 0 14px 26px -12px rgba(242, 169, 0, 0.7);
}
.ab-mv-icon .icon {
  width: 26px;
  height: 26px;
}

/* values */
.ab-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ab-value {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease;
}
.ab-value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ab-value-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-soft, #e8eef7);
}
.ab-value:nth-child(2) .ab-value-icon { color: #c98a00; background: #fff4e5; }
.ab-value:nth-child(3) .ab-value-icon { color: #2a4a6b; background: #e7f6ec; }
.ab-value:nth-child(4) .ab-value-icon { color: #0b1f3a; background: #efeafe; }
.ab-value h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.ab-value p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* where we are */
.ab-where {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(232, 238, 247, 0.9), rgba(255, 243, 230, 0.9));
  border: 1px solid #e2e8f5;
}
.ab-where-pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #f2a900, #ffc94a);
  box-shadow: 0 16px 30px -14px rgba(242, 169, 0, 0.8);
}
.ab-where-pin .icon {
  width: 30px;
  height: 30px;
}
.ab-where-copy h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
}
.ab-where-copy p {
  margin: 0;
  color: var(--text-secondary);
}
.ab-where-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1099px) {
  .ab-hero .hero-copy {
    text-align: center;
  }
  .ab-stats {
    justify-content: center;
  }
  .ab-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-timeline::before {
    display: none;
  }
  .ab-team {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-where {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ab-where-actions {
    grid-column: 1 / -1;
  }
}
@media (max-width: 639px) {
  .ab-orbit-wrap {
    min-height: 360px;
  }
  .ab-ring.r1,
  .ab-orbit-icons {
    width: min(100%, 340px);
  }
  .ab-orbit-icons li {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
  }
  .ab-orbit-icons li span {
    border-radius: 12px;
  }
  .ab-orbit-icons li span .icon {
    width: 20px;
    height: 20px;
  }
  .ab-orbit-wrap .logo-reveal {
    width: min(62%, 230px);
  }
  .ab-stats li {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px;
  }
  .ab-stats b {
    font-size: 1.35rem;
  }
  .ab-timeline,
  .ab-insight-grid,
  .ab-team-grid,
  .ab-mv,
  .ab-values {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-insight {
    padding: 74px 22px 22px;
  }
  .ab-mv-card {
    padding: 26px;
  }
  .ab-where {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
    text-align: center;
    justify-items: center;
  }
  .ab-where-actions {
    justify-content: center;
  }
  .ab-hero .btn-row .btn,
  .ab-where-actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-orbit-icons,
  .ab-orbit-icons li span {
    animation: none;
  }
  .ab-step-card,
  .ab-insight,
  .ab-value {
    transition: none;
  }
}

/* ==========================================================================
   Blog — trending, software promo, article rail, polish
   ========================================================================== */
.blog-hero h1 {
  text-wrap: balance;
}
.blog-search {
  box-shadow: 0 18px 40px -26px rgba(30, 78, 140, 0.55), var(--shadow-sm);
}
.blog-trending {
  padding-top: 0;
}
.trend-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.trend-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
}
.trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f2a900, #f43f5e);
  box-shadow: 0 10px 22px -12px rgba(242, 169, 0, 0.9);
}
.trend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trend-item a {
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border-radius: 18px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.trend-item a:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: #f6c7a4;
  box-shadow: 0 20px 40px -26px rgba(242, 169, 0, 0.7);
}
.trend-num {
  flex: none;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #f2a900, #0b1f3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trend-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.trend-text small {
  font-size: 12px;
  color: var(--text-secondary);
}
.trend-text strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.35;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.mt-grid {
  margin-top: var(--space-4, 32px);
}
.post-card {
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.post-card:hover {
  border-color: #cdd9e8;
}

/* software promo strip */
.sw-strip {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(242, 169, 0, 0.098), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(242, 169, 0, 0.12), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sw-strip-head h2 {
  margin: 6px 0 18px;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
}
.sw-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sw-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease;
}
.sw-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sw-card h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.sw-card p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.sw-price {
  font-size: 13px;
  color: var(--text-secondary);
}
.sw-price b {
  font-size: 15px;
  color: var(--text);
}
.sw-card-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}
.article-main .sw-strip {
  margin: var(--space-6, 48px) 0;
}
.article-main .sw-strip-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* right rail on wide screens */
.article-rail {
  display: none;
}
@media (min-width: 1280px) {
  .article-layout.has-rail {
    grid-template-columns: 220px minmax(0, 720px) 270px;
    gap: clamp(28px, 3vw, 48px);
  }
  .article-rail {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
    display: grid;
    gap: 18px;
  }
}
.sw-mini {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(242, 169, 0, 0.084), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sw-mini-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.sw-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  transition: background 0.25s ease;
}
.sw-mini-item:hover {
  text-decoration: none;
  background: var(--primary-soft, #e8eef7);
}
.sw-mini-item > span:nth-child(2) {
  display: grid;
  flex: 1;
  min-width: 0;
}
.sw-mini-item strong {
  font-size: 14.5px;
}
.sw-mini-item small {
  font-size: 12.5px;
  color: var(--text-secondary);
}
.sw-mini p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.rail-trending {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
}
.rail-trending strong {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c2410c;
}
.rail-trending ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail-trending li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.rail-trending li > span {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--mm-accent-ink);
}
.rail-trending a {
  color: var(--text);
}
.article-rail .ad-slot {
  margin: 0;
}

@media (max-width: 1023px) {
  .trend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .trend-grid,
  .sw-strip-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sw-card-actions .btn {
    flex: 1;
  }
}

/* ==========================================================================
   Contact page — 3D card carousel, routes, info cards
   ========================================================================== */
.ct-hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem);
  line-height: 1.04;
}
.ct-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ct-status i {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa0a6;
}
.ct-status.is-open {
  color: #137a3f;
}
.ct-status.is-open i {
  background: #2a4a6b;
  animation: hub-pulse 2s ease-out infinite;
}
.ct-hero .btn-row {
  margin-top: 26px;
}
.ct-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.ct-carousel {
  --w: 250px;
  --r: 200px;
  position: relative;
  width: var(--w);
  height: 290px;
  perspective: 1400px;
}
.ct-ring {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
  animation: ct-spin 24s linear infinite;
}
.ct-carousel:hover .ct-ring,
.ct-carousel:focus-within .ct-ring {
  animation-play-state: paused;
}
@keyframes ct-spin {
  from { transform: translateZ(calc(var(--r) * -1)) rotateY(0deg); }
  to { transform: translateZ(calc(var(--r) * -1)) rotateY(-360deg); }
}
.ct-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ct-face.f1 { transform: rotateY(0deg) translateZ(var(--r)); }
.ct-face.f2 { transform: rotateY(90deg) translateZ(var(--r)); }
.ct-face.f3 { transform: rotateY(180deg) translateZ(var(--r)); }
.ct-face.f4 { transform: rotateY(270deg) translateZ(var(--r)); }
.ct-face > a,
.ct-face > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
  padding: 24px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.25), transparent 55%),
    linear-gradient(150deg, var(--a1), var(--a2));
  box-shadow: 0 40px 70px -40px rgba(15, 27, 45, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.ct-face > a:hover {
  text-decoration: none;
}
.ct-face { --a1: #1e4e8c; --a2: #0b1f3a; }
.ct-wa { --a1: #2a4a6b; --a2: #0e7a3a; }
.ct-mail { --a1: #1e4e8c; --a2: #0b1f3a; }
.ct-pin { --a1: #f2a900; --a2: #c2410c; --a-ink: #8a5a00; }
.ct-clock { --a1: #0b1f3a; --a2: #2f5689; }
.ct-face-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.ct-face-icon .icon {
  width: 28px;
  height: 28px;
}
.ct-face small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ct-face strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.ct-face em {
  font-size: 13.5px;
  font-style: normal;
  opacity: 0.85;
}
.ct-floor {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 360px;
  max-width: 90%;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 31, 58, 0.25), transparent);
  transform: translateX(-50%);
  filter: blur(6px);
}

/* routes */
.ct-routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ct-route {
  --a1: #1e4e8c;
  --a2: #3d6fb0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(110% 70% at 100% 0%, color-mix(in srgb, var(--a1) 10%, transparent), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.ct-route:hover {
  text-decoration: none;
  transform: perspective(800px) rotateX(4deg) translateY(-6px);
  border-color: color-mix(in srgb, var(--a1) 35%, var(--border));
  box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--a1) 60%, transparent), var(--shadow-md);
}
.r-violet { --a1: #0b1f3a; --a2: #4b6890; }
.r-orange { --a1: #f2a900; --a2: #ffc94a; --a-ink: #8a5a00; }
.r-teal { --a1: #2a4a6b; --a2: #5a7894; }
.ct-route-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 6px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--a1) 75%, transparent);
}
.ct-route-icon .icon {
  width: 24px;
  height: 24px;
}
.ct-route strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}
.ct-route > span:not(.ct-route-icon) {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.ct-route em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-style: normal;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--a-ink, var(--a1));
}

/* info column */
.ct-info-title {
  margin: 6px 0 18px;
}
.ct-info-list {
  display: grid;
  gap: 10px;
}
.ct-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease;
}
a.ct-info-row:hover {
  text-decoration: none;
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.ct-info-row > span:last-child {
  display: grid;
  min-width: 0;
}
.ct-info-row small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ct-info-row b {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ct-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
}
.ct-ico .icon {
  width: 22px;
  height: 22px;
}
.i-mail { background: linear-gradient(135deg, #1e4e8c, #0b1f3a); }
.i-wa { background: linear-gradient(135deg, #2a4a6b, #0e7a3a); }
.i-pin { background: linear-gradient(135deg, #f2a900, #ffc94a); }
.i-cal { background: linear-gradient(135deg, #0b1f3a, #2f5689); }
.ct-next {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(232, 238, 247, 0.9), rgba(253, 240, 230, 0.8));
  border: 1px solid #dde6f1;
}
.ct-next > strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}
.ct-next ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-next li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}
.ct-next li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
}
.ct-next li b {
  display: block;
  font-size: 14.5px;
}
.ct-next li small {
  font-size: 13.5px;
  color: var(--text-secondary);
}

@media (max-width: 1099px) {
  .ct-hero .hero-copy {
    text-align: center;
  }
  .ct-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .ct-stage {
    min-height: 380px;
  }
  .ct-carousel {
    --w: 210px;
    --r: 160px;
    height: 250px;
  }
  .ct-face > a,
  .ct-face > div {
    padding: 18px;
  }
  .ct-face strong {
    font-size: 1.05rem;
  }
  .ct-routes {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-hero .btn-row .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-carousel {
    width: 100%;
    height: auto;
    perspective: none;
  }
  .ct-ring {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    animation: none;
    transform: none;
  }
  .ct-face {
    position: static;
    height: 200px;
    transform: none !important;
  }
  .ct-route:hover,
  a.ct-info-row:hover {
    transform: none;
  }
}

.ct-mail strong {
  font-size: 1.02rem;
  overflow-wrap: normal;
  word-break: normal;
}
@media (max-width: 639px) {
  .ct-mail strong {
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   Founder — About section, LinkedIn button, footer link, contact card
   ========================================================================== */
.ab-founder {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.ab-founder-photo {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
}
.ab-photo-frame {
  position: relative;
  padding: 10px;
  border-radius: 36px;
  background: conic-gradient(from 210deg, #0b1f3a, #1e4e8c, #0b1f3a, #f2a900, #0b1f3a);
  box-shadow: 0 50px 90px -50px rgba(11, 31, 58, 0.7);
}
.ab-photo-frame::before {
  /* soft glow behind the frame */
  content: '';
  position: absolute;
  inset: 8% -6% -6% 8%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(30, 78, 140, 0.35), transparent);
  filter: blur(30px);
}
.ab-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  border: 4px solid #fff;
}
.ab-photo-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 36px -18px rgba(15, 27, 45, 0.55);
  animation: px-float 6s ease-in-out infinite;
}
.ab-photo-badge.b1 {
  left: -18px;
  bottom: 14%;
}
.ab-photo-badge.b1 .icon {
  color: #f2a900;
}
.ab-photo-badge.b2 {
  top: 10%;
  right: -16px;
  color: #fff;
  background: #1e4e8c;
  animation-delay: -3s;
}
.ab-photo-badge.b2:hover {
  text-decoration: none;
  background: #173d6e;
}
.ab-founder-copy h2 {
  margin: 10px 0 2px;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  letter-spacing: -0.03em;
}
.ab-founder-role {
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--mm-accent-ink);
}
.ab-founder-copy p:not(.lead):not(.ab-founder-role) {
  color: var(--text-secondary);
}
.ab-founder-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}
.ab-founder-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.ab-founder-points .icon {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 10px;
  color: var(--primary);
  background: var(--primary-soft, #e8eef7);
}
.btn-linkedin {
  color: #fff;
  background: #1e4e8c;
  border-color: #1e4e8c;
  box-shadow: 0 14px 28px -14px rgba(30, 78, 140, 0.9);
}
.btn-linkedin:hover {
  color: #fff;
  background: #173d6e;
  border-color: #173d6e;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.footer-social .icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  color: #fff;
  background: #1e4e8c;
}
.footer-social:hover {
  text-decoration: none;
  border-color: #1e4e8c;
  box-shadow: 0 10px 22px -14px rgba(30, 78, 140, 0.8);
}
.ct-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  color: var(--text);
  background: linear-gradient(120deg, #fff, #f1f6ff);
  border: 1px solid #d8e2ee;
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease;
}
.ct-founder:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ct-founder img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1e4e8c;
}
.ct-founder > span {
  display: grid;
  gap: 2px;
}
.ct-founder small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ct-founder b {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.ct-founder em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  color: #1e4e8c;
}
@media (max-width: 899px) {
  .ab-founder {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-founder-copy {
    text-align: center;
  }
  .ab-founder-points {
    justify-items: center;
  }
  .ab-founder-copy .btn-row {
    justify-content: center;
  }
}
@media (max-width: 639px) {
  .ab-founder-photo {
    width: min(84%, 340px);
  }
  .ab-photo-badge.b1 {
    left: -10px;
  }
  .ab-photo-badge.b2 {
    right: -10px;
  }
  .ab-founder-copy .btn-row .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-photo-badge {
    animation: none;
  }
}

.ab-founder-copy .lead + p {
  margin-top: 14px;
}

/* Product demo video (click-to-load YouTube) */
.pv-player {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #0b1424;
  box-shadow: 0 50px 90px -50px rgba(15, 27, 45, 0.7);
}
.pv-player img,
.pv-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.pv-player img {
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.pv-player:hover img {
  transform: scale(1.03);
  opacity: 1;
}
.pv-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
  cursor: pointer;
}
.pv-play span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}
.pv-play span::after {
  content: '';
  margin-left: 6px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}
.pv-play:hover span {
  transform: scale(1.08);
}
.pv-yt {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}
.pv-yt:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.75);
}
@media (max-width: 639px) {
  .pv-player {
    border-radius: 16px;
  }
  .pv-play span {
    width: 64px;
    height: 64px;
  }
}

/* ==========================================================================
   Tools — steel & pipe calculators
   ========================================================================== */
.tl-card { --a1: #1e4e8c; --a2: #3d6fb0; }
.tl-card.t-blue, .tl-icon.t-blue { --a1: #1e4e8c; --a2: #3d6fb0; }
.tl-card.t-violet, .tl-icon.t-violet { --a1: #0b1f3a; --a2: #4b6890; }
.tl-card.t-orange, .tl-icon.t-orange { --a1: #f2a900; --a2: #ffc94a; --a-ink: #8a5a00; }
.tl-card.t-teal, .tl-icon.t-teal { --a1: #2a4a6b; --a2: #5a7894; }
.tl-card.t-green, .tl-icon.t-green { --a1: #2a4a6b; --a2: #5a7894; }
.tl-card.t-sky, .tl-icon.t-sky { --a1: #0891b2; --a2: #38bdf8; --a-ink: #0e6a85; }
.tl-card.t-amber, .tl-icon.t-amber { --a1: #c98a00; --a2: #fbbf24; --a-ink: #8a5a00; }
.tl-card.t-slate, .tl-icon.t-slate { --a1: #0b1f3a; --a2: #475569; }
.tl-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--a1) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tl-icon .icon {
  width: 26px;
  height: 26px;
}
.tl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.tl-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.tl-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}
.tl-hero-points .icon {
  color: var(--primary);
}
.tl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tl-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(110% 70% at 100% 0%, color-mix(in srgb, var(--a1) 10%, transparent), transparent 60%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.tl-card:hover {
  text-decoration: none;
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--a1) 35%, var(--border));
  box-shadow: 0 26px 46px -26px color-mix(in srgb, var(--a1) 60%, transparent), var(--shadow-md);
}
.tl-card .tl-icon {
  margin-bottom: 6px;
}
.tl-card strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.tl-card > span:not(.tl-icon) {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.tl-card em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--a-ink, var(--a1));
}
.tl-app {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(232, 238, 247, 0.9), rgba(253, 240, 230, 0.8));
  border: 1px solid #dde6f1;
}
.tl-app h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}
.tl-app p {
  margin: 0;
  color: var(--text-secondary);
}
.tl-app-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
}

/* tool page */
.tl-tool-hero {
  padding-bottom: 8px;
}
.tl-tool-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.tl-tool-head h1 {
  margin: 0;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem);
}
.tl-tool-head .lead {
  margin: 6px 0 0;
}
.tl-tool-head .tl-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}
.tl-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: start;
}
.tl-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.tl-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tl-fields[hidden] {
  display: none;
}
.tl-fields .span-2 {
  grid-column: 1 / -1;
}
.tl-form .field {
  display: grid;
  gap: 6px;
}
.tl-form .field > span:first-child {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.tl-form .input,
.tl-form .select {
  width: 100%;
  font-size: 16px;
}
.tl-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
}
.tl-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tl-seg label {
  flex: 1;
}
.tl-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tl-seg span {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tl-seg input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, #1e4e8c, #0b1f3a);
  box-shadow: 0 8px 18px -10px rgba(30, 78, 140, 0.8);
}
.tl-seg input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.tl-result {
  position: sticky;
  top: calc(var(--header-h, 88px) + 20px);
  overflow: hidden;
  border-radius: 24px;
  color: #e6ecf7;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(242, 169, 0, 0.28), transparent 70%),
    linear-gradient(160deg, #0f1b2d, #0b1f3a);
  box-shadow: 0 40px 70px -40px rgba(15, 27, 45, 0.8);
}
.tl-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb0cc;
}
.tl-result-actions {
  display: flex;
  gap: 6px;
}
.tl-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.tl-mini:hover {
  background: rgba(255, 255, 255, 0.14);
}
.tl-mini.is-done {
  background: #2a4a6b;
  border-color: #2a4a6b;
}
.tl-result-body {
  padding: 18px;
}
.tl-res-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
}
.tl-bigs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tl-big {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tl-big small {
  display: block;
  font-size: 12px;
  color: #9fb0cc;
}
.tl-big b {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.55rem);
  line-height: 1.2;
  color: #fff;
  overflow-wrap: anywhere;
}
.tl-big:first-child b {
  background: linear-gradient(100deg, #8fb0d9, #ffb37a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tl-rows {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}
.tl-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 14px;
}
.tl-rows dt {
  color: #9fb0cc;
}
.tl-rows dd {
  margin: 0;
  font-weight: 600;
  color: #fff;
  text-align: right;
}
.tl-empty,
.tl-error {
  margin: 0;
  padding: 18px 4px;
  color: #c7d3ea;
}
.tl-error {
  color: #ffb4a8;
}
.tl-result .tl-table-wrap {
  margin-top: 14px;
  border-color: rgba(255, 255, 255, 0.12);
}
.tl-result .tl-table th,
.tl-result .tl-table td {
  color: #e6ecf7;
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}
.tl-result .tl-table thead th {
  color: #9fb0cc;
  background: rgba(255, 255, 255, 0.05);
}
.tl-h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
}
.tl-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  -webkit-overflow-scrolling: touch;
}
.tl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  white-space: nowrap;
}
.tl-table th,
.tl-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tl-table thead th {
  position: sticky;
  top: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface);
}
.tl-table tbody th {
  position: sticky;
  left: 0;
  font-weight: 700;
  background: #fff;
}
.tl-table td b {
  display: block;
  font-weight: 600;
}
.tl-table td small {
  color: var(--text-secondary);
  font-size: 12px;
}
.tl-table tbody tr:hover td,
.tl-table tbody tr:hover th {
  background: #f5f7fa;
}
.tl-info {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: stretch;
}
.tl-formula {
  padding: 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tl-formula p {
  margin: 0 0 10px;
  line-height: 1.7;
}
.tl-promo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(242, 169, 0, 0.098), transparent 60%),
    #fff;
  border: 1px solid #d8e2ee;
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease;
}
.tl-promo:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tl-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.tl-promo strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}
.tl-promo > span:not(.tl-promo-kicker) {
  color: var(--text-secondary);
  font-size: 14.5px;
}
.tl-promo em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}
.tl-grid-sm {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tl-conv {
  display: grid;
  gap: 14px;
}
.tl-conv-group {
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.tl-conv-group legend {
  padding: 0 6px;
  font-weight: 700;
  font-size: 14px;
}
.tl-conv-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.tl-conv-row .span-2 {
  grid-column: 1 / -1;
}
.nav-tools-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b1f3a, #f2a900);
}
@media (max-width: 1023px) {
  .tl-grid,
  .tl-grid-sm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tl-calc,
  .tl-info {
    grid-template-columns: minmax(0, 1fr);
  }
  .tl-result {
    position: static;
  }
}
@media (max-width: 639px) {
  .tl-grid,
  .tl-grid-sm {
    grid-template-columns: minmax(0, 1fr);
  }
  .tl-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .tl-form {
    padding: 18px;
  }
  .tl-tool-head {
    align-items: flex-start;
  }
  .tl-tool-head .tl-icon {
    width: 52px;
    height: 52px;
  }
  .tl-app {
    flex-direction: column;
  }
  .tl-hero-actions .btn {
    width: 100%;
  }
}

[data-install-app][hidden] {
  display: none !important;
}

/* ==========================================================================
   Growth Package (/growth-package, onboarding)
   ========================================================================== */
.gp-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: 600;
}
.gp-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gp-hero-points .icon {
  color: var(--primary);
}

/* Currency switch */
.gp-currency {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto var(--space-5);
  padding: 4px;
  gap: 4px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}
.gp-currency label {
  position: relative;
}
.gp-currency input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gp-currency span {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.gp-currency input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: 0 8px 18px -10px rgba(30, 78, 140, 0.8);
}
.gp-currency input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Tier cards */
.gp-tier {
  display: flex;
  flex-direction: column;
}
.gp-price {
  margin-top: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gp-price b {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.gp-price b.gp-price-ask {
  font-size: 1.375rem;
}
.gp-price span {
  margin-left: 4px;
  color: var(--text-secondary);
  font-size: var(--fs-small);
}
.gp-price small {
  display: block;
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
}
.gp-includes li.is-off {
  color: var(--text-tertiary);
}
.gp-includes li.is-off .icon {
  color: var(--text-tertiary);
}

/* Comparison table */
.gp-compare {
  margin-top: var(--space-8);
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}
.table-scroll:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.gp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.gp-table th,
.gp-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.gp-table tbody tr:last-child th,
.gp-table tbody tr:last-child td {
  border-bottom: 0;
}
.gp-table thead th {
  background: var(--surface);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
}
.gp-table tbody th {
  white-space: nowrap;
  font-weight: 600;
}
.gp-row-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gp-row-label .icon {
  flex: none;
  color: var(--primary);
}
@media (max-width: 719px) {
  /* The cards already list every feature; the table only helps side by side. */
  .gp-compare .table-scroll {
    display: none;
  }
}
.gp-dash {
  color: var(--text-tertiary);
}

/* Proof */
.gp-case-metric {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gp-quote {
  margin: 0;
}
.gp-quote blockquote {
  margin: 0;
  font-size: 1.0625rem;
}
.gp-quote figcaption {
  display: grid;
  margin-top: var(--space-2);
  font-size: var(--fs-small);
}
.gp-quote figcaption span {
  color: var(--text-secondary);
}

/* Booking */
.gp-empty {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: var(--space-3);
  padding: var(--space-4) var(--space-3);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  text-align: center;
}
.gp-empty p {
  margin: 0;
}
.gp-slots {
  margin: var(--space-3) 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.gp-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}
.gp-day {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 76px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.gp-day span,
.gp-day small {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}
.gp-day b {
  font-size: 0.9375rem;
}
.gp-day[aria-selected='true'] {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 1px var(--primary) inset;
}
.gp-day:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.gp-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.gp-time {
  position: relative;
}
.gp-time input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gp-time span {
  display: block;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.gp-time span small {
  display: block;
  font-weight: 500;
  color: var(--text-tertiary);
}
.gp-time span:hover {
  border-color: var(--primary);
}
.gp-time input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.gp-time input:checked + span small {
  color: rgba(255, 255, 255, 0.85);
}
.gp-time input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.gp-slots.is-invalid .gp-times {
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 2px var(--error-soft);
}
.gp-slots .field-error {
  margin-top: 8px;
}
.gp-tier-choice {
  margin: var(--space-3) 0 0;
}

/* Onboarding */
.gp-ob-section {
  margin: 0 0 var(--space-4);
  padding: 0;
  border: 0;
  min-width: 0;
}
.gp-ob-section + .gp-ob-section {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.gp-ob-section legend {
  padding: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}
.gp-ob-section .form-grid {
  margin-top: var(--space-2);
}
.gp-ob-section .choice-group {
  margin-top: var(--space-2);
}
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-3);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.notice-success {
  background: var(--success-soft);
  color: var(--success);
}
.gp-status .form-card h1 {
  margin-top: var(--space-2);
  font-size: var(--fs-h3);
}
.gp-status .success-mark {
  margin-inline: auto;
}
@media (max-width: 599px) {
  .gp-currency span {
    padding: 8px 12px;
  }
  .gp-price b {
    font-size: 1.75rem;
  }
}
.gp-slots.is-invalid .field-error,
.gp-tier-choice.is-invalid .field-error,
.gp-ob-section .choice-group.is-invalid .field-error {
  display: flex;
}
.gp-tier-choice .field-error,
.gp-ob-section .choice-group .field-label {
  flex-basis: 100%;
}
.notice-warning {
  background: var(--warning-soft);
  color: var(--warning);
}
.notice-info {
  background: var(--primary-soft);
  color: var(--primary);
}
.notice-error {
  background: var(--error-soft);
  color: var(--error);
}
.notice form {
  margin-left: auto;
}
.notice {
  flex-wrap: wrap;
}
.notice span {
  flex: 1 1 220px;
}
.acc-plan .chip {
  justify-self: start;
  width: max-content;
}

/* ==========================================================================
   Account (/account)
   ========================================================================== */
.acc-page .container-narrow {
  max-width: 560px;
}
.acc-card h1 {
  font-size: clamp(1.625rem, 1.35rem + 1vw, 2rem);
}
.acc-form {
  display: grid;
  gap: 20px;
  margin-top: var(--space-4);
}
.acc-form .form-alert {
  margin: 0;
}
.acc-links {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-small);
  text-align: center;
  color: var(--text-secondary);
}
.success-mark.is-warn {
  background: var(--warning-soft);
  color: var(--warning);
}
.acc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.acc-head h1 {
  margin: 4px 0;
  font-size: var(--fs-h3);
}
.acc-section {
  margin-top: var(--space-6);
}
.acc-section h2 {
  margin-bottom: var(--space-2);
  font-size: 1.375rem;
}
.acc-apps,
.acc-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-2);
}
.acc-app,
.acc-plan {
  padding: var(--space-3);
}
.acc-app.is-active {
  border-color: rgba(24, 128, 56, 0.35);
}
.acc-app-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.acc-app-head h3 {
  margin: 0;
  font-size: 1.125rem;
}
.acc-app-head p {
  margin: 0;
}
.acc-app-head .chip {
  margin-left: auto;
}
.acc-app-status {
  margin: var(--space-2) 0 8px;
  font-weight: 600;
}
.acc-plan h3 {
  margin: 8px 0 0;
  font-size: 1.0625rem;
}
.acc-plan.is-featured {
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient) border-box;
}
.acc-price {
  margin: 8px 0 4px;
}
.acc-price b {
  font-family: var(--font-heading);
  font-size: 1.75rem;
}
.acc-price span {
  margin-left: 4px;
  color: var(--text-secondary);
  font-size: var(--fs-small);
}
.acc-plan form,
.acc-plan > .btn {
  margin-top: var(--space-2);
}
.acc-list {
  display: grid;
  margin-bottom: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}
.acc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 16px;
}
.acc-row + .acc-row {
  border-top: 1px solid var(--border);
}
.acc-row p {
  margin: 2px 0 0;
}
.acc-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 520px;
}
.acc-inline .input {
  flex: 1 1 240px;
}

/* ==== css/redesign.css ==== */
/* ==========================================================================
   MetalMitra redesign — three-category navigation, homepage and category pages.
   Loaded after main.css. Brand palette from the logo (navy + orange), industrial and calm.
   Contrast (checked): white on --mm-navy 12.9:1 · white on --primary 8.1:1 · white on --mm-accent 5.1:1.
   The bright logo orange (--mm-orange) is decorative only (icons, lines), never small text on white.
   ========================================================================== */
:root {
  --mm-navy: #0b1f3a;
  --mm-navy-900: #08172c;
  --mm-steel-100: #f4f6f8;
  --mm-steel-200: #e3e8ed;
  --mm-steel-300: #c9d2db;
  --mm-steel-500: #7a8794;
  --mm-orange: #f2a900;
  --mm-accent: #f2a900;
  --mm-accent-hover: #db9900;
  --mm-on-dark: #cbd5e1;
  --mm-focus: #f2a900;

  --primary: #1e4e8c;
  --primary-hover: #173d6e;
  --primary-soft: #e8eef7;
  --gradient: linear-gradient(90deg, #1e4e8c 0%, #0b1f3a 55%, #f2a900 100%);
  --gradient-diag: linear-gradient(135deg, #1e4e8c 0%, #0b1f3a 55%, #f2a900 100%);

  --mm-ease: cubic-bezier(0.2, 0, 0, 1);
  --mm-shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --mm-shadow-md: 0 4px 12px rgba(11, 31, 58, 0.08);
  --mm-shadow-lg: 0 12px 32px rgba(11, 31, 58, 0.12);
}

:focus-visible {
  outline: 3px solid var(--mm-focus);
  outline-offset: 2px;
}

.btn-primary {
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.25), 0 8px 20px -12px rgba(11, 31, 58, 0.7);
}
.btn-accent,
.header-cta.btn-primary {
  background: var(--mm-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(242, 169, 0, 0.25), 0 8px 20px -12px rgba(242, 169, 0, 0.8);
}
.btn-accent:hover,
.header-cta.btn-primary:hover {
  background: var(--mm-accent-hover);
  color: #fff;
}

/* --------------------------------------------------------------- Header */
.site-header.mm-header {
  padding-top: 0;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease);
}
.site-header.mm-header.is-scrolled {
  padding-top: 0;
  border-bottom-color: var(--border);
  box-shadow: var(--mm-shadow-sm);
}
.mm-header .header-inner {
  grid-template-columns: auto 1fr auto;
}
.mm-header.is-scrolled .brand {
  background: none;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.mm-nav {
  display: none;
  justify-self: center;
}
.mm-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.mm-nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-xs);
  background: none;
  font: 600 0.96875rem/1 var(--font-body);
  color: var(--text);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.mm-nav-btn:hover,
.mm-nav-item.is-open .mm-nav-btn {
  background: var(--mm-steel-100);
  color: var(--mm-navy);
}
.mm-nav-btn.is-active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--mm-orange);
}
.mm-caret {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--mm-ease);
}
.mm-nav-btn[aria-expanded='true'] .mm-caret,
.mm-acc-btn[aria-expanded='true'] .mm-caret {
  transform: rotate(180deg);
}

/* Full-width panel under the header */
.mm-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 70vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--mm-shadow-lg);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur-fast) var(--mm-ease), transform var(--dur-fast) var(--mm-ease);
}
.mm-panel.is-visible {
  opacity: 1;
  transform: none;
}
.mm-panel-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-4);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}
.mm-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.mm-col ul {
  list-style: none;
  display: grid;
  gap: 2px;
}
.mm-col-title {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-steel-500);
}
.mm-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}
.mm-link:hover {
  background: var(--mm-steel-100);
  color: var(--mm-navy);
  text-decoration: none;
}
.mm-link[aria-current='page'] {
  color: var(--primary);
  font-weight: 600;
}
.mm-link-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
}
.mm-link-icon .icon {
  width: 18px;
  height: 18px;
}
.mm-link-text small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.mm-feature {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--mm-navy);
  color: var(--mm-on-dark);
}
.mm-feature-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.mm-feature p {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.mm-feature .btn {
  justify-self: start;
}
.mm-feature .btn-primary {
  background: var(--mm-accent);
}
.mm-feature .btn-primary:hover {
  background: var(--mm-accent-hover);
}
.mm-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}
.mm-feature .mm-view-all {
  color: #fff;
}
.mm-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: -1;
  background: rgba(11, 31, 58, 0.18);
}

@media (min-width: 1024px) {
  .mm-nav {
    display: block;
  }
  .mm-header .menu-toggle {
    display: none;
  }
}
@media (max-width: 1023px) {
  .mm-header .header-inner {
    grid-template-columns: 1fr auto;
  }
  .mm-header .menu-toggle {
    display: grid;
  }
}
@media (max-width: 1099px) and (min-width: 1024px) {
  .mm-nav-btn {
    padding: 0 12px;
  }
}
@media (max-width: 767px) {
  .mm-header .header-cta {
    display: inline-flex;
    --btn-h: 38px;
    padding: 0 12px;
    font-size: 0.875rem;
  }
  .mm-header .header-cta .icon {
    display: none;
  }
}
@media (max-width: 359px) {
  .mm-header .header-cta {
    display: none;
  }
}

/* ------------------------------------------------------- Mobile drawer */
.mobile-menu.mm-drawer {
  padding: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  flex-direction: row;
  justify-content: flex-end;
  overflow: hidden;
}
.mm-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.45);
}
.mm-drawer-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  padding: 8px 20px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  box-shadow: var(--mm-shadow-lg);
  transform: translateX(24px);
  transition: transform var(--dur) var(--mm-ease);
}
.mobile-menu.mm-drawer.is-open .mm-drawer-sheet {
  transform: none;
}
.mm-drawer .mobile-menu-top {
  flex-direction: row-reverse;
}
.mm-drawer .menu-toggle {
  display: grid;
  background: var(--mm-steel-100);
  border-color: var(--border);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.mm-acc-nav {
  margin-top: var(--space-2);
}
.mm-acc {
  border-bottom: 1px solid var(--border);
}
.mm-acc-h {
  margin: 0;
  font-size: inherit;
}
.mm-acc-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: 700 1.25rem/1.2 var(--font-heading);
  color: var(--text);
  cursor: pointer;
}
.mm-acc.is-active .mm-acc-btn span {
  box-shadow: inset 0 -2px 0 var(--mm-orange);
}
.mm-acc-panel {
  padding: 0 4px var(--space-3);
}
.mm-acc-panel .mm-col-title {
  margin-top: var(--space-2);
}
.mm-acc-panel ul {
  list-style: none;
}
.mobile-menu.mm-drawer nav a.mm-acc-link,
.mobile-menu.mm-drawer nav a.mm-view-all {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
  opacity: 1;
  transform: none;
}
.mobile-menu.mm-drawer nav a.mm-view-all {
  margin-top: 8px;
  font-weight: 600;
  color: var(--primary);
}
.mobile-menu.mm-drawer nav a[aria-current='page'] {
  color: var(--primary);
  font-weight: 600;
}
.mm-drawer .mobile-menu-foot {
  padding-top: var(--space-4);
}

/* -------------------------------------------------------------- Footer */
.mm-footer-grid {
  grid-template-columns: 1fr;
}
.mm-footer-grid .footer-col h2 a {
  color: inherit;
}
@media (min-width: 768px) {
  .mm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .mm-footer-grid {
    grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  }
  .mm-footer-grid .newsletter {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------ Shared bits */
.mm-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
  list-style: none;
}
.mm-crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--mm-steel-300);
}
.mm-crumbs a {
  color: var(--text-secondary);
}
.mm-crumbs [aria-current='page'] {
  color: var(--text);
  font-weight: 500;
}
.mm-section-head {
  max-width: 760px;
  margin-bottom: var(--space-5);
}
.mm-section-head.is-center {
  margin-inline: auto;
  text-align: center;
}
.mm-section-head h2 {
  margin-bottom: 12px;
}
.mm-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
}
.mm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--mm-shadow-sm);
  transition: box-shadow var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease);
}
.mm-card:hover {
  box-shadow: var(--mm-shadow-md);
  border-color: var(--mm-steel-300);
  transform: translateY(-2px);
}
.mm-card h3 {
  font-size: 1.1875rem;
  margin: 0;
}
.mm-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96875rem;
}
/* Whole card clickable through its main link */
.mm-card .mm-stretch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.mm-card .mm-stretch {
  color: inherit;
}
.mm-card .mm-stretch:hover {
  text-decoration: none;
}
.mm-card:focus-within {
  border-color: var(--primary);
}
.mm-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
}
.mm-card-icon .icon {
  width: 26px;
  height: 26px;
}
.mm-card-links {
  list-style: none;
  display: grid;
  gap: 2px;
  margin-top: 4px;
}
.mm-card-links a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.mm-card-more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
}
.mm-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .mm-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .mm-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------- Hero carousel */
.mm-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px));
  padding-bottom: clamp(40px, 5vw, 72px);
  background: linear-gradient(180deg, var(--mm-steel-100) 0%, #fff 100%);
  overflow: hidden;
}
.mm-hero-track {
  display: grid;
}
.mm-slide {
  grid-area: 1 / 1;
  display: grid;
  gap: var(--space-4);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms var(--mm-ease), visibility 0s linear 600ms;
}
.mm-slide.is-current {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms var(--mm-ease), visibility 0s;
}
.mm-slide-copy h1,
.mm-slide-copy h2 {
  font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
}
.mm-slide-copy .lead {
  max-width: 34em;
  color: var(--text-secondary);
}
.mm-slide-copy .btn-row {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mm-navy);
}
.mm-eyebrow::before {
  content: '';
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--mm-orange);
}
.mm-slide-visual {
  position: relative;
  min-height: 260px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  background: var(--mm-navy);
  overflow: hidden;
  box-shadow: var(--mm-shadow-lg);
}
.mm-hero-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-4);
}
.mm-hero-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.mm-hero-btn:hover {
  background: var(--mm-steel-100);
}
.mm-hero-btn .icon {
  width: 18px;
  height: 18px;
}
.mm-hero-btn.is-prev .icon {
  transform: rotate(180deg);
}
.mm-dots {
  display: flex;
  gap: 4px;
  margin: 0 8px;
  list-style: none;
}
.mm-dot {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font: 600 0.875rem/1 var(--font-body);
  color: var(--text-secondary);
  cursor: pointer;
}
.mm-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  border: 2px solid var(--mm-steel-500);
}
.mm-dot[aria-current='true'] {
  color: var(--mm-navy);
}
.mm-dot[aria-current='true']::before {
  border-color: var(--mm-accent);
  background: var(--mm-accent);
}
@media (max-width: 599px) {
  .mm-dot-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .mm-dot {
    padding: 0 6px;
  }
  .mm-dot::before {
    margin-right: 0;
  }
}
@media (min-width: 1024px) {
  .mm-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 480px;
  }
}

/* Hero visuals made from real site parts (no stock photos) */
.mm-vis-materials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 100%;
  padding: clamp(16px, 3vw, 28px);
  align-content: center;
}
.mm-vis-materials li {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
}
.mm-vis-materials .icon {
  width: 30px;
  height: 30px;
  color: var(--mm-orange);
}
.mm-vis-software {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 20px;
  background: linear-gradient(160deg, var(--mm-navy) 0%, var(--mm-navy-900) 100%);
}
.mm-vis-software > * {
  width: 100%;
  max-width: 520px;
}
.mm-vis-growth {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  background: radial-gradient(circle at 70% 30%, rgba(242, 169, 0, 0.25), transparent 55%), var(--mm-navy);
}
.mm-vis-growth img {
  width: min(320px, 70%);
  height: auto;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}
.mm-vis-growth ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.mm-vis-growth li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.8125rem;
}
.mm-vis-growth .icon {
  width: 16px;
  height: 16px;
  color: var(--mm-orange);
}

/* --------------------------------------------- Category tiles and steps */
.mm-cat-grid {
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .mm-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .mm-cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.mm-cat {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  height: 100%;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: box-shadow var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease);
}
.mm-cat:hover {
  text-decoration: none;
  box-shadow: var(--mm-shadow-md);
  border-color: var(--mm-steel-300);
  transform: translateY(-2px);
}
.mm-cat .mm-card-icon {
  width: 44px;
  height: 44px;
}
.mm-cat strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}
.mm-cat small {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.mm-cat-foot {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.mm-steps {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  counter-reset: step;
}
.mm-step {
  position: relative;
  padding: var(--space-3);
  padding-left: calc(var(--space-3) + 52px);
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
}
.mm-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: var(--space-3);
  top: var(--space-3);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mm-navy);
  color: #fff;
  font: 700 1rem/1 var(--font-heading);
}
.mm-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}
.mm-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
@media (min-width: 1024px) {
  .mm-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .mm-step {
    padding-left: var(--space-3);
    padding-top: calc(var(--space-3) + 56px);
  }
  .mm-step::after {
    content: '';
    position: absolute;
    top: calc(var(--space-3) + 20px);
    left: calc(var(--space-3) + 48px);
    right: calc(-1 * var(--space-3));
    height: 2px;
    background: var(--mm-steel-200);
  }
  .mm-step:last-child::after {
    display: none;
  }
}

/* ------------------------------------------------------ Quick RFQ panel */
.mm-rfq {
  display: grid;
  gap: var(--space-4);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-md);
  background: var(--mm-navy);
  color: var(--mm-on-dark);
}
.mm-rfq h2 {
  color: #fff;
}
.mm-rfq-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: var(--space-3);
}
.mm-rfq-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mm-rfq-points .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--mm-orange);
  margin-top: 2px;
}
.mm-rfq-form {
  display: grid;
  gap: 14px;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}
.mm-rfq-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.mm-rfq-form .mm-req {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.mm-rfq-form input,
.mm-rfq-form select,
.mm-rfq-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background: #fff;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--text);
}
.mm-rfq-form textarea {
  min-height: 96px;
  resize: vertical;
}
.mm-rfq-pair {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 8px;
}
.mm-rfq-form small {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}
@media (min-width: 1024px) {
  .mm-rfq {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ---------------------------------------------------- Software & services */
.mm-soft {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 900px) {
  .mm-soft {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mm-soft .mm-card {
  padding: var(--space-4);
}
.mm-soft-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mm-soft-head small {
  display: block;
  color: var(--text-secondary);
}
.mm-check {
  list-style: none;
  display: grid;
  gap: 8px;
}
.mm-check li {
  display: flex;
  gap: 8px;
  font-size: 0.96875rem;
}
.mm-check .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--success);
}
.mm-tool-row {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1024px) {
  .mm-tool-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mm-tool-row a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  height: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
}
.mm-tool-row a:hover {
  text-decoration: none;
  border-color: var(--mm-steel-300);
  box-shadow: var(--mm-shadow-md);
}
.mm-tool-row .icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--mm-navy);
}

.mm-bento {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .mm-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .mm-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .mm-bento .is-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.mm-bento .is-large {
  background: var(--mm-navy);
  border-color: var(--mm-navy);
  color: #fff;
}
.mm-bento .is-large p,
.mm-bento .is-large .mm-card-more {
  color: var(--mm-on-dark);
}
.mm-bento .is-large h3 {
  color: #fff;
  font-size: 1.5rem;
}
.mm-bento .is-large .mm-card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mm-orange);
}

.mm-why {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 900px) {
  .mm-why {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mm-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-4);
  list-style: none;
  justify-content: center;
}
.mm-standards li {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mm-navy);
}

/* -------------------------------------------------------- Final CTA band */
.mm-paths {
  background: var(--mm-navy);
  color: var(--mm-on-dark);
}
.mm-paths h2 {
  color: #fff;
}
.mm-paths-grid {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 900px) {
  .mm-paths-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mm-path {
  display: grid;
  gap: 10px;
  align-content: start;
  height: 100%;
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}
.mm-path strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
}
.mm-path .btn {
  justify-self: start;
  margin-top: 8px;
}
.mm-path .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.mm-path .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------------------------------------------------------- Page heroes */
.mm-page-hero {
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px));
  padding-bottom: clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, var(--mm-steel-100) 0%, #fff 100%);
}
.mm-page-hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
  max-width: 20em;
}
.mm-page-hero .lead {
  max-width: 40em;
  color: var(--text-secondary);
}
.mm-page-hero .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
}
.mm-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mm-chips li {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.9375rem;
}
.mm-banner {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--mm-steel-200);
  background: var(--mm-steel-100);
}
@media (min-width: 900px) {
  .mm-banner {
    grid-template-columns: 1fr auto;
  }
}
.mm-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.mm-banner p {
  margin: 0;
  color: var(--text-secondary);
}
.mm-prose {
  max-width: 68ch;
}
.mm-prose p {
  font-size: var(--fs-body);
  line-height: 1.65;
}

/* ------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mm-slide,
  .mm-slide.is-current,
  .mm-panel,
  .mm-drawer-sheet,
  .mm-card,
  .mm-cat {
    transition: none;
  }
  .mm-card:hover,
  .mm-cat:hover {
    transform: none;
  }
}

.mm-rfq .mm-eyebrow,
.mm-paths .mm-eyebrow {
  color: #fff;
}

/* The CTA is visible from the first frame (no delayed intro animation). */
.nav-intro .mm-header .header-cta {
  animation: none;
}

/* Slides share one grid cell; never let a wide visual (the app mock-up) widen the page. */
.mm-hero-track {
  grid-template-columns: minmax(0, 1fr);
}
.mm-slide,
.mm-slide-copy,
.mm-slide-visual {
  min-width: 0;
}
.mm-vis-software {
  overflow: hidden;
}
@media (max-width: 599px) {
  .mm-vis-materials {
    grid-template-columns: repeat(2, 1fr);
  }
  .mm-vis-materials li:nth-child(n + 7) {
    display: none;
  }
}
@media (max-width: 599px) {
  .mm-slide-visual {
    aspect-ratio: auto;
    min-height: 0;
  }
}
@media (max-width: 1023px) {
  .mm-slide {
    align-content: start;
  }
  .mm-slide-visual {
    height: clamp(260px, 62vw, 340px);
  }
  .mm-vis-materials {
    align-content: center;
  }
}
@media (max-width: 599px) {
  .mm-vis-materials {
    gap: 8px;
    padding: 14px;
  }
  .mm-vis-materials li {
    padding: 8px 4px;
  }
  .mm-vis-materials .icon {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   Modern layer — dark industrial bookends (hero, CTA band, footer), blueprint
   texture, split section heads, numbered cards, cursor spotlight, real screenshots.
   ========================================================================== */
h1,
h2,
h3 {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
h2 {
  letter-spacing: -0.028em;
}

/* Grain (subtle SVG noise) used on dark surfaces */
:root {
  --mm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.is-dark {
  position: relative;
  isolation: isolate;
  color: var(--mm-on-dark);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(242, 169, 0, 0.16), transparent 60%),
    radial-gradient(50% 60% at 5% 100%, rgba(61, 111, 176, 0.28), transparent 60%),
    linear-gradient(180deg, #13294a 0%, var(--mm-navy-900) 100%);
}
.is-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--mm-grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.mm-blueprint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(80% 80% at 70% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.is-dark h1,
.is-dark h2,
.is-dark h3,
.is-dark strong {
  color: #fff;
}
.is-dark .lead,
.is-dark p {
  color: var(--mm-on-dark);
}
.is-dark .mm-eyebrow {
  color: #fff;
}
.is-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.is-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.is-dark .mm-crumbs,
.is-dark .mm-crumbs a {
  color: #a9b8ca;
}
.is-dark .mm-crumbs [aria-current='page'] {
  color: #fff;
}
.is-dark .mm-crumbs li + li::before {
  color: rgba(255, 255, 255, 0.3);
}

/* Hero on dark */
.mm-hero.is-dark {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(48px, 6vw, 88px);
}
.mm-hero.is-dark .mm-slide-copy h1,
.mm-hero.is-dark .mm-slide-copy h2 {
  font-size: clamp(2.25rem, 1.3rem + 3.4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.mm-hero.is-dark .mm-slide-copy .lead {
  color: #c3cfdd;
  font-size: var(--fs-lead);
}
.mm-hero.is-dark .mm-slide-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.mm-hero.is-dark .mm-hero-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.mm-hero.is-dark .mm-hero-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.mm-hero.is-dark .mm-dot {
  color: #a9b8ca;
}
.mm-hero.is-dark .mm-dot[aria-current='true'] {
  color: #fff;
}
.mm-hero.is-dark .mm-dot::before {
  border-color: rgba(255, 255, 255, 0.45);
}
.mm-hero.is-dark .mm-dot[aria-current='true']::before {
  border-color: var(--mm-orange);
  background: var(--mm-orange);
}
.mm-hero .mm-slide.is-current .mm-slide-copy > * {
  animation: mm-rise 600ms var(--mm-ease) both;
}
.mm-hero .mm-slide.is-current .mm-slide-copy > :nth-child(2) { animation-delay: 60ms; }
.mm-hero .mm-slide.is-current .mm-slide-copy > :nth-child(3) { animation-delay: 120ms; }
.mm-hero .mm-slide.is-current .mm-slide-copy > :nth-child(4) { animation-delay: 180ms; }
@keyframes mm-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mm-vis-materials li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease);
}
.mm-vis-materials li:hover {
  background: rgba(242, 169, 0, 0.12);
  border-color: rgba(242, 169, 0, 0.4);
  transform: translateY(-2px);
}

/* Real app screenshot in a window frame */
.mm-vis-software {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0;
  padding: 18px 18px 0;
  background: transparent;
}
.mm-vis-software > * {
  max-width: none;
}
.mm-window {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  background: #0b1d33;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
}
.mm-window span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.mm-window span:first-child {
  background: var(--mm-orange);
}
.mm-window small {
  margin-left: 8px;
  font-size: 0.75rem;
  color: #a9b8ca;
}
.mm-vis-software img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  object-position: top left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
}

/* Split section heads: title left, lead right */
@media (min-width: 900px) {
  .mm-section-head.is-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: var(--space-5);
  }
  .mm-section-head.is-split > .lead,
  .mm-section-head.is-split > p {
    margin: 0;
    justify-self: end;
    max-width: 30em;
  }
  .mm-section-head.is-split h2 {
    margin: 0;
  }
}
.mm-section-head h2 {
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3rem);
  line-height: 1.08;
}

/* Cards: softer surface, spotlight under the cursor */
.mm-card,
.mm-cat {
  --mx: 50%;
  --my: 50%;
  overflow: hidden;
}
.mm-card::before,
.mm-cat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 169, 0, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity var(--dur) var(--mm-ease);
  pointer-events: none;
}
.mm-card:hover::before,
.mm-cat:hover::before {
  opacity: 1;
}
.mm-card:active,
.mm-cat:active {
  transform: translateY(0) scale(0.99);
}
.mm-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font: 800 2.75rem/1 var(--font-heading);
  letter-spacing: -0.04em;
  color: var(--mm-steel-200);
  transition: color var(--dur) var(--mm-ease);
}
.mm-cat-card:hover .mm-num {
  color: rgba(242, 169, 0, 0.45);
}
.mm-cat-card .btn {
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.mm-cat-card .mm-card-icon,
.mm-cat .mm-card-icon {
  transition: background-color var(--dur) var(--mm-ease), color var(--dur) var(--mm-ease);
}
.mm-cat-card:hover .mm-card-icon,
.mm-cat:hover .mm-card-icon {
  background: var(--mm-navy);
  color: var(--mm-orange);
}
.mm-cat {
  min-height: 132px;
}
.mm-cat-go {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--mm-accent-ink);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease);
}
.mm-cat-go .icon {
  width: 18px;
  height: 18px;
}
.mm-cat:hover .mm-cat-go,
.mm-cat:focus-visible .mm-cat-go {
  opacity: 1;
  transform: none;
}

/* Software cards with real screenshots */
.mm-soft .mm-soft-card {
  padding-top: 0;
}
.mm-shot {
  margin: 0 calc(-1 * var(--space-4)) 8px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--mm-steel-100);
  border-bottom: 1px solid var(--border);
}
.mm-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 600ms var(--mm-ease);
}
.mm-soft-card:hover .mm-shot img {
  transform: scale(1.03);
}
.mm-soft-card .mm-card-more {
  margin-top: auto;
}

/* Why: statement + list (not three equal cards) */
.mm-why2 {
  display: grid;
  gap: var(--space-5);
}
.mm-why2-lead h2 {
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3rem);
  line-height: 1.08;
  margin: 10px 0 0;
}
.mm-why2 .mm-standards {
  justify-content: flex-start;
}
.mm-why2-list {
  list-style: none;
  display: grid;
}
.mm-why2-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
}
.mm-why2-list li:last-child {
  border-bottom: 1px solid var(--border);
}
.mm-why2-list h3 {
  font-size: 1.1875rem;
  margin-bottom: 6px;
}
.mm-why2-list p {
  margin: 0;
  color: var(--text-secondary);
}
@media (min-width: 1024px) {
  .mm-why2 {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-10);
    align-items: start;
  }
  .mm-why2-lead {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* Bento large card gets the blueprint texture */
.mm-bento .is-large {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(80% 80% at 100% 0%, rgba(242, 169, 0, 0.22), transparent 60%),
    var(--mm-navy);
}
.mm-bento .is-large .mm-check .icon {
  color: var(--mm-orange);
}

/* Steps: orange markers */
.mm-step::before {
  background: var(--mm-navy);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--mm-steel-200);
}
.mm-step:hover::before {
  background: var(--mm-accent);
}
.mm-step {
  transition: border-color var(--dur) var(--mm-ease), box-shadow var(--dur) var(--mm-ease);
}
.mm-step:hover {
  border-color: var(--mm-steel-300);
  box-shadow: var(--mm-shadow-md);
}

/* Quick RFQ panel on the same dark recipe */
.mm-rfq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(70% 90% at 0% 100%, rgba(242, 169, 0, 0.2), transparent 60%),
    linear-gradient(160deg, #13294a, var(--mm-navy-900));
  box-shadow: 0 30px 80px -40px rgba(11, 31, 58, 0.7);
}
.mm-rfq-form {
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.6);
}
.mm-rfq-form input:focus,
.mm-rfq-form select:focus,
.mm-rfq-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 78, 140, 0.18);
}

/* CTA band */
.mm-paths.is-dark {
  overflow: hidden;
}
.mm-paths .container {
  position: relative;
}
.mm-path {
  transition: background-color var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease);
}
.mm-path:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(242, 169, 0, 0.45);
  transform: translateY(-3px);
}

/* Page heroes on dark */
.mm-page-hero.is-dark {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(44px, 6vw, 80px);
}
.mm-page-hero.is-dark h1 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.mm-page-hero.is-dark .lead {
  color: #c3cfdd;
}

/* Footer: dark navy, matching the hero */
.site-footer {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(242, 169, 0, 0.1), transparent 60%),
    linear-gradient(180deg, #102440, #0b1d33);
  border-top: 0;
  color: #a9b8ca;
}
.site-footer::before {
  background: linear-gradient(90deg, transparent, var(--mm-orange), transparent);
}
.site-footer h2,
.site-footer h2 a,
.site-footer strong {
  color: #fff;
}
.site-footer a {
  color: #c3cfdd;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer p,
.site-footer .tagline,
.site-footer li,
.site-footer span {
  color: #a9b8ca;
}
.site-footer .footer-brand img {
  background: #fff;
  border-radius: 14px;
  padding: 6px;
}
.site-footer .newsletter-form input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.site-footer .newsletter-form input::placeholder {
  color: #8395ab;
}
.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.site-footer .footer-contact .icon,
.site-footer .footer-social .icon {
  color: var(--mm-orange);
}
.site-footer .footer-social {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* Old page heroes: soften the floating glows into the brand palette */
.hero-glow span {
  opacity: 0.55;
}

/* Mobile rhythm */
@media (max-width: 767px) {
  .section {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .mm-num {
    font-size: 2.25rem;
  }
  .mm-shot {
    margin-inline: calc(-1 * var(--space-3));
  }
  .mm-soft .mm-card {
    padding: var(--space-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mm-hero .mm-slide.is-current .mm-slide-copy > * {
    animation: none;
  }
  .mm-shot img,
  .mm-path,
  .mm-vis-materials li {
    transition: none;
  }
}

/* Hero material tiles fill their panel; heading spacing in the quick form */
.mm-vis-materials {
  height: 100%;
  grid-auto-rows: 1fr;
  align-content: stretch;
}
.mm-vis-materials .icon {
  width: 34px;
  height: 34px;
}
.mm-vis-materials li {
  font-size: 0.8125rem;
  font-weight: 600;
}
.mm-rfq h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  line-height: 1.08;
}
@media (max-width: 599px) {
  .mm-vis-materials .icon {
    width: 22px;
    height: 22px;
  }
  .mm-vis-materials li {
    padding: 6px 4px;
    gap: 4px;
  }
}

/* The new header is a solid bar, so the old dark-hero logo capsule is not needed. */
body:has(.px-hero) .mm-header .brand {
  background: none;
  border-color: transparent;
  box-shadow: none;
}

/* ==========================================================================
   Monthly plans (QuoteMitra, MTCMitra, both) — pricing cards and trial steps
   ========================================================================== */
.mm-pricing {
  position: relative;
}
.mm-plans {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  align-items: stretch;
}
@media (min-width: 900px) {
  .mm-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mm-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--mm-shadow-sm);
  transition: box-shadow var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease);
}
.mm-plan:hover {
  box-shadow: var(--mm-shadow-md);
  transform: translateY(-3px);
}
.mm-plan.is-featured {
  color: var(--mm-on-dark);
  border-color: transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(80% 70% at 100% 0%, rgba(242, 169, 0, 0.25), transparent 60%),
    linear-gradient(160deg, #13294a, var(--mm-navy-900));
  box-shadow: 0 30px 70px -36px rgba(11, 31, 58, 0.85);
}
@media (min-width: 900px) {
  .mm-plan.is-featured {
    transform: translateY(-10px);
  }
  .mm-plan.is-featured:hover {
    transform: translateY(-13px);
  }
}
.mm-plan h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}
.mm-plan.is-featured h3,
.mm-plan.is-featured .mm-plan-price b {
  color: #fff;
}
.mm-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mm-plan-marks {
  display: inline-flex;
}
.mm-plan-marks .product-mark + .product-mark {
  margin-left: -10px;
  box-shadow: 0 0 0 3px #fff;
}
.mm-plan.is-featured .mm-plan-marks .product-mark + .product-mark {
  box-shadow: 0 0 0 3px var(--mm-navy);
}
.mm-plan-flag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--mm-orange);
  color: #14202b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mm-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 0;
}
.mm-plan-price b {
  font: 800 clamp(2.5rem, 2rem + 1.6vw, 3.25rem)/1 var(--font-heading);
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.mm-plan-price span {
  font-weight: 600;
  color: var(--text-secondary);
}
.mm-plan.is-featured .mm-plan-price span,
.mm-plan.is-featured .mm-plan-note {
  color: #c3cfdd;
}
.mm-plan-note {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.mm-plan .mm-check {
  margin: 4px 0 var(--space-3);
}
.mm-plan.is-featured .mm-check li {
  color: #e2e8f0;
}
.mm-plan.is-featured .mm-check .icon {
  color: var(--mm-orange);
}
.mm-plan-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
}
.mm-plan-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
}
.mm-plan.is-featured .mm-plan-dl,
.mm-plan.is-featured .mm-plan-dl a {
  color: #c3cfdd;
}
.mm-plan-dl .icon {
  width: 14px;
  height: 14px;
}

.mm-trial-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: var(--space-6);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--mm-steel-100);
  border: 1px solid var(--mm-steel-200);
}
@media (min-width: 900px) {
  .mm-trial-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
  }
}
.mm-trial-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.mm-trial-steps li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mm-navy);
  color: #fff;
  font: 700 0.875rem/1 var(--font-heading);
}
.mm-trial-steps strong {
  display: block;
  margin-bottom: 2px;
}
.mm-trial-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.mm-pricing-foot {
  margin: var(--space-3) 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 80ch;
}
/* Outside India: one-time lifetime licence, bought by email (no trial, no online checkout) */
.mm-intl {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--mm-navy);
  scroll-margin-top: 96px;
}
.mm-intl-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.mm-intl-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
}
.mm-intl-icon .icon {
  width: 20px;
  height: 20px;
}
.mm-intl h3 {
  margin: 0 0 4px;
  font-size: 1.125rem;
}
.mm-intl-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 70ch;
}
.mm-intl-steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: var(--space-3) 0 0;
  padding: 0;
}
@media (min-width: 900px) {
  .mm-intl-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
  }
}
.mm-intl-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}
.mm-intl-steps li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mm-steel-100);
  border: 1px solid var(--mm-steel-200);
  color: var(--mm-navy);
  font: 700 0.8125rem/1 var(--font-heading);
}
.mm-intl-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.mm-intl-steps strong {
  color: var(--text);
}
.mm-region-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-3);
  font-size: 1.125rem;
}
.mm-region-flag {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
  font: 700 0.9375rem/1 var(--font-heading);
}
.mm-intl-plans {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: var(--space-3) 0 0;
  padding: 0;
}
@media (min-width: 760px) {
  .mm-intl-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
  }
}
.mm-intl-plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--mm-steel-50, #f7f9fc);
}
.mm-intl-plan.is-featured {
  border-color: var(--mm-navy);
  box-shadow: 0 0 0 1px var(--mm-navy) inset;
  background: #fff;
}
.mm-intl-plan h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 1rem;
}
.mm-intl-plan .mm-plan-price {
  margin: 0;
}
.mm-intl-plan .mm-plan-note {
  margin: 0 0 6px;
  flex: 1;
}
.mm-intl-plan .btn {
  margin-top: auto;
}
.acc-plans-intl {
  margin: var(--space-3) 0;
}
.mm-intl-note {
  margin: var(--space-3) 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.mm-intl-note a {
  overflow-wrap: anywhere;
}
.mm-soft-price {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.mm-soft-price b {
  color: var(--text);
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .mm-plan,
  .mm-plan:hover,
  .mm-plan.is-featured,
  .mm-plan.is-featured:hover {
    transition: none;
    transform: none;
  }
}

/* Product page heroes on dark navy */
.is-dark .gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #fde3a0 45%, #f2a900 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.product-page-hero.is-dark {
  padding-bottom: clamp(56px, 7vw, 104px);
}
.product-page-hero.is-dark::before {
  display: none;
}
.product-page-hero.is-dark .lead {
  color: #c3cfdd;
}
.product-page-hero.is-dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.product-page-hero.is-dark .hero-facts li {
  color: #c3cfdd;
}
.product-page-hero.is-dark .hero-facts .icon {
  color: var(--mm-orange);
}
.product-page-hero.is-dark .price-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.product-page-hero.is-dark .price-badge b {
  color: #fff;
}
.product-page-hero.is-dark .price-badge span {
  color: #c3cfdd;
}
.product-page-hero.is-dark .product-shot {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75);
}

/* Accessibility fixes from the audit: readable secondary text, underlined links inside text */
:root {
  --text-tertiary: #646b73;
}
.mm-trial-steps a,
.mm-pricing-foot a,
.mm-plan-dl a,
.mm-prose a,
.legal a,
.faq-panel a,
.form-intro a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-meta,
.post-meta span,
.post-card .post-meta time {
  color: #5b636b;
}
p.small a,
p.muted a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.acc-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Account download page */
.acc-download .success-mark .icon {
  width: 28px;
  height: 28px;
}
.acc-steps {
  margin-top: var(--space-4);
}
@media (min-width: 900px) {
  .acc-steps {
    grid-template-columns: 1fr;
  }
}
.acc-steps p,
.acc-download .form-intro {
  overflow-wrap: anywhere;
}

/* Licence key box (download page and account page) */
.acc-key {
  margin: var(--space-3) 0;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--mm-steel-300);
  background: var(--mm-steel-100);
}
.acc-key-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-weight: 700;
}
.acc-key-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}
.acc-key-value code {
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mm-navy);
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Marketplace catalogue: search, product grid, product page
   ========================================================================== */
.mm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin-top: var(--space-4);
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
}
.mm-search > .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--mm-steel-500);
}
.mm-search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: none;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--text);
  outline: none;
}
.mm-product-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.mm-product {
  padding: 0 0 var(--space-3);
  gap: 8px;
}
.mm-product h3,
.mm-product p,
.mm-product .mm-card-more {
  padding-inline: var(--space-3);
}
.mm-product h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
}
.mm-product p {
  font-size: 0.875rem;
}
.mm-product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mm-steel-100);
  border-bottom: 1px solid var(--border);
}
.mm-product-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--mm-ease);
}
.mm-product:hover .mm-product-img img {
  transform: scale(1.04);
}
.mm-product-noimg {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--mm-steel-300);
}
.mm-product-noimg .icon {
  width: 56px;
  height: 56px;
}
.mm-chips-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 500;
}
.mm-chips-links li {
  padding: 0;
  border: 0;
  background: none;
}
.mm-chips-links a:hover {
  text-decoration: none;
  border-color: var(--primary);
  color: var(--primary);
}
.mm-chips-links small {
  color: var(--text-secondary);
}
.mm-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: var(--space-4);
}

/* Product page */
.mp-hero h1 {
  max-width: 24em;
}
.mp-body {
  padding-top: clamp(32px, 4vw, 56px);
}
.mp-layout {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 1024px) {
  .mp-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
  .mp-side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.mp-intro {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
@media (min-width: 800px) {
  .mp-intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}
.mp-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--mm-steel-100);
  box-shadow: var(--mm-shadow-md);
}
.mp-image img {
  display: block;
  width: 100%;
  height: auto;
}
.mp-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text);
}
.mp-summary .mm-chips {
  margin: var(--space-2) 0;
}
.mp-summary .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--space-3) 0 8px;
}
.mp-specs {
  margin-bottom: var(--space-5);
}
.mp-specs h2,
.mp-cta h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin-bottom: var(--space-2);
}
.mp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.mp-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96875rem;
}
.mp-spec-table th,
.mp-spec-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.mp-spec-table tr:last-child th,
.mp-spec-table tr:last-child td {
  border-bottom: 0;
}
.mp-spec-table th {
  width: 34%;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
  font-weight: 600;
}
.mp-toc {
  margin-bottom: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--mm-steel-100);
}
.mp-toc ol {
  margin: 8px 0 0;
  padding-left: 1.2em;
  columns: 2 220px;
}
.mp-content table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
}
.mp-content th,
.mp-content td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.mp-content th {
  background: var(--mm-navy);
  color: #fff;
}
.mp-content tr:nth-child(even) td {
  background: var(--mm-steel-100);
}
.mp-content img {
  border-radius: var(--radius-sm);
}
.mp-cta {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--mm-steel-100);
  border: 1px solid var(--mm-steel-200);
}
@media (min-width: 800px) {
  .mp-cta {
    grid-template-columns: 1fr auto;
  }
}
.mp-cta p {
  margin: 0;
  color: var(--text-secondary);
}
.mp-side {
  display: grid;
  gap: var(--space-3);
}
.mp-side-card {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}
.mp-side-card > strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
}
.mp-quote {
  background: var(--mm-navy);
  border-color: var(--mm-navy);
  color: var(--mm-on-dark);
}
.mp-quote > strong {
  color: #fff;
}
.mp-quote p {
  font-size: 0.9375rem;
}
.mp-side-list {
  list-style: none;
  display: grid;
  gap: 2px;
  max-height: 420px;
  overflow-y: auto;
}
.mp-side-list a {
  display: block;
  padding: 7px 8px;
  margin-inline: -8px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9375rem;
}
.mp-side-list a:hover {
  background: var(--mm-steel-100);
  text-decoration: none;
}
.mp-side-list a[aria-current='page'] {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-soft);
}

/* ==== css/site.css ==== */
/* ==========================================================================
   MetalMitra — homepage, sourcing board, website development and clients.
   Loaded after redesign.css. Uses the same tokens (navy + orange).
   ========================================================================== */

/* ------------------------------------------------------------- Homepage */
.hp-hero {
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 84px));
  padding-bottom: clamp(36px, 5vw, 64px);
  overflow: hidden;
}
.hp-hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 1024px) {
  .hp-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  }
}
.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #dbe4ee;
  font-size: 0.875rem;
  font-weight: 500;
}
.hp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mm-orange);
  box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.22);
}
.hp-hero h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.25rem, 1.2rem + 3.9vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hp-lead {
  max-width: 38em;
  margin: 20px 0 0;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: #c3cfdd;
}
.hp-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hp-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.hp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.hp-assure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  color: #b9c6d6;
  font-size: 0.9375rem;
}
.hp-assure li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-assure .icon {
  color: var(--mm-orange);
}

/* Board panel in the hero */
.hp-board {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hp-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 600;
}
.hp-board-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hp-board-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c3cfdd;
  font-size: 0.875rem;
  font-weight: 500;
}
.hp-board-head a:hover {
  color: #fff;
}
.hp-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}
.hp-board-list,
.hp-board-steps {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.hp-board-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--dur) var(--mm-ease), box-shadow var(--dur) var(--mm-ease);
}
.hp-board-list a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}
.hp-board-list .sb-type {
  grid-row: span 2;
}
.hp-board-list strong {
  color: var(--text);
  font-size: 0.96875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-board-list small {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}
.hp-board-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}
.hp-board-steps li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mm-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}
.hp-board-steps strong {
  display: block;
  color: #fff;
  font-size: 0.96875rem;
}
.hp-board-steps small {
  color: #b9c6d6;
}
.hp-board-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 44px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.hp-board-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Real numbers */
.hp-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.hp-stats li {
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  background: rgba(11, 31, 58, 0.72);
}
.hp-stats strong {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.02em;
  color: #fff;
}
.hp-stats span {
  color: #b9c6d6;
  font-size: 0.875rem;
}

/* Section header row */
.hp-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  margin-bottom: var(--space-4, 32px);
}
.hp-head-row .mm-section-head {
  margin-bottom: 0;
}

/* Three paths */
.hp-path-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .hp-path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.hp-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--mm-shadow-sm);
  transition: box-shadow var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease);
}
.hp-path::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--dur) var(--mm-ease);
}
.hp-path:hover {
  transform: translateY(-3px);
  border-color: var(--mm-steel-300);
  box-shadow: var(--mm-shadow-lg);
}
.hp-path:hover::before {
  opacity: 1;
}
.hp-path h3 {
  margin: 4px 0 0;
  font-size: 1.375rem;
}
.hp-path p {
  margin: 0;
  color: var(--text-secondary);
}
.hp-path-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mm-navy);
  color: #fff;
}
.hp-path-icon .icon {
  width: 26px;
  height: 26px;
}
.hp-path-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  color: var(--mm-accent-ink);
}
.hp-path-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* Categories */
.hp-cats {
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  margin: 0;
  padding: 0;
}
.hp-cat {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--dur) var(--mm-ease), box-shadow var(--dur) var(--mm-ease);
}
.hp-cat:hover {
  border-color: var(--mm-steel-300);
  box-shadow: var(--mm-shadow-md);
  color: var(--text);
}
.hp-cat-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
}
.hp-cat-icon .icon {
  width: 28px;
  height: 28px;
}
.hp-cat-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hp-cat-text small {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}
.hp-cat-go {
  width: 18px;
  height: 18px;
  color: var(--mm-steel-500);
  transition: transform var(--dur) var(--mm-ease), color var(--dur) var(--mm-ease);
}
.hp-cat:hover .hp-cat-go {
  color: var(--mm-accent-ink);
  transform: translate(2px, -2px);
}

/* Software */
.hp-price-pill {
  margin: 0;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--mm-navy);
  font-size: 0.9375rem;
}
.hp-soft {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .hp-soft {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hp-soft-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--mm-shadow-sm);
  transition: box-shadow var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease);
}
.hp-soft-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--mm-shadow-lg);
}
.hp-soft-shot {
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--mm-steel-100);
}
.hp-soft-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.hp-soft-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 24px;
}
.hp-soft-body p {
  margin: 0;
  color: var(--text-secondary);
}
.hp-soft-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hp-soft-head h3 {
  margin: 0;
  font-size: 1.375rem;
}
.hp-soft-head small {
  color: var(--text-secondary);
}
.hp-soft-card .mm-stretch::after {
  content: '';
  position: absolute;
  inset: 0;
}
.hp-soft-card .mm-stretch {
  color: inherit;
  text-decoration: none;
}
.hp-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--mm-steel-100);
}
.hp-tools-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--mm-navy);
}
.hp-tools ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.hp-tools a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.hp-tools a:hover {
  border-color: var(--mm-steel-300);
  color: var(--mm-navy);
}
.hp-tools a.is-all {
  border-color: transparent;
  background: none;
  color: var(--mm-accent-ink);
  font-weight: 600;
}

/* Business Growth band with clients */
.hp-grow-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 1024px) {
  .hp-grow-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.hp-grow h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}
.hp-grow .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hp-clients-title {
  margin: 0 0 12px;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.hp-client-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.hp-client {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: background var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease);
}
.hp-client:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.hp-client .client-logo {
  width: 96px;
  height: 64px;
}
.hp-client-text {
  display: grid;
  gap: 2px;
}
.hp-client-text small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b9c6d6;
}

/* Logo tiles (greyscale until hover on pointer devices) */
.client-logo {
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.client-logo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: filter var(--dur) var(--mm-ease), opacity var(--dur) var(--mm-ease);
}
.client-logo.tone-grey {
  background: #f1f4f8;
}
.client-logo.tone-navy {
  background: #08172c;
}
.client-logo.tone-black {
  background: #000;
}
@media (hover: hover) and (pointer: fine) {
  .client-logo img {
    filter: grayscale(1);
    opacity: 0.85;
  }
  a:hover .client-logo img,
  .cl-card:hover .client-logo img {
    filter: none;
    opacity: 1;
  }
}

/* Testimonials */
.hp-quotes {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.hp-quote {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.hp-quote blockquote {
  margin: 0 0 16px;
}
.hp-quote blockquote p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.hp-quote figcaption {
  display: grid;
  gap: 2px;
}
.hp-quote figcaption span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Final CTA */
.hp-final-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 22px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(242, 169, 0, 0.18), transparent 60%),
    linear-gradient(135deg, #f4f6f8, #e8eef7);
  border: 1px solid var(--border);
}
@media (min-width: 900px) {
  .hp-final-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.hp-final-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
}
.hp-final-card p {
  margin: 0;
  color: var(--text-secondary);
}
.hp-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------- Sourcing board */
.sb-hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}
@media (min-width: 1024px) {
  .sb-hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  }
}
.sb-hero-stats {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.sb-hero-stats li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.sb-hero-stats strong {
  min-width: 2ch;
  font-size: 1.5rem;
  color: #fff;
}
.sb-hero-stats strong .icon {
  width: 22px;
  height: 22px;
  color: var(--mm-orange);
}
.sb-hero-stats span {
  color: #c3cfdd;
}
.sb-filters {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .sb-filters {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
}
.sb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--mm-steel-100);
  width: max-content;
  max-width: 100%;
}
.sb-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.sb-tabs a small {
  color: inherit;
  opacity: 0.75;
}
.sb-tabs a[aria-current='page'] {
  background: #fff;
  color: var(--mm-navy);
  box-shadow: var(--mm-shadow-sm);
}
.sb-search {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .sb-search {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
  }
}
.sb-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.sb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--mm-shadow-sm);
  transition: box-shadow var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease), border-color var(--dur) var(--mm-ease);
}
.sb-card:hover {
  transform: translateY(-2px);
  border-color: var(--mm-steel-300);
  box-shadow: var(--mm-shadow-md);
}
.sb-card.is-featured {
  border-color: rgba(242, 169, 0, 0.4);
}
.sb-card h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
}
.sb-stretch {
  color: var(--text);
  text-decoration: none;
}
.sb-stretch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.sb-stretch:hover {
  color: var(--mm-navy);
}
.sb-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sb-type {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sb-type.is-buy {
  background: #e6f0fb;
  color: #164a85;
}
.sb-type.is-sell {
  background: #fdeee3;
  color: #8a3d08;
}
.sb-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mm-accent-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}
.sb-ref {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.sb-summary {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.sb-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.sb-facts li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--mm-steel-100);
  color: #3c4652;
  font-size: 0.8125rem;
}
.sb-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.sb-card-foot small {
  color: var(--text-secondary);
}
.sb-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mm-accent-ink);
  font-weight: 600;
  font-size: 0.9375rem;
}
.sb-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(32px, 5vw, 56px) 20px;
  border: 1px dashed var(--mm-steel-300);
  border-radius: 18px;
  text-align: center;
  background: var(--mm-steel-100);
}
.sb-empty h3 {
  margin: 6px 0 0;
}
.sb-empty p {
  margin: 0;
  max-width: 34em;
  color: var(--text-secondary);
}
.sb-empty .btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.sb-how {
  list-style: none;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin: 0;
  padding: 0;
}
.sb-how li {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.sb-how h3 {
  margin: 4px 0 0;
  font-size: 1.0625rem;
}
.sb-how p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.sb-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.sb-note .icon {
  flex: none;
  margin-top: 3px;
}

/* ---------------------------------------------------------- Post a listing */
.sp-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 1024px) {
  .sp-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .sp-aside {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}
.sp-section {
  padding-top: 0;
}
.sp-card {
  padding: clamp(20px, 3vw, 32px);
}
.sp-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: none;
}
.sp-progress li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 3px solid var(--mm-steel-200);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: default;
}
.sp-progress li span {
  display: none;
}
.sp-progress li.is-done {
  border-top-color: var(--mm-navy);
  color: var(--mm-navy);
  cursor: pointer;
}
.sp-progress li[aria-current='step'] {
  border-top-color: var(--mm-accent);
  color: var(--text);
  font-weight: 600;
}
.sp-step {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.sp-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.sp-legend > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mm-navy);
  color: #fff;
  font-size: 0.875rem;
}
.sp-legend:focus {
  outline: none;
}
.sp-types {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .sp-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.sp-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sp-type-box {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 18px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--dur) var(--mm-ease), box-shadow var(--dur) var(--mm-ease), background var(--dur) var(--mm-ease);
}
.sp-type-box small {
  color: var(--text-secondary);
}
.sp-type-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
}
.sp-type input:checked + .sp-type-box {
  border-color: var(--mm-accent);
  background: #fffaf6;
  box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.1);
}
.sp-type input:checked + .sp-type-box .sp-type-icon {
  background: var(--mm-accent);
  color: #fff;
}
.sp-type input:focus-visible + .sp-type-box {
  outline: 3px solid var(--mm-focus);
  outline-offset: 2px;
}
.sp-private-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.sp-review {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sp-review div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 14px;
}
.sp-review div + div {
  border-top: 1px solid var(--border);
}
.sp-review dt {
  color: var(--text-secondary);
}
.sp-review dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.sp-board-consent {
  padding: 14px;
  border-radius: 12px;
  background: var(--mm-steel-100);
}
.sp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.sp-actions [data-wizard-next],
.sp-actions [data-submit] {
  margin-left: auto;
}
.sp-aside {
  display: grid;
  gap: 16px;
}
.sp-aside-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.sp-aside-card.is-quiet {
  background: var(--mm-steel-100);
}
.sp-aside-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.sp-aside-card p {
  margin: 0 0 8px;
  color: var(--text-secondary);
}
.sp-how {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.sp-how li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}
.sp-how li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mm-steel-100);
  color: var(--mm-navy);
  font-weight: 700;
  font-size: 0.8125rem;
}
.sp-how strong {
  display: block;
}
.sp-how small {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------- Listing */
.sl-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.sl-badges .sb-ref {
  margin-left: 0;
}
.sl-closed {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: #fde8e8;
  color: #8a1c1c;
  font-size: 0.8125rem;
  font-weight: 600;
}
.sl-hero h1 {
  max-width: 28em;
}
.sl-section {
  padding-top: 0;
}
.sl-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 1024px) {
  .sl-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .sl-aside {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}
.sl-aside {
  display: grid;
  gap: 16px;
}
.sl-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  margin: 0 0 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--border);
}
.sl-facts div {
  padding: 14px 16px;
  background: #fff;
}
.sl-facts dt {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}
.sl-facts dd {
  margin: 2px 0 0;
  font-weight: 600;
}
.sl-summary p {
  white-space: pre-line;
  color: #333a42;
}
.sl-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.sl-notice p {
  margin: 0;
}
.sl-form-card {
  padding: 22px;
}
.sl-form-card form {
  display: grid;
  gap: 14px;
}
.sl-form-card h2 {
  margin: 0;
}
.field-pair {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --------------------------------------------------------- Tracking page */
.st-wrap {
  max-width: 760px;
}
.st-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--mm-steel-100);
}
.st-status.is-good {
  background: #e7f6ee;
  color: #12633b;
}
.st-status.is-warn {
  background: #fff4e5;
  color: #8a4b08;
}
.st-status.is-bad {
  background: #fde8e8;
  color: #8a1c1c;
}
.st-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
}
.st-steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 3px solid var(--mm-steel-200);
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.st-steps li.is-done {
  border-top-color: #12633b;
  color: var(--text);
  font-weight: 600;
}
.st-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.st-note {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--mm-accent);
  background: #fffaf6;
  border-radius: 0 10px 10px 0;
}
.st-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.st-meta dt {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}
.st-meta dd {
  margin: 0;
  font-weight: 600;
}
.st-close {
  margin-top: 24px;
}
.st-close .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.st-flash {
  margin-bottom: 16px;
}

/* ------------------------------------------------- Website development */
.cl-grid {
  list-style: none;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  margin: 0;
  padding: 0;
}
.cl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--mm-shadow-sm);
  transition: box-shadow var(--dur) var(--mm-ease), transform var(--dur) var(--mm-ease);
}
.cl-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mm-shadow-md);
}
.cl-card .client-logo {
  height: 96px;
  border: 1px solid var(--border);
}
.cl-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.cl-body h3 {
  margin: 0;
  font-size: 1.125rem;
}
.cl-industry {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.cl-work {
  margin: 4px 0 0;
  font-size: 0.9375rem;
}
.cl-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
}
.cl-tags li {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
}
.cl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  color: var(--mm-accent-ink);
}
.wd-steps {
  list-style: none;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin: 0;
  padding: 0;
}
.wd-steps li {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.wd-steps li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--mm-navy);
  color: #fff;
  font-weight: 700;
}
.wd-steps h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
}
.wd-steps p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.wd-metric {
  font-size: 1.75rem;
  color: var(--mm-accent-ink);
}

/* Phones */
@media (max-width: 639px) {
  .hp-hero h1 {
    max-width: none;
  }
  .hp-ctas .btn,
  .hp-final-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .sp-progress li {
    font-size: 0;
  }
  .sp-progress li[aria-current='step'] {
    font-size: 0.8125rem;
  }
  .sp-review div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .field-pair {
    grid-template-columns: 1fr;
  }
  .st-steps li {
    font-size: 0.75rem;
  }
  .sb-tabs {
    width: 100%;
  }
  .sb-tabs a {
    flex: 1;
    justify-content: center;
    padding-inline: 8px;
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-path,
  .hp-soft-card,
  .sb-card,
  .cl-card,
  .hp-board-list a {
    transition: none;
  }
  .hp-path:hover,
  .hp-soft-card:hover,
  .sb-card:hover,
  .cl-card:hover {
    transform: none;
  }
}
@media (max-width: 639px) {
  .hp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hp-stats li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Blog author page */
.au-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 900px) {
  .au-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
.author-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--mm-steel-300);
  text-underline-offset: 3px;
}
.footer-socials {
  margin: 10px 0 0;
  font-size: 0.875rem;
}
.footer-socials a {
  color: inherit;
}

/* Category chips on /sourcing/post (one or more) */
.sp-cats {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.sp-cats legend {
  margin-bottom: 8px;
  font-weight: 600;
}
.sp-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sp-chip > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur) var(--mm-ease), background var(--dur) var(--mm-ease), color var(--dur) var(--mm-ease);
}
.sp-chip > span .icon {
  color: var(--mm-navy);
}
.sp-chip:hover > span {
  border-color: var(--mm-steel-300);
}
.sp-chip-tick {
  display: none;
}
.sp-chip input:checked + span {
  border-color: var(--mm-accent);
  background: #fff5ee;
  color: #7a3507;
}
.sp-chip input:checked + span .icon {
  color: var(--mm-accent-ink);
}
.sp-chip input:checked + span .sp-chip-tick {
  display: inline-block;
}
.sp-chip input:focus-visible + span {
  outline: 3px solid var(--mm-focus);
  outline-offset: 2px;
}
.sb-more {
  margin-left: 2px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mm-navy);
}

/* Share bar */
.mm-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--mm-steel-100);
}
.mm-share-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--mm-navy);
}
.mm-share-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.mm-share-list li:has(> [hidden]) {
  display: none;
}
.mm-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.mm-share-btn:hover {
  border-color: var(--mm-steel-300);
  color: var(--mm-navy);
}
.mm-share-btn.is-wa .icon { color: #128c4b; }
.mm-share-btn.is-li .icon { color: #0a66c2; }
.mm-share-btn.is-fb .icon { color: #1877f2; }
.mm-share-btn.is-native {
  border-color: var(--mm-accent);
  color: var(--mm-accent-ink);
}
.sl-share,
.st-share {
  margin-top: 20px;
}

/* Offers */
.st-offers {
  margin-top: 24px;
}
.st-offer-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
}
.st-offer-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.st-offer-list li > div {
  display: grid;
  gap: 2px;
}
.st-offer-list small {
  color: var(--text-secondary);
}
.badge-soft {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--mm-steel-100);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.badge-soft.is-good {
  background: #e7f6ee;
  color: #12633b;
}
.of-facts {
  margin-bottom: 18px;
}
.of-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 639px) {
  .st-offer-list li {
    grid-template-columns: 1fr;
  }
  .of-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Header login link */
.header-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.header-login:hover {
  background: var(--mm-steel-100);
  color: var(--mm-navy);
}
@media (max-width: 767px) {
  .header-login span {
    display: none;
  }
  .header-login {
    padding: 0 8px;
  }
}
@media (max-width: 359px) {
  .header-login {
    display: none;
  }
}
.sp-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.9375rem;
}

/* ------------------------------------------------- Related tools & guides */
.post-tools {
  margin-top: var(--space-5);
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.post-tools h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.post-tools ul,
.tl-guides {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .tl-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.post-tools a {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}
.post-tools a:hover strong {
  color: var(--primary);
}
.post-tools strong,
.post-tools small {
  display: block;
}
.post-tools small {
  color: var(--text-secondary);
  font-size: var(--fs-small);
}
.post-tools-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.tl-guides a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.tl-guides a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.footer-topics {
  margin-top: var(--space-3);
}
.nf-links {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
  text-align: left;
}
@media (min-width: 768px) {
  .nf-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.nf-links h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.nf-links ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ----------------------------------- Websites we built: screenshot cards */
.cl-card.has-shot {
  padding-top: 0;
  overflow: hidden;
}
.cl-shot {
  display: block;
  margin: 0 -20px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.cl-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 600ms var(--mm-ease);
}
.cl-card.has-shot:hover .cl-shot img {
  transform: scale(1.04);
}
.cl-card.has-shot .client-logo {
  height: 64px;
  max-width: 160px;
}
.cl-result {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--success);
  font-weight: 600;
  font-size: 0.9375rem;
}
.cl-result .icon {
  flex: none;
  margin-top: 3px;
}
.hp-client.has-shot {
  grid-template-columns: 136px 72px minmax(0, 1fr);
}
.hp-client.has-shot .client-logo {
  width: 72px;
  height: 48px;
}
.hp-client-shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}
.hp-client-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 600ms var(--mm-ease);
}
.hp-client.has-shot:hover .hp-client-shot img {
  transform: scale(1.06);
}
.hp-client-result {
  color: #9be3b0;
  font-size: 0.8125rem;
}
@media (max-width: 560px) {
  .hp-client.has-shot {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .hp-client.has-shot .hp-client-shot {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl-shot img,
  .hp-client-shot img {
    transition: none;
  }
}

/* ----------------------------------------- About: people + company details */
.ab-people {
  list-style: none;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  margin: 0;
  padding: 0;
}
.ab-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.ab-person-photo {
  display: grid;
  place-items: center;
  width: 160px;
  aspect-ratio: 1;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
}
.ab-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-person-role {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.ab-company {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.ab-company h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.25rem;
}
.ab-company dl {
  display: grid;
  gap: 16px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin: 0;
}
.ab-company dt {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ab-company dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

/* ------------------------------------------- Sourcing board: empty state */
.sb-empty-steps {
  list-style: none;
  display: grid;
  gap: 8px;
  max-width: 36em;
  margin: 4px 0 0;
  padding: 0;
  color: var(--text-secondary);
  text-align: left;
}
.sb-empty-steps strong {
  color: var(--primary);
}

/* ==== assets/css/mm-design.css ==== */
/* ==========================================================================
   MetalMitra design system + effects (Phase 1, 2026-11 upgrade)
   Loaded after main.css / redesign.css / site.css. Restyles the existing HTML
   through its existing classes; effects are driven by /assets/js/mm-effects.js.
   ========================================================================== */

/* Montserrat (headings) — self-hosted, @fontsource-variable/montserrat 5.2.6, OFL */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/montserrat-latin-var.woff2') format('woff2-variations');
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- Tokens */
:root {
  --mm-navy: #0b1f3a;
  --mm-navy-900: #08172c;
  --mm-blue: #1e4e8c;
  --mm-amber: #f2a900;
  --mm-amber-hover: #db9900;

  --brand-navy: var(--mm-navy);
  --violet: var(--mm-navy);
  --primary: var(--mm-blue);
  --primary-hover: #173d6e;
  --primary-soft: #e6edf6;
  --mm-orange: var(--mm-amber);
  --brand-orange: var(--mm-amber);
  --mm-accent: var(--mm-amber);
  --mm-accent-hover: var(--mm-amber-hover);
  --mm-accent-ink: var(--mm-blue); /* accent used as text on light backgrounds */
  --mm-focus: var(--mm-blue);

  --text: #1a1a1a;
  --text-secondary: #5b6573;
  --border: #e3e7ed;
  --border-strong: #cfd6df;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --mm-steel-100: #f5f7fa;
  --mm-steel-200: #e3e7ed;

  --gradient: linear-gradient(90deg, #1e4e8c 0%, #0b1f3a 55%, #f2a900 100%);
  --gradient-diag: linear-gradient(135deg, #1e4e8c 0%, #0b1f3a 55%, #f2a900 100%);

  --font-heading: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --container-wide: 1240px;
  --section-pad: 64px;

  --mm-radius-btn: 6px;
  --mm-radius-card: 10px;
  --mm-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --mm-card-shadow: 0 1px 2px rgba(11, 31, 58, 0.05);
  --mm-card-shadow-hover: 0 4px 10px rgba(11, 31, 58, 0.06), 0 18px 40px -18px rgba(11, 31, 58, 0.28);
}
@media (min-width: 1024px) {
  :root {
    --section-pad: 110px;
  }
}

/* ------------------------------------------------------------ Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}
h1 {
  font-weight: 800;
}
h2 {
  font-weight: 700;
}
h3,
h4 {
  font-weight: 600;
}
/* Hero headline and section kickers are uppercase */
.hp-hero h1 {
  text-transform: uppercase;
  font-size: clamp(2.125rem, 1.2rem + 3.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.mm-eyebrow,
.hp-kicker,
.eyebrow,
.hp-clients-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (max-width: 599px) {
  .hp-kicker {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
  }
}

/* --------------------------------------------------------------- Buttons */
.btn {
  border-radius: var(--mm-radius-btn);
  font-weight: 600;
}
.btn-primary::before {
  display: none;
}
.btn-primary,
.btn-accent,
.header-cta.btn-primary,
.mm-feature .btn-primary {
  background: var(--mm-amber);
  color: var(--mm-navy);
  border-color: var(--mm-amber);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.12), 0 10px 22px -14px rgba(242, 169, 0, 0.9);
}
.btn-primary:hover,
.btn-accent:hover,
.header-cta.btn-primary:hover,
.mm-feature .btn-primary:hover {
  background: var(--mm-amber-hover);
  border-color: var(--mm-amber-hover);
  color: var(--mm-navy);
}
.btn-primary:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mm-blue);
}
.btn-secondary {
  background: transparent;
  color: var(--mm-navy);
  border: 1.5px solid var(--mm-navy);
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--mm-navy);
  border-color: var(--mm-navy);
  color: #fff;
}
/* White outline on dark backgrounds */
.is-dark .btn-secondary,
.btn-on-dark,
.hp-btn-ghost,
.is-dark .btn-glass {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.is-dark .btn-secondary:hover,
.btn-on-dark:hover,
.hp-btn-ghost:hover,
.is-dark .btn-glass:hover {
  background: #fff;
  border-color: #fff;
  color: var(--mm-navy);
}
/* Arrow slides right on hover */
.btn .icon-arrow,
.mm-card-more .icon,
.hp-path-link .icon,
.link-arrow .icon,
.cl-link .icon {
  transition: transform 0.3s var(--mm-ease-out);
}
.btn:hover .icon-arrow,
.mm-card:hover .mm-card-more .icon,
.hp-path:hover .hp-path-link .icon,
.link-arrow:hover .icon,
.cl-link:hover .icon,
.post-card:hover .post-card-foot .icon {
  transform: translateX(5px);
}
/* Text on amber surfaces */
.mm-plan-flag,
.hp-board-steps li > span,
.sp-type input:checked + .sp-type-box .sp-type-icon {
  color: var(--mm-navy);
}

/* ----------------------------------------------------------------- Cards */
.mm-card,
.post-card,
.hp-path,
.hp-soft-card,
.mm-cat,
.hp-cat,
.ind-card,
.hub-tile,
.cl-grid > li,
.hp-quote {
  border-radius: var(--mm-radius-card);
}
.mm-card,
.post-card,
.hp-path,
.hp-soft-card,
.ind-card,
.cl-grid > li {
  border: 1px solid var(--border);
  background-color: #fff;
  box-shadow: var(--mm-card-shadow);
  transition: transform 0.35s var(--mm-ease-out), box-shadow 0.35s var(--mm-ease-out), border-color 0.35s var(--mm-ease-out);
}
.mm-bento .mm-card.is-large {
  background-color: var(--mm-navy);
  border-color: var(--mm-navy);
}
@media (hover: hover) {
  .mm-card:hover,
  .post-card:hover,
  .hp-path:hover,
  .hp-soft-card:hover,
  .ind-card:hover,
  .cl-grid > li:hover {
    transform: translateY(-6px);
    box-shadow: var(--mm-card-shadow-hover);
    border-color: var(--border-strong);
  }
}
/* Inner image zoom */
.post-card-cover,
.mm-product-img,
.hp-soft-shot,
.cl-shot,
.hp-client-shot {
  overflow: hidden;
}
.post-card-cover img,
.post-card-cover .post-cover-art,
.mm-product-img img,
.hp-soft-shot img,
.cl-shot img,
.hp-client-shot img {
  transition: transform 0.6s var(--mm-ease-out);
}
@media (hover: hover) {
  .post-card:hover .post-card-cover img,
  .post-card:hover .post-card-cover .post-cover-art,
  .mm-product:hover .mm-product-img img,
  .hp-soft-card:hover .hp-soft-shot img,
  .cl-grid > li:hover .cl-shot img,
  .hp-client:hover .hp-client-shot img {
    transform: scale(1.06);
  }
}

/* ------------------------------------------------- Category / sector tiles */
.hp-cat,
.mm-cat,
.hub-tile {
  transition: transform 0.35s var(--mm-ease-out), box-shadow 0.35s var(--mm-ease-out), border-color 0.35s var(--mm-ease-out),
    background-color 0.35s var(--mm-ease-out);
}
.hp-cat-icon,
.mm-cat .mm-card-icon,
.ind-card .icon,
.hub-tile .icon,
.hp-cat-text strong,
.mm-cat h3 {
  transition: transform 0.6s var(--mm-ease-out), color 0.3s ease, background-color 0.3s ease;
}
@media (hover: hover) {
  .hp-cat:hover,
  .mm-cat:hover,
  .hub-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--mm-card-shadow-hover);
  }
  .hp-cat:hover .hp-cat-icon,
  .mm-cat:hover .mm-card-icon,
  .ind-card:hover .icon,
  .hub-tile:hover .icon {
    transform: scale(1.08);
  }
  .hp-cat:hover .hp-cat-text strong,
  .mm-cat:hover h3 {
    transform: translateY(-3px);
  }
}
/* Tiles with a photo (category images, Phase 3): zoom + dark overlay + title up */
.mm-tile-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}
.mm-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--mm-ease-out);
}
.mm-tile-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.1) 20%, rgba(11, 31, 58, 0.82) 100%);
  transition: opacity 0.6s var(--mm-ease-out);
}
:hover > .mm-tile-img img {
  transform: scale(1.08);
}

/* ---------------------------------------------------------------- Header */
.mm-header .header-inner {
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
  transition: height 0.3s var(--mm-ease-out);
}
.site-header.mm-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, -webkit-backdrop-filter 0.3s ease,
    backdrop-filter 0.3s ease;
}
.site-header.mm-header.mm-solid {
  background: #fff;
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -12px rgba(11, 31, 58, 0.25);
}
@media (min-width: 1024px) {
  .mm-header.mm-solid .header-inner {
    height: 64px;
  }
}
/* Transparent over a dark hero (home, sourcing board, growth pages). Before mm-effects
   runs this follows main.js' .is-scrolled; afterwards it follows .mm-solid (80px). */
html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open)) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
:is(html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
  html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open)))
  :is(.mm-nav-btn, .header-login, .menu-toggle) {
  color: #fff;
}
:is(html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
  html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open)))
  .menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}
:is(html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
  html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open)))
  .brand {
  background: url('/assets/brand/logo-horizontal-light-362.webp') no-repeat left center;
  background-origin: content-box;
  background-clip: content-box;
  background-size: contain;
}
:is(html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
  html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open)))
  .brand img {
  opacity: 0;
}
.mm-header .brand img {
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.3s ease;
}

/* Logo: one-time reveal on the first page of a visit (server sets html.nav-intro) */
@keyframes mm-logo-in {
  from {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-6px);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}
html.nav-intro .mm-header .brand {
  animation: mm-logo-in 1s var(--mm-ease-out) 0.1s both;
}

/* Mega menu: fade + slide down (200ms), thumbnails lift */
.mm-panel {
  transform: translateY(-12px);
  transition: opacity 0.2s var(--mm-ease-out), transform 0.2s var(--mm-ease-out);
}
.mm-link {
  transition: background-color 0.2s ease, transform 0.25s var(--mm-ease-out);
}
.mm-link .product-mark,
.mm-link-icon {
  transition: transform 0.25s var(--mm-ease-out), box-shadow 0.25s var(--mm-ease-out);
}
@media (hover: hover) {
  .mm-link:hover {
    transform: translateX(2px);
  }
  .mm-link:hover .product-mark,
  .mm-link:hover .mm-link-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px -8px rgba(11, 31, 58, 0.35);
  }
}

/* ------------------------------------------------- Mobile menu (full screen) */
.mm-drawer-overlay {
  background: var(--mm-navy);
}
.mm-drawer-sheet {
  width: 100%;
  background: var(--mm-navy);
  color: #fff;
  box-shadow: none;
  transform: none;
  opacity: 0;
  transition: opacity 0.3s var(--mm-ease-out);
}
.mobile-menu.mm-drawer.is-open .mm-drawer-sheet {
  opacity: 1;
}
.mm-drawer .brand {
  background: url('/assets/brand/logo-horizontal-light-362.webp') no-repeat left center;
  background-origin: content-box;
  background-clip: content-box;
  background-size: contain;
}
.mm-drawer .brand img {
  opacity: 0;
}
.mm-drawer .menu-toggle.mm-drawer-close {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.mm-drawer .mm-drawer-close .icon {
  width: 28px;
  height: 28px;
}
.mm-drawer .mm-acc {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.mm-drawer .mm-acc-btn {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  padding-block: 18px;
}
.mm-drawer .mm-acc-link,
.mm-drawer .mm-view-all,
.mm-drawer .mail {
  color: rgba(255, 255, 255, 0.86);
}
.mm-drawer .mm-col-title {
  color: rgba(255, 255, 255, 0.55);
}
/* redesign.css styles these links for the old white sheet with a stronger selector (dark text) */
.mobile-menu.mm-drawer nav a.mm-acc-link,
.mm-drawer .mobile-menu-foot a.mail {
  color: rgba(255, 255, 255, 0.9);
}
.mobile-menu.mm-drawer nav a.mm-view-all,
.mobile-menu.mm-drawer nav a[aria-current='page'] {
  color: var(--mm-amber);
}
.mobile-menu.mm-drawer nav a.mm-acc-link:hover,
.mm-drawer .mobile-menu-foot a.mail:hover {
  color: #fff;
}
.mm-drawer .mm-acc-btn .mm-caret,
.mobile-menu.mm-drawer nav a .icon {
  color: rgba(255, 255, 255, 0.8);
}
.mm-drawer :focus-visible {
  outline-color: var(--mm-amber);
}
.mm-drawer .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.mm-drawer .btn-secondary:hover {
  background: #fff;
  color: var(--mm-navy);
}
/* Staggered slide-in */
.mm-drawer .mm-acc,
.mm-drawer .mobile-menu-foot > * {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.45s var(--mm-ease-out), transform 0.45s var(--mm-ease-out);
}
.mm-drawer.is-open .mm-acc,
.mm-drawer.is-open .mobile-menu-foot > * {
  opacity: 1;
  transform: none;
}
.mm-drawer.is-open .mm-acc:nth-child(1) { transition-delay: 0.08s; }
.mm-drawer.is-open .mm-acc:nth-child(2) { transition-delay: 0.14s; }
.mm-drawer.is-open .mm-acc:nth-child(3) { transition-delay: 0.2s; }
.mm-drawer.is-open .mm-acc:nth-child(4) { transition-delay: 0.26s; }
.mm-drawer.is-open .mm-acc:nth-child(5) { transition-delay: 0.32s; }
.mm-drawer.is-open .mobile-menu-foot > :nth-child(1) { transition-delay: 0.36s; }
.mm-drawer.is-open .mobile-menu-foot > :nth-child(2) { transition-delay: 0.42s; }
.mm-drawer.is-open .mobile-menu-foot > :nth-child(3) { transition-delay: 0.48s; }

/* ------------------------------------------------------------------ Hero */
.hp-hero {
  position: relative;
  isolation: isolate;
  background-color: var(--mm-navy);
}
/* Dark gradient overlay over hero images (only when images exist) */
.hp-hero:has(.mm-hero-media)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(8, 23, 44, 0.94) 0%, rgba(11, 31, 58, 0.82) 45%, rgba(11, 31, 58, 0.55) 100%);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hp-hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* Image crossfade (6s) + Ken Burns. Renders only when hero images are set. */
.mm-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.mm-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.mm-hero-media img.is-active {
  opacity: 1;
  animation: mm-kenburns 9s linear both;
}
@keyframes mm-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}
/* Headline word reveal + content fade-up. Hidden only while JS is about to run;
   the fallback animation shows everything after 1.5s if the script never arrives. */
@keyframes mm-unhide {
  to {
    visibility: visible;
    opacity: 1;
  }
}
/* The lead paragraph is never hidden (it is the page's largest text, so it paints at once — LCP);
   it only slides up. */
html.js:not(.mm-fx-done) .hp-hero [data-split]:not(.is-split),
html.js:not(.mm-fx-done) .hp-hero :is(.hp-kicker, .hp-ctas, .hp-assure, .hp-board) {
  visibility: hidden;
  animation: mm-unhide 0s 1.5s forwards;
}
/* Hero reveal (Phase 5: CSS instead of GSAP): kicker, words one by one, lead, CTAs, board. */
@keyframes mm-fade-up {
  from {
    opacity: 0;
    transform: translateY(var(--mm-up, 24px));
  }
}
@keyframes mm-slide-up {
  from {
    transform: translateY(24px);
  }
}
.mm-hero-go :is(.hp-kicker, .mm-w, .hp-ctas, .hp-assure, .hp-board) {
  animation: mm-fade-up 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
.mm-hero-go .mm-w {
  --mm-up: 0.45em;
  animation-duration: 0.7s;
  animation-delay: calc(0.25s + var(--i, 0) * 0.06s);
}
.mm-hero-go .hp-lead {
  animation: mm-slide-up 0.6s 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
.mm-hero-go :is(.hp-ctas, .hp-assure) {
  animation-delay: calc(0.75s + var(--i, 0) * 0.1s);
}
.mm-hero-go .hp-board {
  animation-duration: 0.8s;
  animation-delay: 0.85s;
}
.mm-w {
  display: inline-block;
}
/* Scroll-down indicator */
.mm-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: none;
  place-items: center;
  width: 30px;
  height: 48px;
  margin-left: -15px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
}
.mm-scroll-cue:hover {
  border-color: #fff;
}
.mm-scroll-cue::before {
  content: '';
  width: 4px;
  height: 9px;
  border-radius: 2px;
  background: var(--mm-amber);
  animation: mm-cue 1.8s var(--mm-ease-out) infinite;
}
@keyframes mm-cue {
  0% {
    transform: translateY(-8px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}
@media (min-width: 1024px) and (min-height: 760px) {
  .mm-scroll-cue {
    display: grid;
  }
}

/* -------------------------------------------- Inner page banners (dark) */
.mm-page-hero.is-dark {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 1024px) {
  .mm-page-hero.is-dark {
    min-height: 50vh;
  }
}

/* ------------------------------------------------------ Clients / logos */
.client-logo img {
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.hp-client:hover .client-logo img,
.cl-grid > li:hover .client-logo img,
.mm-marquee li:hover .client-logo img {
  filter: none;
  opacity: 1;
}
/* Infinite marquee (switched on by JS only when there are 6+ clients) */
.mm-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mm-marquee > ul {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: var(--space-3);
  animation: mm-marquee var(--mm-marquee-dur, 40s) linear infinite;
}
.mm-marquee > ul > li {
  flex: 0 0 auto;
  width: 280px;
}
.mm-marquee:hover > ul {
  animation-play-state: paused;
}
@keyframes mm-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------- Parallax */
.hp-final-card,
.mm-banner,
.cta-panel {
  background-size: 100% 140%;
  background-position: center var(--mm-py, 50%);
}

/* ---------------------------------------------- "Associated services" slider */
.mm-svc-slider {
  position: relative;
}
.mm-svc-swiper {
  display: none;
}
.mm-svc-slider.is-ready .mm-svc-swiper {
  display: block;
}
.mm-svc-slider.is-ready > :not(.mm-svc-swiper) {
  display: none;
}
/* Swiper core layout (its own CSS is not loaded: it embeds a data: font our CSP blocks) */
.mm-svc-swiper .swiper {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.mm-svc-swiper .swiper-wrapper {
  position: relative;
  display: flex;
  box-sizing: content-box;
  transition-property: transform;
  transition-timing-function: ease;
}
.mm-svc-swiper .swiper-slide {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: auto;
}
.mm-svc-swiper .swiper-notification {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  z-index: -1000;
}
.mm-svc-slide {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--mm-radius-card);
  background: #fff;
}
@media (min-width: 900px) {
  .mm-svc-slide {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    min-height: 440px;
  }
}
.mm-svc-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  background: radial-gradient(70% 90% at 30% 20%, #1e4e8c 0%, transparent 70%), var(--mm-navy);
  color: var(--mm-amber);
}
.mm-svc-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mm-svc-visual .icon {
  width: clamp(72px, 9vw, 128px);
  height: clamp(72px, 9vw, 128px);
  stroke-width: 1.25;
  transform: scale(0.9);
  transition: transform 6s linear;
}
.swiper-slide-active .mm-svc-visual .icon {
  transform: scale(1.06);
}
.mm-svc-visual .mm-blueprint {
  z-index: -1;
}
.mm-svc-num {
  position: absolute;
  left: 24px;
  bottom: 16px;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2rem + 4vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
}
.mm-svc-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 56px);
}
.mm-svc-body h3 {
  margin: 0;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
}
.mm-svc-body h3 a {
  color: inherit;
}
.mm-svc-body p {
  margin: 0;
  color: var(--text-secondary);
}
.mm-svc-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: var(--space-3);
}
@media (max-width: 599px) {
  /* keep the arrows clear of the floating WhatsApp button */
  .mm-svc-bar {
    padding-right: 76px;
  }
}
.mm-svc-count {
  font-family: var(--font-heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--mm-navy);
  min-width: 5.5ch;
}
.mm-svc-count span {
  color: var(--text-secondary);
  font-weight: 500;
}
.mm-svc-progress {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--border);
}
.mm-svc-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--mm-amber);
  transform: scaleX(0);
  transform-origin: left;
}
.mm-svc-arrows {
  display: flex;
  gap: 8px;
}
.mm-svc-arrows button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--mm-navy);
  border-radius: var(--mm-radius-btn);
  background: transparent;
  color: var(--mm-navy);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mm-svc-arrows button:hover {
  background: var(--mm-navy);
  color: #fff;
}
.mm-svc-arrows .icon {
  width: 20px;
  height: 20px;
}
.mm-svc-arrows .is-prev .icon {
  transform: rotate(180deg);
}

/* --------------------------------------------------------- Blog tables */
.article-body table {
  border: 1px solid var(--border);
  border-radius: var(--mm-radius-card);
}
.article-body th {
  background: var(--mm-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
}
.article-body tbody tr:nth-child(even) td {
  background: var(--surface);
}
.article-body td,
.article-body th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

/* ----------------------------------------------------------- Scroll reveal */
/* Legacy .reveal items in the first section (hero) show at once: they are often the page's
   largest text, and hiding them until main.js runs delays LCP. */
.js main > section:first-child .reveal {
  opacity: 1;
  transform: none;
}
html.mm-fx .mm-rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html.mm-fx .mm-rv.mm-rv-in {
  opacity: 1;
  transform: none;
}
/* Parallax layers are taller than their section so moving them never shows an edge */
.hp-hero > .mm-blueprint,
.hp-grow > .mm-blueprint,
.mm-page-hero.is-dark > .mm-blueprint {
  inset: -12% 0;
}

/* ------------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html.nav-intro .mm-header .brand,
  .mm-hero-media img.is-active,
  .mm-scroll-cue::before,
  .mm-marquee > ul {
    animation: none;
  }
  html.js:not(.mm-fx-done) .hp-hero [data-split]:not(.is-split),
  html.js:not(.mm-fx-done) .hp-hero :is(.hp-kicker, .hp-ctas, .hp-assure, .hp-board) {
    visibility: visible;
    animation: none;
  }
  html.mm-fx .mm-rv {
    opacity: 1;
    transform: none;
  }
  .mm-drawer .mm-acc,
  .mm-drawer .mobile-menu-foot > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mm-card,
  .post-card,
  .hp-path,
  .hp-soft-card,
  .hp-cat,
  .mm-cat,
  .ind-card,
  .cl-grid > li,
  .post-card-cover img,
  .hp-soft-shot img,
  .cl-shot img,
  .hp-client-shot img {
    transition: none;
  }
}

/* Two- and four-column variants of the existing .mm-grid */
@media (min-width: 768px) {
  .mm-grid-2,
  .mm-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .mm-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ------------------------------------------------ Phase 3: catalogue pages */
.mm-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.mm-thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #f1f4f8; cursor: pointer; }
.mm-thumbs button.is-active, .mm-thumbs button:focus-visible { border-color: var(--mm-accent); }
.mm-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.is-zoomable { cursor: zoom-in; }
.mm-lightbox { max-width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 10px; background: #0b1f3a; }
.mm-lightbox::backdrop { background: rgba(5, 14, 28, 0.82); }
.mm-lightbox img { display: block; max-width: 100%; max-height: 92vh; object-fit: contain; }
.mm-lightbox-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(11, 31, 58, 0.7); cursor: pointer; display: grid; place-items: center; }
.mm-grade-tables { margin: 0 0 24px; }
.mm-grade-tables caption { caption-side: top; text-align: left; font-weight: 700; color: var(--mm-navy, #0b1f3a); padding: 0 0 8px; }
.mm-chem-table th, .mm-chem-table td { text-align: center; white-space: nowrap; }
.mm-chem-table thead th { background: var(--mm-navy, #0b1f3a); color: #fff; }
.mm-grade-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.mm-grade-link { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid #e3e8ef; border-radius: 10px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.mm-grade-link:hover { border-color: var(--mm-accent); transform: translateY(-2px); }
.mm-grade-link small { color: #5b6b80; }
.mp-specs + .mp-specs { margin-top: 32px; }
.mm-sticky-quote { display: none; }
@media (max-width: 760px) {
  .mm-sticky-quote { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); padding-right: 88px; background: #fff; box-shadow: 0 -8px 24px -12px rgba(11, 31, 58, 0.35); transform: translateY(110%); transition: transform .25s ease; }
  .mm-sticky-quote.is-on { transform: none; }
  .mm-sticky-quote span { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mm-sticky-quote .btn { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .mm-sticky-quote { transition: none; } }

/* Phase 4: sourcing board filters (category, origin, delivery, Incoterm, search) */
@media (max-width: 639px) {
  .sb-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-search > .input, .sb-search > .combo, .sb-search > .btn { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .sb-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-search > .btn, .sb-search > .combo { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .sb-filters { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1100px) {
  .sb-search { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr) auto; }
  .sb-search > .btn, .sb-search > .combo { grid-column: auto; }
}

/* ==========================================================================
   Phase 1b (2026-10-30): lighter, photo-led look — glwt.com.au as reference only.
   Own photos in /assets/photos (generated for MetalMitra). Dark navy blocks become
   photo banners or light sections; image zoom is slow (1.5s) like the reference.
   ========================================================================== */
:root {
  --mm-zoom-ease: cubic-bezier(0.4, 0, 0, 1);
  --mm-zoom-dur: 1.5s;
  --surface: #f6f7f9;
  --mm-steel-100: #f6f7f9;
  --mm-photo: url('/assets/photos/hero-pipes-1920.webp');
}
@media (max-width: 960px) {
  :root { --mm-photo: url('/assets/photos/hero-pipes-960.webp'); }
}
.section-alt { background-color: var(--surface); }

/* Photos for banners (data-photo on the section) */
[data-photo='port'] { --mm-photo: url('/assets/photos/hero-port-1920.webp'); }
[data-photo='office'] { --mm-photo: url('/assets/photos/office-1920.webp'); }
[data-photo='pipes'] { --mm-photo: url('/assets/photos/hero-pipes-1920.webp'); }
[data-photo='flanges-fittings'] { --mm-photo: url('/assets/photos/hero-flanges-1920.webp'); }
@media (max-width: 960px) {
  [data-photo='port'] { --mm-photo: url('/assets/photos/hero-port-960.webp'); }
  [data-photo='office'] { --mm-photo: url('/assets/photos/office-960.webp'); }
  [data-photo='pipes'] { --mm-photo: url('/assets/photos/hero-pipes-960.webp'); }
  [data-photo='flanges-fittings'] { --mm-photo: url('/assets/photos/hero-flanges-960.webp'); }
}
[data-photo='steel-alloys'] { --mm-photo: url('/assets/photos/cat-steel-alloys-900.webp'); }
[data-photo='pipes-tubes'] { --mm-photo: url('/assets/photos/hero-pipes-1920.webp'); }
@media (max-width: 960px) {
  [data-photo='pipes-tubes'] { --mm-photo: url('/assets/photos/hero-pipes-960.webp'); }
}
[data-photo='sheets-plates'] { --mm-photo: url('/assets/photos/cat-sheets-plates-900.webp'); }
[data-photo='bars-sections'] { --mm-photo: url('/assets/photos/cat-bars-sections-900.webp'); }
[data-photo='valves-pumps'] { --mm-photo: url('/assets/photos/cat-valves-pumps-900.webp'); }
[data-photo='fasteners-wire'] { --mm-photo: url('/assets/photos/cat-fasteners-wire-900.webp'); }
[data-photo='non-ferrous-metals'] { --mm-photo: url('/assets/photos/cat-non-ferrous-metals-900.webp'); }
[data-photo='industrial-manufacturing'] { --mm-photo: url('/assets/photos/cat-industrial-manufacturing-900.webp'); }
[data-photo='other-materials'] { --mm-photo: url('/assets/photos/cat-other-materials-900.webp'); }

/* Inner page banners + photo bands: photo, soft left-to-right tint, slow settle-in zoom */
.mm-page-hero.is-dark,
.hp-grow[data-photo] {
  background: #1b2633;
  overflow: hidden;
}
.mm-page-hero.is-dark::before,
.hp-grow[data-photo]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--mm-photo) center / cover no-repeat;
  animation: mm-photo-in 2.4s var(--mm-zoom-ease) both;
}
.mm-page-hero.is-dark::after,
.hp-grow[data-photo]::after {
  background: linear-gradient(100deg, rgba(10, 22, 40, 0.86) 0%, rgba(10, 22, 40, 0.62) 45%, rgba(10, 22, 40, 0.18) 100%);
  opacity: 1;
  mix-blend-mode: normal;
}
@keyframes mm-photo-in {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.mm-page-hero.is-dark > .mm-blueprint,
.hp-grow[data-photo] > .mm-blueprint,
.hp-hero:has(.mm-hero-media) > .mm-blueprint {
  display: none;
}

/* Home hero: photo slider shows through a lighter tint */
.hp-hero:has(.mm-hero-media) {
  background: #1b2633;
}
.hp-hero:has(.mm-hero-media)::after {
  background: linear-gradient(100deg, rgba(10, 22, 40, 0.84) 0%, rgba(10, 22, 40, 0.58) 48%, rgba(10, 22, 40, 0.15) 100%);
  opacity: 1;
  mix-blend-mode: normal;
}
.hp-hero .hp-board {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}
.hp-hero .hp-board :is(strong, a, span) { color: inherit; }
.hp-hero .hp-board small { color: var(--text-secondary); }
.hp-hero .hp-board-head a { color: var(--mm-blue); }
.hp-hero .hp-board-list li + li { border-color: var(--border); }
.hp-hero .hp-board .sb-type.is-buy { color: var(--mm-blue); }
.hp-hero .hp-board .sb-type.is-sell { color: #a15c00; }

/* Light instead of navy: About "four truths" band and the quick-RFQ panel */
.ab-insights {
  color: var(--text-secondary);
  background: var(--surface);
}
.ab-insights h2,
.ab-insight h3 { color: var(--text); }
.ab-insights .lead,
.ab-insight p { color: var(--text-secondary); }
.ab-kicker-light { color: var(--mm-blue); }
.ab-insight {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--mm-card-shadow);
}
.ab-insight:hover {
  background: #fff;
  border-color: var(--border-strong);
}
.ab-insights::before,
.ab-insights::after { display: none; }

.mm-rfq {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.mm-rfq h2 { color: var(--text); }
.mm-rfq .mm-eyebrow { color: var(--mm-blue); }
.mm-rfq-points .icon { color: var(--mm-blue); }
.mm-rfq-form { box-shadow: 0 18px 40px -24px rgba(11, 31, 58, 0.35); }
.mm-rfq > .mm-blueprint,
.mm-rfq::before,
.mm-rfq::after { display: none; }

/* Footer: one calm navy, no glows */
.site-footer {
  background: #0d1b2e;
}

/* ------------------------------------------------- Photo category tiles */
.hp-cat[data-cat],
.mm-cat[data-cat] {
  --tile-photo: none;
}
.hp-cat[data-cat='steel-alloys'], .mm-cat[data-cat='steel-alloys'] { --tile-photo: url('/assets/photos/cat-steel-alloys-480.webp'); }
.hp-cat[data-cat='pipes-tubes'], .mm-cat[data-cat='pipes-tubes'] { --tile-photo: url('/assets/photos/cat-pipes-tubes-480.webp'); }
.hp-cat[data-cat='sheets-plates'], .mm-cat[data-cat='sheets-plates'] { --tile-photo: url('/assets/photos/cat-sheets-plates-480.webp'); }
.hp-cat[data-cat='bars-sections'], .mm-cat[data-cat='bars-sections'] { --tile-photo: url('/assets/photos/cat-bars-sections-480.webp'); }
.hp-cat[data-cat='flanges-fittings'], .mm-cat[data-cat='flanges-fittings'] { --tile-photo: url('/assets/photos/hero-flanges-960.webp'); }
.hp-cat[data-cat='valves-pumps'], .mm-cat[data-cat='valves-pumps'] { --tile-photo: url('/assets/photos/cat-valves-pumps-480.webp'); }
.hp-cat[data-cat='fasteners-wire'], .mm-cat[data-cat='fasteners-wire'] { --tile-photo: url('/assets/photos/cat-fasteners-wire-480.webp'); }
.hp-cat[data-cat='non-ferrous-metals'], .mm-cat[data-cat='non-ferrous-metals'] { --tile-photo: url('/assets/photos/cat-non-ferrous-metals-480.webp'); }
.hp-cat[data-cat='industrial-manufacturing'], .mm-cat[data-cat='industrial-manufacturing'] { --tile-photo: url('/assets/photos/cat-industrial-manufacturing-480.webp'); }
.hp-cat[data-cat='other-materials'], .mm-cat[data-cat='other-materials'] { --tile-photo: url('/assets/photos/cat-other-materials-480.webp'); }

.hp-cat:is([data-cat='steel-alloys'], [data-cat='pipes-tubes'], [data-cat='sheets-plates'], [data-cat='bars-sections'], [data-cat='flanges-fittings'], [data-cat='valves-pumps'], [data-cat='fasteners-wire'], [data-cat='non-ferrous-metals'], [data-cat='industrial-manufacturing'], [data-cat='other-materials']),
.mm-cat:is([data-cat='steel-alloys'], [data-cat='pipes-tubes'], [data-cat='sheets-plates'], [data-cat='bars-sections'], [data-cat='flanges-fittings'], [data-cat='valves-pumps'], [data-cat='fasteners-wire'], [data-cat='non-ferrous-metals'], [data-cat='industrial-manufacturing'], [data-cat='other-materials']) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  min-height: 240px;
  padding: 20px;
  border: 0;
  border-radius: 8px;
  background: #2a3442;
  color: #fff;
  box-shadow: none;
  transform: none;
}
:is(.hp-cat, .mm-cat)[data-cat]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tile-photo) center / cover no-repeat;
  opacity: 1; /* redesign.css hides .mm-cat::before (its hover glow) */
  transition: transform var(--mm-zoom-dur) var(--mm-zoom-ease);
}
/* Tile photos load when the tile comes near the screen (mm-effects adds .mm-bg-in). */
.js :is(.hp-cat, .mm-cat)[data-cat]:not(.mm-bg-in)::before {
  background-image: none;
}
:is(.hp-cat, .mm-cat)[data-cat]::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0) 35%, rgba(10, 22, 40, 0.78) 100%);
  transition: opacity 0.6s ease;
}
:is(.hp-cat, .mm-cat)[data-cat] :is(.hp-cat-icon, .mm-card-icon) { display: none; }
:is(.hp-cat, .mm-cat)[data-cat] :is(.hp-cat-text strong, strong) {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(10, 22, 40, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1rem;
}
:is(.hp-cat, .mm-cat)[data-cat] :is(small) {
  color: rgba(255, 255, 255, 0.88);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--mm-ease-out), opacity 0.4s ease, margin 0.6s var(--mm-ease-out);
}
.hp-cat[data-cat] .hp-cat-text { display: grid; gap: 6px; }
.hp-cat[data-cat] .hp-cat-go {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mm-navy);
  transition: transform 0.6s var(--mm-zoom-ease), background-color 0.3s ease;
}
@media (hover: hover) {
  :is(.hp-cat, .mm-cat)[data-cat]:hover {
    transform: none;
    box-shadow: 0 22px 44px -22px rgba(10, 22, 40, 0.55);
  }
  :is(.hp-cat, .mm-cat)[data-cat]:hover::before { transform: scale(1.1); }
  :is(.hp-cat, .mm-cat)[data-cat]:hover small { max-height: 4.5em; opacity: 1; }
  :is(.hp-cat, .mm-cat)[data-cat]:hover :is(.hp-cat-text strong, strong) { transform: none; }
  .hp-cat[data-cat]:hover .hp-cat-go { transform: rotate(45deg); background: var(--mm-amber); }
}
@media (hover: none) {
  :is(.hp-cat, .mm-cat)[data-cat] small { max-height: 4.5em; opacity: 1; }
}
.hp-cats:has([data-cat]),
.mm-cat-grid:has([data-cat]) {
  gap: 16px;
}

/* ------------------------------------------- Slow glwt-style image zoom */
.post-card-cover img,
.post-card-cover .post-cover-art,
.mm-product-img img,
.hp-soft-shot img,
.cl-shot img,
.hp-client-shot img,
.mm-tile-img img,
.mm-svc-visual img {
  transition: transform var(--mm-zoom-dur) var(--mm-zoom-ease);
}
@media (hover: hover) {
  .post-card:hover .post-card-cover img,
  .post-card:hover .post-card-cover .post-cover-art,
  .mm-product:hover .mm-product-img img,
  .hp-soft-card:hover .hp-soft-shot img,
  .cl-grid > li:hover .cl-shot img,
  .hp-client:hover .hp-client-shot img,
  :hover > .mm-tile-img img {
    transform: scale(1.08);
  }
  /* Cards lift a little less, the photo does the work */
  .mm-card:hover,
  .post-card:hover,
  .hp-path:hover,
  .hp-soft-card:hover,
  .ind-card:hover,
  .cl-grid > li:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-page-hero.is-dark::before,
  .hp-grow[data-photo]::before { animation: none; }
  :is(.hp-cat, .mm-cat)[data-cat]::before { transition: none; }
}
.hp-hero .hp-board .hp-board-head > span { color: var(--text); font-weight: 600; }
.hp-cat[data-cat] .hp-cat-text { justify-items: start; }
:is(.hp-cat, .mm-cat)[data-cat],
:is(.hp-cat, .mm-cat)[data-cat]:hover,
:is(.hp-cat, .mm-cat)[data-cat]:hover * { text-decoration: none; }
@media (min-width: 1100px) {
  .hp-cats:has([data-cat]),
  .mm-cat-grid:has([data-cat]) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .hp-cats:has([data-cat]),
  .mm-cat-grid:has([data-cat]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  :is(.hp-cat, .mm-cat)[data-cat] { min-height: 168px; padding: 12px; }
  :is(.hp-cat, .mm-cat)[data-cat] small { display: none; }
  :is(.hp-cat, .mm-cat)[data-cat] :is(.hp-cat-text strong, strong) { padding: 6px 10px; font-size: 0.875rem; }
  .hp-cat[data-cat] .hp-cat-go { top: 10px; right: 10px; width: 30px; height: 30px; padding: 7px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .hp-cats:has([data-cat]),
  .mm-cat-grid:has([data-cat]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mm-page-hero.is-dark .sb-hero-stats li {
  background: rgba(10, 22, 40, 0.55);
  border-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mm-page-hero.is-dark .sb-hero-stats span { color: #e6ecf3; }

/* ------------------------------------- Phase 4: sign-in link, suppliers, RFQ helpers */
.acc-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: #5b6b80; font-size: 0.875rem; }
.acc-or::before, .acc-or::after { content: ''; flex: 1; height: 1px; background: #e3e8ef; }
.acc-link-form .btn .icon { margin-right: 6px; }

/* Country lists with flags (shared searchable select) */
.combo.has-flag .combo-input { padding-left: 42px; }
.combo-flag { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 1.15rem; line-height: 1; pointer-events: none; }
.combo-opt-flag { display: inline-block; width: 1.6em; font-size: 1.05rem; }
.combo-dial .combo-input { padding-right: 30px; }
.combo-dial .combo-chevron { right: 8px; }
.combo-dial .combo-list { right: auto; width: min(300px, 86vw); }
/* Catalogue suggestions under the product and grade fields */
.suggest .combo-list li small { display: block; margin-top: 2px; color: #5b6b80; font-size: 0.8125rem; font-weight: 400; }

.sp-draft-note, .sp-supplier-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 10px 14px; border-radius: var(--mm-radius-card); background: #fef6e0; border: 1px solid #f6dd9a; font-size: 0.9375rem; }
.sp-draft-note .btn { margin-left: auto; }
.sp-supplier-note { background: #eef3fa; border-color: #cddcf0; }
.sp-supplier-note .icon, .sp-draft-note .icon { flex: none; color: var(--mm-blue); }
.sp-saved { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.sp-saved .icon { color: #1e7a46; }

/* Supplier profile form (/account/supplier) */
.sup-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 20px; padding: 12px 16px; border: 1px solid #e3e8ef; border-radius: var(--mm-radius-card); background: #fff; }
.sup-status .badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #eef1f5; color: var(--mm-navy); font-size: 0.8125rem; font-weight: 600; }
.sup-status-approved .badge:first-child { background: #e3f4ea; color: #1e6a3f; }
.sup-status-pending .badge:first-child { background: #fef6e0; color: #7a5600; }
.sup-status-changes .badge:first-child, .sup-status-rejected .badge:first-child { background: #fdeceb; color: #9b2c22; }
.sup-status .badge-verified { background: #e3f4ea; color: #1e6a3f; }
.sup-form { display: grid; gap: 8px; }
.sup-block { margin: 0; padding: 0 0 22px; border: 0; border-bottom: 1px solid #e3e8ef; }
.sup-block + .sup-block { padding-top: 18px; }
.sup-block > legend { padding: 0; margin: 0 0 12px; font-weight: 700; font-size: 1.0625rem; color: var(--mm-navy); }
.sup-country-filter { max-width: 320px; margin: 4px 0 10px; }
.sup-country-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 260px; overflow-y: auto; padding: 4px; border: 1px solid #e3e8ef; border-radius: var(--mm-radius-card); overscroll-behavior: contain; }
.sup-country-list .choice[hidden] { display: none; }
.sup-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-top: 8px; }
@media (max-width: 560px) { .sup-actions .btn { flex: 1 1 100%; } }

/* Public supplier pages */
.sup-verified { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #e3f4ea; color: #1e6a3f; font-size: 0.8125rem; font-weight: 600; }
.sup-where { margin: 6px 0 0; color: #3d4b5c; font-size: 1rem; }
.sup-products { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.sup-products li { display: flex; gap: 8px; align-items: flex-start; }
.sup-products .icon { flex: none; margin-top: 3px; color: #1e7a46; }
.sup-country { white-space: nowrap; }
.sup-enquiry h2 { margin-top: 0; }
.sup-enquiry-points { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; color: #3d4b5c; }
.sup-enquiry-points li { display: flex; gap: 8px; align-items: center; }
.sup-enquiry-points .icon { flex: none; color: var(--mm-blue); }
.sup-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.sup-filters .select { width: auto; min-width: 200px; flex: 1 1 200px; max-width: 320px; }
.sup-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid #e3e8ef; border-radius: var(--mm-radius-card); background: #fff; box-shadow: var(--mm-card-shadow); transition: box-shadow .2s, transform .2s; }
.sup-card:hover { box-shadow: var(--mm-card-shadow-hover); transform: translateY(-2px); }
.sup-card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sup-card h3 { margin: 4px 0 0; font-size: 1.125rem; }
.sup-card h3 a { color: inherit; text-decoration: none; }
.sup-card h3 a:hover { color: var(--mm-blue); }
.sup-card p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .sup-card { transition: none; } .sup-card:hover { transform: none; } }
.sup-hero-cta { margin-top: 16px; }
@media (min-width: 1024px) { .sup-hero-cta { display: none; } }
.sp-supplier-note > span:not(.icon), .sp-draft-note > span { flex: 1 1 200px; min-width: 0; }

/* Category page: sub-category tiles (E3) */
.mc-sub-title { font-size: 1.25rem; margin: 0 0 16px; }
.mc-sub-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.mc-sub-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.mc-sub-count { color: var(--mm-blue, #1e4e8c); font-weight: 600; }

/* MTCMitra Web — panel at the bottom of the MTCMitra download page */
.mtcw-card {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 28px 0 0; padding: 32px 28px 30px; text-align: center;
  border-radius: 16px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(242, 169, 0, 0.22) 0%, rgba(242, 169, 0, 0) 45%),
              linear-gradient(135deg, var(--mm-blue, #1e4e8c) 0%, var(--mm-navy, #0b1f3a) 70%);
  box-shadow: 0 18px 40px -18px rgba(11, 31, 58, 0.55);
}
.mtcw-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18);
}
.mtcw-icon .icon { width: 26px; height: 26px; color: var(--mm-amber, #f2a900); }
.mtcw-eyebrow {
  display: block; margin-bottom: 6px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mm-amber, #f2a900);
}
.mtcw-title { margin: 0 0 10px; font-family: var(--font-heading); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.25; color: #fff; }
.mtcw-text { max-width: 520px; margin: 0 auto 22px; color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.6; }
.mtcw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 34px; font-size: 1.075rem; font-weight: 700;
  border-radius: 10px; border: 0; color: var(--mm-navy, #0b1f3a); background: var(--mm-amber, #f2a900);
  box-shadow: 0 8px 22px -8px rgba(242, 169, 0, 0.7);
  transition: transform 0.2s var(--mm-ease-out, ease), background-color 0.2s ease, box-shadow 0.2s ease;
}
.mtcw-btn:hover { background: var(--mm-amber-hover, #db9900); color: var(--mm-navy, #0b1f3a); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(242, 169, 0, 0.8); }
.mtcw-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mtcw-btn .icon-arrow { transition: transform 0.2s var(--mm-ease-out, ease); }
.mtcw-btn:hover .icon-arrow { transform: translateX(3px); }
@media (max-width: 560px) {
  .mtcw-card { padding: 26px 18px 24px; }
  .mtcw-btn { width: 100%; padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mtcw-btn, .mtcw-btn .icon-arrow { transition: none; }
  .mtcw-btn:hover, .mtcw-btn:hover .icon-arrow { transform: none; }
}

/* ==== assets/css/mm-site.css ==== */
/* MetalMitra site layer (2026-11 rebuild). Loaded last. One type scale, one spacing scale, one card,
   one button, visible focus, transform-only reveals, and the new homepage / service-page / switcher styles.
   Brand colours are unchanged: navy #0b1f3a, blue #1e4e8c, amber #f2a900. */

/* ============================================================ 1. Tokens */
:root {
  /* Spacing scale: 4 / 8 / 16 / 24 / 32 / 48 / 64 / 96 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 96px;

  /* Type scale (fluid; ratio ≈ 1.25 on mobile → 1.33 on desktop) */
  --t-xs: 0.8125rem;   /* 13 */
  --t-sm: 0.875rem;    /* 14 */
  --t-body: 1.0625rem; /* 17 */
  --t-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);  /* 18 → 21 */
  --t-h4: 1.125rem;                                       /* 18 */
  --t-h3: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);    /* 19 → 22 */
  --t-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);         /* 28 → 40 */
  --t-h1: clamp(2.25rem, 1.6rem + 2.9vw, 3.75rem);        /* 36 → 60 */
  --lh-body: 1.6;
  --lh-head: 1.15;
  --measure: 70ch;

  --section-y: clamp(var(--s-6), 6vw, var(--s-8)); /* 48 → 96 */

  /* Colour roles (existing palette) */
  --c-navy: #0b1f3a;
  --c-navy-2: #102a4c;
  --c-blue: #1e4e8c;
  --c-amber: #f2a900;
  --c-amber-hover: #db9900;
  --c-ink: #1a1a1a;
  --c-ink-2: #4b5563;        /* body secondary on white: 7.6:1 */
  --c-on-dark: #d5deea;      /* body text on navy: 11:1 */
  --c-on-dark-2: #b4c2d4;    /* muted text on navy: 8:1 */
  --c-line: #e3e7ed;
  --c-alt: #f5f7fa;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--c-blue);
  --focus-dark: 0 0 0 3px var(--c-navy), 0 0 0 5px var(--c-amber);

  --card-radius: var(--mm-radius-card, 10px);
  --card-shadow: 0 1px 2px rgba(11, 31, 58, 0.05);
  --card-shadow-hover: 0 4px 10px rgba(11, 31, 58, 0.06), 0 18px 40px -18px rgba(11, 31, 58, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================ 2. Type */
body {
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
}
main h1 {
  font-size: var(--t-h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
main h2 {
  font-size: var(--t-h2);
  line-height: var(--lh-head);
  letter-spacing: -0.015em;
}
main h3 {
  font-size: var(--t-h3);
  line-height: 1.3;
}
main p,
main li {
  max-width: var(--measure);
}
main .lead {
  font-size: var(--t-lead);
  line-height: 1.55;
}

/* ============================================================ 3. Section rhythm */
.hm .section,
.sv .section {
  padding-block: var(--section-y);
}
.hm .section-tight,
.sv .section-tight {
  padding-block: var(--s-6);
}
.hm .section-alt,
.sv .section-alt {
  background: var(--c-alt);
}
.hm .mm-section-head,
.sv .mm-section-head {
  margin-bottom: var(--s-6);
}
.mm-section-head.is-center .lead {
  margin-inline: auto;
}

/* ============================================================ 4. Focus */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--focus);
  border-radius: 4px;
}
.is-dark :where(a, button, summary):focus-visible,
.site-footer :where(a, button, summary):focus-visible,
.cs :where(a):focus-visible {
  box-shadow: var(--focus-dark);
}

/* ============================================================ 5. Button (one component) */
.btn {
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.btn.btn-accent,
.btn.btn-primary.btn-accent {
  background: var(--c-amber);
  color: var(--c-navy);
  border-color: var(--c-amber);
}
.btn.btn-accent:hover {
  background: var(--c-amber-hover);
  border-color: var(--c-amber-hover);
  color: var(--c-navy);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}
.btn-ghost-light .icon {
  width: 18px;
  height: 18px;
}

/* ============================================================ 6. Card (one component) */
.mm-card {
  position: relative;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), border-color 150ms var(--ease);
}
.mm-card:hover,
.mm-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}
.mm-card .mm-stretch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ============================================================ 7. Reveal: move, never hide */
/* Content is always visible (no JS needed). Once JS runs, items slide 16px into place: transform only. */
.reveal,
.js .reveal,
.js .reveal.is-visible,
html.mm-fx .mm-rv,
html.mm-fx .mm-rv.mm-rv-in {
  opacity: 1 !important;
}
.js .reveal {
  transform: translateY(16px);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
}
.js .reveal.reveal-scale {
  transform: translateY(16px);
}
.js .reveal.is-visible,
.js .reveal.is-in,
.js main > section:first-child .reveal {
  transform: none;
}
html.mm-fx .mm-rv {
  transform: translateY(16px);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
html.mm-fx .mm-rv.mm-rv-in {
  transform: none;
}
@keyframes mm-fade-up {
  from { transform: translateY(var(--mm-up, 16px)); }
  to { transform: none; }
}
@keyframes mm-slide-up {
  from { transform: translateY(16px); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.is-visible,
  .js .reveal.is-in,
  html.mm-fx .mm-rv {
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================ 8. Header */
.site-header.mm-header.mm-solid,
.site-header.mm-header.is-scrolled {
  box-shadow: 0 6px 20px -14px rgba(11, 31, 58, 0.35);
}
@media (max-width: 1023px) {
  .mm-header .header-inner { height: 60px; transition: height 0.2s var(--ease); }
  .mm-header.mm-solid .header-inner { height: 54px; }
}
.mm-nav-item.is-link .mm-nav-btn {
  text-decoration: none;
}
.mm-nav-list { gap: 0; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .mm-nav-btn { padding: 0 10px; font-size: 0.9375rem; }
  .mm-header .header-login span { display: none; }
}
/* Column labels are no longer headings: same look, no place in the outline */
.mm-col-title {
  display: block;
  margin: 0 0 var(--s-2);
  font: 700 0.75rem/1.3 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
.mm-panel.is-compact .mm-panel-inner {
  grid-template-columns: minmax(0, 1fr);
}
.mm-panel-foot {
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
  margin-top: var(--s-3);
}
/* Without JavaScript the menus still open on hover / keyboard focus */
html.no-js .mm-nav-item:hover > .mm-panel,
html.no-js .mm-nav-item:focus-within > .mm-panel {
  display: block !important;
}
.mm-acc.is-link .mm-acc-btn {
  display: flex;
  text-decoration: none;
}

/* ============================================================ 9. Language switcher */
.lang-switch {
  position: relative;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font: 600 0.875rem/1 var(--font-body);
  color: var(--c-navy);
  background: #fff;
  cursor: pointer;
  list-style: none;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.lang-pill::-webkit-details-marker { display: none; }
.lang-pill:hover { border-color: var(--c-blue); }
.lang-caret { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--card-radius);
  box-shadow: 0 16px 40px -16px rgba(11, 31, 58, 0.35);
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 500;
}
.lang-menu a:hover { background: var(--c-alt); color: var(--c-navy); }
.lang-menu a.is-active { color: var(--c-blue); font-weight: 700; }
.mm-header .header-actions { gap: var(--s-2); }
.mm-header .header-actions .lang-switch { margin-inline-end: var(--s-2); padding-inline-end: var(--s-3); border-inline-end: 1px solid var(--c-line); }
/* Over the transparent dark hero */
:is(html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
  html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open))) .lang-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
:is(html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
  html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open))) .header-actions .lang-switch {
  border-color: rgba(255, 255, 255, 0.25);
}
/* Row variant: mobile menu, footer */
.lang-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}
.lang-row-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: var(--t-sm);
}
.lang-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: var(--t-sm);
  text-decoration: none;
}
.lang-row a.is-active { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
/* The label is a plain caption, not the old pill style from main.css (.lang-row span). */
.lang-row .lang-row-label { padding: 0; border: 0; border-radius: 0; background: none; font-size: var(--t-sm); font-weight: 600; color: inherit; }
/* Mobile drawer: navy sheet, so light text */
.mobile-menu-foot .lang-row { padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.14); color: #fff; }
.mobile-menu-foot .lang-row-label .icon { color: var(--c-amber); }
.mobile-menu-foot .lang-row a { color: var(--c-on-dark); }
.mobile-menu-foot .lang-row a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.mobile-menu-foot .lang-row a.is-active { color: #fff; text-decoration-color: var(--c-amber); }
/* The row is a <nav>, so the old big drawer-link rules (.mobile-menu nav ul / nav a: grid, 2rem text,
   hidden until a fade-in) must not reach it. */
.mobile-menu .mobile-menu-foot nav.lang-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.mobile-menu .mobile-menu-foot nav.lang-row ul { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.mobile-menu .mobile-menu-foot nav.lang-row a {
  justify-content: center; min-height: 44px; padding: 0 10px; border: 0; border-radius: 6px;
  font-family: inherit; font-size: var(--t-sm); font-weight: 500; letter-spacing: 0;
  opacity: 1; transform: none; transition: color 0.15s, background-color 0.15s;
}
.mobile-menu .mobile-menu-foot nav.lang-row a:not(.is-active) { color: var(--c-on-dark); }
.mobile-menu .mobile-menu-foot nav.lang-row a.is-active { color: #fff; font-weight: 700; }

/* ============================================================ 10. Homepage */
.hm-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h, 72px) + clamp(56px, 8vw, 112px)) 0 clamp(56px, 8vw, 112px);
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(30, 78, 140, 0.55), transparent 70%),
    linear-gradient(180deg, var(--c-navy) 0%, #0a1b33 100%);
  color: var(--c-on-dark);
}
.hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s-4);
  font: 600 var(--t-sm)/1.2 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-on-dark-2);
}
.hm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-amber); }
.hm-hero h1 {
  margin: 0 0 var(--s-4);
  color: #fff;
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
  max-width: 15ch;
}
.hm-sub {
  margin: 0 0 var(--s-5);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--c-on-dark);
  max-width: 56ch;
}
.hm-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.hm-support {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--s-5) 0 0;
  font-size: var(--t-sm);
  color: var(--c-on-dark-2);
}
.hm-support .icon { color: var(--c-amber); flex: none; }

/* Abstract product page */
.hm-visual { position: relative; }
.hm-mock {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.hm-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eef1f5;
}
.hm-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6df; }
.hm-mock-bar span { flex: 1; height: 16px; margin-inline-start: 10px; border-radius: 8px; background: #fff; }
.hm-mock-body { padding: 22px; color: var(--c-ink); }
.hm-mock-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.hm-mock-head b { display: block; font: 700 1.0625rem/1.2 var(--font-heading); color: var(--c-navy); margin-bottom: 6px; }
.hm-mock-thumb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #e8eef7;
  color: var(--c-blue);
  flex: none;
}
.hm-mock-thumb .icon { width: 28px; height: 28px; }
.hm-sk { display: block; height: 9px; border-radius: 5px; background: #e3e7ed; }
.hm-sk.w50 { width: 50%; } .hm-sk.w60 { width: 60%; } .hm-sk.w70 { width: 70%; } .hm-sk.w80 { width: 80%; }
.hm-mock-spec { display: grid; gap: 10px; margin: 0 0 18px; }
.hm-mock-spec div { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; }
.hm-mock-spec dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5b6573; }
.hm-mock-spec dd { margin: 0; }
.hm-mock-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 18px;
  border-radius: 8px;
  overflow: hidden;
  background: #e3e7ed;
}
.hm-mock-table span { height: 26px; background: #fff; }
.hm-mock-table span:nth-child(-n + 3) { background: #f5f7fa; }
.hm-mock-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #cfd6df;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-navy);
}
.hm-mock-btn.is-amber { background: var(--c-amber); border-color: var(--c-amber); }

/* Problem strip */
.hm-problem {
  background: var(--c-navy-2);
  color: var(--c-on-dark);
  padding-block: var(--s-7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hm-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-problem-grid li { max-width: none; padding-inline-start: var(--s-4); border-inline-start: 2px solid var(--c-amber); }
.hm-problem-n { display: block; font: 700 var(--t-xs)/1 var(--font-body); letter-spacing: 0.1em; color: var(--c-amber); margin-bottom: var(--s-2); }
.hm-problem h3 { margin: 0 0 var(--s-2); color: #fff; font-size: var(--t-h3); }
.hm-problem p { margin: 0; color: var(--c-on-dark); }

/* Five services: 3 + 2 at desktop, 2 + 2 + 1 at tablet, 1 at phone */
.hm-svc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-4);
}
.hm-svc { grid-column: span 2; display: flex; flex-direction: column; padding: var(--s-5); }
.hm-svc:nth-child(4) { grid-column: 2 / span 2; }
.hm-svc:nth-child(5) { grid-column: 4 / span 2; }
.hm-svc h3 { margin: var(--s-3) 0 var(--s-2); }
.hm-svc > p { margin: 0 0 var(--s-3); color: var(--c-ink-2); }
.hm-svc .mm-check { margin: 0 0 var(--s-4); }
.hm-svc .mm-card-more { margin-top: auto; }
.mm-check { display: grid; gap: 10px; padding: 0; list-style: none; }
.mm-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96875rem; line-height: 1.5; }
.mm-check li .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--c-blue); }
@media (max-width: 1023px) {
  .hm-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-svc, .hm-svc:nth-child(4) { grid-column: auto; }
  .hm-svc:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .hm-svc-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-svc { padding: var(--s-4); }
}

/* Website includes */
.hm-inc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.hm-inc-copy p { color: var(--c-ink-2); }
.hm-inc-copy .btn { margin-top: var(--s-3); }
.hm-inc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2) var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-inc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--card-radius);
  font-weight: 600;
  color: var(--c-navy);
}
.hm-inc-list .icon { flex: none; width: 20px; height: 20px; color: var(--c-blue); }

/* Steps */
.hm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.hm-steps li { position: relative; padding-top: var(--s-2); }
.hm-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  inset-inline-start: 64px;
  inset-inline-end: calc(-1 * var(--s-4) + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--c-line), var(--c-line) 50%, transparent 50%) 0 0 / 12px 2px repeat-x;
}
.hm-step-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-3);
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  font: 700 1.0625rem/1 var(--font-heading);
  box-shadow: 0 0 0 6px rgba(242, 169, 0, 0.18);
}
.hm-steps h3 { margin: 0 0 var(--s-2); font-size: var(--t-h4); }
.hm-steps p { margin: 0; color: var(--c-ink-2); font-size: 0.96875rem; }
@media (max-width: 899px) {
  .hm-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .hm-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s-3); padding: 0; }
  .hm-steps li .hm-step-n { grid-row: span 2; margin: 0; }
  .hm-steps li:not(:last-child)::after { display: none; }
}

/* Software */
.hm-soft {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}
.hm-soft-card { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); background: #fff; border: 1px solid var(--c-line); }
.hm-soft-card p { margin: 0; color: var(--c-ink-2); }
.hm-soft-card .mm-check { margin: 0; }
.hm-soft-card .mm-card-more { margin-top: auto; }
.hm-soft-head { display: flex; align-items: center; gap: var(--s-3); }
.hm-soft-head h3 { margin: 0; }
.hm-soft-head small { color: var(--c-ink-2); font-size: var(--t-sm); }
.hm-soft-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3) var(--s-4);
  margin-top: var(--s-5);
  text-align: center;
}
.hm-price-line {
  margin: 0;
  max-width: none;
  font-weight: 600;
  color: var(--c-navy);
}
@media (max-width: 767px) {
  .hm-soft { grid-template-columns: minmax(0, 1fr); }
  .hm-soft-card { padding: var(--s-4); }
}

/* Sourcing support */
.hm-src {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.hm-src-copy .lead { color: var(--c-ink-2); }
.hm-src-points { display: grid; gap: var(--s-3); margin: var(--s-4) 0; padding: 0; list-style: none; }
.hm-src-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.hm-src-points .icon { flex: none; width: 22px; height: 22px; color: var(--c-blue); margin-top: 1px; }
.hm-rfq { display: block; padding: 0; background: none; border: 0; box-shadow: none; }
.hm-rfq .mm-rfq-form {
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow-hover);
}
.hm-rfq-title { margin: 0 0 var(--s-2); font-size: var(--t-h3); }
@media (max-width: 899px) {
  .hm-src { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .hm-rfq .mm-rfq-form { padding: var(--s-4); }
}

/* Industries */
.hm-ind {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: var(--s-5);
  align-items: center;
}
.hm-ind h2 { margin: 0; }
.hm-ind-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-ind-list li {
  padding: 10px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-navy);
}
@media (max-width: 899px) {
  .hm-ind { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
}

/* Why */
.hm-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5) var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-why h3 { margin: var(--s-3) 0 var(--s-2); font-size: var(--t-h4); }
.hm-why p { margin: 0; color: var(--c-ink-2); font-size: 0.96875rem; }
@media (max-width: 1023px) { .hm-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .hm-why { grid-template-columns: minmax(0, 1fr); } }

/* Blog cards */
.hm-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.sv-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-post { padding: var(--s-4); background: #fff; border: 1px solid var(--c-line); max-width: none; }
.hm-post time { font-size: var(--t-xs); font-weight: 600; color: var(--c-ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
.hm-post h3 { margin: var(--s-2) 0; font-size: var(--t-h4); line-height: 1.35; }
.hm-post h3 a { color: var(--c-navy); text-decoration: none; }
.hm-post h3 a:hover { color: var(--c-blue); }
.hm-post p { margin: 0; font-size: 0.9375rem; color: var(--c-ink-2); }
@media (max-width: 899px) { .hm-posts, .sv-posts { grid-template-columns: minmax(0, 1fr); } }
.hp-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-3); margin-bottom: var(--s-5); }
.hp-head-row .mm-section-head { margin-bottom: 0; }

/* Closing CTA band */
.cta-close {
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(242, 169, 0, 0.16), transparent 60%),
    var(--c-navy);
  color: #fff;
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-close-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.cta-close h2 { margin: 0; color: #fff; max-width: 26ch; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.cta-close-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ============================================================ 11. Client strip */
.cs {
  background: var(--c-navy);
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 80px;
}
.cs-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 88px;
}
.cs-title {
  flex: none;
  margin: 0;
  font: 700 var(--t-sm)/1.2 var(--font-body) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.cs-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cs-track {
  display: flex;
  width: max-content;
  animation: cs-scroll 30s linear infinite;
}
.cs-viewport:hover .cs-track,
.cs-viewport:focus-within .cs-track {
  animation-play-state: paused;
}
.cs-list {
  display: flex;
  flex: none;
  gap: var(--s-6);
  margin: 0;
  padding: 0 var(--s-6) 0 0;
  list-style: none;
}
.cs-list li { max-width: none; }
.cs-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 4px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font: 700 1.125rem/1.2 var(--font-heading);
}
.cs-item small { font: 500 var(--t-sm)/1 var(--font-body); color: var(--c-on-dark-2); }
.cs-item .icon { width: 14px; height: 14px; align-self: center; color: var(--c-amber); }
.cs-item:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
@keyframes cs-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
[dir='rtl'] .cs-track { animation-name: cs-scroll-rtl; }
@keyframes cs-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-track { animation: none; width: auto; }
  .cs-list[aria-hidden='true'] { display: none; }
  .cs-list { flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding: 0; }
  .cs-viewport { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 767px) {
  .cs-inner { flex-direction: column; align-items: flex-start; gap: var(--s-1); min-height: 0; padding-block: var(--s-3); }
  .cs-viewport { width: 100%; }
  .cs-item { font-size: 1rem; }
  .cs-list { gap: var(--s-5); padding-inline-end: var(--s-5); }
}

/* ============================================================ 12. Service pages */
.sv-hero {
  padding: calc(var(--header-h, 72px) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 88px);
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(30, 78, 140, 0.5), transparent 70%),
    var(--c-navy);
  color: var(--c-on-dark);
}
.sv-hero h1 { margin: var(--s-2) 0 var(--s-3); color: #fff; max-width: 20ch; }
.sv-intro { margin: 0 0 var(--s-5); font-size: var(--t-lead); line-height: 1.55; max-width: 60ch; color: var(--c-on-dark); }
.mm-eyebrow.is-light { color: var(--c-amber); }
.sv-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s-4); padding: 0; list-style: none; font-size: var(--t-sm); }
.sv-crumbs li { color: var(--c-on-dark-2); }
.sv-crumbs li + li::before { content: '/'; margin-inline-end: 6px; opacity: 0.6; }
.sv-crumbs a { color: var(--c-on-dark); }
.sv-narrow { max-width: 820px; }
.sv-narrow h2 { margin: var(--s-2) 0 var(--s-4); }
.sv-narrow p { color: var(--c-ink-2); }
.sv-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
}
.sv-group { padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); scroll-margin-top: 96px; }
.sv-group h3 { margin: 0 0 var(--s-3); }
.sv-group .mm-check { margin: 0; }
.sv-price {
  margin-top: var(--s-5);
  padding: var(--s-5);
  border-radius: var(--card-radius);
  background: var(--c-navy);
  color: var(--c-on-dark);
  text-align: center;
}
.sv-price h3 { margin: 0 0 var(--s-3); color: #fff; }
.sv-price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4) var(--s-6); margin: 0 0 var(--s-3); }
.sv-price-grid div { display: flex; flex-direction: column-reverse; }
.sv-price-grid dt { font-size: var(--t-sm); color: var(--c-on-dark-2); }
.sv-price-grid dd { margin: 0; font: 800 2.25rem/1.1 var(--font-heading); color: var(--c-amber); }
.sv-price p { margin: 0 auto var(--s-4); color: var(--c-on-dark); }
.sv-work-more { margin: var(--s-3) auto 0; }
.sv-other-title { margin: 0 0 var(--s-3); font-size: var(--t-h4) !important; }
.sv-other { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.sv-other a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-navy);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 120ms ease;
}
.sv-other a:hover { border-color: var(--c-blue); }

/* ============================================================ 13. Footer */
.ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-5) var(--s-5);
}
.ft-grid .footer-brand img { height: 40px; width: auto; }
.footer-h {
  margin: 0 0 var(--s-3);
  font: 700 var(--t-sm)/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer .footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.site-footer .footer-col a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { flex: none; width: 16px; height: 16px; color: var(--c-amber); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 4px var(--s-3); margin: 0; padding: 0; list-style: none; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .lang-row a { color: #c3cfdd; }
.site-footer .lang-row a.is-active { color: #fff; }
.site-footer .lang-row-label { color: #fff; }
@media (max-width: 899px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-grid .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .ft-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-col a { min-height: 44px; }
}

/* ============================================================ 14. Responsive hero */
@media (max-width: 1023px) {
  .hm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-visual { max-width: 520px; }
  .hm-mock { transform: none; }
}
@media (max-width: 767px) {
  .hm-problem-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .hm-inc { grid-template-columns: minmax(0, 1fr); }
  .hm-inc-list { grid-template-columns: minmax(0, 1fr); }
  .hm-visual { display: none; }
  .hm-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .cta-close-actions { width: 100%; }
  .cta-close-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ============================================================ 15. Right-to-left (Arabic) */
[dir='rtl'] body { font-family: 'Inter', 'Segoe UI', Tahoma, 'Noto Sans Arabic', sans-serif; }
[dir='rtl'] main h1,
[dir='rtl'] main h2,
[dir='rtl'] main h3 { letter-spacing: 0; }
[dir='rtl'] .icon-arrow,
[dir='rtl'] .mm-card-more .icon,
[dir='rtl'] .link-arrow .icon,
[dir='rtl'] .mm-view-all .icon,
[dir='rtl'] .sv-other a .icon:last-child { transform: scaleX(-1); }
[dir='rtl'] .hm-mock { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
[dir='rtl'] .hm-steps li:not(:last-child)::after { background-position: 100% 0; }
[dir='rtl'] .hm-kicker,
[dir='rtl'] .cs-title,
[dir='rtl'] .footer-h,
[dir='rtl'] .mm-col-title,
[dir='rtl'] .hm-problem-n { letter-spacing: 0; text-transform: none; }
[dir='rtl'] .faq-trigger { text-align: right; }
[dir='rtl'] .cs-viewport {
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(270deg, transparent, #000 6%, #000 94%, transparent);
}
[dir='rtl'] .cs-list { padding: 0 0 0 var(--s-6); }
@media (max-width: 1023px) {
  [dir='rtl'] .hm-mock { transform: none; }
}

/* ============================================================ 16. Header fit (7 items + switcher) */
.mm-header .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--s-3); }
.mm-header .brand { flex: none; }
.mm-header .brand img { width: 150px; max-width: none; height: auto; }
.mm-nav-btn { white-space: nowrap; }
/* Seven items + switcher need 1280px: below that the hamburger menu is used (it has every link and the languages). */
@media (min-width: 1280px) {
  .mm-nav-btn { padding: 0 10px; font-size: 0.9375rem; }
  .mm-header .header-login span { display: none; }
  .mm-header .header-login { min-width: 44px; min-height: 44px; justify-content: center; }
}
@media (min-width: 1500px) {
  .mm-nav-btn { padding: 0 13px; }
}
@media (max-width: 1279px) {
  .mm-header .mm-nav { display: none; }
  .mm-header .menu-toggle { display: grid; }
  .mm-header .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .mm-header .header-actions .lang-switch { display: none; }
}
/* Section heads: wider measure so headings do not break into three lines */
.mm-section-head.is-center h2 { max-width: 30ch; margin-inline: auto; }
.mm-section-head h2,
.hm-inc-copy h2,
.hm-src-copy h2 { margin-bottom: var(--s-3); }
/* Footer language row */
.site-footer .lang-row-label { background: none; padding: 0; color: #fff; }
.site-footer .lang-row-label .icon { color: var(--c-amber); }
.footer-bottom .lang-row { margin-inline-start: auto; }

.mm-nav { min-width: 0; }
.mm-header .header-actions .lang-switch { margin-inline-end: 0; padding-inline-end: var(--s-2); }
@media (max-width: 767px) {
  .mm-header .header-cta { white-space: nowrap; font-size: 0.8125rem; padding: 0 10px; --btn-h: 40px; min-height: 40px; }
}
@media (max-width: 419px) {
  .mm-header .header-login { display: none; }
  .mm-header .brand img { width: 128px; }
}
/* Paragraph rhythm in text blocks */
.sv-narrow p,
.hm-inc-copy p,
.hm-src-copy p { margin: 0 0 var(--s-3); }

/* ============================================================ 17. Sourcing page */
.sb-page .sv-hero .hm-src { align-items: center; }
.sb-page .sv-hero h1 { max-width: 18ch; }
.hm-src-points.is-light li { color: var(--c-on-dark); }
.hm-src-points.is-light .icon { color: var(--c-amber); }
.sb-page .sv-hero .hm-rfq-title { color: var(--c-navy); }
.sb-note { display: flex; gap: 8px; align-items: flex-start; margin: var(--s-5) auto 0; max-width: 70ch; font-size: var(--t-sm); color: var(--c-ink-2); }
.sb-note .icon { flex: none; margin-top: 3px; }
.sb-post-row { margin-top: var(--s-5); }

/* 18. Blog article call-to-action (2026-11) */
.post-cta { margin: var(--s-6, 32px) 0; padding: var(--s-5, 24px); border-radius: 16px; background: #0b1f3a; color: #fff; }
.post-cta h2 { margin: 0 0 var(--s-2, 8px); font-size: 1.25rem; color: #fff; }
.post-cta p { margin: 0 0 var(--s-4, 16px); color: rgba(255, 255, 255, .86); }
.author-avatar.is-initials { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0b1f3a; color: #f2a900; font: 700 .7rem/1 Montserrat, sans-serif; }
.author-box-logo img, .svc-hub-logo img { width: auto; max-width: 100%; height: auto; }

/* 19. Tap targets ≥ 44px on phones (2026-11 quality pass) */
@media (max-width: 640px) {
  .post-cat, .author-link, .breadcrumb a, .sv-crumbs a, .mm-breadcrumbs a, .link-arrow, .footer-bottom a, .lang-row a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .post-meta { row-gap: 0; }
  .blog-cat, .article-tags .chip, .pagination .btn, .header-cta, .site-header .brand { min-height: 44px; }
  .blog-cat, .article-tags .chip { display: inline-flex; align-items: center; }
  .share-btn { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  .header-actions .header-cta, .btn.btn-sm, .newsletter-form input, .newsletter-form .btn, .footer-brand > a { min-height: 44px; }
  .footer-col a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom a, .lang-row a { min-width: 44px; justify-content: center; }
}
@media (max-width: 640px) {
  .footer-brand > a { display: inline-flex; align-items: center; }
  .faq-help-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 20. Contrast fixes (WCAG AA) */
.ct-route.r-orange em { color: #8a5a00; }           /* amber label on white was 2.0:1; now 5.6:1 */
.trend-badge { color: #0b1f3a; background: #f2a900; } /* white on amber was 2.0:1; navy on amber 8.1:1 */

/* ==========================================================================
   21. Free Website Check (/free-check, report) — 2026-11
   ========================================================================== */
.fc-hero { padding-bottom: clamp(40px, 5vw, 72px); }
.fc-form { max-width: 680px; }
.fc-field {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px;
  background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.fc-field:focus-within { box-shadow: 0 0 0 3px var(--c-amber), 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.fc-field-icon { flex: none; width: 20px; height: 20px; color: var(--c-ink-2); }
.fc-input {
  flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1.0625rem; color: var(--c-ink);
}
.fc-input::placeholder { color: #8a94a3; }
.fc-submit { flex: none; min-height: 48px; white-space: nowrap; }
.fc-submit[aria-busy='true'] { opacity: 0.85; cursor: progress; }
.fc-error { margin: 10px 0 0; color: #ffb4a8; font-weight: 600; font-size: var(--t-sm); }
.section .fc-error, .fc-unlock .fc-error { color: #b3261e; }
.fc-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.fc-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: var(--s-4) 0 0; padding: 0; list-style: none; color: var(--c-on-dark); font-size: var(--t-sm); }
.fc-trust li { display: inline-flex; align-items: center; gap: 6px; }
.fc-trust .icon { color: var(--c-amber); }
.fc-form.is-compact { margin-top: var(--s-4); }
.fc-form.is-compact .fc-input { min-height: 44px; font-size: 1rem; }
.fc-form.is-compact .fc-submit { min-height: 44px; }
.hm-check-note { margin: 10px 0 0; font-size: var(--t-sm); color: var(--c-on-dark-2); }
.hm-check-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .fc-field { flex-wrap: wrap; padding: 8px; }
  .fc-field-icon { display: none; }
  .fc-input { flex-basis: 100%; padding: 0 8px; }
  .fc-submit { flex: 1; justify-content: center; }
}

.fc-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s-3); }
.fc-group { padding: var(--s-4); border: 1px solid var(--c-line); border-radius: 12px; background: #fff; }
.fc-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s-3); font-size: 1.125rem; }
.fc-group-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eef3fa; color: var(--c-blue); }
.fc-group-icon .icon { width: 18px; height: 18px; }
.fc-group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--c-ink-2); }
.fc-group li { position: relative; padding-inline-start: 18px; }
.fc-group li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-amber); }
.fc-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.fc-how h3 { margin: var(--s-2) 0 6px; font-size: 1.125rem; }
.fc-how p { margin: 0; color: var(--c-ink-2); }
.fc-how-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-navy); color: #fff; font-weight: 800; }
.fc-faq details { border-bottom: 1px solid var(--c-line); padding: var(--s-3) 0; }
.fc-faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.fc-faq p { margin: var(--s-2) 0 0; color: var(--c-ink-2); }
.fc-nosite { margin: var(--s-5) 0 0; color: var(--c-ink-2); }

/* Report */
.fc-report-head { padding: calc(var(--header-h, 72px) + clamp(28px, 4vw, 56px)) 0 clamp(28px, 4vw, 48px); background: radial-gradient(60% 80% at 90% 0%, rgba(30, 78, 140, 0.5), transparent 70%), var(--c-navy); color: var(--c-on-dark); }
.fc-report-head h1 { margin: var(--s-2) 0 var(--s-2); color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); overflow-wrap: anywhere; }
.fc-report-head .sv-intro { margin: 0; }
.fc-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--c-on-dark); font-size: var(--t-sm); }
.fc-back:hover { color: #fff; }
.fc-back .flip { transform: scaleX(-1); }
[dir='rtl'] .fc-back .flip { transform: none; }

.fc-live-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-5); align-items: start; }
@media (max-width: 860px) { .fc-live-grid { grid-template-columns: minmax(0, 1fr); } }
.fc-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fc-step { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.fc-step-text { flex: 1; font-weight: 600; }
.fc-step-state { font-size: var(--t-xs); color: var(--c-ink-2); white-space: nowrap; }
.fc-step-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd3dd; position: relative; }
.fc-step.is-running { border-color: var(--c-blue); box-shadow: 0 10px 24px -16px rgba(30, 78, 140, 0.6); }
.fc-step.is-running .fc-step-dot { border-color: rgba(30, 78, 140, 0.25); border-top-color: var(--c-blue); animation: fc-spin 0.8s linear infinite; }
.fc-step.is-done .fc-step-dot, .fc-step.is-estimated .fc-step-dot { border-color: #188038; background: #188038; }
.fc-step.is-done .fc-step-dot::after, .fc-step.is-estimated .fc-step-dot::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fc-step.is-failed .fc-step-dot { border-color: #d93025; background: #d93025; }
.fc-step.is-waiting { opacity: 0.6; }
@keyframes fc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fc-step.is-running .fc-step-dot { animation: none; border-color: var(--c-blue); } }
.fc-found { padding: var(--s-4); border-radius: 12px; background: var(--c-alt); border: 1px solid var(--c-line); }
.fc-found h2 { margin: 0 0 var(--s-3); font-size: 1.125rem; }
.fc-found dl, .fc-profile dl { margin: 0; display: grid; gap: 12px; }
.fc-found dl > div, .fc-profile dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; }
.fc-found dt, .fc-profile dt { color: var(--c-ink-2); font-size: var(--t-sm); }
.fc-found dd, .fc-profile dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.fc-found dd.is-new { animation: fc-pop 0.6s var(--mm-ease-out, ease-out); }
@keyframes fc-pop { from { background: #fff4cc; } to { background: transparent; } }

.fc-flash { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s-4); padding: 12px 16px; border-radius: 10px; background: #e6f4ea; color: #0d652d; font-weight: 600; }
.fc-summary { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; padding: var(--s-5); border: 1px solid var(--c-line); border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
.fc-score { position: relative; width: 168px; height: 168px; flex: none; }
.fc-ring { width: 100%; height: 100%; }
.fc-ring circle { fill: none; stroke-width: 10; }
.fc-ring-bg { stroke: #edf0f4; }
.fc-ring-fg { stroke-linecap: round; }
.fc-score-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.fc-score-num b { font-size: 3rem; line-height: 1; color: var(--c-navy); }
.fc-score-num span { font-size: var(--t-xs); color: var(--c-ink-2); }
.fc-summary-text { flex: 1; min-width: 240px; }
.fc-grade-chip { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: var(--t-sm); }
.fc-grade-chip.fc-grade-strong { background: #e6f4ea; color: #0d652d; }
.fc-grade-chip.fc-grade-fair { background: #fef7e0; color: #7a5200; }
.fc-grade-chip.fc-grade-weak { background: #feefe3; color: #8a3a00; }
.fc-grade-chip.fc-grade-poor { background: #fce8e6; color: #a50e0e; }
.fc-grade-line { margin: 0 0 var(--s-3); font-size: 1.0625rem; }
.fc-bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fc-bars li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: var(--t-sm); }
.fc-bars b { text-align: end; }
.fc-bar { height: 8px; border-radius: 99px; background: #edf0f4; overflow: hidden; }
.fc-bar i { display: block; height: 100%; border-radius: 99px; }
.fc-bar i.is-good { background: #188038; } .fc-bar i.is-mid { background: #f2a900; } .fc-bar i.is-low { background: #d93025; }
.fc-w-0 { width: 0%; }
.fc-w-5 { width: 5%; }
.fc-w-10 { width: 10%; }
.fc-w-15 { width: 15%; }
.fc-w-20 { width: 20%; }
.fc-w-25 { width: 25%; }
.fc-w-30 { width: 30%; }
.fc-w-35 { width: 35%; }
.fc-w-40 { width: 40%; }
.fc-w-45 { width: 45%; }
.fc-w-50 { width: 50%; }
.fc-w-55 { width: 55%; }
.fc-w-60 { width: 60%; }
.fc-w-65 { width: 65%; }
.fc-w-70 { width: 70%; }
.fc-w-75 { width: 75%; }
.fc-w-80 { width: 80%; }
.fc-w-85 { width: 85%; }
.fc-w-90 { width: 90%; }
.fc-w-95 { width: 95%; }
.fc-w-100 { width: 100%; }
@media (max-width: 560px) { .fc-bars li { grid-template-columns: minmax(0, 1fr) 44px; } .fc-bars li .fc-bar { grid-column: 1 / -1; grid-row: 2; } .fc-summary { padding: var(--s-4); justify-content: center; } }

.fc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-5); margin-top: var(--s-5); align-items: start; }
@media (max-width: 960px) { .fc-cols { grid-template-columns: minmax(0, 1fr); } }
.fc-main h2 { margin: 0 0 var(--s-3); font-size: 1.375rem; }
.fc-issues { margin: 0 0 var(--s-5); padding: 0; list-style: none; display: grid; gap: var(--s-3); }
.fc-issue { display: flex; gap: 14px; padding: var(--s-4); border-radius: 12px; border: 1px solid var(--c-line); border-inline-start: 4px solid #d93025; background: #fff; }
.fc-issue.is-warn { border-inline-start-color: #f2a900; }
.fc-issue h3 { margin: 0 0 6px; font-size: 1.0625rem; }
.fc-issue p { margin: 0 0 6px; }
.fc-issue-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-navy); color: #fff; font-weight: 800; font-size: var(--t-sm); }
.fc-fix { color: var(--c-ink-2); }
.fc-measure { font-size: var(--t-sm); color: var(--c-ink-2); font-variant-numeric: tabular-nums; }
.fc-all-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.fc-all-head .muted { margin: 0; }
.fc-all-group { margin: var(--s-4) 0 var(--s-2); font-size: 1rem; color: var(--c-ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
.fc-all { margin: 0; padding: 0; list-style: none; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; }
.fc-all li { display: flex; gap: 14px; padding: 14px 16px; }
.fc-all li + li { border-top: 1px solid var(--c-line); }
.fc-all h4 { margin: 0 0 4px; font-size: 1rem; }
.fc-all p { margin: 0 0 4px; font-size: 0.9688rem; }
.fc-badge { flex: none; align-self: flex-start; min-width: 104px; padding: 3px 10px; border-radius: 999px; font-size: var(--t-xs); font-weight: 700; text-align: center; }
.fc-badge.is-pass { background: #e6f4ea; color: #0d652d; }
.fc-badge.is-warn { background: #fef7e0; color: #7a5200; }
.fc-badge.is-fail { background: #fce8e6; color: #a50e0e; }
@media (max-width: 560px) { .fc-all li { flex-direction: column; gap: 6px; } .fc-badge { min-width: 0; } }
.fc-locked { position: relative; }
.fc-blur { filter: blur(3px); user-select: none; pointer-events: none; max-height: 340px; overflow: hidden; }
.fc-unlock { position: relative; margin-top: -200px; padding: var(--s-5); border-radius: 16px; background: #fff; border: 1px solid var(--c-line); box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.45); }
.fc-unlock h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.25rem; }
.fc-unlock > p { margin: 0 0 var(--s-3); color: var(--c-ink-2); }
.fc-unlock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-bottom: var(--s-3); }
@media (max-width: 560px) { .fc-unlock-grid { grid-template-columns: minmax(0, 1fr); } .fc-unlock { padding: var(--s-4); margin-top: -140px; } }
.fc-lbl { display: grid; gap: 6px; font-weight: 600; font-size: var(--t-sm); }
.fc-lbl .input { min-height: 46px; padding: 0 12px; border: 1px solid #c9d1dc; border-radius: 8px; font: inherit; font-size: 1rem; width: 100%; }
.fc-lbl .input:focus { outline: 2px solid var(--c-blue); outline-offset: 1px; }
.fc-lbl .input[aria-invalid='true'] { border-color: #b3261e; }
.fc-lbl small.fc-error { margin: 0; font-weight: 600; }
.fc-unlock .small { margin: var(--s-2) 0 0; }
.fc-side { display: grid; gap: var(--s-3); }
.fc-profile, .fc-cta { padding: var(--s-4); border-radius: 12px; border: 1px solid var(--c-line); background: #fff; }
.fc-profile h2, .fc-cta h2 { margin: 0 0 var(--s-3); font-size: 1.125rem; overflow-wrap: anywhere; }
.fc-profile dl > div { grid-template-columns: 110px minmax(0, 1fr); }
.fc-chip { display: inline-block; margin: 0 4px 4px 0; padding: 2px 8px; border-radius: 6px; background: #eef3fa; color: var(--c-navy); font-size: var(--t-xs); font-weight: 600; }
.fc-chip.is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fc-cta { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-on-dark); }
.fc-cta h2 { color: #fff; }
.fc-cta p { margin: 0 0 var(--s-3); }
.fc-cta .btn { margin: 0 8px 8px 0; }
.fc .muted { color: var(--c-ink-2); }
.fc .small { font-size: var(--t-sm); }
.fc-badge.is-skip { background: #eef1f5; color: #4b5563; }
.hm-check-note { display: flex; align-items: center; gap: 6px; }
.hm-check-note .icon { color: var(--c-amber); }
.section-alt .fc-form .fc-field, .section .fc-form .fc-field { box-shadow: 0 0 0 1px var(--c-line), 0 12px 30px -20px rgba(11, 31, 58, 0.4); }
.section .fc-form .fc-field:focus-within { box-shadow: 0 0 0 3px var(--c-blue); }

/* Chinese (/zh): Latin fonts first (product names, grades), then the system Chinese fonts; no tight tracking on CJK headings. */
:root:lang(zh) {
  --font-heading: 'Montserrat', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
}
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; word-break: normal; line-break: strict; }
:lang(zh) body { line-height: 1.75; }
/* Free Website Check — admin bar on the report (admin view only) */
.fc-flash .inline-form { display: inline-block; margin: 0 6px 0 10px; }
.fc-flash { flex-wrap: wrap; }

/* ==========================================================================
   22. Free Growth Check — landing additions + growth plan on the report (2026-11)
   ========================================================================== */
.fc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fc-hero-grid h1 { max-width: 22ch; }
@media (max-width: 960px) { .fc-hero-grid { grid-template-columns: minmax(0, 1fr); } .fc-preview { display: none; } }
.fc-preview-card {
  position: relative; padding: 22px; border-radius: 18px; color: var(--c-ink);
  background: linear-gradient(180deg, #fff, #f6f8fb); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(1.2deg);
}
.fc-preview-card::before { content: ''; position: absolute; inset: -10px 18px auto; height: 100%; border-radius: 18px; background: rgba(255, 255, 255, 0.07); z-index: -1; transform: rotate(-4deg); }
.fc-preview-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.fc-preview-ring { width: 84px; height: 84px; flex: none; }
.fc-preview-ring text { font: 800 34px/1 var(--font-heading, sans-serif); fill: var(--c-navy); }
.fc-preview-k { margin: 10px 0 8px; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-2); }
.fc-preview-top .fc-preview-k { margin-top: 0; }
.fc-preview-dots { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fc-preview-dots li { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.fc-preview-dots .is-good { background: #e6f4ea; color: #0d652d; } .fc-preview-dots .is-mid { background: #fef7e0; color: #7a5200; }
.fc-preview-dots .is-gap { background: #fce8e6; color: #a50e0e; } .fc-preview-dots .is-unknown { background: #eef1f5; color: #4b5563; }
.fc-preview-chips, .fc-preview-segs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: var(--t-sm); }
.fc-preview-chips li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--c-line); font-weight: 600; }
.fc-preview-chips .icon { color: var(--c-blue); flex: none; }
.fc-preview-segs li { display: flex; align-items: center; gap: 8px; color: var(--c-ink-2); }
.fc-preview-segs .icon { color: var(--c-amber); flex: none; }

.fc-includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-3); }
.fc-inc { padding: var(--s-4); border: 1px solid var(--c-line); border-radius: 14px; background: #fff; transition: box-shadow 0.25s, transform 0.25s; }
.fc-inc:hover { box-shadow: var(--mm-card-shadow-hover); transform: translateY(-2px); }
.fc-inc h3 { margin: var(--s-3) 0 6px; font-size: 1.125rem; }
.fc-inc p { margin: 0; color: var(--c-ink-2); }

.fc-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.fc-flow li { position: relative; padding: var(--s-4); border-radius: 14px; background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.fc-flow li:not(:last-child)::after { content: ''; position: absolute; top: 44px; inset-inline-end: -14px; width: 12px; height: 2px; background: var(--c-amber); }
.fc-flow h3 { margin: var(--s-3) 0 6px; font-size: 1.0625rem; }
.fc-flow p { margin: 0 0 var(--s-3); color: var(--c-ink-2); font-size: 0.9688rem; flex: 1; }
.fc-flow-icon { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-navy); color: #fff; }
.fc-flow-n { position: absolute; top: -8px; inset-inline-end: -8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-amber); color: var(--c-navy); font-size: 12px; font-weight: 800; }
.fc-flow-svc { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 700; color: var(--c-blue); }
@media (max-width: 1100px) { .fc-flow { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .fc-flow li::after { display: none; } }

.fc-sample { background: radial-gradient(50% 70% at 10% 0%, rgba(30, 78, 140, 0.55), transparent 70%), var(--c-navy); color: var(--c-on-dark); }
.fc-sample h2 { color: #fff; }
.fc-sample .lead { color: var(--c-on-dark); }
.fc-sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-3); }
.fc-sample-card { padding: var(--s-4); border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.fc-sample-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s-3); color: #fff; font-size: 1.0625rem; }
.fc-sample-card h3 .icon { color: var(--c-amber); }
.fc-sample .gp-searches li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.fc-sample .gp-searches .icon { color: var(--c-amber); }
.fc-sample-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fc-sample-list li { display: flex; gap: 12px; align-items: flex-start; }
.fc-sample-list b { display: block; color: #fff; }
.fc-sample-list small { display: block; color: var(--c-on-dark-2); font-size: var(--t-sm); }
.fc-sample .gp-seg-icon { background: rgba(242, 169, 0, 0.15); color: var(--c-amber); }
.fc-sample .gp-market-n { background: var(--c-amber); color: var(--c-navy); }
.fc-sample-note { display: flex; align-items: center; gap: 8px; margin: var(--s-4) 0 0; font-size: var(--t-sm); color: var(--c-on-dark-2); }
.fc-final { background: var(--c-navy); color: var(--c-on-dark); text-align: center; }
.fc-final h2 { color: #fff; }
.fc-final .lead { color: var(--c-on-dark); }
.fc-final .fc-form { margin: var(--s-4) auto 0; text-align: start; }
.fc-final .fc-nosite { color: var(--c-on-dark-2); }
.fc-final .fc-nosite a { color: #fff; }
.section.fc-final .fc-form .fc-field { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.section.fc-final .fc-error { color: #ffb4a8; }

/* Growth plan (report) */
.gp { border-top: 1px solid var(--c-line); background: linear-gradient(180deg, var(--c-alt), #fff 320px); }
.gp-head { max-width: 760px; margin-bottom: var(--s-5); }
.gp-head h2 { margin: var(--s-2) 0 var(--s-2); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); overflow-wrap: anywhere; }
.gp-head .lead { margin: 0; color: var(--c-ink-2); }
.gp-block { margin-top: var(--s-6, 48px); }
.gp-block > h3, .gp-block-head h3 { margin: 0 0 6px; font-size: 1.375rem; }
.gp-block > .muted { margin: 0 0 var(--s-4); }
.gp-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.gp-gaps { margin: 0; padding: 4px 12px; border-radius: 999px; background: #e6f4ea; color: #0d652d; font-weight: 700; font-size: var(--t-sm); }
.gp-gaps.is-bad { background: #fce8e6; color: #a50e0e; }
.gp-journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1100px) { .gp-journey { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.gp-step { display: flex; flex-direction: column; padding: var(--s-4); border-radius: 14px; background: #fff; border: 1px solid var(--c-line); border-top: 4px solid #cbd3dd; }
.gp-step.is-good { border-top-color: #188038; } .gp-step.is-mid { border-top-color: #f2a900; } .gp-step.is-gap { border-top-color: #d93025; }
.gp-step-top { display: flex; align-items: center; gap: 8px; }
.gp-step-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eef3fa; color: var(--c-blue); }
.gp-step-n { font-weight: 800; color: var(--c-ink-2); font-size: var(--t-sm); }
.gp-state { margin-inline-start: auto; padding: 2px 8px; border-radius: 999px; font-size: var(--t-xs); font-weight: 700; white-space: nowrap; }
.gp-state.is-good { background: #e6f4ea; color: #0d652d; } .gp-state.is-mid { background: #fef7e0; color: #7a5200; }
.gp-state.is-gap { background: #fce8e6; color: #a50e0e; } .gp-state.is-unknown { background: #eef1f5; color: #4b5563; }
.gp-step h4 { margin: var(--s-3) 0 6px; font-size: 1.0625rem; }
.gp-step-d { margin: 0 0 10px; color: var(--c-ink-2); font-size: 0.9375rem; }
.gp-step-you { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--c-alt); font-weight: 600; font-size: 0.9375rem; flex: 1; }
.gp-step.is-gap .gp-step-you { background: #fdf1f0; } .gp-step.is-good .gp-step-you { background: #f0f8f2; }
.gp-step-svc { display: flex; align-items: center; gap: 6px; margin: 0; font-size: var(--t-sm); color: var(--c-ink-2); }
.gp-step-svc .icon { color: var(--c-blue); flex: none; }
.gp-step-svc b { color: var(--c-navy); }
.gp-searches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gp-searches li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-weight: 600; font-size: 0.9375rem; box-shadow: var(--mm-card-shadow); }
.gp-searches .icon { color: var(--c-blue); flex: none; }
.gp-searches li.is-more { background: var(--c-alt); color: var(--c-ink-2); box-shadow: none; }
.gp-seg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.gp-seg { padding: var(--s-4); border-radius: 14px; background: #fff; border: 1px solid var(--c-line); }
.gp-seg h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s-3); font-size: 1.0625rem; }
.gp-seg p { margin: 0 0 10px; font-size: 0.9375rem; }
.gp-seg-icon { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff4d6; color: #8a5a00; }
.gp-label { margin: 0 0 4px !important; font-size: var(--t-xs) !important; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-ink-2); }
.gp-roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gp-roles li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: #eef3fa; color: var(--c-navy); font-size: var(--t-xs); font-weight: 600; }
.gp-markets { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.gp-market { display: flex; gap: 12px; padding: var(--s-4); border-radius: 14px; background: #fff; border: 1px solid var(--c-line); }
.gp-market h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 1.0625rem; }
.gp-market h4 .icon { color: var(--c-blue); }
.gp-market p { margin: 0; font-size: 0.9375rem; color: var(--c-ink-2); }
.gp-market .gp-countries { margin-bottom: 6px; color: var(--c-ink); font-weight: 600; }
.gp-market-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-navy); color: #fff; font-weight: 800; font-size: var(--t-sm); }
.gp-ideas { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gp-ideas li { display: flex; gap: 14px; padding: var(--s-4); border-radius: 14px; background: #fff; border: 1px solid var(--c-line); }
.gp-ideas h4 { margin: 0 0 4px; font-size: 1.0625rem; }
.gp-ideas p { margin: 0 0 8px; }
.gp-idea-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--c-amber); color: var(--c-navy); font-weight: 800; }
.gp-locked { position: relative; margin-top: var(--s-5); }
.gp-locked-sm { margin-top: 10px; }
.gp-blur { filter: blur(3px); user-select: none; pointer-events: none; opacity: 0.8; }
.gp-locked-box { position: relative; max-width: 620px; margin: -150px auto 0; padding: var(--s-5); border-radius: 16px; background: #fff; border: 1px solid var(--c-line); box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.45); text-align: center; }
.gp-locked-box h3 { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.25rem; }
.gp-locked-box p { margin: 0 0 var(--s-3); color: var(--c-ink-2); }
.gp-locked-note { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 12px 16px; border-radius: 10px; background: #fff7e0; color: #5c4300; font-weight: 600; }
.gp-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.gp-svc { position: relative; display: flex; flex-direction: column; padding: var(--s-4); border-radius: 14px; background: #fff; border: 1px solid var(--c-line); color: inherit; text-decoration: none; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.gp-svc:hover { box-shadow: var(--mm-card-shadow-hover); transform: translateY(-2px); border-color: #c9d6e8; }
.gp-svc.is-now { border-color: #f2c94c; box-shadow: 0 0 0 1px #f2c94c inset; }
.gp-svc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gp-svc-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--c-navy); color: #fff; }
.gp-svc h3, .gp-svc h4 { margin: var(--s-3) 0 6px; font-size: 1.0625rem; }
.gp-svc p { margin: 0 0 var(--s-3); color: var(--c-ink-2); font-size: 0.9375rem; flex: 1; }
.gp-svc-more { color: var(--c-blue); }
[dir='rtl'] .gp-svc-more .icon, [dir='rtl'] .fc-flow-svc .icon { transform: scaleX(-1); }
.gp-prio { padding: 3px 10px; border-radius: 999px; font-size: var(--t-xs); font-weight: 700; }
.gp-prio.is-now { background: var(--c-amber); color: var(--c-navy); } .gp-prio.is-next { background: #eef3fa; color: var(--c-blue); }
.gp-prio.is-later { background: #e6f4ea; color: #0d652d; } .gp-prio.is-extra { background: #eef1f5; color: #4b5563; }
@media (prefers-reduced-motion: reduce) { .gp-svc, .fc-inc { transition: none; } .gp-svc:hover, .fc-inc:hover { transform: none; } }
@media (max-width: 560px) { .gp-locked-box { margin-top: -110px; padding: var(--s-4); } .fc-preview-card { transform: none; } }
.gp-locked { overflow: hidden; padding-bottom: 2px; }
.gp-blur p { overflow-wrap: anywhere; }
@media (min-width: 900px) { .fc-includes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 2026-11-22 Websites by industry (/services/websites/<industry>) */
.sv-ind-searches { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.sv-ind-searches li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--c-ink); font-size: 0.9375rem; }
.sv-ind-searches .icon { color: var(--c-ink-2); flex: none; }
.sv-ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.sv-ind-card { position: relative; padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); }
.sv-ind-card h3 { margin: var(--s-3) 0 var(--s-2); font-size: var(--t-h4); }
.sv-ind-card p { margin: 0; color: var(--c-ink-2); font-size: 0.96875rem; }
.sv-ind-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--c-navy); color: var(--c-on-dark); }
.sv-ind-icon .icon { width: 24px; height: 24px; }

/* ============================================================ Header language switcher below 1280 px (2026-11)
   The switcher used to live only in the footer and mobile menu on tablets and phones. A compact globe + code pill
   now sits next to the account icon; it links to the real translated pages (hreflang targets). */
@media (max-width: 1279px) {
  .mm-header .header-actions .lang-switch { display: block; margin-inline-end: 0; padding-inline-end: 0; border-inline-end: 0; }
  .mm-header .header-actions .lang-pill { min-height: 44px; min-width: 44px; padding: 0 10px; gap: 4px; }
  /* centred under the pill so it stays on screen in both directions (LTR and Arabic) */
  .mm-header .header-actions .lang-menu { inset-inline: auto; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 479px) {
  /* phones: globe + code only, no caret; the brand shrinks a little to make room */
  .mm-header .header-actions .lang-caret { display: none; }
  .mm-header .header-actions .lang-pill { padding: 0 8px; }
  .mm-header .brand img { width: 112px; height: auto; }
  .mm-header .header-cta .icon-arrow { display: none; }
}
@media (max-width: 419px) {
  /* smallest phones: the globe alone (the menu repeats the full language list), a tighter CTA */
  .mm-header .header-actions { gap: 6px; }
  .mm-header .header-actions .lang-code { display: none; }
  .mm-header .header-actions .lang-pill { width: 44px; padding: 0; justify-content: center; }
  .mm-header .header-cta { font-size: 0.75rem; padding: 0 8px; }
  .mm-header .header-inner { padding-inline: 16px; column-gap: 8px; }
  .mm-header .brand { padding: 0; }
  .mm-header .brand img { width: 104px; }
}

/* ============================================================ WhatsApp bubble (2026-11)
   Sits higher so it clears card edges, and steps aside over the closing CTA band and the footer (main.js). */
.wa-float { bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px)); }
.wa-float.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { transition: opacity 200ms ease-out, visibility 0s linear 0s, transform 200ms ease-out, box-shadow 120ms ease-out; }
  .wa-float.is-tucked { transition: opacity 200ms ease-out, visibility 0s linear 200ms, transform 200ms ease-out; }
}

/* ==== assets/css/mm-about.css ==== */
/* ==========================================================================
   About page (/about and its 5 translations). Loaded last in site.bundle.css.
   Everything is scoped to .about-page; logical properties keep the Arabic (RTL) page right.
   ========================================================================== */

/* ----------------------------------------------------------- Design tokens */
.about-page {
  /* spacing scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 — no other values */
  --mm-sp-1: 4px;
  --mm-sp-2: 8px;
  --mm-sp-3: 12px;
  --mm-sp-4: 16px;
  --mm-sp-5: 24px;
  --mm-sp-6: 32px;
  --mm-sp-7: 48px;
  --mm-sp-8: 64px;
  --mm-sp-9: 96px;
  /* radius: one per component type */
  --mm-r-sm: 8px;
  --mm-r-card: 14px;
  --mm-r-pill: 999px;
  /* elevation: exactly two shadows */
  --mm-elev-rest: 0 1px 2px rgba(11, 31, 58, 0.05), 0 4px 12px -6px rgba(11, 31, 58, 0.08);
  --mm-elev-hover: 0 2px 4px rgba(11, 31, 58, 0.06), 0 16px 32px -16px rgba(11, 31, 58, 0.24);
  --mm-card-border: 1px solid rgba(19, 41, 75, 0.08);
  /* section rhythm */
  --mm-section-y: 56px;
  /* step / truth numbers: tan, AA contrast on white (4.6:1) */
  --mm-num: #9a6700;
  --mm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  .about-page { --mm-section-y: 96px; }
}

/* ------------------------------------------- Companies we work with (Phase 3) */
.about-page .ab-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--mm-sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
@media (min-width: 768px) {
  .about-page .ab-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mm-sp-5); }
}
.about-page .ab-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mm-sp-2);
  padding: var(--mm-sp-5) var(--mm-sp-4);
  text-align: center;
  background: #fff;
  border: var(--mm-card-border);
  border-radius: var(--mm-r-card);
  box-shadow: var(--mm-elev-rest);
}
.about-page .ab-logo-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  min-width: 44px;
  border-radius: 50%;
}
.about-page .ab-logo-mark img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  transform: scale(var(--logo-scale, 1));
  filter: grayscale(1);
  opacity: 0.78;
}
.about-page .ab-logo-mark:hover img,
.about-page .ab-logo-mark:focus-visible img {
  filter: none;
  opacity: 1;
}
.about-page .ab-logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.about-page .ab-logo-work {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.about-page .ab-quotes {
  display: grid;
  gap: var(--mm-sp-5);
  margin-block-start: var(--mm-sp-7);
}
@media (min-width: 768px) {
  .about-page .ab-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.about-page .ab-quote {
  margin: 0;
  padding: var(--mm-sp-6);
  background: #fff;
  border: var(--mm-card-border);
  border-radius: var(--mm-r-card);
  box-shadow: var(--mm-elev-rest);
}
.about-page .ab-quote blockquote { margin: 0 0 var(--mm-sp-4); }
.about-page .ab-quote p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text); }
.about-page .ab-quote figcaption { display: grid; gap: var(--mm-sp-1); font-size: 0.875rem; color: var(--text-secondary); }
.about-page .ab-quote figcaption strong { color: var(--text); }
.about-page .ab-clients-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--mm-sp-4);
  margin: var(--mm-sp-6) 0 0;
  color: var(--text-secondary);
}
.about-page .ab-clients-place { display: inline-flex; align-items: center; gap: var(--mm-sp-2); }
.about-page .ab-clients-place .icon { color: var(--mm-amber, #f2a900); }
.about-page .ab-more {
  display: inline-flex;
  align-items: center;
  gap: var(--mm-sp-2);
  min-height: 44px;
  font-weight: 600;
  color: var(--mm-blue, #1e4e8c);
}

@media (prefers-reduced-motion: no-preference) {
  .about-page .ab-logo-mark img { transition: filter 120ms ease-out, opacity 120ms ease-out; }
}
.about-page .ab-clients-foot { max-width: none; }
@media (max-width: 767px) {
  /* 2-up on phones; an odd last logo sits centred under the pair */
  .about-page .ab-logo:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--mm-sp-2)); }
}

/* ------------------------------------------------------------ FAQ (Phase 4) */
/* Collapsed answers stay in the HTML (search engines read them) but leave the tab order, so a keyboard user
   never lands on a hidden link. visibility switches after the close animation and before the open one. */
.js .about-page .ab-faq .faq-panel > div { visibility: hidden; }
.js .about-page .ab-faq .faq-item.is-open .faq-panel > div { visibility: visible; }
.about-page .ab-faq .faq { max-width: 820px; margin-inline: auto; }
.about-page .ab-faq .faq-trigger:focus-visible {
  outline: 3px solid var(--mm-blue, #1e4e8c);
  outline-offset: 2px;
  border-radius: var(--mm-r-sm);
}
.about-page .ab-faq .faq-panel p { font-size: 1rem; line-height: 1.7; max-width: 65ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .about-page .ab-faq .faq-panel > div { transition: visibility 0s linear 220ms; }
  .js .about-page .ab-faq .faq-item.is-open .faq-panel > div { transition-delay: 0s; }
}

/* ===================================================== Phase 6 — page design */

/* ---------- Section rhythm: 96 px desktop / 56 px mobile, every section */
.about-page > .section,
.about-page > .section.section-tight { padding-block: var(--mm-section-y); }
.about-page .section-head { margin-bottom: var(--mm-sp-7); }

/* ---------- Typography */
.about-page h1,
.about-page h2 { text-wrap: balance; }
.about-page p { max-width: 65ch; }
.about-page h3 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 var(--mm-sp-2); }
/* Long paragraphs read left-aligned; only headings and eyebrows are centred */
.about-page .section-head .lead { text-align: start; margin-inline: auto; }
.about-page .ab-hero .hero-copy,
.about-page .ab-founder-copy { text-align: start; }
.about-page .ab-hero .hero-copy > * { margin-inline: 0; }
.about-page .ab-hero h1 { max-width: none; }
.about-page .ab-hero .ab-stats,
.about-page .ab-founder-copy .btn-row { justify-content: flex-start; }
.about-page .ab-founder-points { justify-items: start; }
/* H1: a clean two-line break after "metal." */
.about-page .ab-hero h1 { font-size: clamp(2rem, 1rem + 3.4vw, 2.9rem); }
@media (min-width: 1100px) {
  .about-page .ab-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
.about-page .ab-hero h1 .gradient-text { display: block; }
.about-page .ab-subline {
  margin: var(--mm-sp-4) 0 0;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text);
}
.about-page .ab-hero .lead { margin-top: var(--mm-sp-3); }
/* nothing under 13 px */
.about-page .ab-stats span,
.about-page .kicker { font-size: max(13px, 0.8125rem); }

/* ---------- Inline links in body copy: brand blue, underline that strengthens on hover */
.about-page :is(p, .faq-panel) a:not(.btn):not(.ab-more) {
  color: var(--mm-blue, #1e4e8c);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(30, 78, 140, 0.4);
  text-underline-offset: 3px;
}
.about-page :is(p, .faq-panel) a:not(.btn):not(.ab-more):hover,
.about-page :is(p, .faq-panel) a:not(.btn):not(.ab-more):focus-visible { text-decoration-color: currentColor; }

/* ---------- Cards: one border, one radius, two shadows */
.about-page :is(.ab-step-card, .ab-insight, .ab-tile, .ab-value, .ab-mv-card) {
  position: relative;
  height: 100%;
  padding: var(--mm-sp-5);
  border: var(--mm-card-border);
  border-radius: var(--mm-r-card);
  background: #fff;
  box-shadow: var(--mm-elev-rest);
  transform: none;
}
.about-page :is(.ab-step-card, .ab-insight, .ab-tile, .ab-value, .ab-mv-card) p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.about-page :is(.ab-step-card, .ab-insight, .ab-tile, .ab-value, .ab-logo, .ab-quote):hover {
  transform: translateY(-1px);
  box-shadow: var(--mm-elev-hover);
  background: #fff;
}

/* Numbers (journey + four truths): one treatment — tan, left, on their own line above the heading */
.about-page .ab-num {
  display: block;
  position: static;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mm-num);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.about-page .ab-insight .ab-num { margin-bottom: var(--mm-sp-4); }
.about-page .ab-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mm-sp-3);
  margin-bottom: var(--mm-sp-4);
}

/* Icon tiles: inside the card, same size and padding in every grid (the Values pattern) */
.about-page .ab-card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-bottom: var(--mm-sp-4);
  border-radius: var(--mm-r-sm);
  color: var(--mm-blue, #1e4e8c);
  background: #eef3fa;
}
.about-page .ab-card-top .ab-card-icon { margin-bottom: 0; }
.about-page .ab-card-icon .icon { width: 22px; height: 22px; }

/* ---------- Grids: equal rows, edges aligned */
.about-page :is(.ab-insight-grid, .ab-team-grid, .ab-values, .ab-mv) {
  display: grid;
  gap: var(--mm-sp-4);
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.about-page .ab-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-page .ab-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-page .ab-values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-page .ab-mv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-page .ab-insight { padding: var(--mm-sp-6); }
.about-page .ab-team { gap: var(--mm-sp-7); align-items: start; }
.about-page .ab-industries { margin-top: var(--mm-sp-4); color: var(--text-secondary); }
.about-page .ab-founder-copy p + p { margin-top: var(--mm-sp-3); }
@media (max-width: 1099px) {
  .about-page .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .about-page :is(.ab-insight-grid, .ab-team-grid, .ab-values, .ab-mv) { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .about-page .ab-insight { padding: var(--mm-sp-5); }
}

/* ---------- Mission & vision: small heading, sentence as body copy */
.about-page .ab-mv-card { padding: var(--mm-sp-6); }
.about-page .ab-mv-card h3 { margin: 0 0 var(--mm-sp-2); font-size: 1.15rem; }
.about-page .ab-mv-card p { font-size: 1.125rem; line-height: 1.6; color: var(--text); }
.about-page .ab-mv-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--mm-sp-4);
  border-radius: var(--mm-r-sm);
  color: var(--mm-blue, #1e4e8c);
  background: #eef3fa;
  box-shadow: none;
}
.about-page .is-vision .ab-mv-icon { color: #8a5d00; background: #fff4de; box-shadow: none; }
.about-page .ab-mv-icon .icon { width: 22px; height: 22px; }

/* ---------- Journey: vertical timeline with a connecting rule; one horizontal track on wide screens */
.about-page .ab-timeline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--mm-sp-4);
  margin: 0;
  padding: 0;
  padding-inline-start: var(--mm-sp-6);
  list-style: none;
}
.about-page .ab-timeline::before {
  content: '';
  display: block;
  position: absolute;
  inset-block: var(--mm-sp-5);
  inset-inline-start: 7px;
  inset-inline-end: auto;
  top: var(--mm-sp-5);
  left: auto;
  right: auto;
  width: 2px;
  height: auto;
  background: rgba(19, 41, 75, 0.14);
  opacity: 1;
  transform-origin: top;
}
.about-page .ab-step { position: relative; display: block; }
.about-page .ab-step-dot {
  position: absolute;
  inset-inline-start: calc(-1 * var(--mm-sp-6));
  top: var(--mm-sp-5);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--mm-amber, #f2a900);
  box-shadow: 0 0 0 4px #fff;
}
.about-page .ab-step:nth-child(odd) .ab-step-dot { border-color: var(--mm-navy, #0b1f3a); }
.about-page .ab-step-card h3 { padding: 0; }
@media (min-width: 1100px) {
  .about-page .ab-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--mm-sp-5);
    padding-inline-start: 0;
    padding-top: var(--mm-sp-6);
  }
  .about-page .ab-timeline::before {
    inset-block: auto;
    top: 7px;
    inset-inline: 8px;
    width: auto;
    height: 2px;
    transform-origin: left;
  }
  [dir='rtl'] .about-page .ab-timeline::before { transform-origin: right; }
  .about-page .ab-step-dot { inset-inline-start: 0; top: calc(-1 * var(--mm-sp-6)); }
}

/* ---------- Hero service map: six labelled links around the logo */
.about-page .ab-map {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.about-page .ab-map-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(19, 41, 75, 0.22);
}
.about-page .ab-map-dot {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mm-amber, #f2a900);
  box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.18);
}
.about-page .ab-map-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  margin: 0;
  padding: var(--mm-sp-5) var(--mm-sp-4);
  transform: translate(-50%, -50%);
  border-radius: var(--mm-r-card);
  background: #fff;
  border: var(--mm-card-border);
  box-shadow: var(--mm-elev-hover);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.about-page .ab-map-core img { display: block; width: 100%; height: auto; }
.about-page .ab-map-nodes { margin: 0; padding: 0; list-style: none; }
.about-page .ab-map-node {
  position: absolute;
  transform: translate(-50%, -50%);
}
[dir='rtl'] .about-page .ab-map-node { transform: translate(50%, -50%); }
/* 6 points on a circle of radius 38% (top, then clockwise) */
.about-page .ab-map-node.n1 { top: 12%; inset-inline-start: 50%; }
.about-page .ab-map-node.n2 { top: 31%; inset-inline-start: 82.9%; }
.about-page .ab-map-node.n3 { top: 69%; inset-inline-start: 82.9%; }
.about-page .ab-map-node.n4 { top: 88%; inset-inline-start: 50%; }
.about-page .ab-map-node.n5 { top: 69%; inset-inline-start: 17.1%; }
.about-page .ab-map-node.n6 { top: 31%; inset-inline-start: 17.1%; }
.about-page .ab-map-node a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mm-sp-2);
  min-width: 44px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.about-page .ab-map-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--mm-r-card);
  color: #fff;
  background: var(--mm-navy, #0b1f3a);
  box-shadow: var(--mm-elev-rest);
}
.about-page .ab-map-node:nth-child(even) .ab-map-ico { color: var(--mm-navy, #0b1f3a); background: var(--mm-amber, #f2a900); }
.about-page .ab-map-ico .icon { width: 24px; height: 24px; }
.about-page .ab-map-label {
  padding: var(--mm-sp-1) var(--mm-sp-3);
  border-radius: var(--mm-r-pill);
  background: #fff;
  border: var(--mm-card-border);
  box-shadow: var(--mm-elev-rest);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.about-page .ab-map-node a:hover .ab-map-label,
.about-page .ab-map-node a:focus-visible .ab-map-label { color: var(--mm-blue, #1e4e8c); border-color: rgba(30, 78, 140, 0.4); }
.about-page .ab-map-node a:hover .ab-map-ico { box-shadow: var(--mm-elev-hover); transform: translateY(-1px); }
.about-page .ab-map-node a:focus-visible { outline: 3px solid var(--mm-blue, #1e4e8c); outline-offset: 4px; border-radius: var(--mm-r-sm); }
/* Phones: the orbit has no room for labels — the six links become a 2-up grid under the logo */
@media (max-width: 639px) {
  .about-page .ab-map { aspect-ratio: auto; width: 100%; display: grid; gap: var(--mm-sp-4); }
  .about-page .ab-map-ring { display: none; }
  .about-page .ab-map-core { position: relative; top: auto; left: auto; transform: none; width: min(100%, 280px); margin-inline: auto; }
  .about-page .ab-map-nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mm-sp-3); }
  .about-page .ab-map-node,
  [dir='rtl'] .about-page .ab-map-node { position: static; transform: none; }
  .about-page .ab-map-node a {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--mm-sp-3);
    padding: var(--mm-sp-2);
    border: var(--mm-card-border);
    border-radius: var(--mm-r-card);
    background: #fff;
    box-shadow: var(--mm-elev-rest);
  }
  .about-page .ab-map-ico { width: 40px; height: 40px; border-radius: var(--mm-r-sm); }
  .about-page .ab-map-ico .icon { width: 20px; height: 20px; }
  .about-page .ab-map-label { padding: 0; border: 0; box-shadow: none; background: none; white-space: normal; }
}

/* ---------- Where we are: calm card, no gradient */
.about-page .ab-where {
  border: var(--mm-card-border);
  border-radius: var(--mm-r-card);
  background: #fff;
  box-shadow: var(--mm-elev-rest);
  padding: var(--mm-sp-6);
}
.about-page .ab-where-pin { width: 56px; height: 56px; border-radius: var(--mm-r-card); box-shadow: none; background: #fff4de; color: #8a5d00; }

/* ---------- Last updated */
.about-page .ab-updated { margin: var(--mm-sp-7) auto 0; max-width: 820px; font-size: 0.875rem; color: var(--text-secondary); }

/* ---------- Motion: everything opt-in, short, small */
@media (prefers-reduced-motion: no-preference) {
  /* Entrances: opacity + 8 px, 220 ms. The .reveal wrapper never hides (site rule); its children animate once in view. */
  .js .about-page .reveal { transform: none !important; transition: none !important; }
  .js .about-page > .section .reveal.is-visible > * {
    animation: ab-enter 220ms ease-out both;
    animation-delay: var(--reveal-delay, 0ms);
  }
  @keyframes ab-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
  /* Hover: 120 ms, shadow and 1 px lift only */
  .about-page :is(.ab-step-card, .ab-insight, .ab-tile, .ab-value, .ab-mv-card, .ab-logo, .ab-quote),
  .about-page .ab-map-ico,
  .about-page .ab-map-label {
    transition: transform 120ms ease-out, box-shadow 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out;
  }
  /* The service map's ring turns slowly with its dot; the labelled links stay still */
  .about-page .ab-map-ring { animation: ab-turn 48s linear infinite; }
  @keyframes ab-turn { to { transform: rotate(360deg); } }
  /* Journey rule draws itself as the timeline scrolls into view (browsers with scroll timelines) */
  @supports (animation-timeline: view()) {
    .about-page .ab-timeline::before {
      animation: ab-draw-y linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
    @media (min-width: 1100px) {
      .about-page .ab-timeline::before { animation-name: ab-draw-x; }
    }
    @keyframes ab-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes ab-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

/* ============================================ Phase 7 — "Not a generic web agency" on phones */
/* Below 768 px: one sticky header row ("Generic web agency" | "MetalMitra"), then each row is its topic
   followed by the two answers side by side with ✕ / ✓ — no repeated labels. */
@media (max-width: 767px) {
  .about-page .compare { overflow: clip; border-radius: var(--mm-r-card); }
  .about-page .compare thead {
    display: block;
    position: sticky;
    top: var(--header-h, 60px);
    z-index: 2;
  }
  .about-page .compare thead tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: var(--mm-card-border);
  }
  .about-page .compare thead th { display: block; width: auto; padding: var(--mm-sp-3) var(--mm-sp-4); font-size: 0.875rem; }
  .about-page .compare thead th:first-child { display: none; }
  .about-page .compare tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-page .compare tbody th {
    grid-column: 1 / -1;
    padding: var(--mm-sp-4) var(--mm-sp-4) var(--mm-sp-2);
    font-size: 0.9375rem;
  }
  .about-page .compare td {
    width: auto;
    margin: 0;
    padding: var(--mm-sp-2) var(--mm-sp-4) var(--mm-sp-4);
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  .about-page .compare td.is-us { margin-bottom: 0; }
  .about-page .compare td::before { content: none; display: none; }
  .about-page .compare td .cell { gap: var(--mm-sp-2); }
  .about-page .compare td .icon { width: 16px; height: 16px; flex: none; margin-top: 3px; }
}

/* ==== assets/css/mm-modern.css ==== */
/* ==========================================================================
   MetalMitra — site-wide modern layer (2026-11 redesign, step 1)
   Loaded last. Restyles shared components through their existing classes:
   cards, icon tiles, buttons, dark bands, section heads, steps, header.
   Rules:  no layout-affecting animation (transform / opacity / background only),
           every motion inside prefers-reduced-motion: no-preference,
           pointer effects only for (hover: hover) and (pointer: fine).
   ========================================================================== */

:root {
  --mx-border: 1px solid rgba(19, 41, 75, 0.08);
  --mx-radius: 16px;
  --mx-elev: 0 1px 2px rgba(11, 31, 58, 0.04), 0 4px 16px -6px rgba(11, 31, 58, 0.08);
  --mx-elev-hover: 0 2px 4px rgba(11, 31, 58, 0.05), 0 18px 40px -14px rgba(11, 31, 58, 0.22);
  --mx-amber: #f2a900;
  --mx-navy: #0b1f3a;
  --mx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------- Type */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.hm-hero h1 { max-width: 19ch; font-size: clamp(2.25rem, 1.35rem + 3vw, 3.75rem); line-height: 1.06; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- Cards: one surface everywhere */
:is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile) {
  position: relative;
  isolation: isolate;
  border: var(--mx-border);
  border-radius: var(--mx-radius);
  box-shadow: var(--mx-elev);
  background-color: #fff;
}
/* Hairline that turns amber → blue on hover/focus (a masked gradient border, no layout change). */
:is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile)::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(242, 169, 0, 0.9), rgba(30, 78, 140, 0.55) 55%, rgba(30, 78, 140, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
}
:is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile):is(:hover, :focus-within)::after { opacity: 1; }

/* Cursor spotlight (main.js sets --mx / --my under the pointer). Paint-only, under the content. */
@media (hover: hover) and (pointer: fine) {
  :is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 169, 0, 0.1), transparent 45%);
    opacity: 0;
    pointer-events: none;
  }
  :is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile):hover::before { opacity: 1; }
}
/* .mm-card .mm-stretch::after (whole-card link) must stay above both layers. */
.mm-card .mm-stretch::after { z-index: 2; }
:is(.mm-card, .mm-cat):active { transform: none; }

/* ---------------------------------------------------------------- Icon tiles */
:is(.mm-card-icon, .icon-tile, .px-tile-icon) {
  border-radius: 12px;
  background: linear-gradient(145deg, #eef3fa, #e2eaf5);
  color: var(--mx-navy);
  box-shadow: inset 0 0 0 1px rgba(19, 41, 75, 0.06);
}
:is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile):is(:hover, :focus-within) :is(.mm-card-icon, .icon-tile, .px-tile-icon) {
  background: linear-gradient(145deg, var(--mx-navy), #1e4e8c);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(11, 31, 58, 0.45);
}

/* ---------------------------------------------------------------- Dark bands: soft aurora */
.is-dark, .hm-hero { isolation: isolate; }
.hm-hero::before,
.hm-problem::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background:
    radial-gradient(38% 42% at 78% 22%, rgba(242, 169, 0, 0.16), transparent 70%),
    radial-gradient(42% 46% at 18% 80%, rgba(61, 111, 176, 0.3), transparent 70%);
  pointer-events: none;
}
.hm-problem { position: relative; overflow: hidden; }

/* ---------------------------------------------------------------- Section head kicker */
.mm-eyebrow::before { border-radius: 2px; }

/* ---------------------------------------------------------------- Header: frosted when scrolled + reading progress */
.site-header.mm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgba(19, 41, 75, 0.06), 0 8px 24px -16px rgba(11, 31, 58, 0.25);
}
.mx-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--mx-amber), #1e4e8c);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
[dir='rtl'] .mx-progress { transform-origin: 100% 50%; }

/* ---------------------------------------------------------------- Home: services as a bento (3 + 2, no lone row) */
@media (min-width: 1100px) {
  .hm-svc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hm-svc-grid > .hm-svc { grid-column: span 2; }
  .hm-svc-grid > .hm-svc:nth-child(4),
  .hm-svc-grid > .hm-svc:nth-child(5) { grid-column: span 3; }
}

/* Home: process steps get a filled amber rail. */
.hm-steps li:not(:last-child)::after { background-image: none; background-color: rgba(19, 41, 75, 0.12); }

/* ================================================================ Motion (opt-in) */
@media (prefers-reduced-motion: no-preference) {
  :is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile) {
    transition: transform 180ms var(--mx-ease), box-shadow 180ms var(--mx-ease);
  }
  :is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile):is(:hover, :focus-within) {
    transform: translateY(-3px);
    box-shadow: var(--mx-elev-hover);
  }
  :is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile)::before,
  :is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile)::after { transition: opacity 220ms var(--mx-ease); }
  :is(.mm-card-icon, .icon-tile, .px-tile-icon) { transition: background 200ms var(--mx-ease), color 200ms var(--mx-ease), box-shadow 200ms var(--mx-ease), transform 200ms var(--mx-ease); }
  :is(.mm-card, .svc-tile, .trust-card, .acc-card, .px-tile, .ind-card, .ct-route, .sector-tile):hover :is(.mm-card-icon, .icon-tile, .px-tile-icon) { transform: translateY(-1px) rotate(-4deg); }

  /* Primary / accent buttons: a light sheen sweeps across on hover. */
  .btn:is(.btn-accent, .btn-primary) { overflow: hidden; }
  .btn:is(.btn-accent, .btn-primary)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
  }
  .btn:is(.btn-accent, .btn-primary):hover::after { transform: translateX(120%); transition: transform 650ms var(--mx-ease); }
  .btn .icon-arrow { transition: transform 160ms var(--mx-ease); }
  .btn:hover .icon-arrow { transform: translateX(3px); }
  [dir='rtl'] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(3px); }

  /* Dark bands: the aurora drifts slowly. */
  .hm-hero::before,
  .hm-problem::before { animation: mx-aurora 18s ease-in-out infinite alternate; }

  /* Home hero product mock floats gently. */
  .hm-mock { animation: mx-float 7s ease-in-out infinite; }
  @media (max-width: 899px) { .hm-mock { animation: none; } }

  /* Process steps: the rail fills in once the list is in view. */
  .hm-steps li:not(:last-child)::after {
    background-image: linear-gradient(90deg, var(--mx-amber), var(--mx-amber));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 700ms var(--mx-ease);
  }
  .hm-steps.is-visible li:not(:last-child)::after,
  .hm-steps li.is-visible:not(:last-child)::after { background-size: 100% 100%; }
  .hm-steps li:nth-child(2)::after { transition-delay: 150ms; }
  .hm-steps li:nth-child(3)::after { transition-delay: 300ms; }

  /* Reading progress in the header (scroll-driven, no JS; ignored where unsupported). */
  @supports (animation-timeline: scroll()) {
    .mx-progress { animation: mx-grow linear both; animation-timeline: scroll(root); }
  }
}

@keyframes mx-aurora {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
/* Keeps the mock's resting tilt (mm-site.css) while it floats. */
@keyframes mx-float {
  0%, 100% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-8px); }
}
@keyframes mx-grow { to { transform: scaleX(1); } }

/* ---------------------------------------------------------------- Contrast fixes (axe AA) */
.sample-label,
.status-paused { color: #8a4b00; }
.status-active { color: #137333; }
.product-mini-list li { color: #3d4653; }

/* ---------------------------------------------------------------- /pricing: plans sit right under the hero */
/* The plans partial repeats the page title there ("Simple monthly pricing"); keep it for screen readers only. */
.mm-page-hero + .mm-pricing { padding-top: 0; }
.mm-page-hero + .mm-pricing .mm-section-head.is-split { grid-template-columns: minmax(0, 1fr); }
.mm-page-hero + .mm-pricing .mm-section-head.is-split > div:first-child {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.mm-page-hero + .mm-pricing .mm-section-head.is-split { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: var(--s-5, 24px); }
.mm-page-hero + .mm-pricing .mm-section-head.is-split::before, .mm-page-hero + .mm-pricing .mm-section-head.is-split::after { content: none; }
.mm-page-hero + .mm-pricing .mm-section-head.is-split > .lead { max-width: 62ch; margin: 0; font-size: 1rem; text-align: start; }

/* ---------------------------------------------------------------- Step 2: inner pages */
/* Cards that joined the shared surface keep their own radius; their entrance keyframes must not pin the hover lift. */
.ind-card { animation-fill-mode: backwards; }
:is(.ind-card, .ct-route, .sector-tile) :is(.ind-card-head .icon, .ct-route-icon) { transition: transform 200ms var(--mx-ease); }

/* No lone card on the last row. */
@media (min-width: 1100px) {
  .sv-ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ind-grid > .ind-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .ind-grid > .ind-card:last-child:nth-child(3n + 1) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 24px; align-items: start; }
  .ind-grid > .ind-card:last-child:nth-child(3n + 1) > :first-child { grid-row: 1 / span 4; }
  .ind-grid > .ind-card:last-child:nth-child(3n + 1) > :not(:first-child) { grid-column: 2; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .sv-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* "Websites we built": with 4 clients use a 2 × 2 grid (bigger screenshots) instead of 3 + 1; 4-up on very wide screens.
   Other counts keep the auto grid. */
@media (min-width: 760px) {
  .cl-grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1500px) {
  .cl-grid:not(.is-detailed):has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- Readable small text: 13 px floor for real labels */
/* (Mock-up UI inside aria-hidden illustrations keeps its small scale on purpose.) */
.ind-label,
.ind-tab .tab-count,
.ct-info-row small,
.ct-face small,
.ct-founder small,
.hub-tile .hub-text small,
.svc-hub-live { font-size: 0.8125rem; }
.hub-text .hub-soon { font-size: 0.8125rem; }

/* ---------------------------------------------------------------- Hero glows: anchored to the top on small screens */
/* main.css pins them to the hero's bottom below 1024 px, so any late change in hero height (web font, images
   further down) moved them and counted as layout shift (/ar/about 390 px: CLS 0.16). Same look, top-anchored. */
@media (max-width: 1023px) {
  .hero-glow .g1 { top: 220px; bottom: auto; }
  .hero-glow .g2 { top: 420px; bottom: auto; }
  .hero-glow .g3 { top: 620px; bottom: auto; }
}

/* ==== assets/css/mm-foundation.css ==== */
/* ==========================================================================
   MetalMitra — Phase 1 foundation (2026-11 redesign brief, on top of mm-modern.css)
   Loaded last. Presentation only: no text, heading level, link or meta changes.
   1. Fonts: Satoshi (display) + JetBrains Mono (specs, prices, numbers), self-hosted
   2. Type rhythm for big headings
   3. Mono for grades / sizes / standards / prices / counters / step numbers
   4. Blueprint grid on the dark bands (grain + glow already exist in mm-design / mm-modern)
   5. Focus ring (amber, never removed)
   6. Arrow links: underline wipe + 4px arrow slide
   7. Buttons: magnetic offset (js/magnetic.js) + press
   8. Scroll reveal (js/reveal.js)
   9. Mega menu entrance
   Motion = transform / opacity only, and none under prefers-reduced-motion.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. Fonts */
/* Satoshi — Fontshare (Indian Type Foundry), ITF Free Font License: free for commercial use, self-hosting allowed. */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
/* JetBrains Mono — SIL Open Font License 1.1 (@fontsource/jetbrains-mono, latin subset). No ₹ glyph: it falls back to Inter. */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

/* Every component that used the heading font now uses the display font.
   Chinese keeps its own stack (mm-site.css, :root:lang(zh) is more specific). Arabic falls back to the system Arabic face. */
:root { --font-heading: var(--font-display); }

/* ---------------------------------------------------------------- 2. Big headings */
:is(h1, h2):not(:lang(ar)):not(:lang(zh)) { letter-spacing: -0.02em; }
h1:not(:lang(ar)):not(:lang(zh)) { line-height: 1.08; }
h2:not(:lang(ar)):not(:lang(zh)) { line-height: 1.12; }

/* ---------------------------------------------------------------- 3. Mono: specs, prices, numbers */
/* Not used in the home hero: the mono font then loads after the headline is painted (LCP). */
.mono,
code, kbd, samp,
:is(.price-big, .card-price, .duo-price, .px-price, .gp-price, .acc-price, .mm-plan-price, .price-line, .price-badge) b,
:is(.step-num, .card-number, .svc-num, .mm-svc-num, .mm-svc-count, .hw-flow-num, .sector-num, .sr-step-no, .ab-step-no, .hm-step-n, .mm-num, .slide-num, .popular-num, .trend-num),
:is(.mm-trial-steps, .mm-intl-steps) li > span,
.mm-step::before,
[data-countup],
:is(.ind-stats, .ab-stats, .reach-stats, .fact-strip, .tl-big) b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
code, kbd, samp { font-size: 0.92em; font-weight: 400; }

/* ---------------------------------------------------------------- 4. Blueprint grid on dark bands */
/* Same backgrounds as before, with a faint 48px engineering grid painted on top (no extra element, no motion). */
:root {
  --blueprint:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px;
}
.hm-hero {
  background:
    var(--blueprint),
    radial-gradient(70% 60% at 85% 10%, rgba(30, 78, 140, 0.55), transparent 70%),
    linear-gradient(180deg, var(--c-navy) 0%, #0a1b33 100%);
}
.hm-problem { background: var(--blueprint), var(--c-navy-2); }
.cta-close {
  background:
    var(--blueprint),
    radial-gradient(50% 120% at 100% 0%, rgba(242, 169, 0, 0.22), transparent 60%),
    var(--c-navy);
}
.sv-hero {
  background:
    var(--blueprint),
    radial-gradient(60% 80% at 90% 0%, rgba(30, 78, 140, 0.5), transparent 70%),
    var(--c-navy);
}
.fc-sample { background: var(--blueprint), radial-gradient(50% 70% at 10% 0%, rgba(30, 78, 140, 0.55), transparent 70%), var(--c-navy); }
.fc-final { background: var(--blueprint), var(--c-navy); }

/* ---------------------------------------------------------------- 5. Focus ring */
/* Amber, 2px, 3px away. On white the darker amber keeps 3:1 contrast; on navy the bright amber is used. */
:where(a, button, summary, [tabindex], select, .btn, [role='tab'], [role='switch']):focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--amber-ink);
  outline-offset: 3px;
}
:is(.is-dark, .site-footer, .cta-close, .mm-drawer-sheet) :where(a, button, summary, [tabindex], select, .btn):focus-visible,
.is-dark .btn-primary:focus-visible,
.is-dark .btn-secondary:focus-visible {
  outline-color: var(--amber);
}
/* The older button rings used a box-shadow instead of an outline; the outline above replaces them. */
.btn-primary:focus-visible,
.btn-secondary:focus-visible { box-shadow: none; }
.btn-primary:focus-visible::before { opacity: 0; }

/* ---------------------------------------------------------------- 6. Arrow links ("Learn more →") */
:is(.link-arrow, .mm-view-all, .mm-link) {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  text-decoration: none;
}
[dir='rtl'] :is(.link-arrow, .mm-view-all, .mm-link) { background-position: 100% 100%; }
:is(.link-arrow, .mm-view-all, .mm-link):is(:hover, :focus-visible) { background-size: 100% 1px; }
:is(.link-arrow, .mm-view-all, .mm-link) .icon { transition: translate var(--d-fast) var(--ease); }
:is(.link-arrow, .mm-view-all, .mm-link):is(:hover, :focus-visible) .icon { translate: 4px 0; }
[dir='rtl'] :is(.link-arrow, .mm-view-all, .mm-link):is(:hover, :focus-visible) .icon { translate: -4px 0; }

/* ---------------------------------------------------------------- 7. Buttons */
/* magnetic.js writes --mag-x / --mag-y (max 8px). The individual `translate` / `scale` properties
   leave each button's own `transform` (hover lift, sheen) untouched. */
@media (prefers-reduced-motion: no-preference) {
  :is(.btn, .link-arrow, .mm-view-all, .mm-link) {
    transition:
      background-size var(--d-base) var(--ease),
      background-color var(--d-fast) var(--ease),
      border-color var(--d-fast) var(--ease),
      color var(--d-fast) var(--ease),
      box-shadow var(--d-fast) var(--ease),
      transform var(--d-fast) var(--ease),
      translate 120ms linear,
      scale var(--d-fast) var(--ease);
  }
  .btn[data-magnetic] { translate: var(--mag-x, 0) var(--mag-y, 0); }
  /* Spring back when the pointer leaves. */
  .btn[data-magnetic].is-magnet-out { transition-property: translate, background-color, border-color, color, box-shadow, transform, scale; transition-duration: 520ms, var(--d-fast), var(--d-fast), var(--d-fast), var(--d-fast), var(--d-fast), var(--d-fast); transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1), var(--ease); }
  .btn:active { scale: 0.98; }
}

/* ---------------------------------------------------------------- 8. Scroll reveal (js/reveal.js) */
/* Only reveal.js adds .rv, and only to items that are still below the fold when the page loads,
   so nothing on screen ever blinks and the page reads fine without JS. */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  .rv.rv-left { transform: translate3d(-32px, 0, 0); }
  [dir='rtl'] .rv.rv-left { transform: translate3d(32px, 0, 0); }
  .rv.rv-in {
    opacity: 1;
    transform: none;
    transition:
      opacity var(--d-slow) var(--ease-out) var(--rv-delay, 0ms),
      transform var(--d-slow) var(--ease-out) var(--rv-delay, 0ms) !important;
  }
}
@media print {
  .rv { opacity: 1 !important; transform: none !important; }
}
/* The older reveal styles (.reveal / .mm-rv) moved items 16px with JS; reveal.js now does it all. */
.js .reveal,
html.mm-fx .mm-rv { transform: none; }

/* ---------------------------------------------------------------- 9. Mega menu */
/* Fade + 8px drop in 200ms (mm-design.css). main.js now forces a layout read before adding .is-visible,
   so the transition really runs instead of the panel popping in. */
.mm-panel:not(.is-visible) { transform: translateY(-8px); }

/* ==== assets/css/mm-portfolio.css ==== */
/* ==========================================================================
   MetalMitra — portfolio coverflow, "Sites we've built" (2026-11 redesign, Phase 2)
   Markup: views/partials/client-strip.ejs · behaviour: js/portfolio.js
   Without JS: a plain horizontal scroll with snap points, every card fully visible.
   With JS (.pf.is-flow): slides get scale / rotateY / translateZ / opacity from their distance to the centre.
   Motion = transform / opacity only; prefers-reduced-motion = flat, no hover scroll, no autoplay.
   ========================================================================== */

/* ---------------------------------------------------------------- Band */
.cs.pf {
  --pf-w: min(820px, 88vw);
  --pf-gap: 32px;
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px);
  background:
    var(--blueprint),
    radial-gradient(60% 70% at 50% 0%, rgba(30, 78, 140, 0.55), transparent 70%),
    radial-gradient(36% 40% at 50% 62%, rgba(242, 169, 0, 0.12), transparent 70%),
    var(--c-navy);
  overflow: hidden; /* rotated side cards never cause a page scrollbar */
}
.pf-head { text-align: center; }
.cs.pf .cs-title {
  margin: 0 auto;
  max-width: 22ch;
  font: 700 clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem)/1.12 var(--font-heading) !important;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}
.pf-sub {
  margin: 12px auto 0;
  max-width: 52ch;
  color: var(--c-on-dark-2, rgba(255, 255, 255, 0.72));
  font-size: var(--t-md, 1.0625rem);
}
[dir='rtl'] .cs.pf .cs-title { letter-spacing: 0; }

/* ---------------------------------------------------------------- Track (native scroll + snap) */
.pf-track {
  display: flex;
  gap: var(--pf-gap);
  margin: 0;
  padding: 40px calc(50% - var(--pf-w) / 2) 48px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc(50% - var(--pf-w) / 2);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.pf.is-flow .pf-track { scrollbar-width: none; }
.pf.is-flow .pf-track::-webkit-scrollbar { display: none; }
.pf-track:focus-visible { outline: 2px solid var(--amber); outline-offset: -6px; border-radius: var(--r-lg); }
.pf-slide {
  flex: 0 0 var(--pf-w);
  max-width: none;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.pf.is-flow .pf-slide { position: relative; }
.pf.is-flow .pf-card {
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}

/* ---------------------------------------------------------------- Card */
.pf-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--raised);
  color: var(--ink-900);
  box-shadow: var(--sh-2);
  isolation: isolate;
}
/* Hover shadow and gradient border are separate layers that only fade (opacity), never repaint the card. */
.pf-card::before,
.pf-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.pf-card::after { z-index: -1; box-shadow: var(--sh-3), 0 24px 80px rgba(0, 0, 0, 0.35); opacity: 0; }
.pf-card::before {
  z-index: 2;
  padding: 1px;
  background: linear-gradient(var(--line), var(--line));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.pf-card > .pf-chrome::before { /* accent border layer, cross-faded over the rest border */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.5px;
  border-radius: var(--r-xl);
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
}

/* Browser bar */
.pf-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--surface);
  color: var(--ink-500);
}
.pf-dots { display: inline-flex; gap: 6px; flex: none; }
.pf-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d4dae6; }
.pf-dots i:first-child { background: #ff6159; }
.pf-dots i:nth-child(2) { background: #ffbd2e; }
.pf-dots i:nth-child(3) { background: #28c941; }
.pf-url {
  flex: 1;
  min-width: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--raised);
  border: 1px solid var(--line);
  font: 500 0.8125rem/1.3 var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: center;
}
.pf-chrome .icon { flex: none; width: 14px; height: 14px; }

/* Screenshot window + phone */
.pf-shot { position: relative; }
.pf-view {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.pf-view > img { display: block; width: 100%; height: auto; }
.pf-full {
  position: absolute;
  inset: 0 0 auto 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: transform var(--pf-back, 900ms) var(--ease);
}
.pf-full.is-ready { opacity: 1; }
.pf-shot.is-scrolling .pf-full {
  transform: translate3d(0, var(--pf-shift, 0px), 0);
  transition: transform var(--pf-scroll, 2500ms) ease-in-out;
}
.pf-phone {
  position: absolute;
  inset-inline-end: 28px;
  bottom: -40px;
  z-index: 1;
  width: 17%;
  height: auto;
  aspect-ratio: 240 / 520;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--ink-900);
  border-radius: 16px;
  background: var(--ink-900);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.35);
  transition: transform var(--d-base) var(--ease);
}
.pf-shot.is-empty .pf-view { display: grid; place-items: center; background: var(--grad-cool); }
.pf-shot-name { color: #fff; font: 700 1.5rem/1.2 var(--font-heading); padding: 24px; text-align: center; }

/* Body */
.pf-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 26px 32px 30px;
}
.pf-name {
  margin: 0;
  padding-inline-end: 22%; /* clear of the phone frame */
  font: 700 clamp(1.25rem, 1rem + 0.8vw, 1.625rem)/1.2 var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.pf-meta { margin: 0; padding-inline-end: 22%; font-size: 1rem; color: var(--ink-500); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.pf-chips li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: 500 0.78rem/1.4 var(--font-mono);
  color: var(--ink-700);
}
.pf-visit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  color: var(--blue);
}
.pf-visit .pf-host { font: 500 0.875em var(--font-mono); direction: ltr; unicode-bidi: isolate; }
.pf-visit .icon { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- Hover (fine pointers) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Lift uses the separate `translate` property: `transform` carries the coverflow (js/portfolio.js). */
  .pf-card { transition: translate var(--d-base) var(--ease); }
  .pf-card::after,
  .pf-card > .pf-chrome::before { transition: opacity var(--d-base) var(--ease); }
  .pf-card:hover,
  .pf-card:focus-within { translate: 0 -8px; }
  .pf-card:hover::after,
  .pf-card:focus-within::after,
  .pf-card:hover > .pf-chrome::before,
  .pf-card:focus-within > .pf-chrome::before { opacity: 1; }
  .pf-card:hover .pf-phone { transform: translate3d(0, -6px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-shot.is-scrolling .pf-full { transform: none; }
}

/* ---------------------------------------------------------------- Controls */
.pf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.pf-controls[hidden] { display: none; }
.pf-arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  transition: border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.pf-arrow::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--d-fast) var(--ease);
}
.pf-arrow:hover { border-color: transparent; color: var(--ink-900); }
.pf-arrow:hover::before { opacity: 1; }
.pf-arrow:disabled { opacity: 0.35; cursor: default; }
.pf-arrow:disabled::before { opacity: 0; }
.pf-arrow .icon { width: 20px; height: 20px; }
.pf-arrow-icon.is-prev { transform: scaleX(-1); }
[dir='rtl'] .pf-arrow-icon { transform: scaleX(-1); }
[dir='rtl'] .pf-arrow-icon.is-prev { transform: none; }
.pf-pager { display: flex; align-items: center; gap: 4px; }
.pf-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.pf-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: transform var(--d-base) var(--ease), background-color var(--d-base) var(--ease);
}
.pf-dot[aria-current='true']::before { background: var(--amber); transform: scaleX(3); }
.pf-dot:hover::before { background: rgba(255, 255, 255, 0.6); }
.pf-dot[aria-current='true']:hover::before { background: var(--amber); }

@media (max-width: 599px) {
  /* Narrower card on phones so the tilted neighbours show on both sides (the 3D is visible without swiping). */
  .cs.pf { --pf-w: 74vw; --pf-gap: 10px; }
  .pf-track { padding-block: 28px 36px; }
  .pf-body { padding: 18px 18px 22px; }
  .pf-meta { font-size: 0.875rem; }
  .pf-phone { border-width: 3px; border-radius: 12px; bottom: -22px; inset-inline-end: 12px; }
  .pf-chips li { font-size: 0.68rem; }
}
@media print {
  .pf-controls, .pf-phone { display: none !important; }
  .pf-track { overflow: visible; flex-wrap: wrap; padding: 0; }
  .pf-card { transform: none !important; opacity: 1 !important; }
}

/* ==== assets/css/mm-software.css ==== */
/* ==========================================================================
   MetalMitra — homepage software showcase (2026-11 redesign, Phase 3)
   Markup: views/partials/home-software.ejs · behaviour: js/software.js
   Without JS: both products shown one after the other, flat frames, no price switch.
   With JS: ARIA tabs (sliding amber underline), panel crossfade + 16px slide (320ms), the app frame
   straightens from a 3D tilt as it scrolls in, hotspot tooltips, one app ↔ both apps price switch.
   Motion = transform / opacity only; prefers-reduced-motion = flat and instant.
   ========================================================================== */

.sw { --sw-ry: -8deg; --sw-rx: 4deg; overflow: hidden; }
[dir='rtl'] .sw { --sw-ry: 8deg; }

/* ---------------------------------------------------------------- Tabs */
.sw-tabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  width: max-content;
  max-width: 100%;
  margin: 0 auto var(--s-5);
  border-bottom: 1px solid var(--c-line);
}
.no-js .sw-tabs { display: none; }
.sw-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 14px;
  border: 0;
  background: none;
  color: var(--c-ink-2);
  font: 700 1.0625rem/1 var(--font-heading);
  cursor: pointer;
  transition: color var(--d-fast) var(--ease);
}
.sw-tab .product-mark { width: 28px; height: 28px; transition: opacity var(--d-fast) var(--ease); opacity: 0.55; }
.sw-tab:hover, .sw-tab[aria-selected='true'] { color: var(--c-navy); }
.sw-tab[aria-selected='true'] .product-mark { opacity: 1; }
.sw-tab:focus-visible { outline: 2px solid var(--c-blue); outline-offset: -2px; border-radius: 8px; }
.sw-ink {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100px;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
  transform-origin: 0 0;
  transform: translateX(var(--ix, 0)) scaleX(var(--iw, 0));
  opacity: 0;
}
.sw-tabs.is-ready .sw-ink { opacity: 1; transition: transform var(--d-base) var(--ease); }

/* ---------------------------------------------------------------- Panels */
.sw-panels { display: grid; gap: var(--s-6); }
.js .sw-panels { gap: 0; }
.sw-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.sw-panel:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 8px; border-radius: 12px; }
.js .sw-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease), visibility 0s linear var(--d-base);
}
[dir='rtl'] .js .sw-panel { transform: translateX(-16px); }
.js .sw-panel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.sw-copy { display: flex; flex-direction: column; gap: var(--s-3); }
.sw-copy p { margin: 0; color: var(--c-ink-2); }
.sw-copy .hm-soft-head h3 { font-size: var(--t-h3); }
.sw-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sw-feats li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 8px;
  color: var(--c-ink);
  font-size: 0.96875rem;
  transition: background-color var(--d-fast) var(--ease);
}
.sw-feats li.is-hot { background: rgba(242, 169, 0, 0.12); }
.sw-n { font: 600 0.8125rem/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--amber-ink); }

/* ---------------------------------------------------------------- App frame */
.sw-stage { perspective: 1400px; }
.sw-tilt {
  --k: 1;
  transform: rotateY(calc(var(--sw-ry) * (1 - var(--k)))) rotateX(calc(var(--sw-rx) * (1 - var(--k))));
  transform-origin: 50% 60%;
}
.sw-tilt.is-flat { transform: none; } /* fully straight: drop the 3D layer so the screenshot renders crisp */
.sw-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(11, 31, 58, 0.08), 0 30px 70px -20px rgba(11, 31, 58, 0.35);
}
.sw-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #eef1f6;
  border-bottom: 1px solid var(--c-line);
}
.sw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d0db; }
.sw-bar span { margin-inline-start: 10px; font: 500 0.75rem/1 var(--font-mono); color: var(--ink-500); }
.sw-shot { position: relative; display: block; }
.sw-shot img { display: block; width: 100%; height: auto; }

.sw-reflect { display: block; height: 64px; overflow: hidden; margin-top: 6px; pointer-events: none; }
.sw-reflect img {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleY(-1);
  opacity: 0.12;
  filter: blur(2px);
  -webkit-mask-image: linear-gradient(to top, #000 70%, transparent);
  mask-image: linear-gradient(to top, #000 70%, transparent);
}

/* ---------------------------------------------------------------- Hotspots (screenshot is never mirrored → physical left/top) */
.sw-spot { position: absolute; left: var(--x); top: var(--y); z-index: 1; }
.sw-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--amber);
  color: var(--c-navy);
  font: 700 0.8125rem/1 var(--font-mono);
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.35);
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease);
}
.sw-dot::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  animation: sw-pulse 2.4s var(--ease-out) infinite;
  pointer-events: none;
}
.sw-dot:hover, .sw-spot.is-hot .sw-dot { transform: scale(1.12); }
.sw-dot:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
@keyframes sw-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}
.sw-tip {
  position: absolute;
  top: 22px;
  left: 0;
  width: max-content;
  max-width: 240px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--c-navy);
  color: #fff;
  font: 500 0.8125rem/1.35 var(--font-body);
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.3);
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease), visibility 0s linear var(--d-fast);
}
.sw-spot.is-start .sw-tip { transform: translate(-14px, 6px); }
.sw-spot.is-end .sw-tip { left: auto; right: 0; transform: translate(14px, 6px); }
.sw-spot.is-hot .sw-tip, .sw-dot:hover + .sw-tip, .sw-dot:focus-visible + .sw-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.sw-spot.is-start.is-hot .sw-tip, .sw-spot.is-start .sw-dot:hover + .sw-tip, .sw-spot.is-start .sw-dot:focus-visible + .sw-tip { transform: translate(-14px, 0); }
.sw-spot.is-end.is-hot .sw-tip, .sw-spot.is-end .sw-dot:hover + .sw-tip, .sw-spot.is-end .sw-dot:focus-visible + .sw-tip { transform: translate(14px, 0); }

/* ---------------------------------------------------------------- Price switch */
.sw-price {
  max-width: 520px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: var(--s-5) var(--s-4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
  text-align: center;
}
.sw-switch-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: var(--s-3); }
.no-js .sw-switch-row { display: none; }
.sw-opt { font-weight: 600; color: var(--ink-500); transition: color var(--d-fast) var(--ease); }
.sw-opt.is-on { color: var(--c-navy); }
.sw-switch {
  position: relative;
  flex: none;
  width: 56px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--c-navy);
  cursor: pointer;
}
.sw-switch:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; }
.sw-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  transition: transform var(--d-base) var(--ease);
}
.sw-switch[aria-checked='true'] .sw-knob { transform: translateX(26px); }
[dir='rtl'] .sw-knob { left: auto; right: 4px; }
[dir='rtl'] .sw-switch[aria-checked='true'] .sw-knob { transform: translateX(-26px); }
.sw-amount {
  margin: 0;
  color: var(--c-navy);
  font: 700 clamp(2.5rem, 2rem + 2vw, 3.5rem)/1.1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  direction: ltr;
  unicode-bidi: isolate;
}
.sw-unit { margin-inline-start: 6px; font: 500 1rem/1 var(--font-body); letter-spacing: 0; color: var(--c-ink-2); }
.sw-which { margin: 6px 0 0; font-weight: 600; color: var(--c-ink); }
.sw-note { margin: var(--s-2) 0 0; color: var(--c-ink-2); font-size: var(--t-sm); }

/* ---------------------------------------------------------------- Responsive + motion */
@media (max-width: 899px) {
  .sw-panel { grid-template-columns: minmax(0, 1fr); }
  .sw-stage { order: -1; }
  .sw-tab { padding-inline: 12px; }
  .sw-dot { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 0.6875rem; }
  .sw-tip { display: none; } /* the numbered list next to the screenshot says the same */
  .sw-reflect { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-tilt { transform: none !important; }
  .sw-dot::before { animation: none; display: none; }
  .js .sw-panel, .sw-tip, .sw-knob, .sw-ink { transition: none !important; }
  .js .sw-panel { transform: none; }
}

/* ==== assets/css/mm-hero-slider.css ==== */
/* ==========================================================================
   Home hero slider (2026-11-30) — partials/home-slider.ejs, js/hero-slider.js.
   Deep navy stage, three slides (Websites / SEO / Software). Copy staggers in,
   the visual swings in 3D (direction-aware), tabs carry a progress bar.
   Transform/opacity only; reduced motion = plain cross-fade, no autoplay.
   ========================================================================== */
.hs {
  --hs-a: rgba(242, 169, 0, 0.32);
  --hs-b: rgba(30, 78, 140, 0.75);
  --tx: 0;
  --ty: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #071629;
  padding: calc(var(--header-h, 72px) + 46px) 0 28px;
}
.hs[data-k='seo'] { --hs-a: rgba(56, 189, 248, 0.22); --hs-b: rgba(30, 78, 140, 0.8); }
.hs[data-k='software'] { --hs-a: rgba(255, 122, 24, 0.3); --hs-b: rgba(22, 58, 107, 0.85); }

/* Background: two drifting colour fields + a fine blueprint grid */
.hs-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #0b1f3a 0%, #071629 70%); }
.hs-orb { position: absolute; border-radius: 50%; filter: blur(70px); transition: background-color 1.2s ease; will-change: transform; }
.hs-orb-a { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -8vw; top: -14vw; background: var(--hs-a); animation: hs-drift 18s ease-in-out infinite alternate; }
.hs-orb-b { width: 54vw; height: 54vw; max-width: 820px; max-height: 820px; left: -18vw; bottom: -30vw; background: var(--hs-b); animation: hs-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes hs-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vw, 3vw, 0) scale(1.12); } }
.hs-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 80%);
}

.hs-inner { position: relative; }
.hs-mono { font-family: var(--font-mono, ui-monospace, monospace); font-feature-settings: 'zero' 0; }

.hs-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font: 600 0.75rem/1.3 var(--font-mono, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hs-sep { color: var(--amber, #f2a900); }
.hs-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hs-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(34, 197, 94, 0.5); animation: hs-ping 2.4s ease-out infinite; }
@keyframes hs-ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Slides share one grid cell, so the hero is as tall as the tallest slide (no jump) */
.hs-track { display: grid; }
.hs-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  visibility: hidden;
}
.hs-slide.is-on,
.hs-slide.is-out { visibility: visible; }
.hs-slide.is-out { pointer-events: none; }

/* ---- Copy */
.hs-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font: 700 0.8125rem/1 var(--font-body, inherit);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber, #f2a900);
}
.hs-kicker .hs-mono { color: #fff; letter-spacing: 0.04em; }
.hs-kline { width: 36px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--amber, #f2a900), var(--orange, #ff7a18)); }
.hs-title {
  margin: 0 0 18px;
  max-width: 15ch;
  font-family: var(--font-display, inherit);
  font-size: clamp(2.25rem, 4.3vw, 3.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: #fff;
  text-wrap: balance;
}
.hs-text { max-width: 54ch; margin: 0 0 22px; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.6; color: rgba(226, 234, 245, 0.82); }
.hs-points { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.hs-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9688rem; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
.hs-points .icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(242, 169, 0, 0.16);
  color: var(--amber, #f2a900);
}
.hs-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hs-ctas .btn { border-radius: 999px; }
.hs-ctas .btn-accent { box-shadow: 0 14px 32px -14px rgba(242, 169, 0, 0.9); }
.hs-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.hs-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); text-decoration: none; }

/* ---- Visual: one 3D stage, pieces placed in percentages */
.hs-visual {
  position: relative;
  aspect-ratio: 6 / 5;
  perspective: 1800px;
  transform-style: preserve-3d;
}
.hs-visual > * { position: absolute; }
.hs.is-ready .hs-visual { transform: rotateY(calc(var(--tx) * 5deg)) rotateX(calc(var(--ty) * -4deg)); }

.hs-browser {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.65), 0 60px 120px -40px rgba(0, 0, 0, 0.5);
}
.hs-browser img { display: block; width: 100%; height: auto; }
.hs-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef1f6; border-bottom: 1px solid #dde2ec; }
.hs-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d0db; }
.hs-bar i:first-child { background: #ff6159; }
.hs-bar i:nth-child(2) { background: #ffbd2e; }
.hs-bar i:nth-child(3) { background: #28c941; }
.hs-url { display: flex; align-items: center; gap: 6px; flex: 0 1 46%; height: 18px; margin-inline-start: 14px; padding: 0 8px; border-radius: 6px; background: #fff; color: #22a447; }
.hs-url .icon { width: 10px; height: 10px; }
.hs-url span { flex: 1; height: 5px; border-radius: 3px; background: #e3e7ed; }
.hs-url b { font-size: 0.625rem; font-weight: 500; color: #3d4a63; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Fallback page mock (no published client screenshot yet) */
.hs-page { display: grid; gap: 18px; padding: 26px; background: linear-gradient(180deg, #f6f8fc, #fff); }
.hs-page-hero { display: grid; gap: 10px; }
.hs-page-btn { width: 110px; height: 26px; margin-top: 6px; border-radius: 999px; background: var(--amber, #f2a900); }
.hs-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hs-page-grid i { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: #e9eef5; color: #1e4e8c; }
.hs-page-grid .icon { width: 34%; height: auto; }
.hs-app-name { margin-inline-start: 12px; font: 700 0.6875rem/1 var(--font-body, inherit); color: #0b1f3a; letter-spacing: 0.02em; }

.hs-phone {
  overflow: hidden;
  border-radius: 24px;
  border: 6px solid #0d1726;
  background: #0d1726;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px -18px rgba(0, 0, 0, 0.7);
}
.hs-phone img { display: block; width: 100%; height: auto; border-radius: 17px; }

.hs-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #0b1f3a;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(11, 31, 58, 0.06);
}
.hs-chip b { display: block; font-size: 0.875rem; line-height: 1.2; }
.hs-chip small { display: block; margin-top: 3px; font-size: 0.6875rem; color: #5a6785; }
.hs-chip-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(145deg, var(--amber, #f2a900), var(--orange, #ff7a18)); color: #fff; }
.hs-chip-ic.is-blue { background: #0a66c2; }
.hs-chip-ic.is-green { background: #1a9f5b; }
.hs-chip-sk { display: grid; gap: 6px; width: 120px; }
.hs-chip.is-stack { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
.hs-row { display: flex; align-items: center; gap: 10px; }
.hs-row .hm-sk { flex: 1; }
.hs-chip.is-amber { background: linear-gradient(145deg, #fff7e0, #fff); }

/* SEO: search results card */
.hs-serp { display: grid; gap: 14px; padding: 20px; border-radius: 16px; background: #fff; color: #0b1f3a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.65); }
.hs-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: #f3f5f9; box-shadow: inset 0 0 0 1px #dde2ec; font-size: 0.875rem; color: #16213d; }
.hs-search .icon { color: #5a6785; }
.hs-res { display: flex; gap: 12px; padding: 12px; border-radius: 12px; }
.hs-res.is-top { background: linear-gradient(90deg, rgba(242, 169, 0, 0.12), rgba(242, 169, 0, 0.02)); box-shadow: inset 3px 0 0 var(--amber, #f2a900); }
[dir='rtl'] .hs-res.is-top { box-shadow: inset -3px 0 0 var(--amber, #f2a900); }
.hs-fav { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #0b1f3a; color: var(--amber, #f2a900); }
.hs-fav .icon { width: 18px; height: 18px; }
.hs-fav.is-dim { background: #e3e7ed; }
.hs-res-body { display: grid; gap: 7px; flex: 1; align-content: center; }
.hs-res-title { display: block; height: 12px; width: 75%; border-radius: 6px; background: #1e4e8c; }
.hs-res .hm-sk.is-t { height: 11px; background: #b9c6dc; }
.hm-sk.w30 { width: 30%; } .hm-sk.w40 { width: 40%; } .hm-sk.w90 { width: 90%; }

/* Placement per slide */
[data-k='websites'] .hs-v-main { left: 0; top: 4%; width: 79%; }
[data-k='websites'] .hs-v-float { right: 0; bottom: 0; width: 23%; }
[data-k='websites'] .hs-v-chip { left: -3%; bottom: 8%; }
[data-k='seo'] .hs-v-main { left: 0; top: 4%; width: 80%; }
[data-k='seo'] .hs-v-float { right: 0; top: 44%; width: 40%; }
[data-k='seo'] .hs-v-chip { left: 6%; bottom: 14%; }
[data-k='software'] .hs-v-main { left: 0; top: 4%; width: 88%; }
[data-k='software'] .hs-v-float { right: 0; bottom: 6%; width: 50%; }
[data-k='software'] .hs-v-chip { left: -3%; bottom: 12%; }
[dir='rtl'] .hs-visual { direction: ltr; } /* the mock-ups keep their own layout */

/* ---- Slide motion */
.hs-copy > * { opacity: 0; transform: translate3d(0, 26px, 0); }
.hs-slide.is-on .hs-copy > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease-out, transform 0.9s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
/* The outgoing copy is gone (0.25 s) before the incoming copy starts, so the two never overlap */
.hs-slide.is-on .hs-copy > :nth-child(1) { transition-delay: 0.28s; }
.hs-slide.is-on .hs-copy > :nth-child(2) { transition-delay: 0.35s; }
.hs-slide.is-on .hs-copy > :nth-child(3) { transition-delay: 0.42s; }
.hs-slide.is-on .hs-copy > :nth-child(4) { transition-delay: 0.49s; }
.hs-slide.is-on .hs-copy > :nth-child(5) { transition-delay: 0.56s; }
.hs-slide.is-out .hs-copy > * { opacity: 0; transform: translate3d(0, -12px, 0); transition: opacity 0.22s ease-in, transform 0.3s ease-in; }

.hs-v-main, .hs-v-float, .hs-v-chip { opacity: 0; }
.hs-v-main { transform: translate3d(14%, 0, -160px) rotateY(-28deg); transform-origin: 0 50%; }
.hs-v-float { transform: translate3d(0, 18%, 80px) rotateX(18deg); }
.hs-v-chip { transform: translate3d(0, 20px, 120px) scale(0.85); }
.hs[data-dir='prev'] .hs-v-main { transform: translate3d(-14%, 0, -160px) rotateY(28deg); transform-origin: 100% 50%; }

.hs-slide.is-on .hs-v-main,
.hs-slide.is-on .hs-v-float,
.hs-slide.is-on .hs-v-chip {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out, transform 1.1s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.hs-slide.is-on .hs-v-main { transition-delay: 0.22s; }
.hs-slide.is-on .hs-v-float { transition-delay: 0.42s; }
.hs-slide.is-on .hs-v-chip { transition-delay: 0.58s; }
.hs-slide.is-out .hs-v-main,
.hs-slide.is-out .hs-v-float,
.hs-slide.is-out .hs-v-chip {
  opacity: 0;
  transition: opacity 0.3s ease-in, transform 0.5s ease-in;
}
.hs-slide.is-out .hs-v-main { transform: translate3d(-12%, 0, -200px) rotateY(24deg); transform-origin: 100% 50%; }
.hs[data-dir='prev'] .hs-slide.is-out .hs-v-main { transform: translate3d(12%, 0, -200px) rotateY(-24deg); transform-origin: 0 50%; }
.hs-slide.is-out .hs-v-float { transform: translate3d(0, -10%, 40px); }
.hs-slide.is-out .hs-v-chip { transform: scale(0.9); }

/* Gentle float on the small pieces while a slide is showing */
@keyframes hs-bob { from { translate: 0 0; } to { translate: 0 -8px; } }
.hs-slide.is-on .hs-v-float { animation: hs-bob 4.5s 1.4s ease-in-out infinite alternate; }
.hs-slide.is-on .hs-v-chip { animation: hs-bob 5.5s 1.6s ease-in-out infinite alternate-reverse; }

/* First paint: slide 1 is already in place (no entrance delay for LCP) */
.hs:not(.is-ready) .hs-slide.is-on :is(.hs-copy > *, .hs-v-main, .hs-v-float, .hs-v-chip) { transition: none; }

/* ---- Tabs + arrows */
.hs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hs-tabs { display: flex; gap: clamp(12px, 2.5vw, 36px); min-width: 0; }
.hs-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 10px;
  min-width: 0;
  width: clamp(120px, 15vw, 210px);
  padding: 6px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font: 600 0.875rem/1.25 var(--font-body, inherit);
  text-align: start;
  cursor: pointer;
  transition: color 0.3s ease;
}
.hs-tab:hover, .hs-tab.is-on { color: #fff; }
.hs-tab .hs-mono { font-size: 0.75rem; color: var(--amber, #f2a900); opacity: 0.7; }
.hs-tab.is-on .hs-mono { opacity: 1; }
.hs-tab-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-prog { grid-column: 1 / -1; position: relative; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hs-prog span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--amber, #f2a900), var(--orange, #ff7a18)); transform-origin: left center; transform: scaleX(0); }
[dir='rtl'] .hs-prog span { transform-origin: right center; }
.hs-tab.is-on .hs-prog span { transform: scaleX(var(--p, 0)); }
.hs-tab:focus-visible { outline: 2px solid var(--amber, #f2a900); outline-offset: 4px; border-radius: 4px; }

.hs-arrows { display: flex; gap: 8px; flex: none; }
.hs-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out, ease);
}
.hs-arrow:hover { background: #fff; color: #0b1f3a; border-color: #fff; transform: translateY(-2px); }
.hs-arrow:focus-visible { outline: 2px solid var(--amber, #f2a900); outline-offset: 3px; }
.hs-arrow .icon { width: 18px; height: 18px; }
.hs-flip { transform: scaleX(-1); }
[dir='rtl'] .hs-arrow .icon:not(.hs-flip):not(.hs-i-pause):not(.hs-i-play) { transform: scaleX(-1); }
[dir='rtl'] .hs-arrow .hs-flip { transform: none; }
.hs-i-play { display: none; }
.hs.is-paused .hs-i-play { display: block; }
.hs.is-paused .hs-i-pause { display: none; }

/* ---- Responsive */
@media (max-width: 1023px) {
  .hs { padding-top: calc(var(--header-h, 60px) + 32px); }
  .hs-slide { grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; align-content: start; }
  .hs-title { max-width: 20ch; }
  .hs-visual { width: min(100%, 560px); margin-inline: auto; }
}
@media (max-width: 640px) {
  .hs-status { margin-bottom: 20px; font-size: 0.6875rem; border-radius: 12px; letter-spacing: 0.05em; }
  .hs-title { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .hs-points { margin-bottom: 24px; }
  .hs-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hs-visual { aspect-ratio: 5 / 4; }
  .hs-chip { padding: 8px 12px 8px 8px; gap: 8px; }
  .hs-chip b { font-size: 0.75rem; }
  .hs-chip-ic { width: 28px; height: 28px; border-radius: 8px; }
  .hs-chip-ic .icon { width: 14px; height: 14px; }
  .hs-chip.is-stack { padding: 10px; gap: 8px; }
  .hs-serp { padding: 12px; gap: 8px; }
  .hs-search { height: 34px; font-size: 0.75rem; }
  .hs-res { padding: 8px; }
  .hs-nav { gap: 12px; }
  .hs-tab { width: auto; flex: 1; }
  .hs-tab-label { display: none; }
  .hs-tabs { flex: 1; gap: 10px; }
  .hs-arrow { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-orb, .hs-pulse::after { animation: none; }
  .hs-copy > *, .hs-v-main, .hs-v-float, .hs-v-chip,
  .hs[data-dir='prev'] .hs-v-main,
  .hs-slide.is-out :is(.hs-copy > *, .hs-v-main, .hs-v-float, .hs-v-chip) { transform: none !important; animation: none !important; }
  .hs.is-ready .hs-visual { transform: none; }
}

/* Slide 1 illustration: a metal product page (desktop) + the same page on a phone */
.hs-pp { display: grid; background: #fff; color: #0b1f3a; }
.hs-pp-nav { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 18px; border-bottom: 1px solid #edf0f5; }
.hs-pp-nav .hm-sk { height: 7px; }
.hs-pp-logo { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #0b1f3a; color: var(--amber, #f2a900); }
.hs-pp-logo .icon { width: 14px; height: 14px; }
.hs-pp-cta { width: 70px; height: 22px; margin-inline-start: auto; border-radius: 999px; background: #1e4e8c; }
.hm-sk.w15 { width: 15%; } .hm-sk.w20 { width: 20%; }
.hs-pp-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; padding: 22px; }
.hs-pp-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: radial-gradient(70% 70% at 50% 40%, #ffffff, #dfe6ef); color: #4d5b6e; box-shadow: inset 0 0 0 1px #e3e8ef; }
.hs-pp-media > .icon { width: 56%; height: auto; stroke-width: 1.2; filter: drop-shadow(0 10px 14px rgba(11, 31, 58, 0.18)); }
.hs-pp-thumbs { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hs-pp-thumbs i { display: grid; place-items: center; aspect-ratio: 1.3; border-radius: 7px; background: rgba(255, 255, 255, 0.9); color: #1e4e8c; box-shadow: 0 1px 2px rgba(11, 31, 58, 0.1); }
.hs-pp-thumbs i:first-child { box-shadow: inset 0 0 0 2px var(--amber, #f2a900); }
.hs-pp-thumbs .icon { width: 50%; height: auto; }
.hs-pp-info { display: grid; align-content: start; gap: 12px; }
.hs-pp-title { font: 700 1.25rem/1.15 var(--font-display, inherit); letter-spacing: -0.01em; }
.hs-pp-spec { display: grid; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px #e3e8ef; }
.hs-pp-spec > span { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; font-size: 0.6875rem; }
.hs-pp-spec > span + span { border-top: 1px solid #edf0f5; }
.hs-pp-spec > span:nth-child(odd) { background: #f6f8fc; }
.hs-pp-spec em { font-style: normal; color: #5a6785; }
.hs-pp-spec b { font-weight: 600; color: #0b1f3a; white-space: nowrap; }
.hs-pp-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.hs-pp-btns > span, .hs-mp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; white-space: nowrap; background: #eef1f6; color: #0b1f3a; }
.hs-pp-btns .is-amber, .hs-mp-btn.is-amber { background: var(--amber, #f2a900); color: #0b1f3a; }
.hs-pp-btns .is-wa { background: #25d366; color: #fff; }
.hs-pp-btns .icon, .hs-mp-btn .icon { width: 12px; height: 12px; }
.hs-mp { display: grid; gap: 8px; padding: 12px 10px 14px; border-radius: 17px; background: #fff; color: #0b1f3a; }
.hs-mp-top { display: flex; align-items: center; gap: 8px; }
.hs-mp-top .hs-pp-logo { width: 18px; height: 18px; border-radius: 5px; }
.hs-mp-top .hs-pp-logo .icon { width: 11px; height: 11px; }
.hs-mp-media { display: grid; place-items: center; aspect-ratio: 1.1; border-radius: 10px; background: radial-gradient(70% 70% at 50% 40%, #fff, #dfe6ef); color: #4d5b6e; }
.hs-mp-media .icon { width: 50%; height: auto; }
.hs-mp-title { display: block; }
.hs-mp .hm-sk { height: 6px; }
.hs-mp .hm-sk.is-t { height: 9px; background: #b9c6dc; }
.hs-mp-btn { height: 24px; font-size: 0.5625rem; padding: 0 8px; }
@media (max-width: 640px) {
  .hs-pp-body { gap: 12px; padding: 12px; }
  .hs-pp-nav { height: 32px; padding: 0 10px; gap: 8px; }
  .hs-pp-title { font-size: 0.875rem; }
  .hs-pp-spec > span { padding: 5px 6px; font-size: 0.5rem; }
  .hs-pp-btns > span { height: 22px; padding: 0 8px; font-size: 0.5rem; }
  .hs-pp-info { gap: 7px; }
  .hs-mp { padding: 6px; gap: 5px; }
  .hs-mp-btn { height: 16px; font-size: 0.4375rem; padding: 0 4px; }
}
@media (max-width: 640px) {
  [data-k='websites'] .hs-v-chip, [data-k='websites'] .hs-v-float, .hs-pp-thumbs, .hs-pp-crumb { display: none; }
  [data-k='websites'] .hs-v-main { width: 100%; top: 6%; }
  .hs-pp-body { grid-template-columns: 0.8fr 1.2fr; }
  .hs-pp-spec > span { flex-direction: column; gap: 1px; }
  .hs-pp-spec b { white-space: normal; }
  .hs-pp-btns .is-wa { display: none; }
}

/* ==== assets/css/mm-spots.css ==== */
/* ==========================================================================
   Owner images in 3D frames (2026-11-30): partials/spot-figure.ejs, spot-band.ejs, js/spots.js.
   Styles: .sp-browser (window chrome), .sp-card (rounded photo), .sp-float (transparent cut-out).
   The frame rises in 3D when it scrolls into view and leans toward the pointer (spots.js).
   ========================================================================== */
.sp { --tx: 0; --ty: 0; position: relative; margin: 0; perspective: 1600px; }
.sp-frame {
  position: relative;
  display: block;
  transform: rotateY(calc(var(--tx) * 6deg)) rotateX(calc(var(--ty) * -5deg));
  transform-style: preserve-3d;
  transition: transform 0.2s linear;
}
.sp img { display: block; width: 100%; height: auto; }
.sp-browser .sp-frame,
.sp-card .sp-frame {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 31, 58, 0.08), 0 30px 60px -24px rgba(11, 31, 58, 0.45), 0 70px 120px -50px rgba(11, 31, 58, 0.4);
}
.sp-card .sp-frame { border-radius: 22px; }
.sp-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; background: #eef1f6; border-bottom: 1px solid #dde2ec; }
.sp-bar i { width: 10px; height: 10px; border-radius: 50%; }
.sp-bar i:nth-child(1) { background: #ff6159; }
.sp-bar i:nth-child(2) { background: #ffbd2e; }
.sp-bar i:nth-child(3) { background: #28c941; }
.sp-bar span { flex: 0 1 40%; height: 16px; margin-inline-start: 16px; border-radius: 6px; background: #fff; }
.sp-float img { filter: drop-shadow(0 30px 40px rgba(11, 31, 58, 0.35)) drop-shadow(0 8px 12px rgba(11, 31, 58, 0.2)); }
.sp-cap { margin-top: 16px; text-align: center; font-size: 0.9375rem; color: var(--ink-500, #5a6785); }
.is-dark .sp-cap { color: rgba(255, 255, 255, 0.75); }

/* Gloss that follows the pointer */
.sp-browser .sp-frame::after,
.sp-card .sp-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at calc(50% + var(--tx) * 40%) calc(30% + var(--ty) * 40%), rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.sp.is-hover .sp-frame::after { opacity: 1; }

/* Band under a page header */
.sp-band { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 4vw, 48px); background: linear-gradient(180deg, #f3f6fb, #fff 70%); overflow: hidden; }
.sp-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 31, 58, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 31, 58, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.sp-band-inner { position: relative; display: grid; justify-items: center; }
.sp-band .sp { width: min(100%, 980px); }
.sp-band .sp-float { width: min(100%, 760px); }

/* Rise in 3D when scrolled into view (spots.js adds .is-in; without JS it is simply shown) */
html.js .sp-rise .sp-frame { opacity: 0; transform: translate3d(0, 60px, -120px) rotateX(18deg); transition: opacity 0.8s ease-out, transform 1.2s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)); transform-origin: 50% 100%; }
html.js .sp-rise.is-in .sp-frame { opacity: 1; transform: rotateY(calc(var(--tx) * 6deg)) rotateX(calc(var(--ty) * -5deg)); }
html.js .sp-rise.is-in.is-settled .sp-frame { transition: transform 0.2s linear; }

/* Inside the homepage slider: the slide's own 3D entrance applies to the figure */
.hs-visual.has-own { display: grid; align-items: center; }
.hs-visual.has-own > .sp { position: relative; left: auto; top: auto; width: 100%; }
.hs-visual.has-own .sp-cap { color: rgba(255, 255, 255, 0.75); }
.hs-visual.has-own .sp-float img { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }

@media (prefers-reduced-motion: reduce) {
  html.js .sp-rise .sp-frame, html.js .sp-rise.is-in .sp-frame, .sp-frame { opacity: 1; transform: none !important; transition: none; }
}
@media print { .sp-frame { transform: none !important; box-shadow: none; } }

/* ==== assets/css/mm-nav.css ==== */
/* ==========================================================================
   Header + mega menu, corporate refresh (2026-11-30).
   Loaded LAST in the bundle, so it only overrides the older header rules.
   - Logo: larger, crisp, grows smoothly on hover (uses `scale`, so the one-time
     logo intro animation on `transform` is untouched).
   - Desktop nav: one hover pill that slides between items (js/main.js adds .mm-nav-pill).
   - Dropdown: a floating card that swings down in 3D from the header, an amber beam
     over the open item, staggered links, and a short exit fade. Transform/opacity only.
   ========================================================================== */

/* ------------------------------------------------------------------ Logo */
.mm-header .brand {
  position: relative;
  transform-origin: left center;
  scale: 1;
  transition: scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  will-change: scale;
}
[dir='rtl'] .mm-header .brand { transform-origin: right center; }
.mm-header .brand img {
  image-rendering: -webkit-optimize-contrast;
  transition: opacity 0.3s ease, filter 0.4s ease;
}
@media (min-width: 1280px) {
  .mm-header .brand img { width: 176px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .mm-header .brand img { width: 156px; }
}
@media (hover: hover) and (pointer: fine) {
  .mm-header .brand:hover,
  .mm-header .brand:focus-visible { scale: 1.14; }
  .mm-header .brand:hover img { filter: drop-shadow(0 6px 14px rgba(11, 31, 58, 0.18)); }
}
.mm-header .brand:active { scale: 1.06; transition-duration: 0.15s; }

/* --------------------------------------------------------- Desktop nav */
.mm-nav-btn {
  z-index: 1;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
}
/* With JS the sliding pill is the hover state, so the buttons stay transparent */
html.js .mm-nav-btn:hover,
html.js .mm-nav-item.is-open .mm-nav-btn { background: transparent; }
.mm-nav-item.is-open .mm-nav-btn { color: var(--mm-navy, #0b1f3a); }

.mm-nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--pill-h, 38px);
  width: var(--pill-w, 0px);
  border-radius: 999px;
  background: rgba(30, 78, 140, 0.08);
  box-shadow: inset 0 0 0 1px rgba(30, 78, 140, 0.1);
  transform: translate(var(--pill-x, 0px), var(--pill-y, 0px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s var(--ease-out), width 0.38s var(--ease-out), opacity 0.25s ease, background-color 0.3s ease;
}
.mm-nav-pill.is-on { opacity: 1; }
.mm-nav-pill.no-slide { transition: opacity 0.25s ease; }
/* Over a dark hero (header still transparent) the pill is light glass */
:is(html.js body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.is-scrolled):not(:has(.is-open)),
  html.mm-fx body.mm-hdr-over-dark:has(main > .is-dark:first-child) .mm-header:not(.mm-solid):not(:has(.is-open)))
  .mm-nav-pill {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* Active page underline: thin amber bar that grows from the centre */
.mm-nav-btn.is-active::after {
  left: 50%;
  right: auto;
  width: 22px;
  bottom: 3px;
  height: 3px;
  translate: -50% 0;
  background: var(--grad-accent, #f2a900);
  transition: width 0.3s var(--ease-out);
}
.mm-nav-btn.is-active:hover::after { width: 34px; }
.mm-caret { transition: transform 0.35s var(--ease-out); }

/* ------------------------------------------------------------ Dropdown */
.mm-panel {
  max-height: none;
  overflow: visible;
  padding: 10px 0 0;
  background: none;
  border: 0;
  box-shadow: none;
  perspective: 1600px;
  opacity: 1;
  transform: none;
  transition: none;
}
.mm-panel:not(.is-visible) { transform: none; pointer-events: none; }

.mm-panel-inner {
  position: relative;
  max-height: calc(100vh - var(--header-h, 72px) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 28px 26px;
  border-radius: 22px;
  background:
    radial-gradient(120% 60% at var(--mm-beam, 50%) 0%, rgba(242, 169, 0, 0.07), transparent 60%),
    linear-gradient(180deg, #fff, #fbfcfe);
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 6px rgba(11, 31, 58, 0.06),
    0 24px 48px -12px rgba(11, 31, 58, 0.22),
    0 48px 96px -24px rgba(11, 31, 58, 0.18);
  transform-origin: var(--mm-beam, 50%) 0;
  opacity: 0;
  transform: translateY(-14px) rotateX(-16deg) scale(0.97);
  transition: transform 0.22s ease-in, opacity 0.18s ease-in;
  will-change: transform, opacity;
}
.mm-panel.is-visible .mm-panel-inner {
  opacity: 1;
  transform: none;
  transition: transform 0.55s var(--ease-out), opacity 0.3s ease-out;
}
/* Moving from one open menu to the next: no swing, just a quick cross-fade */
.mm-panel.is-switch .mm-panel-inner { transform: translateY(-4px); }
.mm-panel.is-switch.is-visible .mm-panel-inner { transform: none; transition: transform 0.3s var(--ease-out), opacity 0.2s ease-out; }

/* Amber beam on the top edge, right under the open nav item */
.mm-panel-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--mm-beam, 50%);
  width: 140px;
  height: 2px;
  translate: -50% 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--amber, #f2a900) 30%, var(--orange, #ff7a18) 70%, transparent);
  box-shadow: 0 0 14px rgba(242, 169, 0, 0.55);
}

/* Compact menus (Software, Resources): a card under their own button, not full width */
.mm-panel.is-compact .mm-panel-inner {
  width: max-content;
  min-width: 380px;
  max-width: min(760px, calc(100vw - 48px));
  margin: 0;
  margin-inline-start: var(--mm-left, 24px);
  padding-inline: 24px;
}
.mm-panel.is-compact .mm-panel-inner { gap: 6px; }
.mm-panel.is-compact .mm-cols { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 28px; }

/* Full menus line up with the logo and the CTA */
.mm-panel:not(.is-compact) .mm-panel-inner {
  width: var(--hdr-w, min(calc(100% - 2 * var(--gutter, 24px)), var(--container-wide, 1240px)));
  max-width: none;
  margin-inline: auto;
}
/* Columns: as many as there are, sharing the width (no empty third column) */
.mm-cols { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 28px; align-content: start; }
.mm-feature { align-self: start; }
.mm-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--ink-500, #5a6785);
}
.mm-col-title::before {
  content: '';
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber, #f2a900);
}

/* Links */
.mm-link {
  position: relative;
  gap: 12px;
  padding: 8px 12px;
  margin-left: 0;
  margin-inline-start: -12px;
  border-radius: 12px;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.3s var(--ease-out);
}
.mm-link-text { min-width: 0; }
.mm-link-text > span { font-weight: 600; color: var(--ink-900, #0b1f3a); transition: color 0.2s ease; }
.mm-link-text small { margin-top: 1px; color: var(--ink-500, #5a6785); }
.mm-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f3f6fb, #e8edf5);
  box-shadow: inset 0 0 0 1px rgba(11, 31, 58, 0.06);
  color: var(--blue, #1e4e8c);
  transition: transform 0.35s var(--ease-out), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.mm-link::after {
  content: '';
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-top: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  color: var(--amber-ink, #b57600);
  rotate: 45deg;
  opacity: 0;
  translate: -6px 0;
  transition: opacity 0.2s ease, translate 0.3s var(--ease-out);
}
[dir='rtl'] .mm-link::after { rotate: -45deg; translate: 6px 0; }
.mm-link { padding-inline-end: 30px; }
@media (hover: hover) {
  .mm-link:hover {
    transform: none;
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 22px -10px rgba(11, 31, 58, 0.22), inset 0 0 0 1px rgba(11, 31, 58, 0.06);
  }
  .mm-link:hover .mm-link-text > span { color: var(--blue, #1e4e8c); }
  .mm-link:hover .mm-link-icon {
    transform: translateY(-2px) rotate(-4deg);
    background: linear-gradient(145deg, var(--amber, #f2a900), var(--orange, #ff7a18));
    color: #fff;
    box-shadow: 0 8px 16px -8px rgba(242, 120, 24, 0.7);
  }
  .mm-link:hover::after { opacity: 1; translate: 0 0; }
}
.mm-link:focus-visible { outline: 2px solid var(--amber-ink, #b57600); outline-offset: 1px; }
.mm-link[aria-current='page'] { background: rgba(30, 78, 140, 0.06); }
.mm-link[aria-current='page'] .mm-link-text > span { color: var(--blue, #1e4e8c); }

/* Feature card: deep navy with a soft glow and a fine grid */
.mm-feature {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 18px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(242, 169, 0, 0.28), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(30, 78, 140, 0.55), transparent 70%),
    linear-gradient(160deg, #0f2747, #0b1f3a);
  box-shadow: 0 18px 40px -18px rgba(11, 31, 58, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  isolation: isolate;
}
.mm-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 75%);
  mask-image: linear-gradient(200deg, #000, transparent 75%);
}
.mm-feature-title { font-family: var(--font-display, inherit); font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.3; }
.mm-feature p { color: rgba(255, 255, 255, 0.78); }
.mm-feature .btn-primary { border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(242, 169, 0, 0.8); }

.mm-panel-foot { border-top-color: rgba(11, 31, 58, 0.08); }

/* Staggered entrance of columns, links and the feature card */
.mm-col li,
.mm-col-title,
.mm-feature,
.mm-panel-foot {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.mm-panel.is-visible :is(.mm-col li, .mm-col-title, .mm-feature, .mm-panel-foot) {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease-out, transform 0.5s var(--ease-out);
  transition-delay: calc(90ms + (var(--c, 0) * 2 + var(--r, 0)) * 28ms);
}
.mm-col:nth-child(2) { --c: 1; }
.mm-col:nth-child(3) { --c: 2; }
.mm-col:nth-child(4) { --c: 3; }
.mm-col li:nth-child(1) { --r: 1; }
.mm-col li:nth-child(2) { --r: 2; }
.mm-col li:nth-child(3) { --r: 3; }
.mm-col li:nth-child(4) { --r: 4; }
.mm-col li:nth-child(5) { --r: 5; }
.mm-col li:nth-child(6) { --r: 6; }
.mm-col li:nth-child(n + 7) { --r: 7; }
.mm-panel.is-visible .mm-feature { transition-delay: 160ms; }
.mm-panel.is-switch.is-visible :is(.mm-col li, .mm-col-title, .mm-feature, .mm-panel-foot) {
  transition-delay: calc(30ms + (var(--c, 0) + var(--r, 0)) * 18ms);
}

/* Backdrop: blurred, fades in */
@keyframes mm-nav-fade { from { opacity: 0; } to { opacity: 1; } }
.mm-backdrop {
  background: rgba(11, 31, 58, 0.22);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: mm-nav-fade 0.35s ease-out both;
}

/* Without JS the panels still open on hover/focus: show them fully */
html.no-js .mm-panel .mm-panel-inner,
html.no-js .mm-panel :is(.mm-col li, .mm-col-title, .mm-feature, .mm-panel-foot) { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mm-header .brand:hover,
  .mm-header .brand:focus-visible { scale: 1.06; }
  .mm-panel-inner,
  .mm-panel.is-switch .mm-panel-inner,
  .mm-col li,
  .mm-col-title,
  .mm-feature,
  .mm-panel-foot { transform: none !important; }
  .mm-link:hover .mm-link-icon { transform: none; }
}
@media print {
  .mm-nav-pill, .mm-backdrop { display: none !important; }
}

/* ==========================================================================
   Floating header box (2026-11-30): the header is a separate white rounded box
   with a gap above it, on every page and over every hero. The old "transparent
   over a dark hero" mode is switched off (its selectors now need body.mm-hdr-over-dark,
   which nothing sets). --header-h = gap + box height, so page offsets stay right.
   ========================================================================== */
:root { --header-h: 80px; --hdr-gap: 12px; --hdr-box: 68px; }
@media (max-width: 1023px) { :root { --header-h: 70px; --hdr-gap: 10px; --hdr-box: 60px; } }
@media (max-width: 767px) { :root { --header-h: 66px; --hdr-gap: 8px; --hdr-box: 58px; } }

.mm-header {
  --hdr-w: min(calc(100% - 20px), calc(100% - 2 * var(--gutter, 24px) + 36px), calc(var(--container-wide, 1280px) + 36px));
}
.site-header.mm-header,
.site-header.mm-header.is-scrolled,
.site-header.mm-header.mm-solid {
  padding-top: var(--hdr-gap);
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
  transition: padding-top 0.35s var(--ease-out);
}
.site-header.mm-header.is-scrolled,
.site-header.mm-header.mm-solid { padding-top: calc(var(--hdr-gap) - 4px); }
.mm-header .header-inner,
.mm-header .mm-panel,
.mm-header .mm-backdrop { pointer-events: auto; }
.mm-header .mm-panel:not(.is-visible) { pointer-events: none; }

.mm-header .header-inner,
.mm-header.mm-solid .header-inner {
  width: var(--hdr-w);
  max-width: none;
  height: var(--hdr-box);
  margin-inline: auto;
  padding-inline: 18px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(11, 31, 58, 0.07);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.05), 0 14px 34px -16px rgba(11, 31, 58, 0.3);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  transition: height 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.mm-header.is-scrolled .header-inner,
.mm-header.mm-solid .header-inner {
  height: calc(var(--hdr-box) - 6px);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 18px 40px -16px rgba(11, 31, 58, 0.38);
}
/* A menu is open: the box and the card read as one surface */
.mm-header:has(.mm-nav-item.is-open) .header-inner { box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px -14px rgba(11, 31, 58, 0.25); }
.mm-header .brand { margin-inline-start: -6px; }

/* Reading progress runs along the bottom edge of the box */
.mm-header .mx-progress {
  left: calc((100% - var(--hdr-w)) / 2 + 16px);
  right: calc((100% - var(--hdr-w)) / 2 + 16px);
  inset-inline: auto;
  bottom: 0;
  border-radius: 2px;
}
/* Mega-menu card and backdrop start under the box */
.mm-backdrop { inset: 0; }

@media (max-width: 1023px) {
  .mm-header .header-inner,
  .mm-header.mm-solid .header-inner { padding-inline: 12px 8px; border-radius: 16px; }
}
@media (max-width: 767px) {
  .mm-header .header-inner,
  .mm-header.mm-solid .header-inner { padding-inline: 10px 6px; border-radius: 14px; }
}
@media print {
  .mm-header .header-inner { box-shadow: none; border: 0; }
}
