/* ==========================================================================
   Selective Software — site styles
   Plain CSS, no build step. Design tokens first, then base, then components,
   then page sections. Later pages reuse the tokens and component classes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette: deep "diesel" navy for credibility, signal amber as the accent
     (trucking, safety, warmth), cool slate neutrals. */
  --navy-900: #0b1a2b;
  --navy-800: #10243a;
  --navy-700: #16304d;
  --navy-600: #1f4068;
  --navy-100: #e3ebf4;
  --navy-50:  #f1f5fa;

  --amber-600: #c97a12;
  --amber-500: #e8921f;
  --amber-400: #f4a93d;
  --amber-100: #fdefd8;

  --teal-500: #1f9d8a;
  --teal-100: #d9f2ed;

  --slate-900: #152130;
  --slate-700: #3b4a5e;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f4f8;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--slate-100);
  --bg-dark: var(--navy-900);
  --text: var(--slate-900);
  --text-muted: var(--slate-700);
  --text-soft: var(--slate-500);
  --text-on-dark: #f4f7fb;
  --text-on-dark-muted: #b9c6d6;
  --accent: var(--amber-500);
  --accent-strong: var(--amber-600);
  --accent-soft: var(--amber-100);
  --primary: var(--navy-700);
  --primary-strong: var(--navy-800);
  --border: var(--slate-200);
  --border-strong: var(--slate-300);
  --focus: #2f7bff;

  /* Type */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --fs-2xl: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
  --fs-hero: clamp(2.25rem, 1.5rem + 3.6vw, 4rem);
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-body: 1.6;

  /* Spacing and shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 43, 0.06), 0 1px 3px rgba(11, 26, 43, 0.08);
  --shadow-md: 0 6px 20px rgba(11, 26, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 26, 43, 0.18);
  --container: 72rem;
  --gutter: 1rem;
  --header-h: 4.25rem;
}

@media (min-width: 48em) {
  :root { --gutter: 2rem; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--primary-strong); }
ul, ol { margin: 0; padding: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 100;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-8);
}
@media (min-width: 64em) {
  .section { padding-block: var(--space-9); }
}
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--text-on-dark-muted); }

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lg); color: var(--text-muted); }
.section--dark .section-head p { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: var(--space-3);
}
.section--dark .eyebrow { color: var(--amber-400); }

/* Grid children must be allowed to shrink below their content width, or a long
   word or button widens the column and the page scrolls sideways on phones. */
.grid > *, .modules > *, .hero .container > *, .migrate .container > *,
.why .container > *, .support .container > *, .footer__grid > * { min-width: 0; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 40em) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   4. Components
   -------------------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.nav .btn { white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--primary {
  background: var(--accent);
  color: var(--navy-900);
  box-shadow: 0 2px 0 rgba(0,0,0,0.05), 0 8px 20px rgba(232,146,31,0.28);
}
.btn--primary:hover { background: var(--amber-400); color: var(--navy-900); }

.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn--dark:hover { background: var(--navy-900); color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary-strong); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.06); }

.btn--lg { padding: 1rem 1.75rem; font-size: var(--fs-md); }
.btn--sm { padding: 0.55rem 1rem; font-size: var(--fs-xs); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--amber-400); }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.card h3 { margin-bottom: var(--space-1); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }

