/* ==========================================================================
   Sysdojo — premium landing (static)
   Brand: teal #2D8AA7 · mint #40C7B6 · cyan #0FA6DA · deep base
   ========================================================================== */

:root {
  --bg-void: #030506;
  --bg-deep: #070b10;
  --bg-raised: #0e141c;
  --surface: #121a24;
  --surface-2: #1a2431;
  --stroke: rgba(64, 199, 182, 0.14);
  --stroke-strong: rgba(45, 138, 167, 0.45);
  --teal: #2d8aa7;
  --mint: #40c7b6;
  --cyan: #0fa6da;
  --text: #e9f0f4;
  --text-soft: #a8b8c8;
  --text-muted: #6b7d8f;
  --accent-grad: linear-gradient(135deg, var(--teal) 0%, var(--mint) 55%, var(--cyan) 100%);
  --header-h: 4.25rem;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 80px rgba(45, 138, 167, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-bg-scrolled: rgba(7, 11, 16, 0.88);
  --nav-link-color: rgba(233, 240, 244, 0.85);
  --card-bg: rgba(18, 26, 36, 0.65);
  --card-bg-solid: rgba(18, 26, 36, 0.75);
  --ghost-bg: rgba(255, 255, 255, 0.06);
  --ghost-bg-hover: rgba(255, 255, 255, 0.1);
  --ghost-border: rgba(255, 255, 255, 0.18);
  --veil-heavy: rgba(3, 5, 6, 0.94);
  --veil-mid: rgba(3, 5, 6, 0.82);
  --veil-light: rgba(7, 11, 16, 0.45);
  --veil-faint: rgba(7, 18, 24, 0.25);
  --veil-overlay: rgba(3, 5, 6, 0.88);
  --nav-overlay-bg: var(--bg-void);
}

[data-theme="light"] {
  --bg-void: #f5f7fa;
  --bg-deep: #edf0f5;
  --bg-raised: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f3f7;
  --stroke: rgba(45, 138, 167, 0.18);
  --stroke-strong: rgba(45, 138, 167, 0.35);
  --text: #0e1a24;
  --text-soft: #3a4f63;
  --text-muted: #6b7d8f;
  --shadow-glow: 0 0 60px rgba(45, 138, 167, 0.08);
  --header-bg-scrolled: rgba(245, 247, 250, 0.92);
  --nav-link-color: #3a4f63;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-bg-solid: rgba(255, 255, 255, 0.9);
  --ghost-bg: rgba(14, 26, 36, 0.05);
  --ghost-bg-hover: rgba(14, 26, 36, 0.08);
  --ghost-border: rgba(14, 26, 36, 0.15);
  --veil-heavy: rgba(245, 247, 250, 0.93);
  --veil-mid: rgba(245, 247, 250, 0.85);
  --veil-light: rgba(237, 240, 245, 0.55);
  --veil-faint: rgba(237, 240, 245, 0.35);
  --veil-overlay: rgba(245, 247, 250, 0.88);
  --nav-overlay-bg: #f5f7fa;
}

[data-theme="light"] .page-hero__bg {
  background: linear-gradient(160deg, var(--bg-void) 0%, #dde5ec 50%, var(--bg-deep) 100%);
}

[data-theme="light"] .site-header.is-scrolled {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cta-band {
  color: #fff;
}

[data-theme="light"] .solution-terminal {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .section--how {
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 100%);
}

[data-theme="light"] .hero__title,
[data-theme="light"] .hero__sub,
[data-theme="light"] .page-hero__title,
[data-theme="light"] .page-hero__sub {
  text-shadow: 0 0 24px rgba(245, 247, 250, 0.8);
}

[data-theme="light"] .hero__sub,
[data-theme="light"] .page-hero__sub {
  color: var(--text);
}

[data-theme="light"] .btn--outline {
  color: var(--teal);
  border-color: var(--teal);
  text-shadow: 0 0 12px rgba(245, 247, 250, 0.9);
}

[data-theme="light"] .trust-chip--logo {
  border-color: rgba(45, 138, 167, 0.5);
  background: rgba(45, 138, 167, 0.1);
}

[data-theme="light"] .trust-chip--logo:hover {
  border-color: rgba(45, 138, 167, 0.7);
  background: rgba(45, 138, 167, 0.18);
}

[data-theme="light"] .trust-chip__icon {
  opacity: 1;
  color: var(--teal);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Same core as viuro.pl/html/styles.css: smooth fragment scrolling (no JS). */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 3rem);
}

/* In-page targets: scroll deeper so section heading is near the top */
main#main,
section[id] {
  scroll-margin-top: calc(var(--header-h) - 3rem);
}

body {
  margin: 0;
  /* Match viuro styles-mini.css: html + body both smooth — helps some engines. */
  scroll-behavior: smooth;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-void);
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--cyan);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.shell--header {
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: transparent;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--stroke);
}

