/* ================================================================
   JNM Professional Services -- jnmpros.com
   Stylesheet v1.0 | Brand guide applied exactly
   Mobile-first, progressive enhancement
   ================================================================ */

/* ================================================================
   CSS CUSTOM PROPERTIES (from brand guide §9)
   ================================================================ */
:root {
  --color-navy:      #1B2A4A;
  --color-amber:     #F5A623;
  --color-steel:     #3D5A8A;
  --color-cloud:     #F8F9FC;
  --color-slate:     #2D3748;
  --color-grove:     #2E7D52;
  --color-ember:     #E87C1E;
  --color-ash:       #E2E8F0;
  --color-mist:      #52606D;  /* was #718096: failed WCAG AA contrast on white */
  --color-amber-text: #A96500; /* amber dark enough to read as text on white */
  --color-mist-on-dark: #C7D0DE; /* muted text for navy/gradient sections: ~9:1 on #1B2A4A (eval c1c84f18 f1) */

  --font-heading:    'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body:       'Inter', system-ui, -apple-system, sans-serif;

  /* Gradient (brand guide §5) */
  --gradient-navy:   linear-gradient(135deg, #1B2A4A 0%, #3D5A8A 100%);

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2rem;
  --space-xl:   3rem;
  --space-2xl:  4rem;
  --space-3xl:  6rem;

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Transitions */
  --transition: 200ms ease;

  /* Container */
  --container-max: 1200px;
  --container-pad: 1.25rem;

  /* Header height */
  --header-h: 72px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-slate);
  background-color: var(--color-cloud);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
}

ul { list-style: none; }

/* ================================================================
   TYPOGRAPHY SCALE (brand guide §6)
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-navy);
}

/* Display (hero) */
.display {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
}

h1, .h1 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; }
h2, .h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 700; }
h3, .h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4, .h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 0; }

.text-amber  { color: var(--color-amber); }
.text-white  { color: var(--color-cloud); }
.text-mist   { color: var(--color-mist); }
/* --color-mist is dark grey for WHITE sections (2.2:1 on navy). Every dark section gets the
   light variant instead - eval c1c84f18 f1 found the product taglines, proof copy and
   "We work with" label near-invisible. tests/site/round4-polish.test.js guards this. */
.section-contact .text-mist,
.section-navy .text-mist,
.section-navy .product-tagline,
.section-navy .pilot-note,
.hero .text-mist { color: var(--color-mist-on-dark); }
/* the dark "text" amber is for white backgrounds; on navy use the bright amber */
.section-navy .product-number { color: var(--color-amber); }
.text-navy   { color: var(--color-navy); }
.text-center { text-align: center; }

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-3xl);
}

.section-light   { background-color: var(--color-cloud); }
.section-white   { background-color: #fff; }
.section-navy    { background: var(--gradient-navy); }
.section-contact { background: var(--color-navy); }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Amber CTA (primary) */
.btn-amber {
  background-color: var(--color-amber);
  color: var(--color-navy);
  border-color: var(--color-amber);
}
.btn-amber:hover {
  background-color: var(--color-ember);
  border-color: var(--color-ember);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}

/* Outline white (hero secondary) */
.btn-outline-white {
  background-color: transparent;
  color: var(--color-cloud);
  border-color: rgba(248,249,252,0.5);
}
.btn-outline-white:hover {
  background-color: rgba(248,249,252,0.1);
  border-color: var(--color-cloud);
}

/* Outline navy */
.btn-outline-navy {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline-navy:hover {
  background-color: var(--color-navy);
  color: var(--color-cloud);
}

/* Large variant */
.btn-lg {
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

/* Block (full width) */
.btn-block { width: 100%; }

/* ================================================================
   EYEBROWS / LABELS
   ================================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: var(--space-sm);
}

.eyebrow-amber { color: var(--color-amber); }

/* ================================================================
   SECTION HEADER PATTERN
   ================================================================ */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--color-mist);
  max-width: 600px;
}

.text-center .section-intro { margin-inline: auto; }

/* ================================================================
   STICKY HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248,249,252,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-ash);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.logo-link { flex-shrink: 0; line-height: 0; }
.logo-svg  { height: 44px; width: auto; }

/* Main nav */
.main-nav {
  display: none; /* mobile: hidden, toggled via JS */
  position: fixed;
  /* The header's backdrop-filter makes it this panel's containing block, so a
     bottom inset resolves against the 72px header and collapses the panel to
     zero height. Give it an explicit height instead. */
  inset: var(--header-h) 0 auto 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background-color: var(--color-cloud);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  z-index: 99;
}

.main-nav.is-open { display: flex; }

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-slate);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-amber);
}

