/* MF Maintenance Systems — public storefront (R3.12 navy / white / orange) */
:root {
  --brand-navy: #0b3557;
  --brand-navy-deep: #082a45;
  --brand-orange: #ff8c00;
  --brand-orange-hover: #e67e00;
  --brand-white: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f7f9;
  --surface-mist: #eef2f6;
  --surface-warm: #f7f8f6;
  --text-primary: #0f2433;
  --text-secondary: #4a5d6a;
  --text-muted: #6b7c88;
  --border: #d5dee6;
  --border-strong: #b5c2ce;
  --status-success: #1f7a57;
  --status-success-bg: #e6f5ee;
  --status-warning: #b7791f;
  --status-error: #b42318;
  --card-shadow: 0 10px 28px rgba(11, 53, 87, 0.08);
  --card-shadow-hover: 0 16px 36px rgba(11, 53, 87, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1320px;
  --max-width-wide: 1400px;
  --focus-ring: 0 0 0 3px rgba(255, 140, 0, 0.28);
  --header-h: 76px;
  --font: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "IBM Plex Sans", "Segoe UI Semibold", "Segoe UI", sans-serif;
  --space-section: clamp(2.5rem, 4vw, 3.75rem);

  /* Compatibility aliases */
  --navy: var(--brand-navy);
  --navy-deep: var(--brand-navy-deep);
  --navy-soft: var(--surface-mist);
  --navy-mid: #d5dee6;
  --bg: var(--surface-soft);
  --bg-elevated: var(--surface);
  --bg-soft: var(--surface-mist);
  --bg-tint: var(--surface-mist);
  --bg-warm: var(--surface-warm);
  --fg: var(--text-primary);
  --fg-secondary: var(--text-secondary);
  --muted: var(--text-muted);
  --accent: var(--brand-orange);
  --accent-hover: var(--brand-orange-hover);
  --accent-muted: rgba(255, 140, 0, 0.12);
  --accent-strong: var(--brand-navy);
  --card: var(--surface);
  --success: var(--status-success);
  --warning: var(--status-warning);
  --error: var(--status-error);
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  line-height: 1.65;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  font-size: 1.125rem;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand-navy); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--brand-orange); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--card); color: var(--fg); padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Typography */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem;
  color: var(--fg);
  font-weight: 700;
}
h2, .section-title, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--fg);
  font-weight: 700;
}
h3, .h3 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 0.45rem; color: var(--fg); font-weight: 700; }
.hero-lead, .section-lead {
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  color: var(--fg-secondary);
  max-width: 42rem;
  line-height: 1.55;
}
.note, .caption { font-size: 1.05rem; color: var(--muted); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.85rem; font-weight: 700;
  color: var(--brand-navy); margin: 0 0 0.75rem;
}
.tagline { color: var(--fg-secondary); font-size: 1.25rem; }