.card__icon {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  color: var(--primary);
  margin-bottom: var(--space-2);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card__icon--accent { background: var(--accent-soft); color: var(--accent-strong); }
.card__icon--teal { background: var(--teal-100); color: var(--teal-500); }

/* Feature check lists */
.checklist {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.checklist li {
  position: relative;
  padding-left: 1.65rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c97a12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/0.7rem no-repeat;
}
.section--dark .checklist { color: var(--text-on-dark-muted); }
.section--dark .checklist li::before {
  background-color: rgba(244,169,61,0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f4a93d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
}

/* Pills / badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--navy-50);
  color: var(--primary);
}
.badge--accent { background: var(--accent-soft); color: var(--accent-strong); }
.badge--light { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.18); }

/* --------------------------------------------------------------------------
   5. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand__name { white-space: nowrap; }
.brand__name span { color: var(--accent-strong); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav__list {
  display: none;
  list-style: none;
  gap: var(--space-1);
}
.nav__list a {
  white-space: nowrap;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--slate-700);
  text-decoration: none;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--navy-900); background: var(--navy-50); }

.nav__actions { display: none; align-items: center; gap: var(--space-2); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) var(--gutter) var(--space-5);
}
.nav-mobile[data-open="true"] { display: block; }
.nav-mobile ul { list-style: none; display: grid; }
.nav-mobile ul a {
  display: block;
  padding: 0.8rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-mobile__actions {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.nav-mobile__actions .btn { width: 100%; }

@media (min-width: 72em) {
  .nav__list { display: flex; }
  .nav__actions { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-block: var(--space-8) var(--space-8);
}
.hero::before {
  /* soft radial glow + faint grid for depth, no image */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60rem 30rem at 80% 10%, rgba(232,146,31,0.18), transparent 60%),
    radial-gradient(40rem 24rem at 10% 90%, rgba(31,157,138,0.14), transparent 60%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 3rem 3rem, 3rem 3rem;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 64em) {
  .hero { padding-block: var(--space-9); }
  .hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-8); }
}

/* Photo hero (home page): truck photo under a navy fade that keeps the text readable */
.hero--photo {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(180deg, rgba(11,26,43,0.80) 0%, rgba(11,26,43,0.88) 100%),
    url("../assets/img/hero-highway-960.webp");
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}
.hero--photo::before { display: none; }
.hero--photo .container { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) {
  .hero--photo {
    background-image:
      linear-gradient(90deg, rgba(11,26,43,0.94) 0%, rgba(11,26,43,0.78) 45%, rgba(11,26,43,0.35) 100%),
      url("../assets/img/hero-highway-1920.webp");
  }
}
@media (min-width: 64em) {
  .hero--photo { padding-block: var(--space-9) calc(var(--space-9) + 2rem); min-height: 34rem; }
  .hero--photo .container { grid-template-columns: minmax(0, 1fr); }
  .hero--photo .container > div { max-width: 44rem; }
}

.hero h1 { color: var(--white); margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: var(--amber-400); }
.hero__lead {
  font-size: var(--fs-lg);
  color: var(--text-on-dark-muted);
  max-width: 36rem;
  margin-bottom: var(--space-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.35)); }
.hero__caption {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
  opacity: 0.8;
  text-align: center;
}

/* --------------------------------------------------------------------------
   7. Proof strip (true facts only)
   -------------------------------------------------------------------------- */
.proof {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.proof__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.proof__list li {
  padding: var(--space-5) var(--space-3);
  text-align: center;
  border-right: 1px solid var(--border);
}
.proof__list li:nth-child(2n) { border-right: 0; }
.proof__list li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.proof__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.proof__label { display: block; font-size: var(--fs-xs); color: var(--text-soft); margin-top: 0.2rem; }
@media (min-width: 48em) {
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__list li { border-bottom: 0 !important; border-right: 1px solid var(--border); }
  .proof__list li:last-child { border-right: 0; }
}

/* --------------------------------------------------------------------------
   8. Modules
   -------------------------------------------------------------------------- */
.modules { display: grid; gap: var(--space-5); }
@media (min-width: 48em) { .modules { grid-template-columns: repeat(2, 1fr); } }

.module {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.module__head { display: flex; align-items: flex-start; gap: var(--space-4); }
.module__head h3 { margin: 0.1rem 0 0.2rem; font-size: 1.3rem; }
.module__head h3 .badge { vertical-align: middle; margin-left: 0.35rem; font-size: 0.7rem; padding: 0.2rem 0.6rem; }
.module__head p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.module .checklist { margin-top: var(--space-2); }
.module__foot { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--border); }

.module--foundation {
  background: linear-gradient(180deg, var(--navy-50), var(--white));
}

/* --------------------------------------------------------------------------
   9. GP → Acumatica timeline
   -------------------------------------------------------------------------- */
.migrate { position: relative; overflow: hidden; }
.migrate .container {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}
@media (min-width: 64em) {
  .migrate .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-8); }
}

