/* ============================================================
   QBM by Business Aim - Design System
   Defines the public product-site type system, component shapes,
   shadow scale, motion, and navy/blue product identity.
   The copper accent supports the Business Aim brand relationship.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  /* Brand palette - navy primary */
  --ink: #0f1a2a;
  --ink-2: #233247;
  --muted: #5e6b7b;
  --muted-2: #8693a3;

  --navy: #143a5a;
  --navy-2: #1c4d72;
  --navy-3: #0e2940;
  --blue: #1f6fb2;
  --teal: #1c7388;
  --mint: #3aa8c2;

  /* Accent used to connect the product UI with the Business Aim brand */
  --accent: #a06912;
  --accent-bright: #c98a2c;
  --accent-soft: #faecc4;
  --accent-tint: #fff7e3;
  --accent-rgb: 160, 105, 18;

  /* Compatibility aliases for legacy class names */
  --paper: #ffffff;
  --white: #ffffff;
  --soft: #eff3f8;
  --mist: #eff3f8;
  --line: #d8e0eb;
  --line-2: #c1cedc;
  --amber: #c98a2c;
  --coral: #d95f43;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(21, 32, 51, 0.06), 0 1px 2px rgba(21, 32, 51, 0.04);
  --shadow-md: 0 12px 28px rgba(21, 32, 51, 0.10), 0 4px 8px rgba(21, 32, 51, 0.05);
  --shadow-lg: 0 28px 60px rgba(21, 32, 51, 0.16), 0 10px 20px rgba(21, 32, 51, 0.08);
  --shadow: 0 18px 45px rgba(21, 32, 51, 0.12);
  --shadow-glow: 0 0 0 1px rgba(31, 111, 178, 0.18), 0 18px 40px rgba(21, 32, 51, 0.14);

  /* Type */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-display: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Shape */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 1320px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-mid: 220ms;
  --t-slow: 420ms;

  /* Gradients */
  --grad-hero: radial-gradient(90% 110% at 100% 0%, rgba(58, 168, 194, 0.28) 0%, rgba(7, 24, 43, 0) 62%),
               radial-gradient(70% 80% at 0% 100%, rgba(var(--accent-rgb), 0.16) 0%, rgba(7, 24, 43, 0) 58%),
               linear-gradient(140deg, #07182b 0%, #0d304f 48%, #104e70 100%);
  --grad-band: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  --grad-navy: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  --grad-cta: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
}

/* ============================================================
   Reset / base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

button {
  font: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.022em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.034em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

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

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ============================================================
   Topline + Header
   ============================================================ */

.topline {
  background: var(--navy-3);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topline .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 40px;
  padding: 7px 0;
}

.topline a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.topline a:hover {
  color: var(--accent-bright);
}

/* Customer destinations remain visible without competing with the sales navigation. */
.customer-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-nav span {
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.customer-nav a {
  min-width: 62px;
  padding: 4px 11px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.customer-nav a:hover,
.customer-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.customer-nav a:last-child {
  color: var(--navy-3);
  background: var(--white);
  border-color: var(--white);
}

.customer-nav a:last-child:hover,
.customer-nav a:last-child:focus-visible {
  color: var(--navy);
  background: var(--accent-tint);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 235, 0.6);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  color: var(--ink);
  font-weight: 700;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav > a,
.nav-group > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  color: var(--ink-2);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.nav-group > summary:hover,
.nav-group > summary:focus-visible {
  color: var(--navy);
  background: var(--mist);
}

.main-nav > a[aria-current="page"],
.nav-group.has-current > summary {
  color: var(--navy);
  background: var(--mist);
}

/* Native disclosure menus keep grouped product links keyboard-accessible. */
.nav-group {
  position: relative;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--t-fast) var(--ease);
}

.nav-group[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 70;
  display: grid;
  min-width: 230px;
  gap: 2px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--ink-2);
  border-radius: 7px;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown a[aria-current="page"] {
  color: var(--navy);
  background: var(--mist);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions .btn {
  border-radius: 999px;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  content: "";
  border-radius: 2px;
}

.nav-toggle span {
  margin: 0 auto;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--grad-navy);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(20, 58, 90, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  box-shadow: 0 10px 26px rgba(20, 58, 90, 0.36);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.btn-ghost {
  color: var(--navy);
  background: transparent;
  border-color: var(--line-2);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--navy);
  background: var(--mist);
  border-color: var(--navy);
}

.btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.46);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover,
.btn-light:focus-visible {
  color: var(--navy);
  background: var(--mist);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}

.btn-quiet {
  color: var(--navy);
  background: var(--accent-soft);
  border-color: transparent;
}

.btn-quiet:hover,
.btn-quiet:focus-visible {
  color: var(--navy);
  background: var(--accent-tint);
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.22);
}