/* Layout shells */
main#main:not(.page) { width: 100%; padding: 0 0 3rem; flex: 1; }
main.page, .page {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 4rem;
  flex: 1;
}
.shell, .section-inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}
.shell-wide { width: min(100% - 2.5rem, var(--max-width-wide)); margin: 0 auto; }
.section { margin: var(--space-section) 0; }
.section-band {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  padding: var(--space-section) 0;
  margin: var(--space-section) 0;
}
.section-band-soft { background: var(--bg-warm); border-block: 1px solid var(--border); padding: var(--space-section) 0; margin: var(--space-section) 0; }
.section-band-tint { background: var(--bg-tint); border-block: 1px solid var(--border); padding: var(--space-section) 0; margin: var(--space-section) 0; }
.section-band-mist {
  background: var(--navy-soft);
  border-block: 1px solid var(--navy-mid);
  padding: var(--space-section) 0;
  margin: var(--space-section) 0;
}
.section-band-dark,
.section-band-navy {
  background: var(--navy);
  color: #e8f0f6;
  padding: var(--space-section) 0;
  margin: var(--space-section) 0;
  border: 0;
}
.section-band-navy .section-title,
.section-band-dark .section-title,
.section-band-navy h2, .section-band-navy h3,
.section-band-dark h2, .section-band-dark h3 { color: #fff; }
.section-band-navy .section-lead,
.section-band-dark .section-lead,
.section-band-navy .note,
.section-band-dark .note,
.section-band-navy .showcase-count { color: #b9cfe0; }
.section-band-navy a, .section-band-dark a { color: #ffc878; }
.section-band-navy .cta { background: var(--brand-orange); color: #111 !important; }
.section-band-navy .cta-secondary {
  background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.45);
}
.section-band-navy .cta-secondary:hover { background: rgba(255,255,255,0.1); color: #fff !important; }
.home-stack > .section:first-child { margin-top: 1.5rem; }

/* Light product frame — screenshot provides contrast; site frames cleanly */
.app-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 0.55rem;
  box-shadow: var(--card-shadow);
}
.app-frame-bar {
  display: flex; gap: 0.35rem; align-items: center; margin-bottom: 0.45rem; padding: 0 0.15rem;
}
.app-frame-bar span {
  width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--border-strong);
}
.app-frame img,
.shot-frame.app-framed img {
  display: block; width: 100%; border-radius: 6px; background: #111;
}
.shot-frame.app-framed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 0.5rem;
  box-shadow: var(--card-shadow);
}

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-pills {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; margin: 1.25rem 0 0;
}
.benefit-pill {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; font-weight: 700; font-size: 1rem; text-align: center;
}

/* Header — deep navy brand anchor */
#site-header.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(8, 42, 69, 0.25);
}
.top-inner {
  width: min(100% - 2.5rem, var(--max-width-wide));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.brand {
  display: grid;
  gap: 0.15rem;
  text-decoration: none !important;
  color: #fff !important;
  max-width: 22rem;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  letter-spacing: -0.02em;
  color: #fff;
  border-bottom: 2px solid var(--brand-orange);
  padding-bottom: 0.12rem;
  display: inline-block;
  width: fit-content;
}
.brand-tag {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #9ec3e0;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.05rem; align-items: center; }
.site-nav a {
  color: #e8f0f6;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.02rem;
  padding: 0.45rem 0.2rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.35); }
.site-nav a.active {
  color: #fff;
  border-bottom-color: var(--brand-orange);
}
.site-nav a.nav-signin {
  margin-left: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 0.95rem;
  color: #fff;
  border-bottom-width: 1px;
}
.site-nav a.nav-signin .nav-soon {
  display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: #9ec3e0; margin-top: 0.1rem;
}
.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); cursor: pointer;
}
.nav-toggle-bar { display: block; width: 1.15rem; height: 2px; margin: 0.3rem auto; background: #fff; }

/* Buttons — orange primary CTA, navy secondary */
.cta, button[type="submit"], .button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.8rem 1.45rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--brand-orange); color: #111 !important; font-weight: 700; font-size: 1.05rem;
  text-decoration: none !important; cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.cta:hover, button[type="submit"]:hover {
  background: var(--brand-orange-hover); color: #111 !important;
  box-shadow: var(--card-shadow); transform: translateY(-1px);
}
.cta-secondary, .button-secondary {
  background: var(--brand-navy); color: #fff !important; border-color: var(--brand-navy);
}
.cta-secondary:hover { background: var(--brand-navy-deep); color: #fff !important; }
.cta-outline {
  background: transparent !important; color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
}
.cta-outline:hover { background: var(--surface-mist) !important; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.4rem; }
.cta-disabled,
a.cta-disabled,
a.cta[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  background: #9aa3af !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}
.cta-disabled:hover {
  filter: none;
  transform: none !important;
  box-shadow: none !important;
}

/* Card system */
.card, .product-card, .value-item, .plan-card, .feature-card, .resource-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.35rem 1.4rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover, .plan-card:hover, .resource-card:hover, .shot-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.card-grid-store { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card-media {
  display: block; background: var(--bg-soft); aspect-ratio: 16/10; overflow: hidden; min-height: 240px;
}
.product-card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.product-card-media-empty { background: linear-gradient(135deg, var(--bg-tint), var(--bg-soft)); min-height: 200px; }
.product-card > :not(.product-card-media) { padding-left: 1.35rem; padding-right: 1.35rem; }
.product-card-head { display: flex; gap: 0.45rem; flex-wrap: wrap; padding-top: 1.2rem; }
.product-card h3 { margin: 0.7rem 1.35rem 0.45rem; font-size: 1.45rem; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--brand-orange); }
.product-card p { margin: 0 1.35rem 0.7rem; color: var(--fg-secondary); font-size: 1.08rem; }
.product-card .price-line { font-weight: 700; color: var(--fg); font-size: 1.1rem; }
.product-card .subtitle-line { font-size: 1rem; color: var(--muted); margin-top: -0.35rem; }
.card-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; padding: 0 1.35rem 1.4rem; margin-top: auto; }

.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.045em; text-transform: uppercase;
  background: var(--surface-mist); color: var(--brand-navy); border: 1px solid transparent;
}
.badge-muted { background: var(--bg-soft); color: var(--fg-secondary); }
.badge-soon { background: #fff4df; color: #8a5a00; }
.badge-dev { background: #e8f0ff; color: #2547a0; }
.badge-available { background: var(--status-success-bg); color: var(--status-success); }
.badge-digital { background: var(--surface-mist); color: var(--brand-navy); }
.badge-early { background: #e7f3ff; color: #1d4f91; }
.status-bar {
  display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1rem 0 0;
}

/* Hero / featured */
.hero-block, .hero-home, .product-hero {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  margin-bottom: 0;
}
.hero-home, .product-hero-split, .featured-product {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}
.featured-product {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--card-shadow);
}
.featured-visual, .product-hero-media, .shot-frame {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-soft); box-shadow: var(--card-shadow);
}
.featured-visual.app-frame,
a.featured-visual.app-frame {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem;
  box-shadow: var(--card-shadow-hover);
  overflow: visible;
}
.featured-visual.app-frame img {
  border-radius: 8px;
  display: block;
  width: 100%;
}
.featured-visual img, .product-hero-media img, .shot-frame img {
  display: block; width: 100%; height: auto;
}
.hero-home .featured-visual img,
.product-hero-media img,
.featured-product .featured-visual img {
  min-height: 280px;
  object-fit: cover;
  object-position: top center;
}

/* Showcase carousel — light stage; product UI provides contrast */
.showcase-carousel { display: grid; gap: 1.1rem; }
.showcase-head { display: grid; gap: 0.35rem; }
.showcase-count {
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-navy);
}
.showcase-stage {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  background: transparent; border: 0; border-radius: 0; padding: 0.35rem 0;
}
.showcase-on-navy .showcase-stage,
.showcase-on-light .showcase-stage,
.showcase-clean .showcase-stage {
  background: transparent; border: 0;
}
.showcase-on-navy .showcase-count,
.showcase-on-light .showcase-count { color: var(--brand-navy); }
.showcase-on-navy .showcase-figure figcaption strong,
.showcase-on-light .showcase-figure figcaption strong { color: var(--text-primary); }
.showcase-on-navy .showcase-figure figcaption span,
.showcase-on-light .showcase-figure figcaption span { color: var(--text-secondary); }
.showcase-on-navy .showcase-nav,
.showcase-on-light .showcase-nav {
  background: #fff; color: var(--brand-navy); border-color: var(--border-strong);
}
.showcase-on-navy .showcase-nav:hover,
.showcase-on-light .showcase-nav:hover { background: var(--surface-mist); }
.showcase-on-navy .showcase-dot,
.showcase-on-light .showcase-dot { background: var(--border-strong); }
.showcase-on-navy .showcase-dot.active,
.showcase-on-light .showcase-dot.active { background: var(--brand-orange); }
.showcase-on-navy .showcase-open,
.showcase-on-light .showcase-open {
  border-color: var(--border);
  box-shadow: var(--card-shadow-hover);
}
.showcase-framed .showcase-open {
  background: var(--surface);
  padding: 0.45rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}