/*
 * Mobile: `backdrop-filter` on the header creates a containing block so `position:fixed`
 * `.site-nav` (fullscreen overlay) is clipped to the header bar — only the first link shows.
 * Keep the solid scrolled bar; skip blur on small screens.
 */
@media (max-width: 1366px) {
  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header {
    overflow: visible;
  }
}

.brand {
  display: flex;
  align-items: center;
  z-index: 2;
}

.brand__img {
  height: 36px;
  width: auto;
}

.brand__img--mark {
  height: clamp(32px, 4.5vw, 40px);
  width: auto;
  max-width: min(220px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: var(--ghost-bg);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  z-index: 20;
}

.theme-toggle:hover {
  background: var(--ghost-bg-hover);
  border-color: var(--mint);
  color: var(--mint);
}

.theme-toggle__icon { display: block; }
.theme-toggle__icon--light { display: none; }

[data-theme="light"] .theme-toggle__icon--dark { display: none; }
[data-theme="light"] .theme-toggle__icon--light { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nav-link-color);
  text-decoration: none;
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Do not style .btn CTAs like text links — keeps gradient + .btn--primary:hover shadow */
.site-nav a:not(.btn):hover {
  color: var(--text);
  background: rgba(64, 199, 182, 0.08);
}

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

/* Compact header CTA — shorter than default .btn */
.site-nav .btn.site-nav__cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.2;
  box-shadow: 0 3px 16px rgba(45, 138, 167, 0.3);
}

.site-nav .btn.site-nav__cta:hover {
  box-shadow: 0 6px 24px rgba(64, 199, 182, 0.3);
}

@media (max-width: 1366px) {
  /* Keep bar controls above the full-screen menu overlay */
  .shell--header .brand,
  .shell--header .theme-toggle,
  .shell--header .nav-toggle {
    position: relative;
    z-index: 20;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Start from top — centering clipped the list so “Industries” appeared first */
    justify-content: flex-start;
    gap: 1.5rem;
    /* Opaque panel so page content does not show through */
    background: var(--nav-overlay-bg);
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0s;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    width: 100%;
    max-width: 22rem;
    margin: 0;
    flex-shrink: 0;
  }

  .site-nav a:not(.btn) {
    font-size: 1.125rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  .site-nav__cta {
    width: 100%;
    max-width: 22rem;
    flex-shrink: 0;
    text-align: center;
    margin-top: 0.25rem;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--lg {
  padding: 1rem 1.85rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(45, 138, 167, 0.35);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 8px 36px rgba(64, 199, 182, 0.35);
}

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

.btn--ghost:hover {
  background: var(--ghost-bg-hover);
  border-color: rgba(64, 199, 182, 0.35);
  color: var(--text);
}

.btn--on-accent {
  background: #fff;
  color: #0a1620;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn--on-accent:hover {
  color: #0a1620;
  background: #f0f9f8;
}

.btn--outline {
  background: transparent;
  border-color: rgba(64, 199, 182, 0.4);
  color: var(--mint);
}

.btn--outline:hover {
  background: rgba(64, 199, 182, 0.08);
  border-color: var(--mint);
  color: var(--mint);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 8vh, 5rem);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 4rem));
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    var(--veil-heavy) 0%,
    var(--veil-mid) 38%,
    var(--veil-light) 72%,
    var(--veil-faint) 100%
  );
}

.hero__gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(64, 199, 182, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 199, 182, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, black 25%, black 85%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 1.25rem;
  padding-left: 3.25rem;
}

.hero__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-grad);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 6.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  max-width: 14ch;
}

.hero__title-line {
  color: var(--text);
}

.hero__title-accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__copy {
  max-width: 38rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.hero__copy strong {
  color: var(--text);
}

.hero__copy p {
  margin: 0 0 1rem;
}

.hero__copy p:last-child {
  margin-bottom: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.hero__trust-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
}

.trust-chip {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--ghost-bg);
  color: var(--text-soft);
  transition: border-color 0.25s, background 0.25s;
}