.timeline {
  list-style: none;
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding-left: 2.25rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem; top: 0.5rem; bottom: 0.5rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--amber-400) 0%, var(--amber-500) 55%, rgba(244,169,61,0.25) 100%);
}
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -2.25rem; top: 0.35rem;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 5px var(--navy-900), 0 0 0 7px rgba(244,169,61,0.35);
}
.timeline li.is-future::before { background: var(--navy-800); border: 3px solid var(--amber-400); }
.timeline__date {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--white);
  letter-spacing: -0.01em;
}
.timeline__text { font-size: var(--fs-sm); color: var(--text-on-dark-muted); margin: 0.15rem 0 0; }
.timeline__tag {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--amber-400);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.migrate__panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.migrate__panel h3 { margin-bottom: var(--space-2); }
.migrate__panel .checklist { margin: var(--space-4) 0 var(--space-5); }

.steps { list-style: none; display: grid; gap: var(--space-3); counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: rgba(244,169,61,0.16);
  color: var(--amber-400);
  font-family: var(--font-display);
  font-weight: 800;
}
.steps strong { color: var(--white); display: block; }

/* --------------------------------------------------------------------------
   10. Company timeline list (about page; the home Why Selective band was removed)
   -------------------------------------------------------------------------- */
.why__history {
  list-style: none;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--border-strong);
  margin-left: 0.4rem;
}
.why__history li {
  position: relative;
  padding: 0 0 var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.why__history li::before {
  content: "";
  position: absolute;
  left: -0.45rem; top: 0.45rem;
  width: 0.75rem; height: 0.75rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
}
.why__history li:last-child::before { background: var(--accent); border-color: var(--accent); }
.why__history strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-900);
  font-size: var(--fs-md);
}

/* --------------------------------------------------------------------------
   11. Support band
   -------------------------------------------------------------------------- */
.support {
  background: var(--navy-50);
  border-block: 1px solid var(--border);
}
.support .container {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 64em) {
  .support .container { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}
.support__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: var(--space-4);
}
.support__card .btn { width: 100%; }
.support__phones {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.support__phones a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
}
.support__phones a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   12. Final CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900) 60%);
  color: var(--white);
  text-align: center;
}
.cta::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(232,146,31,0.22), transparent);
  pointer-events: none;
}
.cta .container { position: relative; max-width: 50rem; }
.cta h2 { color: var(--white); }
.cta p { color: var(--text-on-dark-muted); font-size: var(--fs-lg); margin-bottom: var(--space-6); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding-block: var(--space-7) var(--space-5);
  font-size: var(--fs-sm);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer .brand { color: var(--white); }
.site-footer .brand__name span { color: var(--amber-400); }
.footer__grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
@media (min-width: 48em) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__grid h3 {
  color: var(--white);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.footer__grid ul { list-style: none; display: grid; gap: var(--space-2); }
.footer__grid a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer__grid a:hover { color: var(--white); text-decoration: underline; }
.footer__address { font-style: normal; margin-top: var(--space-3); line-height: 1.7; }
.footer__tagline { margin-top: var(--space-3); color: var(--amber-400); font-family: var(--font-display); font-weight: 700; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--fs-xs);
}
.footer__bottom a { color: inherit; }

/* ==========================================================================
   INNER PAGES (added with solutions / gp-to-acumatica / services / about /
   support / contact / privacy / 404). New components only; nothing above is
   restyled. Each block names the page or component it serves.
   ========================================================================== */

/* --------------------------------------------------------------------------
   14. Page hero (compact dark banner for inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--text-on-dark);
  padding-block: var(--space-7);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50rem 24rem at 85% 0%, rgba(232,146,31,0.16), transparent 60%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 3rem 3rem, 3rem 3rem;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .container > * { min-width: 0; }
.page-hero .eyebrow { color: var(--amber-400); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  max-width: 22ch;
  margin-bottom: var(--space-4);
}
.page-hero h1 em { font-style: normal; color: var(--amber-400); }
.page-hero__lead {
  font-size: var(--fs-lg);
  color: var(--text-on-dark-muted);
  max-width: 40rem;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
@media (min-width: 64em) {
  .page-hero { padding-block: var(--space-8); }
}

/* --------------------------------------------------------------------------
   15. In-page jump links (pill row under a page hero)
   -------------------------------------------------------------------------- */
.subnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.subnav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: var(--space-3);
}
.subnav a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  color: var(--slate-700);
  text-decoration: none;
  white-space: nowrap;
}
.subnav a:hover { border-color: var(--primary); color: var(--navy-900); background: var(--navy-50); }