.showcase-framed .showcase-open img { border-radius: 6px; }
.showcase-figure { margin: 0; width: 100%; }
.showcase-open {
  display: block; width: 100%; padding: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff;
  box-shadow: var(--card-shadow);
}
.showcase-open img {
  width: 100%; max-height: min(82vh, 780px); object-fit: contain; object-position: top center;
  background: #0f1720; display: block;
}
.showcase-figure figcaption { display: grid; gap: 0.3rem; margin-top: 1rem; }
.showcase-figure figcaption strong { font-size: 1.2rem; color: var(--brand-navy); }
.showcase-figure figcaption span { color: var(--fg-secondary); font-size: 1.08rem; }
.showcase-nav {
  width: 3.25rem; height: 3.25rem; border-radius: 999px; border: 1px solid var(--border-strong);
  background: #fff; color: var(--brand-navy); font-size: 1.7rem; cursor: pointer; box-shadow: var(--card-shadow);
}
.showcase-nav:hover { background: var(--bg-tint); }
.showcase-dots { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.showcase-dot {
  width: 0.85rem; height: 0.85rem; border-radius: 999px; border: 0; background: var(--border-strong); cursor: pointer;
}
.showcase-dot.active { background: var(--brand-orange); width: 1.6rem; border-radius: 999px; }
.status-chip {
  display: inline-block; margin-top: 0.35rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--status-success);
}