.btn-arrow::after {
  content: "\2192";
  font-weight: 600;
  transition: transform var(--t-fast) var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--grad-hero);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero__blob--a {
  top: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(31, 111, 178, 0.72), rgba(20, 58, 90, 0) 70%);
}

.hero__blob--b {
  bottom: -240px;
  left: -120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.55), rgba(20, 58, 90, 0) 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 80%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 52px;
  align-items: center;
  padding: 80px 0 78px;
}

.hero__copy {
  max-width: 640px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3.2rem, 4.6vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__accent {
  background: linear-gradient(135deg, var(--accent-bright), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.17rem;
  line-height: 1.58;
}

.hero__actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Hero proof points communicate international operating fit without location-led marketing. */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  list-style: none;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof li::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--navy-3);
  background: var(--accent-bright);
  border-radius: 50%;
  content: "\2713";
  font-size: 0.7rem;
  font-weight: 900;
}

/* Legacy fallback for any page still using the flat hero shell */
.hero-content {
  max-width: 860px;
  padding: 64px 0;
}

.hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: end;
  align-items: center;
}

/* The hero frame mirrors the approved screenshot mockup while keeping the live product image easy to update. */
.hero__visual-card {
  position: relative;
  width: min(100%, 620px);
  padding: 15px;
  background: linear-gradient(180deg, rgba(95, 134, 166, 0.36), rgba(47, 86, 119, 0.22));
  border: 1px solid rgba(183, 214, 238, 0.3);
  border-radius: 20px;
  box-shadow: 0 34px 78px rgba(2, 16, 31, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(7px);
}

.hero__visual-card img,
.hero__visual-card picture {
  display: block;
  width: 100%;
  border-radius: 11px;
  overflow: hidden;
}

.hero__visual-card picture {
  aspect-ratio: 16 / 9;
}

.hero__visual-card--focus picture {
  aspect-ratio: 626 / 455;
}

.hero__visual-card--device-showcase {
  width: min(100%, 700px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__visual-card--device-showcase picture {
  aspect-ratio: 1672 / 941;
}

.hero__visual-card img {
  height: 100%;
  object-fit: cover;
  object-position: top left;
  background: #f6f9fc;
}

.hero__visual-card--device-showcase img {
  object-fit: contain;
  filter: drop-shadow(0 30px 44px rgba(1, 13, 27, 0.34));
}

/* Screenshot buttons keep focused page images accessible while double-click opens the full original. */
.screenshot-zoom {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}

.screenshot-zoom:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.72);
  outline-offset: 5px;
}

/* ============================================================
   Eyebrow + section heads
   ============================================================ */

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .section-kicker,
.page-hero .eyebrow,
.page-hero .section-kicker,
.section-dark .eyebrow,
.section-dark .section-kicker {
  color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.42);
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-muted {
  background: var(--mist);
}

.section-dark {
  position: relative;
  color: var(--white);
  background: var(--grad-navy);
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.section-head {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.section-dark .section-head p,
.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

/* ============================================================
   Grid utilities
   ============================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* ============================================================
   Cards (base + variants)
   ============================================================ */

.card {
  position: relative;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
  overflow: hidden;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 178, 0.32);
  box-shadow: var(--shadow-md);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  color: var(--white);
}

.section-dark .card:hover,
.section-dark .card:focus-within {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.section-dark .card h3 {
  color: var(--white);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.78);
}

.module-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.module-card .feature-list {
  margin-top: auto;
}

.module-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 11px;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-navy);
  box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(31, 111, 178, 0.2);
}

.section-dark .feature-list li {
  color: rgba(255, 255, 255, 0.84);
}

.section-dark .feature-list li::before {
  background: var(--accent-bright);
  box-shadow: inset 0 0 0 2.5px var(--navy);
}

.edition-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  gap: 6px;
}

.edition-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Edition-fit panels keep proposal-based pricing easy for unsure buyers to start. */
.edition-fit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 600;
}

.question-list li {
  padding-left: 4px;
}

.industry-card {
  min-height: 260px;
}

/* Industry landing pages reuse the sales components while keeping each buyer path focused. */
.buyer-path-hero .hero-actions {
  margin-top: 24px;
}

.problem-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  list-style: none;
}