.nav-cta { margin-top: var(--space-md); }

/* Header phone: visible at every width so a ready caller never has to hunt */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: auto;
  min-height: 44px;
  padding: 0 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-navy);
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-steel); }

@media (max-width: 420px) {
  .header-phone span { display: none; }  /* icon only on the narrowest phones */
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Animate hamburger → X when open */
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop nav: the six links, the CTA and the phone need ~1024px */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .main-nav {
    display: flex;
    position: static;
    inset: auto;
    height: auto;
    overflow: visible;
    background: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-md);
    z-index: auto;
  }

  .nav-list {
    flex-direction: row;
    gap: var(--space-md);
  }

  .nav-link { font-size: 0.875rem; }
  .nav-cta  { margin-top: 0; }

  .main-nav     { order: 2; margin-left: auto; }
  .header-phone { order: 3; margin-left: 0; }
}

@media (min-width: 1024px) {
  .nav-link     { white-space: nowrap; }
  .header-phone { flex-shrink: 0; }
}

/* Between phone and wide desktop the nav needs the room: tighten it and
   keep the phone as an icon so it never gets pushed off the edge. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-inner      { gap: var(--space-sm); }
  .main-nav,
  .nav-list          { gap: 0.875rem; }
  .header-phone span { display: none; }
}


/* ================================================================
   MOBILE CALL BAR (phones only)
   ================================================================ */
.mobile-cta-bar { display: none; }

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(248,249,252,0.97);
    border-top: 1px solid var(--color-ash);
    box-shadow: 0 -2px 12px rgba(27,42,74,0.08);
  }
  .mobile-cta-bar .btn {
    min-width: 0;
    white-space: normal;
    line-height: 1.2;
    min-height: 48px;
    padding: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    justify-content: center;
  }
  .mobile-cta-call {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
  }
  body { padding-bottom: 72px; }        /* keep the footer clear of the bar */
  body #jnm-chat-bubble { bottom: 84px; }   /* sit above the bar, not on it */
  body #jnm-chat-panel  { bottom: 156px; }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--space-3xl) + 1rem);
  padding-bottom: 0;
}

/* Subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(245,166,35,0.06) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(61,90,138,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-3xl);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-sm);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--color-cloud);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-subhead {
  font-size: 1.125rem;
  color: rgba(248,249,252,0.85);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.hero-reassurance {
  font-size: 0.875rem;
  color: rgba(248,249,252,0.6);
}

/* Phone mockup visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.phone-mockup {
  background: var(--color-navy);
  border: 2px solid rgba(248,249,252,0.15);
  border-radius: 28px;
  padding: var(--space-md);
  max-width: 340px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.phone-call-bubble {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-steel);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
}

.call-icon { font-size: 1.5rem; }
.call-label { font-size: 0.75rem; color: rgba(248,249,252,0.7); font-weight: 500; }
.call-biz   { font-family: var(--font-heading); font-weight: 700; color: var(--color-cloud); font-size: 0.9rem; }

.chat-bubble {
  border-radius: var(--radius-md);
  padding: 0.75rem var(--space-sm);
  max-width: 85%;
  font-size: 0.875rem;
  line-height: 1.5;
}

.bubble-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--color-amber);
}

.ai-bubble {
  background: rgba(61,90,138,0.5);
  color: var(--color-cloud);
  align-self: flex-start;
}

.customer-bubble {
  background: rgba(245,166,35,0.15);
  color: var(--color-cloud);
  align-self: flex-end;
  text-align: right;
}

.booking-confirmed {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46,125,82,0.25);
  border: 1px solid rgba(46,125,82,0.5);
  border-radius: var(--radius-sm);
  padding: 0.6rem var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: #7BC89A;
}

.confirmed-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(46,125,82,0.5);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Stat badges */
.hero-stat-badges {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(248,249,252,0.08);
  border: 1px solid rgba(248,249,252,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  min-width: 90px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-amber);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(248,249,252,0.6);
  text-align: center;
  margin-top: 2px;
}