.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(16, 24, 20, 0.78);
  display: grid; place-items: center; padding: 1rem;
}
.lightbox img { max-width: min(1400px, 96vw); max-height: 84vh; border-radius: var(--radius); background: #fff; }
.lightbox p { color: #fff; max-width: 42rem; text-align: center; font-size: 1.1rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border-radius: 999px;
  border: 0; font-size: 1.5rem; cursor: pointer; background: #fff;
}

/* Workflow / lists */
.workflow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; counter-reset: step; }
.workflow.workflow-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.workflow li {
  counter-increment: step; display: grid; gap: 0.25rem; padding: 1.15rem 1.2rem 1.15rem 3.6rem; position: relative;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--card-shadow);
}
.workflow li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1.15rem;
  width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--brand-navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.workflow li strong { font-size: 1.08rem; }
.workflow li span { color: var(--fg-secondary); }
.check-list { padding-left: 1.25rem; color: var(--fg-secondary); font-size: 1.08rem; }
.check-list li { margin: 0.4rem 0; }

.shot-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.shot-card {
  text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow);
}
.shot-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; display: block; background: var(--bg-soft); }
.shot-card span { display: block; padding: 0.9rem 1rem; font-weight: 700; font-size: 1.05rem; }

.linkedin-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.65rem; box-shadow: var(--card-shadow);
}
.linkedin-card h3 { font-size: 1.35rem; margin: 0 0 0.35rem; }
.linkedin-mark {
  width: 3.5rem; height: 3.5rem; border-radius: 0.6rem; background: #0a66c2; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.35rem;
}
.linkedin-topics {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.85rem 0 0; padding: 0; list-style: none;
}
.linkedin-topics li {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.35rem 0.75rem; font-size: 0.92rem; font-weight: 650; color: var(--fg-secondary);
}
.cta-band {
  background: linear-gradient(135deg, var(--bg-tint), #fff);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.coming-soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.coming-soon-card {
  background: var(--bg-soft); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 1.25rem;
}
.feature-split {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2rem; align-items: center; margin: 2.5rem 0;
}
.feature-split.reverse { grid-template-columns: 0.75fr 1.25fr; }
.feature-split.reverse .shot-frame { order: 2; }
.feature-split .shot-frame { width: 100%; }
.feature-split h3 { font-size: 1.55rem; }
.feature-split p { font-size: 1.12rem; color: var(--fg-secondary); }

.roadmap-steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.65rem; margin: 1.5rem 0;
  position: relative;
}
.roadmap-steps span {
  display: grid; place-items: center; min-height: 3.5rem; padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm); background: var(--surface-mist); color: var(--brand-navy);
  font-weight: 800; text-align: center; border: 1px solid var(--border);
  position: relative;
}
.roadmap-steps span.is-focus,
.roadmap-steps span:first-child {
  border-color: var(--brand-orange);
  box-shadow: inset 0 -3px 0 var(--brand-orange);
}