.problem-list li {
  padding: 16px 18px;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.solution-proof {
  align-items: center;
}

.solution-proof .visual-frame {
  align-self: stretch;
}

.support-proof-card {
  border-color: rgba(31, 111, 178, 0.24);
  background: linear-gradient(180deg, var(--white), #f7fbfd);
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 30px 30px;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 22px;
  color: rgba(var(--accent-rgb), 0.32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 700;
}

.testimonial h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.04rem;
}

.testimonial blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.6;
  font-weight: 500;
}

.testimonial cite {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  font-style: normal;
  font-size: 0.92rem;
}

/* ============================================================
   Trust strip + client marks
   ============================================================ */

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  min-height: 112px;
  padding: 24px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.36rem;
  font-weight: 800;
  letter-spacing: -0.018em;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* International capability cards use a quiet top accent to improve scan order. */
.capability-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  border-top: 3px solid rgba(31, 111, 178, 0.56);
}

.capability-card .text-link {
  margin-top: auto;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-mark {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), filter var(--t-mid) var(--ease);
}

.client-mark img {
  max-width: 170px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.9;
  transition: filter var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}

.client-mark:hover,
.client-mark:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.client-mark:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-mark.text-only {
  background: var(--mist);
  font-weight: 800;
}

/* Regional cards keep compliance proof compact without turning the homepage into a country-only page. */
.regional-card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.regional-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.92rem;
}

.text-link::after {
  content: "\2192";
  transition: transform var(--t-fast) var(--ease);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

/* ============================================================
   Visual band + screenshots + gallery
   ============================================================ */

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

/* Product screenshots need more room because buyers inspect dense ERP screens. */
.visual-band--media-led {
  grid-template-columns: 1fr;
  gap: 34px;
}

.visual-band--media-led > :first-child {
  max-width: 980px;
}

.visual-frame {
  position: relative;
  margin: 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(31, 111, 178, 0.16), rgba(var(--accent-rgb), 0.14));
  border-radius: 28px;
  filter: blur(28px);
  opacity: 0.7;
}