/* Wave transition */
.hero-wave {
  line-height: 0;
  margin-top: -1px;
}

.hero-wave svg {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .hero-actions { flex-direction: row; }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-visual { align-items: flex-end; }
}

/* ================================================================
   PROBLEM SECTION
   ================================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.problem-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 4px solid var(--color-amber);
  box-shadow: 0 2px 16px rgba(27,42,74,0.06);
}

.problem-stat {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--color-amber-text);
  line-height: 1.05;
  overflow-wrap: break-word;
  hyphens: auto;
}

.problem-text h3 {
  font-size: 1.125rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.problem-text p {
  font-size: 0.9375rem;
  color: var(--color-mist);
}

.problem-callout {
  text-align: center;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-navy);
  border-radius: var(--radius-lg);
}

.problem-callout-text {
  font-size: 1.25rem;
  color: var(--color-cloud);
  font-family: var(--font-heading);
  font-weight: 600;
}

@media (min-width: 768px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
}

.problem-data-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-mist);
  margin-bottom: var(--space-md);
}

.problem-source-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-mist);
  opacity: 0.7;
  margin-top: var(--space-md);
}

/* ================================================================
   PRODUCTS SECTION
   ================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.product-card {
  background: rgba(248,249,252,0.06);
  border: 1px solid rgba(248,249,252,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.product-card-featured {
  border-color: var(--color-amber);
  background: rgba(245,166,35,0.06);
}

.product-badge {
  position: absolute;
  top: -12px;
  left: var(--space-lg);
  background: var(--color-amber);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.product-icon { margin-bottom: var(--space-sm); }

.product-number {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-amber-text);
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cloud);
  margin-bottom: 0.5rem;
}

.product-tagline {
  font-size: 1rem;
  color: var(--color-mist);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: var(--space-md);
}

.product-features li {
  font-size: 0.9375rem;
  color: rgba(248,249,252,0.85);
  padding-left: 1.25rem;
  position: relative;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-amber);
}

.product-channels {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.channel-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid rgba(248,249,252,0.2);
  color: rgba(248,249,252,0.7);
}

.products-footer {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(248,249,252,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.products-footer p { font-size: 0.9375rem; }

@media (min-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================================
   PACKAGES / PRICING
   ================================================================ */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.package-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 2px solid var(--color-ash);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: box-shadow var(--transition);
}

.package-card:hover {
  box-shadow: 0 8px 32px rgba(27,42,74,0.1);
}

.package-card-featured {
  border-color: var(--color-amber);
  box-shadow: 0 4px 24px rgba(245,166,35,0.15);
}

.package-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-amber);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.package-header { border-bottom: 1px solid var(--color-ash); padding-bottom: var(--space-md); }

.package-name {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-steel);
  margin-bottom: 0.25rem;
}

.package-card-featured .package-name { color: var(--color-amber-text); }

.package-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-from   { font-size: 0.875rem; color: var(--color-mist); }
.price-amount { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--color-navy); }
.price-period { font-size: 1rem; color: var(--color-mist); }

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}

