/* ===================================================================
   Pro Media Mogul CRM marketing site
   Design system. Hand-written, no framework.
   =================================================================== */

/* ---- Tokens ---- */
:root {
  --brand:        #d70909;
  --brand-dark:   #a62023;
  --brand-tint:   #fdeaea;

  --ink:          #14181d;
  --ink-2:        #2c343d;
  --muted:        #5c6670;
  --muted-2:      #8a939d;

  --line:         #e5e8ec;
  --line-soft:    #f0f2f5;

  --bg:           #ffffff;
  --bg-alt:       #f6f7f9;
  --dark:         #10141a;
  --dark-2:       #191f27;
  --dark-line:    #2a323d;

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1160px;
  --gutter: 24px;

  --radius:    12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(16,20,26,.06), 0 2px 8px rgba(16,20,26,.04);
  --shadow-md: 0 4px 12px rgba(16,20,26,.07), 0 12px 32px rgba(16,20,26,.06);

  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Per-industry accent. Overridden by an inline style on <body>; falls back
     to brand red so a page without one is indistinguishable from before. */
  --accent:      #d70909;
  --accent-soft: rgba(215,9,9,.26);
  --accent-tint: rgba(215,9,9,.12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #c7ced8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }

.section-head { max-width: 680px; margin: 0 0 clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-top: -.2em; }
.section--dark .section-head p { color: #98a3b1; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .9em;
}
.section--dark .eyebrow { color: #ff5c5c; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head);
  font-weight: 500; font-size: .95rem; line-height: 1;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--on-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 74px;
}
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 178px; }
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex; align-items: center; gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  font-family: var(--font-head);
  font-size: .95rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.header-cta { flex: 0 0 auto; display: flex; align-items: center; gap: 20px; }

.site-back {
  font-family: var(--font-head);
  font-size: .86rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.site-back:hover { color: var(--brand); text-decoration: none; }
.site-back span { transition: transform .18s var(--ease); }
.site-back:hover span { transform: translateX(-3px); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }
  .header-cta { display: none; }
    .site-nav .header-cta--mobile { display: block; margin-top: 16px; }
  .header-cta--mobile .site-back { display: block; padding: 12px 0 16px; }
}
@media (min-width: 1041px) { .header-cta--mobile { display: none; } }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--dark);
  color: #c7ced8;
  padding: clamp(64px, 9vw, 116px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(215,9,9,.28), transparent 62%),
    radial-gradient(700px 380px at 8% 108%, rgba(215,9,9,.11), transparent 60%);
  pointer-events: none;
}
/* Background photo + 0.75 dark overlay. Kept as separate layers so the
   overlay strength is a single number to change, and so the hero still
   looks right when a page has no photo yet. */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: var(--dark);
  opacity: .75;
}
.hero--has-image::after { z-index: 1; }