/* --------------------------------------------------------------------------
   16. Feature sections (solutions page): text beside a screenshot slot
   -------------------------------------------------------------------------- */
.feature { display: grid; gap: var(--space-6); align-items: start; }
.feature > * { min-width: 0; }
@media (min-width: 64em) {
  .feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-8); }
  .feature--flip > :first-child { order: 2; }
}
.feature__intro { font-size: var(--fs-lg); color: var(--text-muted); }
.feature__groups { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
@media (min-width: 40em) { .feature__groups { grid-template-columns: repeat(2, 1fr); } }
.feature__groups > * { min-width: 0; }
.feature__group h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-soft);
}
.feature__group .checklist { gap: var(--space-1); }
.feature__aside { display: grid; gap: var(--space-4); }
@media (min-width: 64em) {
  .feature__aside { position: sticky; top: calc(var(--header-h) + 1rem); }
}

/* Screenshot slot: a designed placeholder, never a fake screenshot */
.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background-color: var(--slate-100);
  background-image:
    linear-gradient(rgba(31,64,104,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,64,104,0.07) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-5);
  overflow: hidden;
}
.shot::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 2.25rem;
  background: var(--navy-800);
}
.shot__label {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--slate-700);
  margin: 0;
}
.shot__label small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-xs);
  color: var(--text-soft);
  margin-top: 0.3rem;
}

/* Small fact box beside a feature */
.aside-note {
  background: var(--navy-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.aside-note strong { color: var(--navy-900); display: block; margin-bottom: 0.2rem; font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   17. Prose block (long-form pages: about, privacy, GP page copy)
   -------------------------------------------------------------------------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-5); }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: var(--space-4); display: grid; gap: var(--space-2); }
.prose--lead > p:first-of-type { font-size: var(--fs-lg); color: var(--text); }

/* --------------------------------------------------------------------------
   18. Tables (what-moves table on the GP page)
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.table th, .table td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  background: var(--navy-50);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table td { color: var(--text-muted); }
.table td:first-child { font-weight: 600; color: var(--text); }

/* --------------------------------------------------------------------------
   19. FAQ (native <details>)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--space-3); max-width: 50rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg);
  transition: transform .15s ease;
  margin-right: 0.2rem;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details > div {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.faq details > div p { margin-bottom: var(--space-3); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   20. Steps on a light background (variant of .steps, which is dark-only),
       a split layout and a light panel used by several inner sections
   -------------------------------------------------------------------------- */
.steps--light li { color: var(--text-muted); font-size: var(--fs-md); }
.steps--light li::before { background: var(--accent-soft); color: var(--accent-strong); }
.steps--light strong { color: var(--navy-900); }
.steps--lg { gap: var(--space-5); }
.steps--lg li { grid-template-columns: 2.5rem 1fr; gap: var(--space-4); }
.steps--lg li::before { width: 2.5rem; height: 2.5rem; font-size: var(--fs-lg); }
.steps--lg strong { font-size: var(--fs-lg); margin-bottom: 0.2rem; }