.package-features li {
  font-size: 0.9375rem;
  color: var(--color-slate);
  padding-left: 1.5rem;
  position: relative;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-grove);
  font-weight: 700;
  font-size: 0.875rem;
}

.package-features li strong { color: var(--color-navy); }

.package-best-for {
  font-size: 0.875rem;
  color: var(--color-mist);
  background: var(--color-cloud);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-sm);
}

.package-best-for strong { color: var(--color-slate); }

/* Add-ons bar */
.addons-bar {
  background: var(--color-navy);
  color: rgba(248,249,252,0.8);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9rem;
  text-align: center;
}

.addons-bar strong { color: var(--color-amber); }

@media (min-width: 900px) {
  .packages-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================================
   PROOF / PILOT
   ================================================================ */
.pilot-spotlight {
  margin-bottom: var(--space-xl);
}

.pilot-card {
  background: rgba(248,249,252,0.06);
  border: 1px solid rgba(248,249,252,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.pilot-category {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-sm);
}

.pilot-story h3 { margin-bottom: var(--space-sm); font-size: 1.5rem; }

.pilot-story > p { margin-bottom: var(--space-md); font-size: 1rem; }

.pilot-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin-block: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(248,249,252,0.1);
  border-bottom: 1px solid rgba(248,249,252,0.1);
}

.outcome-item { text-align: center; }

.outcome-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.outcome-label {
  font-size: 0.875rem;
}

.pilot-note { font-size: 0.9rem; }

/* Industries strip */
.industries-strip { margin-top: var(--space-xl); }
.industries-label { font-size: 0.875rem; margin-bottom: var(--space-sm); }

.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.industry-tag {
  background: rgba(248,249,252,0.08);
  border: 1px solid rgba(248,249,252,0.15);
  color: rgba(248,249,252,0.7);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.industry-tag:hover {
  background: var(--color-amber);
  color: var(--color-navy);
  border-color: var(--color-amber);
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.step-arrow {
  display: none;
  font-size: 1.5rem;
  color: var(--color-ash);
  align-self: center;
  flex-shrink: 0;
}

.step-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 2px solid var(--color-ash);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  border-color: var(--color-amber);
  box-shadow: 0 4px 20px rgba(27,42,74,0.08);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-amber-text);
  margin-bottom: 0.625rem;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.step-card p { font-size: 0.9375rem; color: var(--color-mist); }

/* Five cards and four arrows only fit side by side on a wide screen;
   at 900px the row ran ~230px past the edge of the page. */
@media (min-width: 1100px) {
  .steps-grid {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .step-arrow { display: block; }
  .step-card  { flex: 1; min-width: 0; padding: var(--space-md); }
}

/* Why JNM */
.why-jnm {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 2px solid var(--color-ash);
}

.why-title {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.why-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.why-icon { flex-shrink: 0; margin-top: 4px; }

.why-item h4 {
  font-size: 1.0625rem;
  color: var(--color-navy);
  margin-bottom: 0.375rem;
}

.why-item p { font-size: 0.9375rem; color: var(--color-mist); }

@media (min-width: 768px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   CONTACT / LEAD FORM
   ================================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
}

.contact-text h2 {
  color: var(--color-cloud);
  margin-bottom: var(--space-md);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.contact-promises {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-promises li {
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  position: relative;
}

.contact-promises li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-amber);
  font-weight: 700;
}

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: var(--space-md);
}

/* Anti-bot honeypot: kept in the DOM (so bots fill it) but off-screen and
   untabbable so real users never see or reach it. Avoids display:none, which
   some bots are smart enough to skip. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate);
}

label span[aria-hidden] { color: var(--color-amber-text); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-slate);
  background: var(--color-cloud);
  border: 1.5px solid var(--color-ash);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-sm);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder,
select option[disabled] { color: var(--color-mist); }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
  outline: none;
  background: #fff;
}

input.is-invalid,
select.is-invalid {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-fine-print {
  font-size: 0.8125rem;
  color: var(--color-mist);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   SMS Consent checkbox (TCPA / 10DLC opt-in)
   Custom styled to match brand but keeps native semantics.
   ---------------------------------------------------------------- */
.form-consent-group {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}

/* Hide the native checkbox visually; keep it accessible for keyboard + AT */
.consent-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  cursor: pointer;
}

/* Custom checkbox box */
.consent-custom-check {
  flex-shrink: 0;
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin-top: 0.15rem;
  border: 2px solid var(--color-steel);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

/* Checked state */
.consent-label input[type="checkbox"]:checked + .consent-custom-check {
  background: var(--color-steel);
  border-color: var(--color-steel);
}

/* Checkmark tick */
.consent-label input[type="checkbox"]:checked + .consent-custom-check::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Focus ring (keyboard nav) */
.consent-label input[type="checkbox"]:focus-visible + .consent-custom-check {
  outline: 2px solid var(--color-amber);
  outline-offset: 2px;
}

.consent-text {
  font-size: 0.8125rem;
  color: var(--color-slate);
  line-height: 1.55;
}

.consent-text a {
  color: var(--color-steel);
  text-decoration: underline;
}

.consent-text a:hover {
  color: var(--color-navy);
}

/* Submit button loading state */
#submitBtn.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* [hidden] has to beat .form-success's display:flex, or the
   thank-you panel shows before anyone submits. */
[hidden] { display: none !important; }

/* Success state */
.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.success-icon { margin-bottom: var(--space-sm); }

.form-success h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
}

.form-success p { font-size: 1rem; color: var(--color-mist); max-width: 380px; }

.success-note { font-size: 0.9375rem; }
.success-note a { color: var(--color-navy); font-weight: 600; text-decoration: underline; }

@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }

  .contact-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--color-navy);
  padding-top: var(--space-2xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(248,249,252,0.1);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(248,249,252,0.5);
  margin-top: var(--space-sm);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(248,249,252,0.7);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--color-amber); }