/* Forms */
.form-stack { display: grid; gap: 0.65rem; max-width: 40rem; }
.form-stack.card { max-width: none; }
.contact-layout { align-items: start; gap: 2rem; margin-top: 1.75rem; }
.contact-layout .card, .contact-layout .form-stack.card { padding: 1.75rem; }
.contact-email {
  font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; margin: 0.85rem 0;
}
label { font-weight: 650; color: var(--fg); font-size: 1.05rem; }
input, select, textarea {
  width: 100%; padding: 0.85rem 0.95rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: #fff; color: var(--fg); font: inherit; font-size: 1.05rem;
}
textarea { min-height: 10rem; resize: vertical; }
.error { color: var(--error); }
.success { color: var(--success); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); padding: 0.9rem 1.1rem; margin: 0.55rem 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }

/* Pricing */
.pricing-product { margin: 2.5rem 0; }
.pricing-product h2 { margin-bottom: 0.35rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.plan-card { position: relative; }
.plan-card.featured {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px var(--accent-muted), var(--card-shadow);
}
.plan-price { font-size: 1.75rem; font-weight: 800; margin: 0.5rem 0; }
.plan-meta { color: var(--muted); font-size: 1rem; }
.pricing-soon .plan-card { opacity: 0.92; }

/* MFDC Standard / Pro edition presentation (R3.12C) */
.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.35rem;
  align-items: stretch;
}
.edition-grid-compact { gap: 1.1rem; }
.edition-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--card-shadow);
}
.edition-card h3 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
}
.edition-card .plan-price { margin: 0.35rem 0 0; font-size: clamp(1.85rem, 2.4vw, 2.15rem); }
.edition-card .plan-meta { margin: 0; }
.edition-blurb {
  margin: 0.55rem 0 0.35rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
  flex: 1;
}
.edition-highlights {
  list-style: none;
  margin: 0.35rem 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.edition-highlights li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.edition-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: 700;
}
.edition-card .cta { margin-top: auto; align-self: flex-start; }
.edition-standard {
  background: linear-gradient(165deg, #fff 0%, #f4f8fb 100%);
}
.edition-pro {
  border-color: color-mix(in srgb, var(--brand-orange) 55%, var(--border-strong));
  background: linear-gradient(165deg, #fff 0%, #fff6ef 72%, #ffefe3 100%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-orange) 25%, transparent), var(--card-shadow);
}
.badge-analytics {
  display: inline-block;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a3d12;
  background: color-mix(in srgb, var(--brand-orange) 18%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-orange) 40%, transparent);
  border-radius: var(--radius-sm);
  padding: 0.22rem 0.55rem;
}
.badge-launch {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a4a6e;
  background: color-mix(in srgb, var(--brand-navy) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-navy) 28%, transparent);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  margin-right: 0.35rem;
}
.promo-note {
  margin: 0.45rem 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted, #4a5568);
}
.promo-offer {
  margin: 0 0 0.5rem;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--brand-navy);
}
.price-was {
  text-decoration: none;
  opacity: 0.9;
  font-weight: 600;
}
.price-regular {
  color: var(--text-secondary);
  font-weight: 600;
}
.promo-note-compact {
  max-width: 40rem;
}
.purchases-hold-note {
  margin: -0.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.page-end.cta-band {
  margin-top: 2rem;
  margin-bottom: 0;
}
#site-footer {
  margin-top: 0;
}
.page + #site-footer,
main.page ~ #site-footer {
  margin-top: 0;
}
body > #site-footer {
  margin-top: auto;
}
.cta-band {
  margin-bottom: 0;
}
.edition-positioning {
  margin: 0.15rem 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--brand-navy);
  line-height: 1.35;
}
.edition-compare { margin-top: 0.75rem; }
.edition-capacity-note { margin-top: 0.85rem; max-width: 52rem; }
.edition-compare-link { margin-top: 1.15rem; font-size: 1.05rem; }
.section-editions { scroll-margin-top: 5rem; }
.pricing-mfdc .edition-grid { max-width: 56rem; }