.split { display: grid; gap: var(--space-6); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
  .split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
}

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.panel h3 { margin-bottom: var(--space-3); }
.panel--tint { background: var(--navy-50); box-shadow: none; }
.panel .checklist + .btn, .panel p + .btn { margin-top: var(--space-4); }

/* --------------------------------------------------------------------------
   21. Forms (contact page)
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 40em) { .form__row { grid-template-columns: repeat(2, 1fr); } }
.form__row > * { min-width: 0; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}
.field label .optional { font-weight: 500; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233b4a5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--primary);
}
.field__hint { font-size: var(--fs-xs); color: var(--text-soft); margin: 0.35rem 0 0; }
.form__note { font-size: var(--fs-xs); color: var(--text-soft); }
.form .btn { justify-self: start; }
/* Honeypot: off-screen for people, present for bots (not display:none, so
   simple bots still fill it). */
.hp-field {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   22. Contact details (address block, phone list)
   -------------------------------------------------------------------------- */
.contact-details { display: grid; gap: var(--space-5); }
.contact-details address { font-style: normal; line-height: 1.7; color: var(--text-muted); font-size: var(--fs-sm); }
.contact-details h3 { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: var(--space-2); }
.phone-list { list-style: none; display: grid; gap: var(--space-3); font-size: var(--fs-sm); color: var(--text-muted); }
.phone-list a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--navy-900);
  text-decoration: none;
  display: block;
  overflow-wrap: anywhere;
}
.phone-list a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   23. Support page: the big start-a-session panel
   -------------------------------------------------------------------------- */
.start-panel {
  background: var(--navy-800);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: var(--space-4);
}
.start-panel h2 { color: var(--white); font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.start-panel p { color: var(--text-on-dark-muted); font-size: var(--fs-sm); }
.start-panel .btn { width: 100%; }
.start-panel__note { font-size: var(--fs-xs); color: var(--text-on-dark-muted); opacity: 0.85; }

/* --------------------------------------------------------------------------
   24. Not-found page
   -------------------------------------------------------------------------- */
.notfound { text-align: center; padding-block: var(--space-9); }
.notfound .container { max-width: 40rem; }
.notfound__code {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-100);
  margin-bottom: var(--space-3);
}
.notfound p { color: var(--text-muted); font-size: var(--fs-lg); margin-bottom: var(--space-6); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

/* --------------------------------------------------------------------------
   25. Product screenshots, Acumatica partner marks
   -------------------------------------------------------------------------- */
.screenshot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.screenshot img { width: 100%; height: auto; }
.screenshot figcaption {
  padding: 0.6rem 0.9rem;
  font-size: var(--fs-xs);
  color: var(--text-soft);
  background: var(--slate-100);
  border-top: 1px solid var(--border);
}
.screenshot--wide { max-width: 64rem; margin: 0 auto var(--space-7); }
.partner-badges { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.partner-badges img { height: 8rem; width: auto; }
@media (min-width: 64em) { .partner-badges img { height: 9.5rem; } }
.footer__partner {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 0.4rem 0.7rem;
  background: var(--white);
  border-radius: var(--radius-sm);
}
.footer__partner img { height: 2rem; width: auto; }

/* A feature or split left with one column (no screenshot yet) uses the full width */
.feature:not(:has(> .feature__aside)) { grid-template-columns: minmax(0, 1fr); }
.split:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }

.form__status { margin: 0; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; }
.form__status--ok { background: var(--teal-100); color: #0f5e52; }
.form__status--error { background: #fde2e2; color: #8a1c13; }
.contact-hours { margin: var(--space-2) 0 0; font-size: var(--fs-sm); color: var(--text-muted); }