.footer-address {
  font-size: 0.9375rem;
  color: rgba(248,249,252,0.7);
  line-height: 1.8;
}

.footer-address strong { color: var(--color-cloud); }

.footer-address a {
  color: var(--color-amber);
  text-decoration: underline;
}

.footer-bottom {
  padding-block: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #A3ADBD;   /* was 40% white: 3.4:1 on navy */
  text-align: center;
}

.footer-bottom a {
  color: #A3ADBD;
  text-decoration: underline;
}

.footer-bottom a:hover { color: var(--color-amber); }

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .footer-nav   { flex-direction: column; }
  .footer-google-source { grid-column: 1 / -1; }
}

.footer-google-source {
  display: flex;
  justify-content: center;
  padding-top: var(--space-md);
}

.footer-google-source img {
  width: 170px;
  height: 54px;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.footer-google-source img:hover { opacity: 1; }

/* ================================================================
   SHOWCASE / OUR WORK SECTION
   ================================================================ */

/* Grid */
.showcase-grid {
  display: grid;
  /* minmax(0, ...) so a card can't grow to its image's natural width */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Card shell */
.showcase-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(27,42,74,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27,42,74,0.12);
  border-color: var(--color-steel);
}

.showcase-card:active {
  background-color: var(--color-ash);
}

.showcase-card-muted {
  opacity: 0.75;
}

/* Thumbnail zone */
.showcase-thumb-zone {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.showcase-thumb-muted img,
.showcase-thumb-muted .showcase-thumb-placeholder {
  filter: grayscale(60%) opacity(0.6);
}

.showcase-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.showcase-card:hover .showcase-thumb-img {
  transform: scale(1.03);
}

.showcase-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-thumb-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Status badge */
.showcase-status-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.4;
}

/* Card body */
.showcase-card-body {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
}

.showcase-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0;
}