.hero__inner { position: relative; z-index: 2; max-width: 780px; }
.hero--center .hero__inner { margin-inline: auto; text-align: center; }
.hero h1 { color: #fff; margin-bottom: .38em; }
.hero__sub {
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  color: #a9b3c0;
  max-width: 620px;
  margin-bottom: 2em;
}
.hero--center .hero__sub { margin-inline: auto; }
.hero--center .btn-row { justify-content: center; }
.hero__note {
  margin-top: 26px; font-size: .88rem; color: #78838f;
}

/* ---- Feature / benefit grid ---- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card__icon {
  width: 42px; height: 42px; margin-bottom: 18px;
  color: var(--brand);
}
.card__icon svg { width: 100%; height: 100%; }
.card__num {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  color: var(--brand); background: var(--brand-tint);
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* Industry cards (home) */
.ind-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.ind-card:hover {
  text-decoration: none;
  border-color: #d6dbe2;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ind-card__top {
  height: 108px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #171d26 0%, #232c39 100%);
  position: relative;
}
.ind-card__top::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 180px at 82% 0%, rgba(215,9,9,.42), transparent 68%);
}
.ind-card__top svg { width: 40px; height: 40px; color: #fff; position: relative; z-index: 1; }
.ind-card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.ind-card__body h3 { margin-bottom: .4em; }
.ind-card__body p { color: var(--muted); font-size: .94rem; flex: 1; margin: 0 0 18px; }
.ind-card__link {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  color: var(--brand); display: inline-flex; align-items: center; gap: 7px;
}
.ind-card:hover .ind-card__link { gap: 11px; }
.ind-card__link span { transition: transform .2s var(--ease); }

/* Problem list */
.problem {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 22px;
}
.problem h3 { font-size: 1.05rem; margin-bottom: .35em; }
.problem p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---- Video tutorial gallery ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 24px;
}
@media (min-width: 1080px) {
  .video-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 760px) and (max-width: 1079px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 480px) and (max-width: 759px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

.video-card { display: flex; flex-direction: column; }
.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1b222c;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
}
.video-card__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.video-card__frame:hover img { transform: scale(1.04); }
.video-card__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-card__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(215,9,9,.94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.34);
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.video-card__frame:hover .video-card__play { transform: translate(-50%, -50%) scale(1.09); background: var(--brand); }
.video-card__play svg { width: 20px; height: 20px; color: #fff; margin-left: 3px; }
.video-card__duration {
  position: absolute; right: 9px; bottom: 9px;
  background: rgba(8,11,15,.86); color: #fff;
  font-size: .74rem; font-family: var(--font-head); font-weight: 500;
  padding: 3px 7px; border-radius: 5px;
  letter-spacing: .01em;
}
.video-card__meta { padding: 15px 2px 0; }
.video-card__title {
  font-family: var(--font-head); font-weight: 500; font-size: .97rem;
  line-height: 1.42; color: var(--ink); margin: 0 0 5px;
}
.section--dark .video-card__title { color: #fff; }
.video-card__cat {
  font-size: .8rem; color: var(--muted-2);
}

/* placeholder (no YouTube ID yet) */
.video-card--placeholder .video-card__frame {
  cursor: default;
  background: linear-gradient(135deg, #1b222c 0%, #2a3441 100%);
}
.video-card--placeholder .video-card__frame::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(320px 150px at 76% 8%, rgba(215,9,9,.3), transparent 70%);
}
.video-card__badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  z-index: 1;
  font-family: var(--font-head); font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 14px; border-radius: 999px;
  white-space: nowrap;
}

.video-filters {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin: 0 0 30px;
}
.video-filter {
  font-family: var(--font-head); font-size: .88rem; font-weight: 500;
  padding: 8px 17px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.section--dark .video-filter { background: transparent; border-color: var(--dark-line); color: #98a3b1; }
.video-filter:hover { border-color: var(--muted-2); color: var(--ink); }
.section--dark .video-filter:hover { color: #fff; border-color: #4b586a; }
.video-filter[aria-pressed="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
}

/* ---- Lead form ---- */
.lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
@media (max-width: 900px) { .lead { grid-template-columns: 1fr; } }
.lead__copy ul {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; gap: 13px;
}
.lead__copy li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .97rem; color: #a9b3c0;
}
.lead__copy li svg { width: 19px; height: 19px; flex: 0 0 19px; color: #4ade80; margin-top: 3px; }

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head); font-size: .84rem; font-weight: 500;
  color: var(--ink-2); margin-bottom: 6px;
}
.field .req { color: var(--brand); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: .96rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(215,9,9,.12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--brand);
  background: #fffafa;
}
.field__error {
  font-size: .82rem; color: var(--brand); margin-top: 5px; min-height: 0;
}
.field__error:empty { display: none; }

.form-consent {
  font-size: .82rem; color: var(--muted); margin: 16px 0 0; line-height: 1.55;
}
.form-status {
  margin-top: 14px; padding: 12px 14px; border-radius: 8px;
  font-size: .9rem; display: none;
}
.form-status.is-error   { display: block; background: var(--brand-tint); color: var(--brand-dark); }
.form-status.is-success { display: block; background: #e9f9ef; color: #14663a; }

/* honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---- FAQ ---- */
.faq { max-width: 800px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  font-family: var(--font-head); font-weight: 500; font-size: 1.04rem;
  color: var(--ink);
  padding: 19px 40px 19px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { color: var(--brand); }
.faq__body { padding: 0 40px 20px 0; color: var(--muted); font-size: .97rem; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 520px; }
.cta-band .btn {
  background: #fff; color: var(--brand); border-color: #fff; flex: 0 0 auto;
}
.cta-band .btn:hover { background: rgba(255,255,255,.9); color: var(--brand-dark); }

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: #8a939d;
  padding: clamp(48px, 6vw, 72px) 0 32px;
  font-size: .92rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-line);
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .footer-heading {
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #8a939d; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer__logo { width: 168px; margin-bottom: 18px; background: #fff; padding: 9px 12px; border-radius: 8px; }
.site-footer__bottom {
  padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: #67707b;
}


/* ---- Enquiry block (top of every landing page) ---- */
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 940px) {
  .enquiry-grid { grid-template-columns: 1fr; }
}
.enquiry-info h2 { margin-bottom: .8em; }

.tick-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; gap: 14px;
}
.tick-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 1rem; color: #b6c0cc; line-height: 1.5;
}
.tick-list li svg {
  width: 20px; height: 20px; flex: 0 0 20px;
  color: #4ade80; margin-top: 3px;
}

/* Single overview video, reusing the gallery facade */
.video-embed { margin: 0; }
.video-embed .video-card__frame {
  aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: #1b222c; border: 0; padding: 0; display: block;
  position: relative;
}
.video-card__frame--placeholder {
  cursor: default;
  background: linear-gradient(135deg, #1b222c 0%, #2a3441 100%);
}
.video-card__frame--placeholder::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(320px 150px at 76% 8%, rgba(215,9,9,.3), transparent 70%);
}
.video-embed__title {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: #fff; margin: 14px 0 0;
}

.section--dark .lead-form__heading,
.lead-form__heading {
  /* The form is a white card inside a .section--dark, whose `h3 { color:#fff }`
     (specificity 0,1,1) outranks a lone class and would render this heading
     white-on-white. The descendant selector is what actually wins. */
  color: var(--ink);
  font-size: 1.15rem;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* ---- Demo CRM access: its own band under the enquiry section ---- */
.demo-access {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
}
.demo-access__copy { max-width: 620px; margin-bottom: clamp(26px, 3vw, 36px); }
.demo-access__copy h2 { margin-bottom: .4em; }
.demo-access__copy > p { color: var(--muted); margin: 0; }

/* One card per role: Manager, Staff, Customer. */
.demo-logins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
}
.demo-login {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  display: flex; flex-direction: column;
}
.demo-login h3 {
  font-size: 1.02rem;
  margin: 0 0 16px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.demo-login h3 span {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 400; color: var(--muted-2);
  letter-spacing: .02em;
}

.demo-creds { margin: 0 0 18px; display: grid; gap: 8px; flex: 1; }
.demo-creds > div {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
}
.demo-creds dt {
  font-family: var(--font-head); font-size: .7rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 3px;
}
.demo-creds dd { margin: 0; }
.demo-creds code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem; line-height: 1.45; color: var(--ink);
  /* `anywhere` breaks only when a line actually overflows; `break-all` chops
     mid-word even when the token would fit on the next line. */
  overflow-wrap: anywhere;
  word-break: normal;
  display: block;
  -webkit-user-select: all; user-select: all;
}
.demo-creds__pending {
  font-size: .86rem; color: var(--muted); font-style: italic;
  background: var(--bg-alt);
  border: 1px dashed var(--line); border-radius: 8px;
  padding: 12px 14px; margin: 0 0 18px; flex: 1;
  text-align: center;
}

/* Legibility over a photo hero. The 0.75 overlay is fixed by design, so the
   supporting text is lifted instead. Measured against the bright areas of the
   photo, which are the worst case: note text was ~1.9:1 before this. */
.hero .eyebrow { color: #ff5c5c; }
.hero--has-image .hero__sub  { color: rgba(255,255,255,.92); }
.hero--has-image .hero__note { color: rgba(255,255,255,.72); }


/* ===================================================================
   Landing page identity
   The complaint these solve: a landing page looked like the home page,
   so visitors could not tell where they were or how to get back up.
   =================================================================== */

.industry-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 74px;              /* directly under the sticky site header */
  z-index: 40;
}
.industry-bar__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 54px;
}

