/* ==========================================================================
   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: #1a73e8;
  --primary-hover: #1765cc;
  --primary-soft: #e8f0fe;
  --violet: #6e5bd8;
  --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: #1b3253;
  --brand-orange: #eb742a;

  --gradient: linear-gradient(90deg, #1a73e8 0%, #6e5bd8 50%, #9aa5b1 100%);
  --gradient-diag: linear-gradient(135deg, #1a73e8 0%, #6e5bd8 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(27, 50, 83, 0.04),
    0 12px 32px -12px rgba(27, 50, 83, 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(27, 50, 83, 0.2);
  --shadow-lg: 0 4px 12px rgba(60, 64, 67, 0.06), 0 32px 64px -24px rgba(27, 50, 83, 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(26, 115, 232, 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(26, 115, 232, 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(26, 115, 232, 0.14);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(26, 115, 232, 0.45);
}
.icon-tile.is-steel {
  color: var(--brand-navy);
  background: linear-gradient(180deg, #fff, #eef1f5);
  border-color: rgba(27, 50, 83, 0.12);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(27, 50, 83, 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(26, 115, 232, 0.3), 0 8px 20px -10px rgba(26, 115, 232, 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(26, 115, 232, 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(26, 115, 232, 0.1), rgba(110, 91, 216, 0.12));
  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: #1a73e8;
}
.glow-field .g-violet {
  background: #6e5bd8;
}
.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(26, 115, 232, 0.3), 0 10px 24px -10px rgba(26, 115, 232, 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(26, 115, 232, 0.55), rgba(26, 115, 232, 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(110, 91, 216, 0.5), rgba(110, 91, 216, 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, #1b3253 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: #0a66c2;
}
.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(27, 50, 83, 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(26, 115, 232, 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, #6e5bd8, #1a73e8);
  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, #6e5bd8, #9b8cf0);
}
.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, #1a73e8, #6e5bd8, #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(26, 115, 232, 0.06),
    0 0 60px rgba(110, 91, 216, 0.25);
}
.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: #1a73e8;
}
.stage::after {
  bottom: -25%;
  left: -10%;
  background: #6e5bd8;
}
.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, #1b3253, #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: #0a66c2;
  color: #fff;
}
.li-company .li-actions span + span {
  background: #fff;
  color: #0a66c2;
  border: 1px solid #0a66c2;
}
.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, #1b3253, #4b6890 60%, #c3ccd6);
}
.doc.d3 .doc-cover {
  background: linear-gradient(135deg, #eb742a, #f5a35f);
}
.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, #f5f8ff, #fff);
  border-color: rgba(26, 115, 232, 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, 240, 254, 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(26, 115, 232, 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(26, 115, 232, 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(26, 115, 232, 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(26, 115, 232, 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, #6e5bd8, #9b8cf0);
  box-shadow: 0 8px 18px -8px rgba(110, 91, 216, 0.8);
}
.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, #1b3253, #5b7395);
  box-shadow: 0 8px 18px -8px rgba(27, 50, 83, 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(26, 115, 232, 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(27, 50, 83, 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, #1a73e8 0%, #12b5cb 100%); }
.product-mark.pm-mtcmitra { background: linear-gradient(135deg, #1b3253 0%, #188038 100%); }
.product-mark.pm-automailmitra { background: linear-gradient(135deg, #6e5bd8 0%, #1a73e8 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(26, 115, 232, 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, #1a73e8 0%, #6e5bd8 60%, #9aa5b1 100%);
}
.post-cover-art.cover-seo { background: linear-gradient(135deg, #1a73e8 0%, #12b5cb 100%); }
.post-cover-art.cover-linkedin { background: linear-gradient(135deg, #0a66c2 0%, #6e5bd8 100%); }
.post-cover-art.cover-b2b-portals { background: linear-gradient(135deg, #e8710a 0%, #eb742a 40%, #6e5bd8 100%); }
.post-cover-art.cover-metal-industry { background: linear-gradient(135deg, #1b3253 0%, #4b6890 55%, #9aa5b1 100%); }
.post-cover-art.cover-product-updates { background: linear-gradient(135deg, #188038 0%, #1a73e8 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(26, 115, 232, 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(26, 115, 232, 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(26, 115, 232, 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(26, 115, 232, 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(27, 50, 83, 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(110, 91, 216, 0.22), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(26, 115, 232, 0.22), transparent 55%),
    linear-gradient(135deg, #f3f6fb, #eef0f5);
}
.slide-media.is-empty::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(27, 50, 83, 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(26, 115, 232, 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), #1a73e8);
  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(26, 115, 232, 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);
}
.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, #1a73e8, #6e5bd8);
}
.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, 240, 254, 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, #1a73e8);
}
.ft-dwg {
  background: linear-gradient(160deg, #8e7cc3, #6e5bd8);
}
.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(26, 115, 232, 0.35), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(110, 91, 216, 0.35), 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, #1a73e8, #6e5bd8);
}
.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, #1a73e8, #6e5bd8);
}
.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, #6e5bd8);
  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(27, 50, 83, 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(27, 50, 83, 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(27, 50, 83, 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 harbour scene
   ========================================================================== */