.showcase-card-blurb {
  font-size: 0.9375rem;
  color: var(--color-mist);
  line-height: 1.5;
  margin-top: 0.375rem;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.75rem;
}

.showcase-tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(61,90,138,0.08);
  color: var(--color-steel);
  padding: 3px 8px;
  border-radius: 4px;
}

.showcase-tag-muted {
  opacity: 0.5;
}

.showcase-owner-note {
  font-size: 0.6875rem;
  color: var(--color-mist);
  opacity: 0.65;
  font-style: italic;
  margin: 0.25rem 0 0.5rem;
}

/* Card footer */
.showcase-card-footer {
  padding: 0.875rem 1.25rem 1.25rem;
  border-top: 1px solid var(--color-ash);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.showcase-view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  transition: color 200ms ease;
}

.showcase-view-link:hover {
  color: var(--color-amber);
}

.showcase-view-link:hover .showcase-ext-icon {
  color: var(--color-amber);
}

.showcase-ext-icon {
  color: var(--color-steel);
  flex-shrink: 0;
  transition: color 200ms ease;
}

.showcase-footer-pending {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-mist);
}

/* Focus: full card outline via link */
.showcase-view-link:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Demo strip container -- spans all grid columns */
.showcase-demo-strip-container {
  grid-column: 1 / -1;
}

.showcase-demo-strip-wrap {
  background: rgba(61,90,138,0.05);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

.showcase-demo-strip-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: var(--space-sm);
}

.showcase-demo-strip-note {
  font-size: 0.8125rem;
  color: var(--color-mist);
  margin-top: var(--space-sm);
  font-style: italic;
}

/* Demo tiles row */
.showcase-demo-strip {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.showcase-demo-strip::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .showcase-demo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
  }
}

/* Each demo tile */
.showcase-demo-tile {
  flex: 0 0 200px;
  min-width: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-ash);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

@media (min-width: 768px) {
  .showcase-demo-tile {
    flex: none;
    min-width: 0;
  }
}

.showcase-demo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27,42,74,0.1);
}

.showcase-demo-thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-demo-thumb-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* a dark pill so the label reads on every demo's placeholder colour (was 2:1 on the nail tile) */
  background: rgba(27,42,74,0.88);
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 4px;
}

.showcase-demo-footer {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.showcase-demo-name {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  display: block;
}

.showcase-demo-mood {
  font-size: 0.75rem;
  color: var(--color-mist);
  display: block;
  line-height: 1.3;
}

.showcase-demo-soon-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-mist);
  background: var(--color-cloud);
  border: 1px solid var(--color-ash);
  border-radius: 4px;
  padding: 2px 8px;
}

.showcase-demo-live-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1B2A4A;
  background: #F5A623;
  border-radius: 4px;
  padding: 2px 8px;
}

a.showcase-demo-tile { transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.showcase-demo-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(27,42,74,0.16); }

/* Package setup note (added by offerings renderer) */
.package-setup-note {
  font-size: 0.8125rem;
  color: var(--color-mist);
  margin-top: 0.25rem;
}

/* ================================================================
   APPS WE'VE BUILT SECTION
   ================================================================ */

.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 560px) {
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .apps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Card shell -- white card on the navy section */
.app-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

/* App-icon "tile" -- the gradient background comes from an inline style */
.app-icon-zone {
  position: relative;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-glyph {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.app-status-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.4;
}

.app-card-body {
  padding: 1.125rem 1.125rem 0.75rem;
  flex: 1;
}

.app-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.375rem;
}

.app-card-blurb {
  font-size: 0.875rem;
  color: var(--color-mist);
  line-height: 1.5;
  margin: 0;
}

.app-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.875rem;
}

.app-platform-tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(61,90,138,0.1);
  color: var(--color-steel);
  padding: 3px 8px;
  border-radius: 4px;
}