.edition-demo {
  background: linear-gradient(165deg, #fff 0%, #f2f6fa 100%);
  border-style: dashed;
}
.edition-demo .badge-soon {
  margin-right: 0.35rem;
}

/* Legal center index */
.page-legal .legal-index {
  list-style: none;
  margin: 1.75rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}
.page-legal .legal-index li {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.page-legal .legal-index a {
  color: var(--brand-navy);
  text-decoration: none;
  font-size: 1.15rem;
}
.page-legal .legal-index a:hover { color: var(--brand-orange); }
.page-legal .legal-index span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
}

.legal-draft-banner {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-orange) 45%, var(--border-strong));
  background: color-mix(in srgb, var(--brand-orange) 12%, #fff);
  border-radius: var(--radius);
  color: var(--brand-navy);
  line-height: 1.4;
  max-width: 52rem;
}
.legal-draft-banner a { color: var(--brand-navy); font-weight: 650; }

/* High-contrast comparison card (light site; dark table panel) */
.compare-wrap.edition-compare {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong, var(--border));
  box-shadow: var(--card-shadow);
  background: var(--navy);
}
.compare-wrap.edition-compare .compare {
  background: transparent;
  color: #e8f0f6;
  margin: 0;
}
.compare-wrap.edition-compare .compare th,
.compare-wrap.edition-compare .compare td {
  border-color: rgba(255, 255, 255, 0.14);
  color: #e8f0f6;
  padding: 0.72rem 0.95rem;
  font-size: 1.02rem;
}
.compare-wrap.edition-compare .compare thead th {
  background: color-mix(in srgb, var(--navy-deep) 70%, #000);
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #fff;
}
.compare-wrap.edition-compare .compare tbody th[scope="row"] {
  font-weight: 600;
  color: #f2f7fb;
  background: rgba(255, 255, 255, 0.03);
}
.compare-wrap.edition-compare .compare tbody tr:nth-child(even) td,
.compare-wrap.edition-compare .compare tbody tr:nth-child(even) th {
  background: rgba(255, 255, 255, 0.045);
}
.compare-wrap.edition-compare .compare .center { text-align: center; }
.check-yes {
  display: inline-block;
  font-weight: 800;
  color: #7dffa8;
  font-size: 1.15rem;
}
.check-no {
  display: inline-block;
  font-weight: 700;
  color: #ffb4a0;
  letter-spacing: 0.02em;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .edition-grid { grid-template-columns: 1fr; }
}

/* Footer — deep navy anchor */
#site-footer {
  margin-top: auto; background: var(--navy); color: #d7e6f0; padding: 2.5rem 0 1.5rem;
}
#site-footer a { color: #b7d4e8; }
#site-footer a:hover { color: #fff; }
#site-footer .note { color: #9bb8cc; font-size: 1.02rem; }
#site-footer strong { font-size: 1.35rem; font-family: var(--font-display); color: #fff; }
.footer-grid, .footer-grid-5 {
  width: min(100% - 2.5rem, var(--max-width-wide)); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 2rem;
}
.footer-heading {
  font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.07em; color: #8fb3cc; margin: 0 0 0.9rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: 1.05rem; }
.footer-bottom {
  width: min(100% - 2.5rem, var(--max-width-wide)); margin: 2rem auto 0;
  padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.5rem; justify-content: space-between;
  font-size: 1.02rem;
}
.social-row { margin-top: 0.85rem; }
.social-link { font-weight: 700; font-size: 1.08rem; }

.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); }
.compare th, .compare td { border: 1px solid var(--border); padding: 0.65rem 0.8rem; text-align: left; font-size: 1.02rem; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.15rem; }
.store-intro { max-width: 46rem; margin-bottom: 0.5rem; }
.page-end { margin-top: 3rem; }