.trust-chip--logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-color: rgba(45, 138, 167, 0.3);
  background: rgba(45, 138, 167, 0.06);
}

.trust-chip--logo:hover {
  border-color: rgba(64, 199, 182, 0.5);
  background: rgba(45, 138, 167, 0.12);
}

.trust-chip__icon {
  flex-shrink: 0;
  opacity: 0.7;
  color: var(--mint);
}

.hero__mark {
  opacity: 0.85;
  max-width: min(280px, 70vw);
  height: auto;
  filter: brightness(1.1);
}

/* ----- Sections ----- */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section--why {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
  overflow: hidden;
}

.section--why::before {
  content: "";
  position: absolute;
  inset: -20% 40% 20% -30%;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 138, 167, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(15, 166, 218, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.section--why::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(64, 199, 182, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 199, 182, 0.4) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 20% 30%, black 0%, transparent 70%);
  pointer-events: none;
}

.section--why .shell {
  position: relative;
  z-index: 1;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.section__title--left {
  max-width: 12ch;
}

.section__title em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 36rem;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__head--row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: none;
}

@media (min-width: 720px) {
  .section__head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section__sub {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-soft);
}

/* Problem */
.problem-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .problem-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto;
    align-items: start;
  }

  .problem-intro {
    grid-column: 1;
    grid-row: 1;
  }

  .problem-pillars {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .problem-body {
    grid-column: 1;
    grid-row: 2;
  }
}

.problem-lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0;
}

.problem-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 900px) {
  .problem-pillars {
    border-left: 1px solid var(--stroke);
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.problem-pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-glow);
}

.problem-pillar__icon {
  display: flex;
  color: var(--mint);
  flex-shrink: 0;
}

.problem-pillar__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.problem-body__text {
  color: var(--text-soft);
  font-size: 1.125rem;
  margin: 0 0 2rem;
  max-width: 36rem;
}

.systems-box {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.systems-box__line {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.systems-box__strong {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

/* MSSP identity block (inside #why) */
.mssp-block {
  grid-column: 1 / -1;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--stroke);
}

.mssp-block__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.mssp-block__pitch {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 46rem;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.mssp-block__pitch strong {
  color: var(--text);
}

.mssp-signals {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 720px) {
  .mssp-signals {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mssp-signal {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.mssp-signal:hover {
  border-color: rgba(64, 199, 182, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.mssp-signal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(45, 138, 167, 0.15);
  color: var(--mint);
  margin-bottom: 1rem;
}

.mssp-signal__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}

.mssp-signal__text {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Visual break */
.visual-break {
  position: relative;
  min-height: clamp(280px, 50vw, 480px);
  display: flex;
  align-items: center;
}

.visual-break__media {
  position: absolute;
  inset: 0;
}

.visual-break__picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.visual-break__photo,
.visual-break__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-break__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--veil-overlay) 0%, var(--veil-mid) 55%, var(--veil-light) 100%);
}

.visual-break__content {
  position: relative;
  z-index: 1;
  /* Horizontal padding must be set here — the shorthand below was overriding `.shell` side padding. */
  padding: clamp(2rem, 5vw, 4rem) clamp(1.35rem, 5vw, 2.5rem);
}

.visual-break__quote {
  margin: 0;
  max-width: 36rem;
  border: none;
  padding: 0;
}

.visual-break__quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.visual-break__quote p::before {
  content: "“";
  color: var(--mint);
  font-weight: 800;
}

/* Solution */
.section--solution {
  background: var(--bg-void);
  border-top: 1px solid var(--stroke);
}

.solution-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .solution-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.solution-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.solution-intro {
  color: var(--text-soft);
  margin: 0 0 1.25rem;
}

.solution-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.solution-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-soft);
  font-size: 1.0625rem;
}

.solution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
}

.solution-panel {
  position: relative;
  border-radius: var(--radius-xl);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.solution-panel__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 40% 40%, rgba(45, 138, 167, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(64, 199, 182, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

.solution-panel__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg-solid);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}

.solution-panel__shield {
  margin: 0 auto 1rem;
}

.solution-panel__caption {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Solution — terminal motif */
.solution-terminal {
  text-align: left;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-strong);
  background: var(--veil-overlay);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.solution-terminal__bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--card-bg-solid);
  border-bottom: 1px solid var(--stroke);
}

.solution-terminal__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.solution-terminal__bar span:nth-child(1) {
  background: #ff5f57;
}

.solution-terminal__bar span:nth-child(2) {
  background: #febc2e;
}

.solution-terminal__bar span:nth-child(3) {
  background: #28c840;
}

.solution-terminal__body {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--text-soft);
  white-space: pre-wrap;
  tab-size: 2;
}