.app-card-footer {
  padding: 0.75rem 1.125rem 1.125rem;
  border-top: 1px solid var(--color-ash);
  display: flex;
  align-items: center;
  margin-top: auto;
}

.apps-footnote {
  margin-top: var(--space-lg);
  font-size: 0.9375rem;
}

.apps-footnote-link {
  color: var(--color-amber);
  font-weight: 600;
  text-decoration: none;
}

.apps-footnote-link:hover { text-decoration: underline; }

/* ================================================================
   UTILITY ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ================================================================
   PRINT (minimal -- don't blow up if someone prints)
   ================================================================ */
@media print {
  .site-header,
  .nav-toggle,
  .hero-visual,
  .hero-wave,
  .site-footer .footer-nav { display: none; }

  body { background: #fff; color: #000; }
}

/* ================================================================
   TAP TARGETS + PHONE TYPE (evaluation f25, f26)
   ================================================================ */
.footer-address { font-style: normal; }

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.showcase-view-link { min-height: 44px; }

/* SMS consent: 24px box, and the whole label is the tap area */
.consent-label input[type="checkbox"],
.consent-custom-check {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
}
.consent-label { padding: 0.25rem 0; position: relative; }
/* The real (invisible) checkbox is a 44px tap target centred on the 24px box (re-eval f18). */
.consent-label input[type="checkbox"] {
  width: 44px;
  height: 44px;
  margin: -10px 0 0 -10px;
  z-index: 1;
}
.header-phone { min-width: 44px; justify-content: center; }

@media (max-width: 767px) {
  /* Footer contact and legal links: 44px-tall tap targets (re-eval f18). */
  .footer-address a,
  .footer-bottom a { display: inline-block; padding: 12px 0; }
  /* Captions that were 12-14px on phones (re-eval f19). */
  .hero-reassurance { font-size: 0.9375rem; }
  .stat-label { font-size: 0.875rem; }

  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
  }

  .problem-text p,
  .product-features li,
  .package-features li,
  .step-card p,
  .why-item p,
  .contact-promises li,
  .showcase-card-blurb,
  .consent-text,
  .footer-address { font-size: 1rem; }

  .bubble-label,
  .app-platform-tag,
  .showcase-status-badge,
  .showcase-tag,
  .showcase-owner-note,
  .showcase-demo-thumb-label,
  .showcase-demo-soon-badge,
  .showcase-demo-live-badge,
  .app-status-badge { font-size: 0.75rem; }
}

/* ================================================================
   SERVICE PAGES + 404
   ================================================================ */
.page-hero {
  background: var(--gradient-navy);
  color: var(--color-cloud);
  padding: var(--space-3xl) 0 var(--space-2xl);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: var(--space-sm) 0 var(--space-md);
  max-width: 820px;
}
.page-hero .page-lead {
  font-size: 1.125rem;
  color: rgba(248,249,252,0.85);
  max-width: 680px;
}
.page-hero .hero-ctas { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.breadcrumb { font-size: 0.875rem; color: rgba(248,249,252,0.7); }
.breadcrumb a { color: rgba(248,249,252,0.85); text-decoration: underline; }
.breadcrumb a:hover { color: var(--color-amber); }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin: var(--space-2xl) 0 var(--space-md); color: var(--color-navy); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--space-lg) 0 var(--space-sm); color: var(--color-navy); }
.prose p, .prose li { font-size: 1.0625rem; margin-bottom: var(--space-sm); }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: var(--space-md); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a:not(.btn) { color: var(--color-steel); text-decoration: underline; font-weight: 600; }
.prose a:not(.btn):hover { color: var(--color-navy); }

.price-callout {
  background: #fff;
  border: 2px solid var(--color-amber);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}