@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow.workflow-row, .roadmap-steps, .benefit-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid, .footer-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero-home, .product-hero-split, .featured-product, .feature-split, .feature-split.reverse,
  .shot-cards, .showcase-stage, .linkedin-card, .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .feature-split.reverse .shot-frame { order: 0; }
  .showcase-nav { width: 2.75rem; height: 2.75rem; }
  .nav-toggle { display: inline-block; }
  .brand-tag { display: none; }
  .brand { max-width: 12rem; }
  .site-nav {
    display: none; position: absolute; right: 1rem; top: calc(var(--header-h) - 0.35rem);
    background: var(--navy-deep); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius);
    padding: 0.85rem; flex-direction: column; align-items: stretch; min-width: 14rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35); z-index: 60;
  }
  .site-nav a { color: #e8f0f6; border-bottom: 0; }
  .site-nav a.active { color: #fff; border-left: 3px solid var(--brand-orange); padding-left: 0.55rem; }
  .site-nav.open { display: flex; }
  .site-nav a.nav-signin { margin-left: 0; }
  .top-inner { position: relative; }
  .card-grid { grid-template-columns: 1fr; }
  .workflow.workflow-row, .roadmap-steps, .benefit-pills { grid-template-columns: 1fr; }
  .footer-grid, .footer-grid-5 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .footer-grid, .footer-grid-5 { grid-template-columns: 1fr; }
  .card-actions { flex-direction: column; }
  .card-actions .cta { width: 100%; text-align: center; }
  .showcase-stage { grid-template-columns: 1fr; }
  .showcase-nav { display: none; }
}

/* R3.10 Toolkit first-party storefront theme */
.toolkit-theme {
  --tk-navy: #0b3557;
  --tk-navy-deep: #082a45;
  --tk-orange: #ff8c00;
  --tk-orange-hover: #e67e00;
  --tk-soft: #f4f7fb;
  --tk-card: #ffffff;
  --tk-muted: #5a6b7a;
}
.toolkit-theme .toolkit-hero {
  background: var(--brand-white);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--brand-orange);
}
.toolkit-theme .toolkit-hero .eyebrow { color: var(--brand-navy); }
.toolkit-theme .toolkit-hero h1 { color: var(--brand-navy); max-width: 18ch; }
.toolkit-theme .toolkit-hero .subtitle-line { color: var(--brand-orange); font-weight: 700; font-size: 1.15rem; }
.toolkit-theme .toolkit-hero .hero-lead,
.toolkit-theme .toolkit-hero .tagline { color: var(--text-secondary); max-width: 40rem; }
.toolkit-theme .cta-orange {
  background: var(--tk-orange) !important;
  color: #111 !important;
  border-color: transparent !important;
}
.toolkit-theme .cta-orange:hover { background: var(--tk-orange-hover) !important; color: #111 !important; }
.toolkit-theme .toolkit-pill-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 0;
}
.toolkit-theme .toolkit-pill {
  background: var(--surface-mist); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.92rem; font-weight: 650;
  color: var(--brand-navy);
}
.toolkit-theme .include-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}
.toolkit-theme .include-card {
  background: var(--tk-soft); border: 1px solid #d9e3ec; border-radius: var(--radius);
  padding: 1.35rem 1.4rem; box-shadow: none;
}
.toolkit-theme .include-card h3 { color: var(--tk-navy); font-size: 1.15rem; letter-spacing: 0.02em; }
.toolkit-theme .include-card ul { margin: 0.55rem 0 0; padding-left: 1.1rem; color: var(--tk-muted); }
.toolkit-theme .purchase-panel {
  background: var(--tk-soft); border: 1px solid #d5e0ea; border-radius: var(--radius);
  padding: 2rem; display: grid; gap: 1rem;
}
.toolkit-theme .legacy-note {
  font-size: 0.95rem; color: var(--tk-muted); border-left: 3px solid #c5d2de; padding-left: 0.85rem;
}
@media (max-width: 960px) {
  .toolkit-theme .include-grid { grid-template-columns: 1fr; }
}