@media (min-width: 480px) {
  .solution-terminal__body {
    font-size: 0.75rem;
  }
}

.solution-terminal__prompt {
  color: var(--mint);
  font-weight: 700;
  margin-right: 0.35em;
}

.solution-terminal__ok {
  color: var(--teal);
}

.solution-terminal__hl {
  color: var(--text);
  font-weight: 600;
}

.solution-terminal__warn {
  color: var(--cyan);
  font-weight: 600;
}

/* Mid-page CTA */
.section--mid-cta {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.mid-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(45, 138, 167, 0.12) 0%, var(--card-bg-solid) 45%, var(--card-bg-solid) 100%);
  border: 1px solid rgba(64, 199, 182, 0.22);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

@media (min-width: 720px) {
  .mid-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.mid-cta__text {
  margin: 0;
  max-width: 42rem;
  font-size: 1.0625rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.mid-cta__text strong {
  color: var(--text);
}

/* Benefits */
.section--benefits {
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
}

.benefits-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  padding-top: calc(clamp(1.5rem, 3vw, 2rem) + 4px);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent-grad);
  opacity: 0.65;
}

.benefit-card:hover {
  border-color: rgba(64, 199, 182, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(45, 138, 167, 0.15);
  color: var(--mint);
  margin-bottom: 1.25rem;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.benefit-card p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Testimonial carousel */
.section--testimonial {
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.testimonial-carousel {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-carousel__track {
  position: relative;
  overflow: hidden;
  min-height: 14rem;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.testimonial-card.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-card.is-exiting {
  opacity: 0;
  transform: translateX(-40px);
}

.testimonial-card__quote {
  position: relative;
  margin: 0 0 1.5rem;
  padding: 0;
}

.testimonial-card__quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.testimonial-card__quote p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

.testimonial-card__cite {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.testimonial-card__role {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint);
  text-decoration: none;
  transition: color 0.2s;
}

.testimonial-card__link:hover {
  color: var(--cyan);
}

/* Carousel controls */
.testimonial-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.testimonial-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: var(--ghost-bg);
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.testimonial-carousel__btn:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: var(--ghost-bg-hover);
}

.testimonial-carousel__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.testimonial-carousel__dot:hover {
  border-color: var(--mint);
}

.testimonial-carousel__dot.is-active {
  background: var(--mint);
  border-color: var(--mint);
  transform: scale(1.2);
}

/* Stats bar */
.section--stats {
  background: var(--bg-void);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.stats-bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 640px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--stroke);
}

@media (max-width: 640px) {
  .stats-bar__item:nth-child(2)::after {
    display: none;
  }
}

.stats-bar__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stats-bar__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* How */
.section--how {
  background: linear-gradient(180deg, var(--bg-void) 0%, #0a1018 100%);
  border-top: 1px solid var(--stroke);
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: how;
}

@media (min-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
  }

  .how-steps::before {
    content: "";
    position: absolute;
    top: 2.25rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--mint), var(--cyan));
    opacity: 0.35;
    border-radius: 1px;
  }
}

.how-step {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
}

.how-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--accent-grad);
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.how-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.how-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* Industries */
.section--industries {
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
}

.industry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
}

@media (min-width: 720px) {
  .industry-list {
    grid-template-columns: 1fr 1fr;
  }
}

.industry-list li {
  display: grid;
  grid-template-columns: minmax(0, 38%) 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--stroke);
  align-items: baseline;
}

.industry-list li:nth-child(odd) {
  background: var(--surface);
}

.industry-list li:nth-child(even) {
  background: var(--surface-2);
}

.industry-list li:last-child {
  border-bottom: none;
}

.industry-list__k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.industry-list__v {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* Partners */
.section--partners {
  background: var(--bg-void);
  border-top: 1px solid var(--stroke);
}

.partner-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.partner-block__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--stroke);
}

.partner-block__icon {
  display: flex;
  color: var(--mint);
  opacity: 0.9;
}

.partner-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.partner-block__tags span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--text-soft);
  transition: border-color 0.2s, color 0.2s;
}

.partner-block__tags span:hover {
  border-color: rgba(64, 199, 182, 0.4);
  color: var(--text);
}