.crumbs {
  display: flex; align-items: center; gap: 9px;
  font-size: .87rem; color: var(--muted);
  white-space: nowrap;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: none; }
.crumbs span { color: var(--muted-2); }
.crumbs strong {
  color: var(--ink); font-weight: 600;
  font-family: var(--font-head);
}

.section-nav {
  margin-left: auto;
  display: flex; gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  font-family: var(--font-head);
  font-size: .87rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  padding: 8px 13px; border-radius: 7px;
  white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.section-nav a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.section-nav a.is-current { background: var(--accent-tint); color: var(--accent); }

@media (max-width: 1040px) {
  /* Two stacked sticky bars eat most of a phone screen. */
  .industry-bar { position: static; }
  .industry-bar__inner { flex-direction: column; align-items: stretch; gap: 0; padding-block: 10px; }
  .section-nav { margin-left: 0; padding-bottom: 4px; }
  /* The last crumb is the longest and was clipping at the right edge. */
  .crumbs {
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .crumbs::-webkit-scrollbar { display: none; }
}

/* ---- Accent applied to the industry's own marks ----
   Scoped to .industry-accent on <body>, so a page without an accent keeps the
   brand-red treatment untouched. Buttons stay red everywhere: the accent marks
   which industry you are in, it does not restyle the brand. */
.industry-accent .hero::after {
  background:
    radial-gradient(900px 420px at 78% -10%, var(--accent-soft), transparent 62%),
    radial-gradient(700px 380px at 8% 108%, var(--accent-tint), transparent 60%);
}
.industry-accent .hero .eyebrow { color: var(--accent); filter: brightness(1.45); }
.industry-accent .hero__inner .eyebrow::after {
  content: ''; display: block; width: 42px; height: 3px; border-radius: 2px;
  background: var(--accent); margin-top: 12px; opacity: .9;
}
.industry-accent .card__num { color: var(--accent); background: var(--accent-tint); }
.industry-accent .problem { border-left-color: var(--accent); }
.industry-accent .section--dark .eyebrow { color: var(--accent); filter: brightness(1.5); }
.industry-accent .video-filter[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent);
}
.industry-accent .faq details[open] summary { color: var(--accent); }
.industry-accent .ind-card__top::after {
  background: radial-gradient(420px 180px at 82% 0%, var(--accent-soft), transparent 68%);
}