/* MFDC full-capability showcase */
.feature-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.feature-group {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.feature-group h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-navy);
}
.feature-group ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--fg-secondary);
}
.capability-yes li { font-weight: 650; }
.demo-qr-card {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}
.demo-qr-card img {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem;
}
.demo-qr-card figcaption {
  display: grid;
  gap: 0.15rem;
}
.demo-qr-card figcaption span { color: var(--fg-secondary); font-size: 0.95rem; }
.scan-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  counter-reset: scan;
}
.scan-flow li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  position: relative;
}
.scan-flow li strong {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.scan-flow li span { color: var(--fg-secondary); font-size: 0.95rem; }
.scan-flow li img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.qr-feature-band .scan-flow li {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
}
.qr-feature-band .scan-flow li strong { color: var(--brand-navy); }
.qr-feature-band .scan-flow li span { color: var(--text-secondary); }
.qr-feature-band .demo-qr-card img {
  background: #fff;
  border-color: var(--border);
}
.workflow-long {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}
.hero-home {
  background: linear-gradient(180deg, #f7fafb 0%, var(--bg) 100%);
  padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(1rem, 2vw, 1.5rem);
  margin: 0;
}
.product-hero {
  background: linear-gradient(180deg, #f7fafb 0%, transparent 100%);
  padding-top: 1.5rem;
}
.cmms-stage {
  background: var(--navy-soft);
  border: 1px solid var(--navy-mid);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
}
.cmms-stage .shot-frame,
.cmms-stage .showcase-open {
  box-shadow: 0 14px 36px rgba(11, 53, 87, 0.16);
}
@media (max-width: 1100px) {
  .feature-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scan-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .feature-group-grid,
  .scan-flow,
  .workflow-long { grid-template-columns: 1fr; }
}

/* Legal document pages — readability first */
.page-legal {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.page-legal h1 { margin-bottom: 0.75rem; }
.page-legal h2 { margin-top: 2rem; }
.page-legal p { max-width: 42rem; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}
.legal-nav a { font-weight: 600; }
.legal-nav-current {
  font-weight: 750;
  color: var(--brand-navy);
}
.legal-meta {
  color: var(--fg-secondary);
  font-size: 1.02rem;
  margin: 0 0 1.15rem;
}
.legal-scope,
.legal-gap {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.45;
}
.legal-scope {
  background: color-mix(in srgb, var(--brand-navy) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-navy) 22%, var(--border));
  color: var(--brand-navy);
}
.legal-gap {
  background: color-mix(in srgb, var(--brand-orange) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-orange) 35%, var(--border));
  color: #5c2e0c;
}
.legal-document-wrap { margin: 1.25rem 0 1.5rem; }
.legal-source-title {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.65rem;
  color: var(--brand-navy);
}
.legal-document {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.98rem;
  line-height: 1.55;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  color: var(--fg);
  max-width: 100%;
  overflow-x: auto;
}
.legal-print-hint { margin-top: 1.5rem; }
.checkout-legal-links,
.product-legal-links {
  margin: 1rem 0 0;
  font-size: 1.02rem;
}
.checkout-legal-links a,
.product-legal-links a { font-weight: 600; }

/* Owner finish pass — hierarchy, hero, portal, compare mobile */
.hero-points {
  list-style: none;
  margin: 1rem 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.45;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand-orange);
}
.hierarchy-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.hierarchy-banner strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 0.25rem;
}
.hierarchy-banner span {
  color: var(--text-primary);
  font-weight: 600;
}
.site-nav a.nav-portal {
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-left: 0.25rem;
}
.site-nav a.nav-portal:hover,
.site-nav a.nav-portal.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}
.top:not(.scrolled) .site-nav a.nav-portal {
  border-color: color-mix(in srgb, var(--brand-navy) 25%, transparent);
}
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.compare-wrap .compare {
  min-width: 32rem;
}
.page-legal {
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.legal-document {
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .hierarchy-banner { grid-template-columns: 1fr; }
  .site-nav a.nav-portal {
    margin: 0.35rem 0 0;
    display: inline-flex;
    width: fit-content;
  }
}

@media print {
  #site-header, #site-footer, .legal-nav, .legal-print-hint { display: none !important; }
  .legal-document { border: 0; padding: 0; }
  .page-legal { max-width: none; }
}