.price-callout .price-line {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.faq details {
  background: #fff;
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-navy);
  padding: var(--space-md);
  min-height: 44px;
  list-style-position: outside;
}
.faq details > p { padding: 0 var(--space-md) var(--space-md); margin: 0; }

.service-cta {
  background: var(--gradient-navy);
  color: var(--color-cloud);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  margin-top: var(--space-2xl);
}
.service-cta h2 { color: #fff; margin: 0 0 var(--space-sm); }
.service-cta p { color: rgba(248,249,252,0.85); margin-bottom: var(--space-lg); }
.service-cta .hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

.not-found { text-align: center; padding: var(--space-3xl) 0; }
.not-found .not-found-code {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-amber-text);
  line-height: 1;
}
.not-found .hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-top: var(--space-lg); }

.inline-link { color: var(--color-steel); text-decoration: underline; font-weight: 600; }
.inline-link:hover { color: var(--color-navy); }
.products-footer .btn + .btn { margin-left: var(--space-sm); }
@media (max-width: 767px) { .products-footer .btn + .btn { margin: var(--space-sm) 0 0; } }

/* "Call our AI receptionist now" — the public demo line. Every placement sits on navy, so
   solid white reads as a distinct third action next to amber. */
.btn-demo-call {
  background-color: #fff;
  color: var(--color-navy);
  border-color: #fff;
  white-space: normal;
  text-align: center;
}
.btn-demo-call:hover { background-color: var(--color-cloud); border-color: var(--color-amber); }
.hero-demo-line { margin: var(--space-md) 0 var(--space-sm); }
.nowrap { white-space: nowrap; }

/* ---- Round 4 (eval c1c84f18) ---- */
/* f8: say which number is which - the office line vs the AI demo line */
.header-phone-label { font-weight: 600; opacity: .8; }
@media (max-width: 1439px) { .header-phone-label { display: none; } }

/* f15: the three service pages in the menu, under AI Products */
.nav-has-sub { position: relative; }
.sub-nav { list-style: none; margin: 0; padding: 0; }
.sub-nav-link { display: block; text-decoration: none; color: inherit; }
@media (min-width: 1024px) {
  .sub-nav {
    position: absolute; top: 100%; left: -12px; min-width: 230px; z-index: 50;
    background: #fff; border-radius: 10px; padding: 8px;
    box-shadow: 0 12px 32px rgba(27,42,74,.16);
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .nav-has-sub:hover .sub-nav, .nav-has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
  .sub-nav-link { padding: 9px 12px; border-radius: 6px; font-size: .9375rem; font-weight: 600; color: var(--color-navy); }
  .sub-nav-link:hover, .sub-nav-link:focus-visible { background: var(--color-cloud); color: var(--color-steel); }
}
@media (max-width: 1023px) {
  .sub-nav { padding-left: 16px; }
  .sub-nav-link { padding: 10px 0; font-size: .9375rem; opacity: .85; }
}

/* f9: breadcrumb was touching the orange eyebrow label on the service pages */
.page-hero .breadcrumb { margin-bottom: 12px; }

/* f22: footer inline links too small to tap on phones */
@media (max-width: 600px) {
  .footer-bottom a { display: inline-block; padding: 12px 0; }
}

/* f23: 12px tags/captions are hard to read on phones */
@media (max-width: 480px) {
  .tag, .outcome-label, .industries-label, .price-from, .hero-reassurance, .breadcrumb { font-size: 0.8125rem; }
}

/* f5: demo tiles show a real screenshot, label pinned bottom-left over it */
.showcase-demo-thumb { overflow: hidden; }
.showcase-demo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.showcase-demo-thumb .showcase-demo-thumb-label { position: absolute; left: 10px; bottom: 10px; z-index: 1; }

/* industry tags now link to their pages (eval c1c84f18 f28) */
a.industry-tag { text-decoration: none; display: inline-block; }
a.industry-tag:focus-visible { outline: 3px solid var(--color-amber); outline-offset: 2px; }