.visual-frame img,
.visual-frame picture {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* The deployment preview uses the original screenshot ratio instead of cropping the interface. */
.visual-frame--product-preview {
  padding: 10px;
}

.visual-frame--product-preview picture,
.visual-frame--product-preview img {
  display: block;
}

/* Product screenshots are framed like website artwork, so raw desktop chrome stays visually contained. */
.visual-frame--screenshot picture {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.visual-frame--screenshot img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Full screenshot viewer shows the original uncropped product image on request. */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(5, 18, 34, 0.86);
  backdrop-filter: blur(8px);
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer__close {
  justify-self: end;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.image-viewer__close:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.72);
  outline-offset: 3px;
}

.image-viewer__frame {
  display: grid;
  min-height: 0;
  place-items: center;
}

.image-viewer img {
  max-width: 100%;
  max-height: calc(100vh - 116px);
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

body.image-viewer-open {
  overflow: hidden;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.screenshot-card h3,
.screenshot-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.screenshot-card h3 {
  margin-top: 22px;
}

.screenshot-card p {
  margin-bottom: 22px;
}

.screenshot-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   Page hero (inner pages)
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  color: var(--white);
  background: var(--grad-hero);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(31, 111, 178, 0.32), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  overflow-wrap: anywhere;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-hero p {
  max-width: 820px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  overflow-wrap: anywhere;
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--accent-bright);
}

/* ============================================================
   Content / split layouts
   ============================================================ */

.content-block {
  max-width: 880px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

/* ============================================================
   Tables (edition comparison etc.)
   ============================================================ */

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.edition-compare {
  margin-top: 32px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

th {
  color: var(--navy);
  background: var(--mist);
  font-weight: 700;
  letter-spacing: -0.01em;
}

tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  position: relative;
  padding: 56px 0;
  color: var(--white);
  background: var(--grad-cta);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -160px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.32), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 0;
}

.cta-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

/* ============================================================
   Forms (contact + newsletter)
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
}

.form-stack {
  display: grid;
  gap: 22px;
}

.proposal-card {
  border-color: rgba(31, 111, 178, 0.22);
  background: linear-gradient(180deg, var(--white), #f7fbfd);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.contact-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.18);
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.full-span {
  grid-column: 1 / -1;
}

.honeypot {
  display: none;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.newsletter-form label {
  gap: 0;
}

.newsletter-form input {
  min-height: 48px;
}

.newsletter-form .form-status {
  grid-column: 1 / -1;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.faq-list details[open] {
  border-color: rgba(31, 111, 178, 0.32);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  transition: transform var(--t-mid) var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: 64px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  background: #0a1320;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(170px, 0.6fr));
  gap: 48px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  letter-spacing: -0.012em;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.site-footer h4 {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Entity footer links need a little separation from the product summary paragraph. */
.footer-links--entity {
  margin-top: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  transition: color var(--t-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   Misc small components
   ============================================================ */

.mobile-cta-bar {
  display: none;
}

.help-count {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 111, 178, 0.12);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.metric {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}

.metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.022em;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.split .metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}

.compact-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

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

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
}

.section-dark .pill-row span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

/* Keeps the integration consultation note separated from the preceding pill list. */
.integration-note {
  margin-top: 18px;
}

.report-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.report-categories span {
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.link-list a {
  color: var(--blue);
  font-weight: 700;
}

.link-list a:hover {
  color: var(--navy);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: var(--navy-3);
}

.video-card h3,
.video-card p,
.video-card .video-link {
  margin-left: 22px;
  margin-right: 22px;
}

.video-card h3 {
  margin-top: 20px;
}

.video-card .video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 700;
}

.video-card .video-link::after {
  content: "\2192";
  transition: transform var(--t-fast) var(--ease);
}

.video-card .video-link:hover::after {
  transform: translateX(3px);
}

/* ============================================================
   Cookie consent (injected by JS)
   ============================================================ */

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cookie-consent strong {
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
}

.cookie-consent p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions .btn {
  white-space: nowrap;
  min-height: 44px;
}

/* ============================================================
   Responsive
   ============================================================ */

/* The grouped desktop navigation collapses before customer and sales actions become crowded. */
@media (max-width: 1080px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav.is-open {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 122px);
    padding: 14px 20px 20px;
    overflow-y: auto;
    text-align: left;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open > a,
  .main-nav.is-open .nav-group > summary {
    padding: 14px 12px;
    border-radius: 8px;
  }

  /* Mobile disclosures expand within the menu instead of floating over nearby links. */
  .main-nav.is-open .nav-group {
    position: static;
  }

  .main-nav.is-open .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0 10px 8px;
    padding: 6px;
    background: var(--soft);
    border: 0;
    box-shadow: none;
  }

  .main-nav.is-open .nav-dropdown a {
    padding: 12px;
    white-space: normal;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 80px 0 88px;
  }

  .hero__visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .section {
    padding: 90px 0;
  }
}

@media (max-width: 980px) {
  .section-head,
  .visual-band,
  .split,
  .contact-grid,
  .edition-fit-card,
  .cta-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .trust-grid,
  .client-grid,
  .gallery-grid,
  .screenshot-grid,
  .video-grid,
  .metric-grid,
  .report-categories,
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  /* Mobile prioritizes customer destinations while keeping the utility bar compact. */
  .topline-message {
    display: none;
  }

  .topline .container {
    justify-content: flex-end;
  }

  .customer-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .customer-nav span {
    margin-right: auto;
  }

  .section {
    padding: 70px 0;
  }

  .hero__inner {
    padding: 64px 0 72px;
  }

  /* Mobile keeps the approved hero wording readable without letting long words crowd the buttons. */
  .hero h1 {
    font-size: 2.65rem;
  }

  .hero__proof {
    display: grid;
    gap: 10px;
  }

  /* Inner-page hero text must wrap inside narrow mobile viewports. */
  .page-hero h1 {
    font-size: 2.3rem;
    line-height: 1.08;
    max-width: 320px;
  }

  /* Hero body copy shares the mobile text width so long compliance terms stay visible. */
  .page-hero p,
  .page-hero .hero-actions {
    max-width: 320px;
  }

  .hero__actions,
  .hero-actions,
  .cta-inner {
    align-items: stretch;
  }

  /* Mobile buttons can wrap text so fixed-width labels do not create horizontal scrolling. */
  .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .header-actions .btn {
    width: auto;
  }

  .trust-grid,
  .client-grid,
  .gallery-grid,
  .screenshot-grid,
  .video-grid,
  .metric-grid,
  .compact-list,
  .report-categories,
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .question-list {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    bottom: 92px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  body {
    padding-bottom: 82px;
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(21, 32, 51, 0.12);
    backdrop-filter: blur(8px);
  }

  .mobile-cta-bar .btn {
    min-height: 48px;
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
  }

  .mobile-cta-bar .btn-secondary {
    color: var(--navy);
    background: var(--white);
    border-color: var(--line);
  }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .card:hover,
  .client-mark:hover,
  .metric:hover,
  .btn:hover {
    transform: none;
  }
}