/* Blog teaser (WordPress REST / RSS) */
.section--blog-teaser {
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
}

.blog-teaser__loading,
.blog-teaser__empty {
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.975rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--stroke);
  background: var(--card-bg);
}

.blog-teaser__empty a {
  font-weight: 600;
}

.blog-teaser__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .blog-teaser__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-teaser__card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease-out);
  min-height: 100%;
}

.blog-teaser__card:hover {
  border-color: rgba(64, 199, 182, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.blog-teaser__date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.blog-teaser__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.blog-teaser__card-title a {
  color: var(--text);
  text-decoration: none;
}

.blog-teaser__card-title a:hover {
  color: var(--mint);
}

.blog-teaser__read {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}

.blog-teaser__read:hover {
  color: var(--mint);
}

/* CTA band */
.cta-band {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--accent-grad);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='%23ffffff' stroke-opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 38%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.cta-band__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 28ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.cta-band .btn--on-accent {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

/* Contact */
.section--contact {
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
  padding-bottom: clamp(4rem, 12vw, 6rem);
}

.contact-split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 960px) {
  .contact-split {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact-lead {
  color: var(--text-soft);
  font-size: 1.125rem;
  margin: 0 0 1.5rem;
}

.contact-address {
  font-style: normal;
  color: var(--text-soft);
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.contact-address strong {
  color: var(--text);
}

.contact-lines {
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

.contact-lines a {
  font-weight: 600;
  text-decoration: none;
}

/* Zoho Web-to-Lead (inline embed) — panel + fields match Sysdojo dark palette */
.zoho-slot.contact-form-zoho-wrapper {
  min-height: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-glow);
}

.zoho-form-credit {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font-body);
  box-sizing: border-box;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo * {
  box-sizing: border-box;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  padding: 0 0 1.25rem;
  margin: 0;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_req {
  color: var(--mint);
  font-weight: 600;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_row {
  margin: 1.15rem 0;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_row:after,
#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld:after {
  content: "";
  display: table;
  clear: both;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_lab {
  width: 32%;
  padding: 0 0.75rem 0 0;
  margin-top: 0.4rem;
  float: left;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-soft);
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld {
  float: left;
  width: 66%;
  padding: 0;
  position: relative;
  margin-top: 0;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld input[type="text"],
#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld input[type="password"],
#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  resize: vertical;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld input:hover,
#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld textarea:hover {
  border-color: var(--stroke-strong);
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld input:focus,
#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(64, 199, 182, 0.2);
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld_slt {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  cursor: pointer;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld textarea {
  min-height: 7rem;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_row--actions .zcwf_col_fld {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .formsubmit.zcwf_button {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--accent-grad) !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(45, 138, 167, 0.35);
  transition: box-shadow 0.25s var(--ease-out);
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .formsubmit.zcwf_button:hover:not(:disabled) {
  color: #fff !important;
  box-shadow: 0 8px 36px rgba(64, 199, 182, 0.35);
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .formsubmit.zcwf_button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_button--secondary,
#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_button[type="reset"] {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.85rem 1.5rem;
  background: var(--ghost-bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--ghost-border) !important;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_button--secondary:hover,
#crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_button[type="reset"]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(64, 199, 182, 0.35) !important;
  color: var(--text) !important;
}

#crmWebToEntityForm.crmWebToEntityForm--sysdojo .wfrm_fld_dpNn {
  display: none;
}

@media (max-width: 800px) {
  #crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_lab,
  #crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_fld {
    width: 100%;
    float: none;
    padding-right: 0;
  }

  #crmWebToEntityForm.crmWebToEntityForm--sysdojo .zcwf_col_lab {
    margin-bottom: 0.35rem;
  }
}

/* Sticky mobile CTA — off-screen until #why enters view (see main.js) */
.sticky-cta {
  position: fixed;
  z-index: 850;
  left: 0;
  right: 0;
  bottom: 0;
  /* ~0.75× prior bottom slot (was 5rem) + safe area */
  padding: 0.75rem 1rem calc(3.75rem + env(safe-area-inset-bottom, 0));
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, transparent 0%, var(--veil-heavy) 35%);
  pointer-events: none;
}

.sticky-cta__btn {
  pointer-events: auto;
  width: min(100%, 360px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1366px) {
  .sticky-cta {
    transform: translateY(110%);
    transition: transform 0.35s var(--ease-out);
  }

  .sticky-cta.sticky-cta--revealed {
    transform: translateY(0);
  }
}

@media (min-width: 1367px) {
  .sticky-cta {
    display: none !important;
  }
}

.sticky-cta[hidden] {
  display: none !important;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--stroke);
  background: var(--bg-void);
}

/* Clear fixed `.sticky-cta` (≤1366px, tablets + iPad Pro) so footer copy isn’t covered */
@media (max-width: 1366px) {
  .site-footer {
    padding-bottom: calc(3rem + 0.75rem + 4.25rem + 3.75rem + env(safe-area-inset-bottom, 0px));
    /* base gap + matches sticky-cta top pad + btn--lg row + bottom pad + home indicator */
  }
}

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

.site-footer__logo {
  margin: 0 auto 1rem;
  height: 40px;
  width: auto;
}

.site-footer__logo--mark {
  height: clamp(36px, 5vw, 44px);
  max-width: min(280px, 85vw);
  object-fit: contain;
  object-position: center;
}

.site-footer__tag {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer__legal {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer__legal a {
  color: var(--text-soft);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--mint);
}

/* ========================================================================
   Services page (services.html)
   ======================================================================== */

/* Page hero — shorter interior banner */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 5rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, var(--bg-void) 0%, #0a1620 50%, var(--bg-deep) 100%);
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    var(--veil-heavy) 0%,
    var(--veil-mid) 38%,
    var(--veil-light) 72%,
    var(--veil-faint) 100%
  );
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.page-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 36rem;
}

/* Service sub-nav — horizontal scroll on mobile */
.service-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 800;
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  padding: 0.65rem 0;
}

.service-nav__list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.service-nav__list::-webkit-scrollbar {
  display: none;
}

.service-nav__list a {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.service-nav__list a:hover,
.service-nav__list a[aria-current="true"] {
  color: var(--text);
  background: rgba(64, 199, 182, 0.08);
}

/* Service sections — alternating backgrounds */
.service-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.service-section--odd {
  background: var(--bg-void);
}

.service-section--even {
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

/* Service layout — two-column on desktop */
.service-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 960px) {
  .service-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Service copy (left column) */
.service-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1rem;
}

.service-eyebrow svg {
  flex-shrink: 0;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
}

.service-pitch {
  font-size: 1.0625rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 36rem;
}

.service-pitch strong {
  color: var(--text);
}

.service-pitch:last-of-type {
  margin-bottom: 1.75rem;
}

/* Service details (right column) */
.service-details__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--stroke);
}

/* Capability list (DevOps) */
.capability-list {
  margin: 0 0 1.5rem;
  padding: 0;
}

.capability-group {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--stroke);
}

.capability-group:last-child {
  border-bottom: none;
}

.capability-group dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 0.3rem;
}

.capability-group dd {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Service tags (platform/tool badges) */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(45, 138, 167, 0.1);
  border: 1px solid rgba(45, 138, 167, 0.45);
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.service-tag:hover {
  border-color: rgba(64, 199, 182, 0.6);
  background: rgba(45, 138, 167, 0.18);
}

.service-tag--primary {
  border-color: rgba(45, 138, 167, 0.45);
  color: var(--text);
  background: rgba(45, 138, 167, 0.1);
}

/* Check list (used by multiple services) */
.service-check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.975rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.service-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
}

/* Service tiers (NOC) */
.service-tiers {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .service-tiers {
    grid-template-columns: 1fr 1fr;
  }
}

.service-tier {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
}

.service-tier--highlight {
  border-color: rgba(45, 138, 167, 0.45);
  background: rgba(45, 138, 167, 0.06);
}

.service-tier__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.service-tier--highlight .service-tier__label {
  color: var(--mint);
}

.service-tier__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-tier__list li {
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}

.service-tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stroke-strong);
}

.service-tier--highlight .service-tier__list li::before {
  background: var(--accent-grad);
}

/* Security partner grid */
.service-partner-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .service-partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-partner-card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
  transition: border-color 0.25s;
}

.service-partner-card:hover {
  border-color: rgba(64, 199, 182, 0.35);
}

.service-partner-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.service-partner-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Active page indicator */
.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--text);
  background: rgba(64, 199, 182, 0.1);
}

/* data-reveal: hooks for layout only; no scroll-driven animation (no JS toggling .is-visible). */
[data-reveal] {
  opacity: 1;
  transform: none;
}