.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-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  /* Same shape as the desktop crop (1040×900), so every screen shows the same framing */
  aspect-ratio: 1040 / 900;
  width: auto;
  max-width: min(68%, calc(100% - 520px));
  z-index: -1;
  background: #0b1830;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 28%),
    linear-gradient(180deg, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 28%),
    linear-gradient(180deg, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.hero-video,
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-still-pic {
  display: contents;
}
.hero-still {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-media.is-still .hero-still {
  opacity: 1;
}
.hero-media.is-still .hero-video {
  visibility: hidden;
}
.hero-media-grid {
  position: relative;
  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: 1279px) {
  .hero-media {
    min-height: 0;
    justify-content: flex-start;
  }
  .hero-media-grid {
    order: 1;
  }
  .hero-media-art {
    order: 2;
    position: relative;
    width: min(960px, calc(100% - 32px));
    max-width: none;
    margin: var(--space-5) auto 0;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 0;
    -webkit-mask-image: none;
    mask-image: none;
    box-shadow: var(--shadow-lg);
  }
  .hero-video,
  .hero-still {
    object-position: center;
  }
  .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;
  }
}

/* ==========================================================================
   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, #1a73e8, #6e5bd8);
  -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: #1a73e8;
  --a2: #6e5bd8;
  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: #1a73e8; --a2: #6e5bd8; }
.region-me { --a1: #d97706; --a2: #eb742a; }
.region-na { --a1: #1b3253; --a2: #1a73e8; }
.region-af { --a1: #188038; --a2: #34a853; }
.region-ap { --a1: #d93025; --a2: #e8618c; }
.region-la { --a1: #0b8f84; --a2: #22b8a7; }
.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(--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(27, 50, 83, 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(--a1);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(27, 50, 83, 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(--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: #0a66c2;
}
.channel-whatsapp .icon {
  color: #1faa53;
}
.channel-portal .icon,
.channel-outreach .icon {
  color: 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: #1a73e8;
  --a2: #6e5bd8;
  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: #1a73e8; --a2: #4f8ff7; }
.svc-li { --a1: #0a66c2; --a2: #378fe9; }
.svc-b2b { --a1: #6e5bd8; --a2: #9b8af0; }
.svc-out { --a1: #eb742a; --a2: #f59e0b; }
.svc-seo { --a1: #0b8f84; --a2: #22b8a7; }
.svc-wa { --a1: #1faa53; --a2: #3ccf74; }
.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(--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(--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, 240, 254, 0.9), rgba(239, 234, 254, 0.8));
  border: 1px solid #dbe5fb;
}
.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, #b7c9f5 0 8px, transparent 8px 14px);
  z-index: 0;
}
.hw-flow-step {
  --a1: #1a73e8;
  --a2: #6e5bd8;
  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: #6e5bd8; --a2: #9b8af0; }
.hw-flow-step:nth-child(3) { --a1: #0b8f84; --a2: #22b8a7; }
.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(--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(--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(--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(--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, #1a73e8);
  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, #b7c9f5 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(110, 91, 216, 0.45), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(26, 115, 232, 0.35), transparent 70%),
    linear-gradient(160deg, #0f1b2d, #1b3253);
  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, #eb742a, #f59e0b);
  box-shadow: 0 14px 28px -12px rgba(235, 116, 42, 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: #dbe4f5;
}
.why-products .icon {
  flex: none;
  color: #8fb4ff;
}
.why-card {
  --a1: #1a73e8;
  --a2: #4f8ff7;
  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: #6e5bd8; --a2: #9b8af0; }
.why-report { --a1: #0b8f84; --a2: #22b8a7; }
.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(--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(110, 91, 216, 0.12), 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, #1a73e8, #6e5bd8);
  box-shadow: 0 12px 24px -12px rgba(26, 115, 232, 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: #c9d8f8;
}
.faq-cards .faq-item.is-open {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: 0 18px 40px -24px rgba(26, 115, 232, 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, #e8f0fe);
  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, #1a73e8, #6e5bd8);
}
.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, #e8f0fe);
}
.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(27, 50, 83, 0.35), 0 0 0 1px rgba(26, 115, 232, 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(26, 115, 232, 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: #1faa53;
  box-shadow: 0 0 0 0 rgba(31, 170, 83, 0.5);
  animation: hub-pulse 2s ease-out infinite;
}
@keyframes hub-pulse {
  to {
    box-shadow: 0 0 0 8px rgba(31, 170, 83, 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: #1a73e8;
  --a2: #4f8ff7;
  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: #0a66c2; --a2: #378fe9; }
.hub-b2b { --a1: #6e5bd8; --a2: #9b8af0; }
.hub-cat { --a1: #d97706; --a2: #f59e0b; }
.hub-seo { --a1: #0b8f84; --a2: #22b8a7; }
.hub-wa { --a1: #1faa53; --a2: #3ccf74; }
.hub-out { --a1: #eb742a; --a2: #f59e0b; }
.hub-ai { --a1: #c026d3; --a2: #8b5cf6; }
.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(--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, #1a73e8, #6e5bd8);
  box-shadow: 0 8px 18px -10px rgba(26, 115, 232, 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: #1a73e8; --a2: #4f8ff7; }
.svc-sec.svc-li { --a1: #0a66c2; --a2: #378fe9; }
.svc-sec.svc-b2b { --a1: #6e5bd8; --a2: #9b8af0; }
.svc-sec.svc-cat { --a1: #d97706; --a2: #f59e0b; }
.svc-sec.svc-seo { --a1: #0b8f84; --a2: #22b8a7; }
.svc-sec.svc-wa { --a1: #1faa53; --a2: #3ccf74; }
.svc-sec.svc-out { --a1: #eb742a; --a2: #f59e0b; }
.svc-sec.svc-ai { --a1: #c026d3; --a2: #8b5cf6; }
.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(--a1);
}
.svc-index i {
  margin-left: 4px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted, #9aa0a6);
}
.svc-sec .service-copy h3 {
  color: var(--a1);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
}
.svc-sec .check-list .icon {
  color: 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(--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(--a1);
}
.svc-actions .btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  border-color: transparent;
}
.svc-actions .link-arrow {
  color: 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: #1a73e8;
  --a2: #4f8ff7;
  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: #6e5bd8; --a2: #1a73e8; }
.plan-card.plan-grow { --a1: #0b8f84; --a2: #22b8a7; }
.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(--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(110, 91, 216, 0.08), transparent 60%) padding-box,
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #1a73e8, #6e5bd8) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 60px -30px rgba(110, 91, 216, 0.5), 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: #1a73e8;
}
.px-aurora span:nth-child(2) {
  top: 8%;
  right: -120px;
  width: 520px;
  height: 520px;
  background: #6e5bd8;
  animation-delay: -6s;
}
.px-aurora span:nth-child(3) {
  bottom: -220px;
  left: 38%;
  width: 440px;
  height: 440px;
  background: #eb742a;
  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: #3ccf74;
  box-shadow: 0 0 0 0 rgba(60, 207, 116, 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, #7fb2ff 0%, #b49cff 35%, #ffb37a 60%, #7fb2ff 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(127, 178, 255, 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(110, 91, 216, 0.45);
  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, #4f8ff7, #b49cff, #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: #1a73e8; }
.px-float.f2 { right: -22px; top: 16%; animation-delay: -2s; }
.px-float.f2 .icon { color: #1faa53; }
.px-float.f3 { right: 14%; bottom: -16px; animation-delay: -4s; }
.px-float.f3 .icon { color: #eb742a; }
@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, #4f8ff7, #b49cff);
}
@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: #1a73e8;
  --a2: #6e5bd8;
  --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: #0b8f84;
  --a2: #eb742a;
}
.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(--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: #1a73e8;
  --a2: #4f8ff7;
  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: #eb742a; --a2: #f59e0b; }
.t-std { --a1: #6e5bd8; --a2: #9b8af0; }
.t-trade { --a1: #1a73e8; --a2: #4f8ff7; }
.t-mail { --a1: #0b8f84; --a2: #22b8a7; }
.t-help { --a1: #1faa53; --a2: #3ccf74; }
.px-tile-lg {
  --a1: #1faa53;
  --a2: #3ccf74;
  grid-column: span 2;
  grid-row: span 2;
  padding: 34px;
  color: #dbe4f5;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(110, 91, 216, 0.4), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(26, 115, 232, 0.35), transparent 70%),
    linear-gradient(160deg, #0f1b2d, #1b3253);
  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: #3ccf74;
  box-shadow: 0 0 14px #3ccf74;
  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, #1a73e8, #6e5bd8, #0b8f84);
  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, #1a73e8, #6e5bd8, #0b8f84);
    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: #1a73e8; --a2: #4f8ff7; }
.g-pipes { --a1: #0b8f84; --a2: #22b8a7; }
.g-engineering { --a1: #6e5bd8; --a2: #9b8af0; }
.g-trade { --a1: #eb742a; --a2: #f59e0b; }

.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, #1a73e8, #6e5bd8);
  -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(--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(--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: #d97706;
}
.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, #1a73e8, #6e5bd8);
  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: #1a73e8;
  --a2: #4f8ff7;
  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: #1a73e8; --a2: #38bdf8; }
.s-agri { --a1: #1faa53; --a2: #84cc16; }
.s-oil { --a1: #1b3253; --a2: #475569; }
.s-build { --a1: #d97706; --a2: #f59e0b; }
.s-plumb { --a1: #0891b2; --a2: #22d3ee; }
.s-fire { --a1: #dc2626; --a2: #f97316; }
.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: #0b8f84; --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, #1a73e8, #6e5bd8);
  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, #1a73e8, #6e5bd8);
  box-shadow: 0 10px 22px -12px rgba(26, 115, 232, 0.9);
}
.sr-india .sr-switch a[aria-current='page'] {
  background: linear-gradient(135deg, #eb742a, #f59e0b 45%, #1faa53);
}
.btn-wa {
  color: #fff;
  background: #1faa53;
  border-color: #1faa53;
  box-shadow: 0 14px 28px -14px rgba(31, 170, 83, 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, #1a73e8, #6e5bd8);
  box-shadow: 0 6px 14px -6px rgba(26, 115, 232, 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, #1a73e8, #6e5bd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sr-india .sr-facts li b {
  background-image: linear-gradient(120deg, #eb742a, #d97706);
}
.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, 240, 254, 0.9), rgba(239, 234, 254, 0.8));
  border: 1px solid #dbe5fb;
  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(26, 115, 232, 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, #1a73e8, #6e5bd8);
}
.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, #e8f0fe);
}
.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, #1b3253, #eb742a);
  -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(27, 50, 83, 0.18);
}
.ab-ring.r1 {
  width: min(100%, 500px);
}
.ab-ring.r2 {
  width: min(78%, 390px);
  border-style: solid;
  border-color: rgba(235, 116, 42, 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, #1b3253, #2f5689);
  box-shadow: 0 14px 26px -12px rgba(27, 50, 83, 0.6);
  animation: ab-spin 60s linear infinite reverse;
}
.ab-orbit-icons li:nth-child(even) span {
  background: linear-gradient(135deg, #eb742a, #f59e0b);
  box-shadow: 0 14px 26px -12px rgba(235, 116, 42, 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, #1b3253, #6e5bd8, #eb742a);
  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, #1b3253, #2f5689);
  box-shadow: 0 14px 26px -12px rgba(27, 50, 83, 0.6), 0 0 0 6px var(--bg, #fff);
}
.ab-step:nth-child(2) .ab-step-dot { background: linear-gradient(135deg, #d97706, #f59e0b); }
.ab-step:nth-child(3) .ab-step-dot { background: linear-gradient(135deg, #6e5bd8, #9b8af0); }
.ab-step:nth-child(4) .ab-step-dot { background: linear-gradient(135deg, #eb742a, #f97316); }
.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: #dbe4f5;
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(110, 91, 216, 0.35), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(235, 116, 42, 0.22), transparent 70%),
    linear-gradient(160deg, #0b1527, #1b3253);
}
.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, #b49cff);
  -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(26, 115, 232, 0.12), transparent 60%),
    #fff;
  box-shadow: var(--shadow-sm);
}
.ab-mv-card.is-vision {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(235, 116, 42, 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, #1a73e8, #6e5bd8);
  box-shadow: 0 14px 26px -12px rgba(26, 115, 232, 0.7);
}
.is-vision .ab-mv-icon {
  background: linear-gradient(135deg, #eb742a, #f59e0b);
  box-shadow: 0 14px 26px -12px rgba(235, 116, 42, 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, #e8f0fe);
}
.ab-value:nth-child(2) .ab-value-icon { color: #d97706; background: #fff4e5; }
.ab-value:nth-child(3) .ab-value-icon { color: #1faa53; background: #e7f6ec; }
.ab-value:nth-child(4) .ab-value-icon { color: #6e5bd8; 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, 240, 254, 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, #eb742a, #f59e0b);
  box-shadow: 0 16px 30px -14px rgba(235, 116, 42, 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(26, 115, 232, 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, #eb742a, #f43f5e);
  box-shadow: 0 10px 22px -12px rgba(235, 116, 42, 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(235, 116, 42, 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, #eb742a, #6e5bd8);
  -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: #c9d8f8;
}

/* software promo strip */
.sw-strip {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(110, 91, 216, 0.14), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(235, 116, 42, 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(110, 91, 216, 0.12), 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, #e8f0fe);
}
.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: #eb742a;
}
.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: #1faa53;
  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: #1a73e8; --a2: #6e5bd8; }
.ct-wa { --a1: #1faa53; --a2: #0e7a3a; }
.ct-mail { --a1: #1a73e8; --a2: #6e5bd8; }
.ct-pin { --a1: #eb742a; --a2: #c2410c; }
.ct-clock { --a1: #1b3253; --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(27, 50, 83, 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: #1a73e8;
  --a2: #4f8ff7;
  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: #6e5bd8; --a2: #9b8af0; }
.r-orange { --a1: #eb742a; --a2: #f59e0b; }
.r-teal { --a1: #0b8f84; --a2: #22b8a7; }
.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(--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, #1a73e8, #6e5bd8); }
.i-wa { background: linear-gradient(135deg, #1faa53, #0e7a3a); }
.i-pin { background: linear-gradient(135deg, #eb742a, #f59e0b); }
.i-cal { background: linear-gradient(135deg, #1b3253, #2f5689); }
.ct-next {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(232, 240, 254, 0.9), rgba(239, 234, 254, 0.8));
  border: 1px solid #dbe5fb;
}
.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, #1a73e8, #6e5bd8);
}
.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, #1b3253, #1a73e8, #6e5bd8, #eb742a, #1b3253);
  box-shadow: 0 50px 90px -50px rgba(27, 50, 83, 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(26, 115, 232, 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: #eb742a;
}
.ab-photo-badge.b2 {
  top: 10%;
  right: -16px;
  color: #fff;
  background: #0a66c2;
  animation-delay: -3s;
}
.ab-photo-badge.b2:hover {
  text-decoration: none;
  background: #004182;
}
.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: #eb742a;
}
.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, #e8f0fe);
}
.btn-linkedin {
  color: #fff;
  background: #0a66c2;
  border-color: #0a66c2;
  box-shadow: 0 14px 28px -14px rgba(10, 102, 194, 0.9);
}
.btn-linkedin:hover {
  color: #fff;
  background: #004182;
  border-color: #004182;
}
.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: #0a66c2;
}
.footer-social:hover {
  text-decoration: none;
  border-color: #0a66c2;
  box-shadow: 0 10px 22px -14px rgba(10, 102, 194, 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 #d6e2fb;
  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 #0a66c2;
}
.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: #0a66c2;
}
@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, #1a73e8, #6e5bd8);
  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: #1a73e8; --a2: #4f8ff7; }
.tl-card.t-blue, .tl-icon.t-blue { --a1: #1a73e8; --a2: #4f8ff7; }
.tl-card.t-violet, .tl-icon.t-violet { --a1: #6e5bd8; --a2: #9b8af0; }
.tl-card.t-orange, .tl-icon.t-orange { --a1: #eb742a; --a2: #f59e0b; }
.tl-card.t-teal, .tl-icon.t-teal { --a1: #0b8f84; --a2: #22b8a7; }
.tl-card.t-green, .tl-icon.t-green { --a1: #1faa53; --a2: #3ccf74; }
.tl-card.t-sky, .tl-icon.t-sky { --a1: #0891b2; --a2: #38bdf8; }
.tl-card.t-amber, .tl-icon.t-amber { --a1: #d97706; --a2: #fbbf24; }
.tl-card.t-slate, .tl-icon.t-slate { --a1: #1b3253; --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(--a1);
}
.tl-app {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(232, 240, 254, 0.9), rgba(239, 234, 254, 0.8));
  border: 1px solid #dbe5fb;
}
.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, #1a73e8, #6e5bd8);
}

/* 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, #1a73e8, #6e5bd8);
  box-shadow: 0 8px 18px -10px rgba(26, 115, 232, 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(110, 91, 216, 0.4), transparent 70%),
    linear-gradient(160deg, #0f1b2d, #1b3253);
  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: #1faa53;
  border-color: #1faa53;
}
.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, #7fb2ff, #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: #f5f8ff;
}
.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(110, 91, 216, 0.14), transparent 60%),
    #fff;
  border: 1px solid #d6e2fb;
  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, #1b3253, #eb742a);
}
@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;
}
