﻿:root {
  --ink: #f7fbff;
  --muted: #b9c9d8;
  --dim: #7891a8;
  --line: rgba(255, 255, 255, 0.14);
  --navy-950: #03111d;
  --navy-900: #061827;
  --navy-800: #0b2438;
  --navy-700: #11314a;
  --teal: #22d0c7;
  --teal-strong: #00aeb7;
  --steel: #8bb0c6;
  --alert: #f4c45f;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  --ink: #07131f;
  --muted: #496175;
  --dim: #667d91;
  --line: rgba(6, 24, 39, 0.14);
  --navy-950: #f8fbfd;
  --navy-900: #edf5f8;
  --navy-800: #dceaf0;
  --navy-700: #bcd3df;
  --teal: #008f98;
  --teal-strong: #007681;
  --steel: #446579;
  --shadow: 0 20px 55px rgba(14, 45, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 84%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(34, 208, 199, 0.16), transparent 28rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 45%, #07131f);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 143, 152, 0.13), transparent 28rem),
    linear-gradient(135deg, #f8fbfd, #edf5f8 48%, #e4eef3);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(300px, 370px) minmax(320px, 1fr) 96px 122px 86px 72px 64px;
  align-items: center;
  gap: clamp(9px, 1vw, 16px);
  min-height: 88px;
  padding: 12px clamp(34px, 3.2vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 17, 29, 0.82);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .site-header {
  border-bottom-color: rgba(6, 24, 39, 0.1);
  background: rgba(248, 251, 253, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: min(370px, 100%);
  min-width: 0;
}

.brand img {
  flex: 0 0 auto;
  width: 58px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  object-position: left center;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 14px 14px 18px 18px;
  transform: skewY(-7deg);
}

.brand-mark span {
  position: absolute;
  left: 9px;
  top: 15px;
  width: 24px;
  height: 12px;
  border-left: 6px solid var(--teal);
  border-bottom: 6px solid var(--teal);
  transform: rotate(-45deg);
}

.brand strong,
.brand small {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 7px !important;
  column-gap: 7px !important;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1.34rem;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.brand small .brand-dot,
body .brand small .brand-dot {
  display: inline-block;
  margin: 0 1px;
  color: var(--teal) !important;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 10px rgba(34, 208, 199, 0.34);
}

.brand small > span:not(.brand-dot) {
  display: inline-block;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(34, 208, 199, 0.28);
  color: var(--ink);
  background: rgba(34, 208, 199, 0.07);
}

.nav-cta,
.cart-link,
.button,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-cta {
  min-width: 110px;
  border: 1px solid rgba(34, 208, 199, 0.44);
  color: var(--teal);
}

.nav-cta-buy {
  min-width: 96px;
}

.nav-cta-quote {
  min-width: 122px;
}

.nav-login {
  min-width: 86px;
}

.cart-link {
  min-width: 70px;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
}

.cart-link strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #03111d;
  background: var(--teal);
  font-size: 0.78rem;
}

.cart-link:hover,
.cart-link:focus-visible {
  border-color: rgba(34, 208, 199, 0.58);
  color: var(--teal);
}

.theme-toggle {
  min-width: 60px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

:root[data-theme="light"] .theme-toggle {
  border-color: rgba(6, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .cart-link {
  border-color: rgba(6, 24, 39, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.back-to-top {
  position: fixed;
  z-index: 80;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(34, 208, 199, 0.5);
  border-radius: 999px;
  color: #eaffff;
  background: rgba(4, 19, 32, 0.88);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--teal);
  background: rgba(6, 37, 54, 0.96);
  transform: translateY(-1px);
}

.back-to-top[hidden] {
  display: none;
}

:root[data-theme="light"] .back-to-top {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(11, 31, 51, 0.16);
}

.button.primary {
  color: #03111d;
  background: linear-gradient(135deg, var(--teal), #7df7ef);
  box-shadow: 0 16px 46px rgba(34, 208, 199, 0.22);
}

:root[data-theme="light"] .button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #007681, #00aeb7);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

/* Compact public CTA boxes without changing the shared header actions. */
.button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.86rem;
  line-height: 1.12;
}

.hero-actions .button {
  min-height: 42px;
  padding: 0 16px;
}

.price-card .button,
.quote-section .button,
.section-actions .button,
.summary-actions .button {
  min-height: 38px;
  padding: 0 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 156px clamp(20px, 5vw, 76px) 82px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(3, 17, 29, 0.98), rgba(6, 24, 39, 0.88) 46%, rgba(6, 24, 39, 0.42)),
    url("assets/safeops-hero-crop.png") center right/cover;
  opacity: 0.82;
}

:root[data-theme="light"] .hero-bg {
  opacity: 0.42;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(120deg, transparent 0 43%, rgba(255, 255, 255, 0.14) 43.2% 43.5%, transparent 43.7%),
    linear-gradient(120deg, transparent 0 54%, rgba(34, 208, 199, 0.16) 54.2% 54.4%, transparent 54.6%);
}

:root[data-theme="light"] .hero-bg::after {
  background-image:
    linear-gradient(120deg, transparent 0 43%, rgba(0, 143, 152, 0.16) 43.2% 43.5%, transparent 43.7%),
    linear-gradient(120deg, transparent 0 54%, rgba(0, 143, 152, 0.1) 54.2% 54.4%, transparent 54.6%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 460px);
  align-items: center;
  gap: clamp(28px, 4.6vw, 64px);
  max-width: 1240px;
  min-height: 640px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: 6.2rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4.35rem, 6vw, 5.55rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.8rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.62;
}

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

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(6, 24, 39, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .hero-panel,
:root[data-theme="light"] .metric-grid article,
:root[data-theme="light"] .chart-card,
:root[data-theme="light"] .service-card,
:root[data-theme="light"] .process-grid article,
:root[data-theme="light"] .price-card,
:root[data-theme="light"] .faq-grid details,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .main-request-form fieldset,
:root[data-theme="light"] .form-intro,
:root[data-theme="light"] .policy-content article,
:root[data-theme="light"] .pricing-table,
:root[data-theme="light"] .notice-card,
:root[data-theme="light"] .pathway-page-grid article,
:root[data-theme="light"] .value-stack article,
:root[data-theme="light"] .framework-cards article,
:root[data-theme="light"] .resource-grid article,
:root[data-theme="light"] .role-grid article,
:root[data-theme="light"] .partner-grid article,
:root[data-theme="light"] .guide-grid article,
:root[data-theme="light"] .pricing-note-grid article,
:root[data-theme="light"] .service-detail-list article {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .service-card:hover {
  background: rgba(255, 255, 255, 0.92);
}

.panel-topline,
.chart-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-topline {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.panel-topline strong {
  color: var(--teal);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-grid article,
.chart-card,
.service-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.metric-grid article {
  min-height: 92px;
  padding: 14px;
}

.metric-grid span,
.chart-card span {
  display: block;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 1.8rem;
}

.chart-card {
  margin-top: 12px;
  padding: 18px;
}

.chart-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.donut {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 72%, rgba(255, 255, 255, 0.16) 72% 100%);
  box-shadow: inset 0 0 0 18px #0a2135;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  height: 180px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.route-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.route-list a {
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 6px;
  color: var(--teal);
  padding: 0 22px;
  font-size: 0.98rem;
  font-weight: 900;
  background: rgba(34, 208, 199, 0.08);
}

.route-list a:hover,
.route-list a:focus-visible {
  border-color: rgba(34, 208, 199, 0.68);
  background: rgba(34, 208, 199, 0.15);
}

.bar-chart span {
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--teal), #196d85);
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: -48px auto 0;
  border: 1px solid rgba(34, 208, 199, 0.36);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 174, 183, 0.56), rgba(8, 41, 61, 0.92));
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .proof-strip {
  background: linear-gradient(90deg, rgba(0, 143, 152, 0.18), rgba(255, 255, 255, 0.86));
}

.proof-strip div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-strip div:last-child {
  border-right: 0;
}

.icon,
.service-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.icon::before,
.icon::after,
.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.icon.check::before,
.brand-mark span::after {
  width: 22px;
  height: 11px;
  border-left: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(-45deg);
}

.icon.shield::before {
  width: 20px;
  height: 24px;
  border: 3px solid var(--ink);
  border-radius: 10px 10px 14px 14px;
}

.icon.camera::before {
  width: 26px;
  height: 20px;
  border: 3px solid var(--ink);
  border-radius: 5px;
}

.icon.camera::after {
  width: 8px;
  height: 8px;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.icon.sliders::before {
  width: 28px;
  height: 18px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px clamp(20px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 58px;
  align-items: end;
}

.intro p:last-child,
.split-copy p,
.quote-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.decision-intro {
  display: block;
}

.decision-intro > div,
.decision-intro > p {
  max-width: 730px;
}

.decision-intro > p {
  margin-top: 18px;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 32px;
}

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

.service-grid.pyramid-3-2 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-grid.pyramid-3-2 > .service-card {
  grid-column: span 2;
}

.service-grid.pyramid-3-2 > .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-grid.pyramid-3-2 > .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-grid.four-card-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid.four-card-row .service-card,
.platform-preview-grid article {
  min-height: 245px;
  padding: 22px;
}

.service-grid.four-card-row .service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
}

.service-grid.four-card-row h3,
.platform-preview-grid h2 {
  font-size: 1.08rem;
}

.compact-service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.primary-services-section {
  display: grid;
  gap: 22px;
}

.about-visual-stack {
  display: grid;
  gap: 22px;
  padding-top: 34px;
  padding-bottom: 22px;
}

.about-visual-stack figure {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.about-visual-stack img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 18px;
  box-shadow: 0 24px 82px rgba(0, 0, 0, 0.3);
}

.service-matrix-section {
  display: flex;
  justify-content: center;
  padding-top: 34px;
  padding-bottom: 16px;
}

.service-matrix-section figure {
  width: min(100%, 1040px);
  margin: 0;
}

.service-matrix-section img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(34, 208, 199, 0.36);
  border-radius: 18px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.3);
}

.service-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 8px;
  background: rgba(34, 208, 199, 0.07);
}

.service-grid + .service-group-heading {
  margin-top: 34px;
}

.service-group-heading span {
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-group-heading strong {
  color: var(--ink);
}

.primary-service-card {
  border-color: rgba(34, 208, 199, 0.5);
  background: linear-gradient(180deg, rgba(34, 208, 199, 0.12), rgba(4, 19, 32, 0.7));
}

.compact-service-grid .service-card {
  min-height: 220px;
}

.service-snapshot-grid,
.choice-map-grid {
  display: grid;
  gap: 16px;
}

.service-snapshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-map-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-snapshot-card,
.choice-map-grid article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(34, 208, 199, 0.12), rgba(5, 24, 38, 0.72));
}

.service-snapshot-card {
  padding: 26px;
}

.choice-map-grid article {
  min-height: 270px;
  padding: 0;
}

.choice-card-top {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  gap: 12px;
  border-bottom: 1px solid rgba(34, 208, 199, 0.2);
  background: linear-gradient(135deg, rgba(34, 208, 199, 0.22), rgba(8, 70, 96, 0.55));
}

.choice-card-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(34, 208, 199, 0.58);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(4, 19, 32, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
}

.choice-map-grid article h3,
.choice-map-grid article p,
.choice-map-grid article a {
  margin-right: 22px;
  margin-left: 22px;
}

.choice-map-grid article h3 {
  margin-top: 22px;
}

.choice-map-grid article a {
  margin-bottom: 22px;
}

.service-snapshot-card h3,
.choice-map-grid h3 {
  font-size: 1.35rem;
}

.service-snapshot-card p,
.choice-map-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.choice-card-top strong {
  display: block;
  margin-bottom: 0;
  color: #e9ffff;
  font-size: 0.74rem;
  line-height: 1.25;
  text-transform: uppercase;
}

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

.snapshot-pill-row span {
  padding: 7px 9px;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-snapshot-card > a,
.choice-map-grid a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
}

.compact-section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.compact-section-heading h2 {
  max-width: 720px;
}

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

.portfolio-mini-grid article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 190px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(34, 208, 199, 0.1), rgba(5, 24, 38, 0.72));
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  gap: 10px;
  border-bottom: 1px solid rgba(34, 208, 199, 0.2);
  background: linear-gradient(135deg, rgba(34, 208, 199, 0.18), rgba(8, 70, 96, 0.48));
}

.portfolio-card-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(34, 208, 199, 0.58);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(4, 19, 32, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
}

.portfolio-card-top strong {
  color: #e9ffff;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.portfolio-mini-grid h3 {
  margin: 18px 18px 0;
  font-size: 1.08rem;
}

.portfolio-mini-grid p {
  margin: auto 18px 0;
  margin-top: auto;
  color: var(--muted);
  font-weight: 800;
}

.portfolio-mini-grid a {
  margin: 14px 18px 18px;
  color: var(--teal);
  font-weight: 900;
}

.compact-boundary-note {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(34, 208, 199, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.compact-boundary-note strong {
  color: var(--ink);
}

.compact-boundary-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

:root[data-theme="light"] .service-snapshot-card,
:root[data-theme="light"] .choice-map-grid article,
:root[data-theme="light"] .portfolio-mini-grid article,
:root[data-theme="light"] .compact-boundary-note {
  border-color: rgba(6, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.is-public-hidden {
  display: none !important;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 208, 199, 0.56);
  background: rgba(10, 42, 65, 0.74);
}

.service-card p,
.process-grid p,
.feature-list span,
.site-footer,
.section-heading p {
  color: var(--muted);
  line-height: 1.6;
}

.service-card a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 900;
}

.service-card > a:last-child {
  margin-top: auto;
  padding-top: 22px;
}

.card-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  width: 100%;
}

.service-card .card-actions a,
.service-snapshot-card .card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 0;
  padding: 9px 13px;
  border: 1px solid rgba(34, 208, 199, 0.35);
  border-radius: 6px;
  background: rgba(34, 208, 199, 0.08);
  color: var(--teal);
  font-weight: 900;
  white-space: nowrap;
}

.service-card[data-card-link],
.price-card[data-card-link],
.guide-grid article[data-card-link] {
  cursor: pointer;
}

.service-card[data-card-link]:focus-visible,
.price-card[data-card-link]:focus-visible,
.guide-grid article[data-card-link]:focus-visible {
  outline: 3px solid rgba(34, 208, 199, 0.8);
  outline-offset: 4px;
}

.service-card .card-actions a {
  flex: 1 1 0;
}

.service-snapshot-card .card-actions {
  flex-wrap: wrap;
}

.service-card .card-actions a:hover,
.service-card .card-actions a:focus-visible,
.service-snapshot-card .card-actions a:hover,
.service-snapshot-card .card-actions a:focus-visible {
  border-color: rgba(34, 208, 199, 0.75);
  background: rgba(34, 208, 199, 0.16);
  color: var(--ink);
}

.service-icon {
  margin-bottom: 26px;
  border-color: rgba(34, 208, 199, 0.76);
  background: rgba(34, 208, 199, 0.09);
}

.service-icon.document::before,
.service-icon.clipboard::before,
.service-icon.package::before,
.service-icon.access::before {
  width: 22px;
  height: 28px;
  border: 3px solid var(--ink);
  border-radius: 3px;
}

.service-icon.package::after {
  width: 26px;
  height: 3px;
  background: var(--ink);
  box-shadow: 0 9px 0 var(--ink);
}

.service-icon.document::after {
  width: 12px;
  height: 3px;
  background: var(--ink);
  box-shadow: 0 8px 0 var(--ink), 0 16px 0 var(--ink);
}

.service-icon.access::before {
  border-radius: 50%;
}

.service-icon.access::after {
  width: 24px;
  height: 3px;
  background: var(--ink);
  transform: translateY(14px);
}

.media-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 10px auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
}

.media-band article {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--navy-800);
}

.media-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.92) contrast(1.08);
}

.media-band article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 17, 29, 0.92));
}

.media-band div {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 24px;
  left: 26px;
}

.media-band span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-band strong {
  font-size: 1.34rem;
  line-height: 1.2;
}

.home-report-snapshots {
  padding-top: clamp(68px, 8vw, 110px);
  padding-bottom: clamp(68px, 8vw, 110px);
}

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

.home-report-snapshot {
  min-width: 0;
  height: 100%;
}

.home-report-snapshot a {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.snapshot-cover {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  align-content: start;
  min-height: 410px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(3, 17, 29, 0.95), rgba(14, 44, 63, 0.9)),
    radial-gradient(circle at 86% 12%, rgba(34, 208, 199, 0.18), transparent 12rem);
  box-shadow: var(--shadow);
}

.home-report-snapshot.featured .snapshot-cover {
  border-color: rgba(34, 208, 199, 0.62);
  background:
    linear-gradient(150deg, rgba(3, 17, 29, 0.94), rgba(7, 61, 69, 0.88)),
    radial-gradient(circle at 86% 12%, rgba(34, 208, 199, 0.22), transparent 12rem);
}

.snapshot-topline,
.snapshot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.snapshot-topline {
  min-height: 36px;
  align-items: flex-start;
}

.snapshot-topline span,
.snapshot-meta span,
.snapshot-cover p {
  color: #9fb4c5;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-topline span {
  white-space: nowrap;
}

.snapshot-topline strong {
  color: var(--teal);
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.snapshot-cover p {
  min-height: 36px;
  margin: 28px 0 8px;
  color: var(--teal);
  line-height: 1.18;
}

.snapshot-cover h3 {
  max-width: 260px;
  min-height: 112px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.03;
}

.snapshot-photo {
  min-height: 130px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.18), rgba(255, 255, 255, 0.06)),
    url("assets/framing.jpg") center/cover;
  opacity: 0.86;
}

.home-report-snapshot:nth-child(2) .snapshot-photo {
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.16), rgba(255, 255, 255, 0.08)),
    url("assets/book-now.jpg") center/cover;
}

.home-report-snapshot:nth-child(3) .snapshot-photo {
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.16), rgba(255, 255, 255, 0.08)),
    url("assets/dashboard.jpg") center/cover;
}

.home-report-snapshot:nth-child(4) .snapshot-photo {
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.16), rgba(255, 255, 255, 0.08)),
    url("assets/safety.jpg") center/cover;
}

.snapshot-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.snapshot-meta strong {
  max-width: 150px;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: right;
}

.home-report-snapshot .text-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 13px 16px;
  border: 1px solid rgba(34, 208, 199, 0.36);
  border-radius: 8px;
  background: rgba(5, 22, 36, 0.7);
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.home-report-snapshot .text-link::after {
  content: none;
}

.home-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.service-icon.home::before {
  width: 24px;
  height: 20px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
  transform: translateY(5px);
}

.service-icon.home::after {
  width: 22px;
  height: 22px;
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
  transform: translateY(-6px) rotate(45deg);
}

.service-icon.helmet::before {
  width: 28px;
  height: 16px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}

.service-icon.helmet::after {
  width: 34px;
  height: 3px;
  background: var(--ink);
  transform: translateY(11px);
}

.service-icon.analytics::before {
  width: 5px;
  height: 26px;
  background: var(--ink);
  box-shadow: -11px 8px 0 var(--ink), 11px -7px 0 var(--ink);
}

.service-icon.tag::before {
  width: 27px;
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  transform: rotate(-38deg);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.report-card {
  overflow: hidden;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

#framework.split {
  grid-template-columns: minmax(520px, 1.35fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 4.5vw, 64px);
  align-items: center;
}

#framework .report-card {
  display: flex;
  width: min(100%, 720px);
  justify-self: end;
  align-self: center;
}

#framework .report-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.feature-list div {
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.055);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 4px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pricing-grid.pyramid-4-3 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.pricing-grid.pyramid-4-3 > .price-card {
  grid-column: span 2;
}

.pricing-grid.pyramid-4-3 > .price-card:nth-child(5) {
  grid-column: 2 / span 2;
}

.pricing-grid.pyramid-4-3 > .price-card:nth-child(6) {
  grid-column: 4 / span 2;
}

.pricing-grid.pyramid-4-3 > .price-card:nth-child(7) {
  grid-column: 6 / span 2;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.price-card.featured {
  border-color: rgba(34, 208, 199, 0.54);
  background:
    linear-gradient(180deg, rgba(34, 208, 199, 0.16), rgba(4, 19, 32, 0.68)),
    rgba(4, 19, 32, 0.7);
}

.price-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  margin-top: 18px;
}

.price-card strong {
  display: block;
  margin: 10px 0 18px;
  font-size: 2.1rem;
}

.price-card p {
  color: var(--muted);
  line-height: 1.6;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guide-grid article {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(34, 208, 199, 0.1), rgba(4, 19, 32, 0.68)),
    rgba(4, 19, 32, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.guide-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.guide-grid article:nth-child(3n + 2) {
  border-color: rgba(122, 184, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(122, 184, 255, 0.12), rgba(4, 19, 32, 0.68)),
    rgba(4, 19, 32, 0.72);
}

.guide-grid article:nth-child(3n + 2)::before {
  background: #7ab8ff;
}

.guide-grid article:nth-child(3n + 3) {
  border-color: rgba(146, 232, 166, 0.3);
  background:
    linear-gradient(180deg, rgba(146, 232, 166, 0.11), rgba(4, 19, 32, 0.68)),
    rgba(4, 19, 32, 0.72);
}

.guide-grid article:nth-child(3n + 3)::before {
  background: #92e8a6;
}

.guide-grid article:nth-child(1),
.guide-grid article:nth-child(7),
.guide-grid article:nth-child(10) {
  border-color: rgba(34, 208, 199, 0.52);
  background:
    linear-gradient(180deg, rgba(34, 208, 199, 0.18), rgba(4, 19, 32, 0.7)),
    rgba(4, 19, 32, 0.78);
}

.guide-grid h3 {
  min-height: 66px;
  margin-bottom: 18px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.guide-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.guide-grid li {
  color: var(--muted);
  line-height: 1.55;
}

.guide-grid li::marker {
  color: var(--teal);
}

.pathway-grid article {
  padding: 18px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.055);
}

.pathway-grid h2 {
  font-size: 1.35rem;
}

.pathway-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.process-grid article {
  padding: 26px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-differences {
  padding-bottom: 44px;
}

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

.service-difference-grid article {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.service-difference-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(34, 208, 199, 0.08);
}

.service-difference-grid h3 {
  font-size: 1.25rem;
}

.service-difference-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.service-difference-grid strong {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink);
  line-height: 1.45;
}

.difference-rule {
  margin-top: 18px;
  padding: 24px;
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.difference-rule strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  text-transform: uppercase;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rule-grid > span,
.rule-grid > article {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.045);
}

.rule-grid b,
.rule-grid article strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.2;
}

.trust-grid article {
  min-height: 250px;
}

.trust-grid article strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.next-steps {
  padding-top: 0;
}

.next-step-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.next-step-strip article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.next-step-strip span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.next-step-strip h3 {
  margin-bottom: 8px;
}

.next-step-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.industries,
.audiences {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: center;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-tags span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}

.quote-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: 1180px;
  margin: 42px auto 96px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(34, 208, 199, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.22), transparent 42%),
    rgba(7, 32, 51, 0.9);
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .quote-section {
  background:
    linear-gradient(135deg, rgba(0, 143, 152, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.82);
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.faq-grid summary {
  cursor: pointer;
  padding: 20px;
  font-weight: 900;
}

.faq-grid p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-lines a,
.contact-lines span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(3, 17, 29, 0.74);
  font: inherit;
}

:root[data-theme="light"] .contact-form input,
:root[data-theme="light"] .contact-form select,
:root[data-theme="light"] .contact-form textarea,
:root[data-theme="light"] .main-request-form input,
:root[data-theme="light"] .main-request-form select,
:root[data-theme="light"] .main-request-form textarea {
  border-color: rgba(6, 24, 39, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.contact-form textarea {
  resize: vertical;
}

.quick-form .button.secondary {
  width: 100%;
}

.form-page {
  max-width: 1080px;
  display: grid;
  gap: 18px;
}

.main-request-form {
  display: grid;
  gap: 18px;
}

.form-intro,
.main-request-form fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.form-intro {
  padding: 28px;
}

.form-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.main-request-form fieldset {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 24px;
}

.main-request-form legend {
  padding: 0 10px;
  color: var(--teal);
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.main-request-form label,
.welcome-offer-form label,
.check-list label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.main-request-form input,
.main-request-form select,
.main-request-form textarea,
.welcome-offer-form input,
.welcome-offer-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(3, 17, 29, 0.74);
  font: inherit;
}

.main-request-form input[type="file"],
.contact-form input[type="file"] {
  padding: 10px;
}

.main-request-form details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.main-request-form summary {
  cursor: pointer;
  padding: 18px;
  color: var(--ink);
  font-weight: 900;
}

.main-request-form details .form-grid {
  padding: 0 18px 18px;
}

.span-two {
  grid-column: span 2;
}

.field-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.field-note-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.field-note-list li {
  margin: 0;
}

.field-note a {
  color: var(--teal);
  font-weight: 900;
}

.inline-help {
  border: 1px solid rgba(34, 208, 199, 0.22);
  border-radius: 8px;
  background: rgba(34, 208, 199, 0.06);
}

.inline-help summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.inline-help p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.55;
}

.compact-inline-help summary {
  padding: 9px 12px;
  font-size: 0.78rem;
}

.compact-inline-help p {
  padding: 0 12px 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.partner-jump-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.partner-jump-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(34, 208, 199, 0.24);
  border-radius: 6px;
  background: rgba(34, 208, 199, 0.07);
  line-height: 1.2;
  text-decoration: none;
}

.partner-jump-links a span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #03111d;
  background: var(--teal);
  font-size: 0.78rem;
}

.partner-submit-row {
  display: flex;
  justify-content: flex-start;
}

.partner-submit-row .button {
  min-width: min(100%, 320px);
}

.partner-application-form fieldset {
  align-content: start;
}

.partner-application-form legend {
  float: left;
  width: 100%;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 208, 199, 0.24);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(34, 208, 199, 0.07);
  line-height: 1.25;
}

.partner-application-form legend + * {
  clear: both;
}

:root[data-theme="light"] .partner-application-form legend {
  border-color: rgba(0, 143, 152, 0.2);
  background: rgba(0, 143, 152, 0.08);
}

.allocation-snapshot {
  display: grid;
  gap: 24px;
}

.allocation-snapshot-grid,
.allocation-rule-grid,
.allocation-audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.allocation-snapshot-grid article,
.allocation-rule-grid span,
.allocation-audit-grid span {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.allocation-snapshot-grid span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 999px;
  color: #03111d;
  background: var(--teal);
  font-weight: 900;
}

.allocation-snapshot-grid strong,
.allocation-rule-grid span,
.allocation-audit-grid span {
  color: var(--ink);
  line-height: 1.35;
}

.allocation-snapshot-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.vault-requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vault-requirement-grid article {
  min-height: 172px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.vault-requirement-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.vault-requirement-grid span {
  color: var(--muted);
  line-height: 1.58;
}

.partner-commission-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.partner-commission-preview .allocation-snapshot-grid {
  grid-template-columns: repeat(3, 1fr);
  align-content: start;
  gap: 10px;
}

.partner-commission-preview .allocation-snapshot-grid article {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  gap: 8px;
}

.partner-commission-preview .allocation-snapshot-grid span {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-bottom: 0;
  font-size: 0.78rem;
}

.partner-commission-preview .allocation-snapshot-grid strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.commission-snapshot-card {
  display: grid;
  width: min(100%, 760px);
  justify-self: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34, 208, 199, 0.14), rgba(4, 19, 32, 0.72) 52%),
    rgba(4, 19, 32, 0.74);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.partner-commission-preview + .text-link {
  display: flex;
  width: fit-content;
  min-width: 260px;
  min-height: 40px;
  margin: 20px auto 0;
  padding: 0 18px;
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.snapshot-header h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.snapshot-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.snapshot-kpis article {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.snapshot-kpis span,
.snapshot-register-row.heading {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-kpis strong {
  display: block;
  margin-top: 8px;
  color: var(--teal);
  font-size: 1.55rem;
  line-height: 1;
}

.snapshot-register {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.58);
}

.snapshot-register-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(112px, 0.82fr) minmax(62px, 0.45fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.snapshot-register-row:last-child {
  border-bottom: 0;
}

.snapshot-register-row.heading {
  background: rgba(34, 208, 199, 0.1);
}

.snapshot-register-row strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.25;
}

.snapshot-register-row .status-pill {
  justify-self: start;
  padding: 7px 9px;
  font-size: 0.68rem;
  white-space: normal;
}

.snapshot-register-row.muted {
  opacity: 0.76;
}

.allocation-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

.allocation-lead-card,
.allocation-status-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.allocation-status-card {
  display: grid;
  align-content: center;
  gap: 10px;
  border-color: rgba(34, 208, 199, 0.34);
  background: rgba(34, 208, 199, 0.08);
}

.allocation-status-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.allocation-status-card strong {
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1.1;
}

.allocation-status-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.commission-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 18px;
  align-items: stretch;
}

.commission-cycle-card,
.commission-total-card,
.commission-kpi-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.commission-cycle-card p {
  color: var(--muted);
  line-height: 1.65;
}

.commission-total-card {
  display: grid;
  align-content: center;
  gap: 10px;
  border-color: rgba(34, 208, 199, 0.34);
  background: rgba(34, 208, 199, 0.08);
}

.commission-total-card span,
.commission-kpi-grid span {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.commission-total-card strong {
  color: var(--teal);
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 0.95;
}

.commission-total-card p,
.commission-kpi-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.commission-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 0;
}

.commission-kpi-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 2.3rem;
}

.commission-table-section {
  padding-top: 0;
}

.commission-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.commission-row {
  display: grid;
  grid-template-columns: 1.28fr 0.82fr 1.1fr 0.9fr 0.62fr 0.95fr 0.75fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.commission-row:last-child {
  border-bottom: 0;
}

.commission-row.heading {
  color: var(--ink);
  background: rgba(34, 208, 199, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.commission-row strong,
.commission-row small {
  display: block;
}

.commission-row strong {
  color: var(--ink);
}

.commission-row small {
  margin-top: 4px;
  color: var(--dim);
}

.commission-row.muted {
  opacity: 0.72;
}

.commission-row mark.status-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(34, 208, 199, 0.09);
}

.commission-flow {
  padding-top: 0;
}

.ops-stage-note {
  padding-bottom: 0;
}

.ops-stage-note article,
.ops-dashboard-section,
.ops-status-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.ops-stage-note p,
.ops-dashboard-section p,
.ops-status-section p {
  color: var(--muted);
  line-height: 1.65;
}

.ops-record-rule {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 208, 199, 0.12), rgba(4, 19, 32, 0.78));
}

.ops-record-rule strong {
  display: block;
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1.3;
}

.ops-record-rule p {
  margin: 8px 0 0;
}

.ops-workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ops-workflow-strip article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.ops-workflow-strip span {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-weight: 900;
}

.ops-workflow-strip strong {
  color: var(--ink);
  line-height: 1.35;
}

.ops-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.ops-filter-bar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-filter-bar input,
.ops-filter-bar select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(3, 17, 29, 0.74);
  font: inherit;
  text-transform: none;
}

.ops-metric-grid,
.ops-production-grid,
.ops-schedule-grid,
.ops-permission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ops-metric-grid article,
.ops-production-grid article,
.ops-schedule-grid article,
.ops-permission-grid article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.ops-metric-grid span,
.ops-production-grid span,
.ops-schedule-grid span,
.ops-permission-grid span {
  display: block;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-metric-grid strong,
.ops-production-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--teal);
  font-size: 2.45rem;
  line-height: 1;
}

.ops-schedule-grid strong,
.ops-permission-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
}

.ops-schedule-grid p,
.ops-permission-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ops-schedule-grid article.active {
  border-color: rgba(34, 208, 199, 0.46);
  background: rgba(34, 208, 199, 0.08);
}

.ops-schedule-grid article.restricted {
  border-color: rgba(244, 196, 95, 0.38);
  background: rgba(244, 196, 95, 0.08);
}

.ops-status-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ops-status-cloud span {
  padding: 9px 11px;
  border: 1px solid rgba(34, 208, 199, 0.24);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(34, 208, 199, 0.07);
  font-size: 0.84rem;
  font-weight: 900;
}

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

.portal-build-state article,
.portal-role-grid article,
.portal-permission-matrix {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.portal-build-state article {
  padding: 24px;
}

.portal-build-state p,
.portal-role-grid p,
.portal-role-grid li,
.portal-permission-row span {
  color: var(--muted);
  line-height: 1.55;
}

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

.portal-role-grid article {
  display: flex;
  min-height: 390px;
  padding: 22px;
  flex-direction: column;
}

.portal-role-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(34, 208, 199, 0.36);
  border-radius: 999px;
  color: #03111d;
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-role-grid h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.portal-role-grid strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--ink);
}

.portal-role-grid ul {
  margin: 0 0 10px;
  padding-left: 18px;
}

.portal-role-grid .text-link {
  margin-top: auto;
}

.portal-permission-matrix {
  overflow: hidden;
}

.portal-permission-row {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1.3fr 1.4fr;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-permission-row:last-child {
  border-bottom: 0;
}

.portal-permission-row > * {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-permission-row > *:last-child {
  border-right: 0;
}

.portal-permission-row.heading {
  color: var(--teal);
  background: rgba(34, 208, 199, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-permission-row strong {
  color: var(--ink);
}

.portal-link-grid .portal-note-grid .text-link {
  margin-top: 0;
}

.safety-rule-panel article,
.safety-card-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.safety-rule-panel p,
.safety-card-grid span {
  color: var(--muted);
  line-height: 1.65;
}

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

.safety-card-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.auto-schedule-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 18px;
  align-items: stretch;
}

.auto-schedule-overview article,
.daily-run-summary,
.daily-run-list div,
.duration-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.auto-schedule-overview p,
.daily-run-summary p,
.daily-run-list p,
.duration-grid span {
  color: var(--muted);
  line-height: 1.58;
}

.daily-run-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
}

.daily-run-summary {
  display: grid;
  align-content: start;
  gap: 10px;
  border-color: rgba(34, 208, 199, 0.34);
}

.daily-run-summary span,
.daily-run-list span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-run-summary strong {
  color: var(--ink);
  font-size: 1.65rem;
}

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

.daily-run-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 14px;
  align-items: start;
}

.daily-run-list strong,
.daily-run-list p {
  grid-column: 2;
  margin: 0;
}

.daily-run-list .restricted {
  border-color: rgba(244, 196, 95, 0.38);
  background: rgba(244, 196, 95, 0.08);
}

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

.duration-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
}

.auto-recommendation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 16px;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  background: rgba(34, 208, 199, 0.08);
}

.auto-recommendation-card h3 {
  margin-bottom: 8px;
}

.auto-recommendation-card p {
  margin: 0;
}

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

.auto-control-list span {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(34, 208, 199, 0.24);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(3, 17, 29, 0.44);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.ops-forms-section {
  padding-top: 0;
}

:root[data-theme="light"] .allocation-snapshot-grid article,
:root[data-theme="light"] .allocation-rule-grid span,
:root[data-theme="light"] .allocation-audit-grid span,
:root[data-theme="light"] .vault-requirement-grid article,
:root[data-theme="light"] .allocation-lead-card,
:root[data-theme="light"] .allocation-status-card,
:root[data-theme="light"] .commission-cycle-card,
:root[data-theme="light"] .commission-total-card,
:root[data-theme="light"] .commission-kpi-grid article,
:root[data-theme="light"] .commission-table,
:root[data-theme="light"] .commission-snapshot-card,
:root[data-theme="light"] .snapshot-kpis article,
:root[data-theme="light"] .snapshot-register,
:root[data-theme="light"] .ops-stage-note article,
:root[data-theme="light"] .ops-dashboard-section,
:root[data-theme="light"] .ops-status-section,
:root[data-theme="light"] .ops-workflow-strip article,
:root[data-theme="light"] .portal-build-state article,
:root[data-theme="light"] .portal-role-grid article,
:root[data-theme="light"] .portal-permission-matrix,
:root[data-theme="light"] .safety-rule-panel article,
:root[data-theme="light"] .safety-card-grid article,
:root[data-theme="light"] .auto-schedule-overview article,
:root[data-theme="light"] .daily-run-summary,
:root[data-theme="light"] .daily-run-list div,
:root[data-theme="light"] .duration-grid article,
:root[data-theme="light"] .auto-recommendation-card {
  background: rgba(255, 255, 255, 0.82);
}

:root[data-theme="light"] .auto-control-list span {
  background: rgba(255, 255, 255, 0.56);
}

:root[data-theme="light"] .ops-filter-bar input,
:root[data-theme="light"] .ops-filter-bar select {
  border-color: rgba(6, 24, 39, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 12px 14px 0 0;
  padding: 0 22px;
  border: 1px solid rgba(34, 208, 199, 0.32);
  border-radius: 6px;
  color: var(--teal);
  background: rgba(34, 208, 199, 0.07);
  font-size: 0.98rem;
  font-weight: 900;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: rgba(34, 208, 199, 0.68);
  background: rgba(34, 208, 199, 0.14);
}

.resource-grid article {
  display: flex;
  flex-direction: column;
}

.resource-grid article .text-link:first-of-type {
  margin-top: auto;
}

.resource-grid article .text-link + .text-link {
  margin-top: 8px;
}

.platform-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.buy-now-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.52fr);
  gap: 22px;
  align-items: start;
}

.buy-now-workspace {
  display: contents;
}

.buy-now-notes-jump {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  margin-bottom: 4px;
}

.buy-now-notes-jump .button {
  width: min(100%, 440px);
}

.buy-now-rules-panel {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 124px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
  box-shadow: var(--shadow);
}

.buy-now-rules-scroll {
  max-height: inherit;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4vw, 36px);
  scrollbar-color: rgba(34, 208, 199, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.buy-now-rules-scroll::-webkit-scrollbar {
  width: 10px;
}

.buy-now-rules-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.buy-now-rules-scroll::-webkit-scrollbar-thumb {
  border: 2px solid rgba(4, 19, 32, 0.78);
  border-radius: 999px;
  background: rgba(34, 208, 199, 0.55);
}

.buy-now-rules-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 208, 199, 0.78);
}

.buy-now-rules-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 2.45vw, 3rem);
  line-height: 1.04;
}

.buy-now-rules-panel p {
  color: var(--muted);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.buy-now-details-section {
  padding-top: 0;
}

.buy-now-details-section .buy-now-rules-panel {
  position: static;
  max-height: 430px;
}

.buy-now-details-section .buy-now-rules-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.buy-now-details-section .buy-now-rules-scroll p {
  margin: 0;
}

.buy-now-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.buy-now-sidebar .price-summary {
  position: static;
}

.buy-now-sidebar [data-buy-now-helper] {
  max-height: calc(100vh - 124px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: clamp(24px, 4vw, 36px);
  scrollbar-color: rgba(34, 208, 199, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.buy-now-sidebar [data-buy-now-helper]::-webkit-scrollbar {
  width: 10px;
}

.buy-now-sidebar [data-buy-now-helper]::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.buy-now-sidebar [data-buy-now-helper]::-webkit-scrollbar-thumb {
  border: 2px solid rgba(4, 19, 32, 0.78);
  border-radius: 999px;
  background: rgba(34, 208, 199, 0.55);
}

.buy-now-sidebar [data-buy-now-helper]::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 208, 199, 0.78);
}

.checkout-layout {
  max-width: 980px;
}

.summary-list .summary-edit-row {
  align-items: center;
  flex-wrap: wrap;
}

.checkout-inline-control {
  display: flex;
  justify-content: flex-end;
  width: min(360px, 100%);
  margin-left: auto;
}

.checkout-inline-control input,
.checkout-inline-control select,
.checkout-inline-control textarea {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.checkout-inline-control textarea {
  resize: vertical;
}

.summary-notes-row {
  align-items: flex-start;
}

.summary-list .summary-total-inline {
  align-items: center;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  background: rgba(34, 208, 199, 0.08);
}

.summary-total-inline span {
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.summary-total-inline strong {
  font-size: 1.2rem;
}

.calculator-card,
.calculator-result,
.buy-now-form,
.buy-now-helper,
.price-summary {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
  box-shadow: var(--shadow);
}

.calculator-card,
.calculator-result {
  height: 100%;
  min-height: 520px;
}

.calculator-card p,
.calculator-result p {
  color: var(--muted);
  line-height: 1.6;
}

.calculator-card h2,
.calculator-result h2 {
  font-size: 2rem;
}

.calculator-result .summary-list {
  margin-top: 0;
}

.calculator-note {
  padding: 14px;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
  background: rgba(34, 208, 199, 0.08);
}

.buy-now-helper h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 2vw, 2.25rem);
}

.buy-now-form-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 4px 0 8px;
  text-align: center;
}

.buy-now-form-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.04;
}

.buy-now-form-heading p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.helper-heading {
  display: grid;
  gap: 10px;
}

.helper-heading span {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(34, 208, 199, 0.08);
}

.helper-block {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.helper-block h3 {
  margin-bottom: 10px;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.helper-block ul {
  margin: 0;
  padding-left: 18px;
}

.helper-block li {
  margin-bottom: 7px;
  color: var(--muted);
  line-height: 1.48;
}

.helper-callout {
  padding: 16px;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 8px;
  background: rgba(34, 208, 199, 0.08);
}

.helper-callout.muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.helper-callout strong,
.helper-callout p {
  display: block;
}

.helper-callout strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.helper-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.calculator-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-grid label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.checkbox-grid input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--teal);
}

.buy-now-form fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.buy-now-form legend {
  padding: 0 10px;
  color: var(--teal);
  font-weight: 900;
}

.buy-now-form label,
.addon-check {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.buy-now-form input,
.buy-now-form select,
.buy-now-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(3, 17, 29, 0.74);
  font: inherit;
}

.buy-now-form textarea {
  min-height: 118px;
  resize: vertical;
}

input[type="date"] {
  cursor: pointer;
}

.buy-now-form option:disabled {
  color: var(--dim);
}

.addon-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.addon-check input {
  flex: 0 0 auto;
  width: 15px;
  margin-top: 4px;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.price-summary {
  position: sticky;
  top: 100px;
}

.price-summary.checkout-summary {
  position: static;
}

.progress-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.internal-report-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr) minmax(320px, 0.36fr);
  gap: 22px;
  align-items: start;
  max-width: 1680px;
}

.internal-report-header {
  background: rgba(3, 17, 29, 0.92);
}

.internal-report-hero h1 {
  max-width: 980px;
}

.internal-report-panel,
.internal-report-summary {
  position: sticky;
  top: 100px;
}

.internal-report-panel {
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.78);
  box-shadow: var(--shadow);
  scrollbar-color: rgba(34, 208, 199, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.internal-report-panel::-webkit-scrollbar {
  width: 10px;
}

.internal-report-panel::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.internal-report-panel::-webkit-scrollbar-thumb {
  border: 2px solid rgba(4, 19, 32, 0.78);
  border-radius: 999px;
  background: rgba(34, 208, 199, 0.55);
}

.internal-report-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 208, 199, 0.78);
}

.internal-report-panel h2 {
  font-size: 1.75rem;
}

.internal-report-panel h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.workflow-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.internal-status-card {
  padding: 16px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  background: rgba(34, 208, 199, 0.1);
}

.internal-status-card span,
.audit-log-grid span {
  display: block;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-status-card strong {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 1.3rem;
}

.access-rule-list,
.wording-rules {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.access-rule-list p,
.wording-rules p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.55;
}

.access-rule-list p:last-child,
.wording-rules p:last-child {
  margin-bottom: 0;
}

.progress-report-form {
  min-width: 0;
}

.internal-report-form {
  gap: 22px;
}

.internal-report-form .form-intro,
.internal-report-form fieldset {
  color: #07131f;
  background: rgba(247, 251, 255, 0.96);
  border-color: rgba(6, 24, 39, 0.16);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.internal-report-form legend {
  color: #007681;
  background: rgba(247, 251, 255, 0.96);
}

.internal-report-form label,
.internal-report-form .field-note,
.internal-report-form .form-intro p,
.internal-report-form p {
  color: #42596d;
}

.internal-report-form h2,
.internal-report-form h3,
.internal-report-form strong {
  color: #07131f;
}

.internal-report-form input,
.internal-report-form select,
.internal-report-form textarea {
  color: #07131f;
  border-color: rgba(6, 24, 39, 0.18);
  background: #ffffff;
}

.internal-report-form input[readonly] {
  color: #52697b;
  background: #eef5f8;
}

.internal-report-form select[multiple] {
  min-height: 128px;
}

.progress-report-summary {
  position: sticky;
  top: 100px;
}

.fixed-report-copy,
.final-report-flow article,
.audit-log-grid div {
  padding: 16px;
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.fixed-report-copy h3 {
  margin: 0 0 8px;
}

.fixed-report-copy p {
  line-height: 1.62;
}

.conditional-note[hidden] {
  display: none;
}

.stage-checklist-table {
  display: grid;
  gap: 12px;
}

.area-checklist-group {
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.area-checklist-group + .area-checklist-group {
  margin-top: 10px;
}

.area-checklist-group summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #07131f;
  font-weight: 900;
}

.compact-area-table {
  padding: 0 14px 14px;
}

.stage-checklist-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 170px minmax(180px, 1fr) 190px;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.stage-checklist-row > strong {
  align-self: center;
  line-height: 1.35;
}

.finding-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 150px;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.internal-report-form .finding-entry-grid,
.internal-report-form .progress-checklist label {
  border-color: rgba(6, 24, 39, 0.12);
  background: #ffffff;
}

.finding-entry-grid + .finding-entry-grid {
  margin-top: 12px;
}

.repeating-group {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.repeating-group h3 {
  margin: 0;
}

.progress-checklist label {
  min-height: 54px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

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

.report-action-row .button {
  width: 100%;
}

.internal-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.final-report-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.final-report-flow strong {
  display: block;
  margin-bottom: 8px;
}

.final-report-flow span {
  color: #42596d;
  line-height: 1.55;
}

.audit-log-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.audit-log-grid strong {
  display: block;
  margin-top: 8px;
  line-height: 1.35;
}

.progress-report-output {
  display: grid;
  gap: 18px;
}

.progress-report-output h3 {
  margin: 0;
}

.report-status-banner {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(32, 214, 208, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(5, 60, 67, 0.16), rgba(32, 214, 208, 0.08));
}

.report-status-banner span,
.report-status-banner em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.report-status-banner strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.report-output-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.report-output-section p {
  color: var(--muted);
  line-height: 1.6;
}

.report-output-section p:last-child {
  margin-bottom: 0;
}

.report-finding-list {
  display: grid;
  gap: 10px;
}

.report-finding-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 17, 29, 0.42);
}

.report-finding-list strong,
.report-file-list strong {
  display: block;
  color: var(--ink);
}

.report-finding-list span,
.report-file-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.sample-report-body {
  background: #e8f0f4;
}

.sample-report-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 112px clamp(20px, 4vw, 64px) 26px;
  color: #07131f;
}

.sample-report-toolbar h1 {
  max-width: 900px;
  margin: 0 0 12px;
  color: #07131f;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 0.98;
}

.sample-report-toolbar p {
  max-width: 820px;
  color: #42596d;
  font-size: 0.95rem;
  line-height: 1.55;
}

.sample-report-actions {
  min-width: 260px;
  grid-template-columns: 1fr;
}

.sample-report-document {
  max-width: 980px;
  margin: 0 auto 64px;
  color: #07131f;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(14, 45, 63, 0.2);
}

.sample-cover {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 520px;
  padding: clamp(26px, 4vw, 46px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 17, 29, 0.94), rgba(6, 24, 39, 0.86)),
    radial-gradient(circle at 78% 18%, rgba(34, 208, 199, 0.28), transparent 24rem);
}

.sample-cover-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sample-cover-brand img {
  width: 50px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  object-position: left center;
}

.sample-cover-brand strong,
.sample-cover-brand span {
  display: block;
}

.sample-cover-brand strong {
  font-size: 1.18rem;
}

.sample-cover-brand span {
  margin-top: 5px;
  color: #c8d7e4;
  font-size: 0.82rem;
}

.sample-label {
  position: absolute;
  top: 34px;
  right: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(34, 208, 199, 0.45);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(34, 208, 199, 0.1);
}

.sample-cover-status {
  position: absolute;
  top: 82px;
  right: 34px;
  display: grid;
  gap: 4px;
  max-width: 300px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 8px;
  background: rgba(5, 36, 49, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.sample-cover-status span,
.sample-cover-status em {
  color: #9fb4c5;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-cover-status strong {
  color: #ffffff;
  font-size: 1.06rem;
  line-height: 1.2;
}

.sample-cover-status.supported {
  border-color: rgba(32, 214, 208, 0.56);
  background: linear-gradient(135deg, rgba(4, 58, 64, 0.94), rgba(8, 36, 52, 0.92));
}

.sample-cover-title h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 0.98;
}

.sample-cover-title p:last-child {
  max-width: 660px;
  color: #c8d7e4;
  font-size: 0.98rem;
  line-height: 1.5;
}

.sample-cover-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.sample-cover-photo {
  display: grid;
  align-content: end;
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.24), rgba(139, 176, 198, 0.16)),
    rgba(255, 255, 255, 0.08);
}

.sample-cover-photo span,
.sample-cover-photo strong {
  display: block;
}

.sample-cover-photo span {
  color: #a9bdcb;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-cover-photo strong {
  margin-top: 6px;
  color: #ffffff;
  font-size: 1.2rem;
}

.sample-cover-grid,
.sample-summary-grid,
.sample-outcome-grid,
.sample-signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sample-cover-grid div,
.sample-summary-grid div,
.sample-outcome-grid article,
.sample-signature-grid div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
  background: #f7fbff;
}

.sample-cover-grid div {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.progress-cover-grid {
  grid-template-columns: repeat(4, 1fr);
}

.sample-cover-grid .claim-status-card {
  border-color: rgba(32, 214, 208, 0.38);
  background: rgba(4, 58, 64, 0.58);
}

.claim-status-card em {
  display: block;
  margin-top: 4px;
  color: #9fb4c5;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.sample-cover-grid span,
.sample-summary-grid span,
.sample-outcome-grid span,
.sample-signature-grid span,
.sample-checklist-table .heading span,
.sample-action-table .heading span {
  display: block;
  color: #5d7385;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-cover-grid span {
  color: #9fb4c5;
}

.sample-cover-grid strong,
.sample-summary-grid strong,
.sample-outcome-grid strong,
.sample-signature-grid strong {
  display: block;
  margin-top: 7px;
  color: #07131f;
  font-size: 0.92rem;
  line-height: 1.28;
}

.sample-cover-grid strong {
  color: #ffffff;
}

.sample-report-section {
  padding: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid rgba(6, 24, 39, 0.12);
}

.sample-report-section h2 {
  margin: 0 0 16px;
  color: #07131f;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.sample-report-section h3 {
  margin: 0 0 7px;
  color: #07131f;
  font-size: 1rem;
}

.sample-report-section p,
.sample-report-section li {
  color: #42596d;
  font-size: 0.88rem;
  line-height: 1.48;
}

.sample-compact-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.sample-highlight {
  margin-top: 14px;
  padding: 15px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #edf7f8;
}

.sample-highlight p:last-child {
  margin-bottom: 0;
}

.sample-two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sample-two-column > div {
  padding: 16px;
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
  background: #f7fbff;
}

.sample-outcome-grid {
  grid-template-columns: repeat(4, 1fr);
}

.sample-outcome-grid article {
  min-height: 104px;
  border-color: rgba(0, 143, 152, 0.18);
}

.sample-outcome-grid strong {
  font-size: 0.94rem;
}

.sample-checklist-table,
.sample-action-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
}

.sample-checklist-table > div,
.sample-action-table > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) 130px minmax(230px, 1fr) 100px;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(6, 24, 39, 0.1);
  align-items: start;
}

.sample-action-table > div {
  grid-template-columns: minmax(220px, 1fr) 160px 100px minmax(220px, 1fr);
}

.sample-checklist-table > div:last-child,
.sample-action-table > div:last-child {
  border-bottom: 0;
}

.sample-checklist-table .heading,
.sample-action-table .heading {
  background: #edf5f8;
}

.sample-checklist-table strong {
  color: #007681;
}

.sample-checklist-table span,
.sample-action-table span,
.sample-checklist-table em,
.sample-action-table em {
  color: #42596d;
  font-size: 0.86rem;
  line-height: 1.4;
  font-style: normal;
}

.sample-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sample-photo-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
  background: #f7fbff;
}

.sample-photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 118px;
  color: #03111d;
  font-size: 1.55rem;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.34), rgba(139, 176, 198, 0.2)),
    #dceaf0;
}

.sample-photo-placeholder.warning {
  background:
    linear-gradient(135deg, rgba(244, 196, 95, 0.42), rgba(139, 176, 198, 0.2)),
    #edf5f8;
}

.sample-photo-grid figcaption {
  padding: 10px;
  color: #42596d;
  font-size: 0.82rem;
  line-height: 1.35;
}

.sample-finding-list {
  display: grid;
  gap: 10px;
}

.sample-finding-list article {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(6, 24, 39, 0.12);
  border-radius: 8px;
  background: #f7fbff;
}

.sample-finding-list .status-pill {
  float: right;
  color: #03111d;
  background: #f4c45f;
}

.sample-signoff {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 12px;
}

.sample-report-footer-note {
  padding: 18px clamp(20px, 3vw, 34px);
  color: #ffffff;
  background: #03111d;
}

.sample-report-footer-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
}

.sample-report-footer-note p {
  margin: 0;
  color: #c8d7e4;
  font-size: 0.88rem;
  line-height: 1.5;
}

.sample-report-site-footer {
  background: #03111d;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 22px;
  align-items: start;
}

.portal-card,
.report-preview-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
  box-shadow: var(--shadow);
}

.portal-card {
  padding: clamp(24px, 4vw, 36px);
}

.portal-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.portal-card-top p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-pill {
  flex: 0 0 auto;
  padding: 9px 11px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(34, 208, 199, 0.09);
}

.status-pill.active {
  color: #03111d;
  background: linear-gradient(135deg, var(--teal), #7df7ef);
}

.portal-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.portal-meta-grid div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.portal-meta-grid span,
.report-header span {
  display: block;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-meta-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  line-height: 1.25;
}

.status-rail {
  display: grid;
  gap: 12px;
}

.status-rail div {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.status-rail span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.status-rail strong {
  color: var(--ink);
}

.status-rail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-rail .complete span,
.status-rail .active span {
  border-color: rgba(34, 208, 199, 0.58);
  color: var(--teal);
  background: rgba(34, 208, 199, 0.09);
}

.status-rail .active {
  border-color: rgba(34, 208, 199, 0.44);
  background: rgba(34, 208, 199, 0.08);
}

.workflow-dashboard {
  padding-top: 0;
}

.workflow-record-card {
  display: grid;
  gap: 22px;
}

.workflow-meta-grid {
  margin-bottom: 0;
}

.workflow-status-rail {
  margin-top: 4px;
}

.workflow-action-grid,
.workflow-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.workflow-action-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow-action-grid .button {
  width: 100%;
}

.workflow-link-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.workflow-link-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal);
  font-weight: 900;
}

.workflow-link-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.portal-side .button {
  width: 100%;
  margin-top: 18px;
}

.feature-list.compact {
  margin-top: 18px;
}

.package-portal {
  padding-top: 0;
}

.package-meta {
  grid-template-columns: repeat(4, 1fr);
}

.stage-tracker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.stage-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.stage-card div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.stage-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.stage-card strong {
  color: var(--ink);
}

.stage-card p {
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.stage-card small {
  color: var(--muted);
  line-height: 1.5;
}

.stage-card.complete span,
.stage-card.active span {
  border-color: rgba(34, 208, 199, 0.58);
  color: var(--teal);
  background: rgba(34, 208, 199, 0.09);
}

.stage-card.active {
  border-color: rgba(34, 208, 199, 0.48);
  background: rgba(34, 208, 199, 0.08);
}

.portal-note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.portal-note-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.portal-note-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.portal-note-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.role-access-preview {
  padding-top: 0;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.role-grid article {
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.role-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(34, 208, 199, 0.08);
}

.role-grid h3 {
  font-size: 1.25rem;
}

.role-grid p,
.role-grid li {
  color: var(--muted);
  line-height: 1.55;
}

.role-grid strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
}

.role-grid ul {
  margin: 0;
  padding-left: 18px;
}

.permission-grid {
  grid-template-columns: repeat(4, 1fr);
}

.report-preview-section {
  max-width: 1260px;
}

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

.report-preview-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 560px;
  padding: 22px;
}

.report-preview-card .finding-list {
  flex: 1 1 auto;
}

.report-preview-card > .button {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  justify-content: center;
  text-align: center;
}

.report-preview-card.featured {
  border-color: rgba(34, 208, 199, 0.5);
  background:
    linear-gradient(180deg, rgba(34, 208, 199, 0.13), rgba(4, 19, 32, 0.7)),
    rgba(4, 19, 32, 0.62);
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.report-header strong {
  color: var(--ink);
  text-align: right;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: repeat(2, 104px);
  gap: 10px;
  margin-bottom: 18px;
}

.photo-strip span {
  border: 1px solid rgba(34, 208, 199, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 208, 199, 0.24), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.photo-strip span:first-child {
  grid-row: span 2;
}

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

.finding-list div {
  position: relative;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.finding-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.finding-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-dot {
  position: absolute;
  top: 17px;
  left: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}

.status-dot.watch {
  background: var(--alert);
}

.status-dot.alert {
  background: #ff7a6f;
}

.status-dot.next {
  background: var(--steel);
}

.summary-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.summary-list strong {
  color: var(--ink);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(34, 208, 199, 0.12);
  font-size: 1.12rem;
  font-weight: 900;
}

.summary-error {
  padding: 16px;
  border: 1px solid rgba(244, 196, 95, 0.42);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(244, 196, 95, 0.14);
  line-height: 1.55;
}

.summary-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-note-small {
  max-width: 820px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.summary-actions {
  display: grid;
  gap: 10px;
}

.summary-actions .button {
  width: 100%;
}

.calculator-card select,
.calculator-card input[type="number"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(3, 17, 29, 0.74);
  font: inherit;
}

.calculator-result strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

:root[data-theme="light"] .calculator-card,
:root[data-theme="light"] .calculator-result,
:root[data-theme="light"] .buy-now-form,
:root[data-theme="light"] .buy-now-rules-panel,
:root[data-theme="light"] .buy-now-helper,
:root[data-theme="light"] .price-summary,
:root[data-theme="light"] .welcome-offer-modal,
:root[data-theme="light"] .welcome-offer-form,
:root[data-theme="light"] .portal-card,
:root[data-theme="light"] .report-preview-card,
:root[data-theme="light"] .workflow-link-grid article,
:root[data-theme="light"] .ai-card-grid article,
:root[data-theme="light"] .approval-grid article,
:root[data-theme="light"] .assistant-panel,
:root[data-theme="light"] .approval-table div,
:root[data-theme="light"] .toolkit-flow article,
:root[data-theme="light"] .template-product-grid article,
:root[data-theme="light"] .template-preview-grid article {
  background: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .portal-meta-grid div,
:root[data-theme="light"] .status-rail div,
:root[data-theme="light"] .stage-card,
:root[data-theme="light"] .portal-note-grid div,
:root[data-theme="light"] .finding-entry-grid,
:root[data-theme="light"] .progress-checklist label,
:root[data-theme="light"] .report-output-section,
:root[data-theme="light"] .report-finding-list div,
:root[data-theme="light"] .finding-list div,
:root[data-theme="light"] .photo-strip span {
  background: rgba(255, 255, 255, 0.58);
}

:root[data-theme="light"] .calculator-card select,
:root[data-theme="light"] .calculator-card input[type="number"],
:root[data-theme="light"] .buy-now-form input,
:root[data-theme="light"] .buy-now-form select,
:root[data-theme="light"] .buy-now-form textarea,
:root[data-theme="light"] .welcome-offer-form input,
:root[data-theme="light"] .welcome-offer-form select {
  border-color: rgba(6, 24, 39, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

:root[data-theme="light"] .checkbox-grid label {
  border-color: rgba(6, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

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

.consent-actions {
  display: flex;
  justify-content: flex-start;
  max-width: 920px;
  margin-top: 14px;
  padding-left: 28px;
}

.consent-actions .button {
  min-height: 42px;
  width: min(100%, 380px);
}

.consent-check-button {
  justify-self: start;
  min-height: 32px;
  width: auto;
  padding: 0 12px;
  border-color: rgba(34, 208, 199, 0.72);
  color: #03111d;
  font-size: 0.78rem;
  background: linear-gradient(135deg, var(--teal), #7df7ef);
  box-shadow: 0 10px 28px rgba(34, 208, 199, 0.2);
}

.consent-check-button:hover,
.consent-check-button:focus-visible {
  border-color: #7df7ef;
  transform: translateY(-1px);
}

.check-list label {
  display: flex;
  align-items: start;
  gap: 10px;
  max-width: 920px;
  line-height: 1.55;
}

.check-list label span {
  display: block;
  min-width: 0;
}

.check-list input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 4px;
}

.check-list label a {
  display: inline;
  white-space: normal;
}

.form-submit {
  width: min(100%, 360px);
  border: 0;
  cursor: pointer;
}

.form-status {
  white-space: pre-line;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(34, 208, 199, 0.42);
  border-radius: 8px;
  color: #041a18;
  font-weight: 800;
  line-height: 1.55;
  background: rgba(34, 208, 199, 0.86);
}

.welcome-offer-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 38px);
  padding-top: max(18px, env(safe-area-inset-top));
  background: rgba(3, 17, 29, 0.74);
  backdrop-filter: blur(10px);
}

.welcome-offer-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(18px, 3vw, 34px);
  width: min(1040px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(34, 208, 199, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 24, 39, 0.96), rgba(11, 36, 56, 0.94)),
    var(--navy-900);
  box-shadow: var(--shadow);
}

.welcome-offer-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 10001;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(34, 208, 199, 0.38);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(34, 208, 199, 0.08);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.welcome-offer-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-right: 10px;
}

.welcome-offer-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  line-height: 0.98;
}

.welcome-offer-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.welcome-offer-subheading {
  color: var(--ink) !important;
  font-size: 1.03rem;
  font-weight: 800;
}

.welcome-offer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.welcome-offer-services span {
  padding: 8px 10px;
  border: 1px solid rgba(34, 208, 199, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(34, 208, 199, 0.08);
  font-size: 0.76rem;
  font-weight: 850;
}

.welcome-offer-form {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 17, 29, 0.54);
}

.welcome-offer-form .button {
  width: 100%;
}

.welcome-offer-consent {
  gap: 10px;
}

.welcome-offer-terms {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.welcome-offer-status {
  font-size: 0.9rem;
}

.quote-section h2 {
  font-size: 3.3rem;
}

.quote-section .quote-remark {
  margin: 4px 0 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1.05;
}

.quote-section p {
  max-width: 670px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 17, 29, 0.72);
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-policy-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-policy-links a:hover,
.footer-policy-links a:focus-visible,
.check-list a {
  color: var(--teal);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 156px clamp(20px, 5vw, 76px) 82px;
  background:
    linear-gradient(110deg, rgba(3, 17, 29, 0.98), rgba(6, 24, 39, 0.86) 52%, rgba(6, 24, 39, 0.38)),
    url("assets/safeops-hero-crop.png") center right/cover;
}

:root[data-theme="light"] .page-hero {
  background:
    linear-gradient(110deg, rgba(248, 251, 253, 0.98), rgba(237, 245, 248, 0.88) 52%, rgba(237, 245, 248, 0.42)),
    url("assets/safeops-hero-crop.png") center right/cover;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(34, 208, 199, 0.12) 58.2% 58.5%, transparent 58.8%),
    radial-gradient(circle at 84% 20%, rgba(34, 208, 199, 0.18), transparent 24rem);
  pointer-events: none;
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-hero h1 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: 5.2rem;
}

.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.68;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail-list article,
.notice-card,
.pathway-page-grid article,
.value-stack article,
.framework-cards article,
.resource-grid article,
.partner-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.service-detail-list article {
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.7fr) minmax(250px, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px;
}

.service-detail-list article > .button {
  grid-column: 4;
  justify-self: stretch;
  align-self: center;
  min-width: 180px;
  min-height: 46px;
  padding: 12px 16px;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.service-detail-list article > span {
  color: var(--teal);
  font-weight: 900;
}

.service-detail-list h2,
.pathway-page-grid h2,
.value-stack strong,
.framework-cards h2,
.resource-grid h2,
.partner-grid h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.service-detail-list p,
.service-detail-list li,
.notice-card p,
.about-grid p,
.value-stack span,
.framework-cards p,
.resource-grid p,
.partner-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.service-detail-list ul {
  margin: 0;
  padding-left: 18px;
}

.compact-quote {
  margin-top: 0;
}

.pricing-table-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}

.service-pricing-section,
.ivra-pricing-section {
  grid-template-columns: 1fr;
}

.ivra-pricing-section .section-heading {
  max-width: 760px;
}

.pricing-note-strip {
  display: grid;
  gap: 18px;
}

.compact-heading {
  max-width: 760px;
}

.pricing-note-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pricing-note-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.pricing-note-grid h3 {
  margin: 0 0 8px;
}

.pricing-note-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
}

.pricing-row:last-child {
  border-bottom: 0;
}

.pricing-row.heading {
  color: var(--ink);
  font-weight: 900;
  background: rgba(34, 208, 199, 0.1);
}

.pricing-row strong {
  color: var(--ink);
}

.pathway-links a {
  color: var(--teal);
  font-weight: 900;
}

.pathway-links a:hover,
.pathway-links a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notice-card {
  align-self: start;
  padding: 24px;
  border-color: rgba(34, 208, 199, 0.32);
}

.pathway-page-grid,
.framework-cards,
.resource-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-visual-snapshot {
  display: flex;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.service-visual-snapshot figure {
  width: min(100%, 620px);
  margin: 0;
}

.service-visual-link {
  display: block;
  border-radius: 14px;
  cursor: pointer;
}

.service-visual-link:focus-visible {
  outline: 3px solid rgba(34, 208, 199, 0.62);
  outline-offset: 5px;
}

.service-visual-snapshot img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 14px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-visual-link:hover img,
.service-visual-link:focus-visible img {
  border-color: rgba(34, 208, 199, 0.72);
  box-shadow: 0 26px 78px rgba(34, 208, 199, 0.2);
  transform: translateY(-2px);
}

.resource-grid.platform-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-grid.platform-preview-grid article {
  min-height: 235px;
  padding: 22px;
}

.resource-grid.landing-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-grid.landing-info-grid article {
  min-height: 230px;
  padding: 24px;
}

.resource-grid.landing-info-grid h2 {
  font-size: 1.2rem;
}

.calculator-tool-grid {
  grid-template-columns: repeat(4, 1fr);
}

.capability-grid {
  grid-template-columns: repeat(3, 1fr);
}

.resource-feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-area-grid {
  grid-template-columns: repeat(3, 1fr);
}

.toolkit-flow,
.template-product-grid,
.template-preview-grid {
  display: grid;
  gap: 16px;
}

.toolkit-flow {
  grid-template-columns: repeat(3, 1fr);
}

.toolkit-flow article,
.template-product-grid article,
.template-preview-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.toolkit-flow article {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.toolkit-flow span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(34, 208, 199, 0.36);
  border-radius: 999px;
  color: var(--teal);
  font-weight: 900;
  background: rgba(34, 208, 199, 0.08);
}

.toolkit-flow strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.toolkit-flow p {
  color: var(--muted);
  line-height: 1.58;
}

.template-product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.template-product-grid article {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 24px;
}

.template-product-grid article > span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 208, 199, 0.34);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(34, 208, 199, 0.08);
}

.template-product-grid h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.template-product-grid p,
.template-product-grid li,
.template-preview-grid li,
.template-preview-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.template-product-grid ul,
.template-preview-grid ul {
  margin: 0 0 18px;
  padding-left: 18px;
}

.template-product-grid .text-link {
  margin-top: auto;
  margin-bottom: 14px;
}

.template-product-grid .button {
  width: 100%;
}

.template-preview-grid {
  grid-template-columns: repeat(2, 1fr);
}

.template-preview-grid article {
  padding: 26px;
}

.template-preview-grid h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.template-upgrade {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(34, 208, 199, 0.28);
  border-radius: 8px;
  background: rgba(34, 208, 199, 0.08);
}

.pathway-page-grid article,
.resource-grid article,
.partner-grid article {
  min-height: 230px;
  padding: 26px;
}

.partner-feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.partner-feature {
  border-color: rgba(34, 208, 199, 0.28);
}

.partner-feature > span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 208, 199, 0.35);
  border-radius: 6px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  align-items: start;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.ai-card-grid,
.approval-grid,
.approval-table {
  display: grid;
  gap: 16px;
}

.ai-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ai-card-grid article,
.approval-grid article,
.assistant-panel,
.approval-table div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.ai-card-grid article,
.approval-grid article {
  padding: 22px;
}

.ai-card-grid span,
.assistant-header span,
.assistant-checklist span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-card-grid h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.ai-card-grid p,
.approval-grid span,
.approval-table span,
.assistant-checklist li,
.ai-message p {
  color: var(--muted);
  line-height: 1.58;
}

.assistant-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border-color: rgba(34, 208, 199, 0.32);
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.assistant-header strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.ai-message {
  padding: 16px;
  border-radius: 8px;
}

.ai-message.user {
  background: rgba(255, 255, 255, 0.06);
}

.ai-message.bot {
  border: 1px solid rgba(34, 208, 199, 0.3);
  background: rgba(34, 208, 199, 0.09);
}

.ai-message strong {
  display: block;
  margin-bottom: 8px;
}

.assistant-checklist {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.assistant-checklist ul {
  margin: 0;
  padding-left: 18px;
}

.approval-grid {
  grid-template-columns: repeat(3, 1fr);
}

.approval-grid article {
  min-height: 158px;
}

.approval-grid strong,
.approval-table strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.human-approval {
  background: rgba(6, 24, 39, 0.54);
}

.approval-table {
  grid-template-columns: repeat(2, 1fr);
}

.approval-table div {
  padding: 20px;
  border-left: 4px solid var(--teal);
}

.ai-rules .rule-grid article {
  min-height: 132px;
}

.partner-feature ul {
  margin: 20px 0 0;
  padding-left: 18px;
}

.partner-feature li {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.partner-note {
  padding-top: 0;
}

.partner-note article {
  padding: 28px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.055);
}

.partner-note p {
  color: var(--muted);
  line-height: 1.65;
}

.partner-note .button {
  margin-top: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.about-grid.mission-grid {
  align-items: center;
}

.value-stack {
  display: grid;
  gap: 14px;
}

.value-stack article {
  padding: 20px;
  border-left: 3px solid var(--teal);
}

.value-stack strong,
.value-stack span {
  display: block;
}

.framework-cards {
  grid-template-columns: repeat(4, 1fr);
  padding-top: 0;
}

.framework-cards > .section-heading {
  grid-column: 1 / -1;
}

.ivra-heading {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 620px;
  margin-bottom: 26px;
  text-align: center;
}

.ivra-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.ivra-bubbles {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.ivra-bubbles span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0;
  border: 2px solid rgba(34, 208, 199, 0.42);
  border-radius: 50%;
  color: var(--teal);
  background: rgba(34, 208, 199, 0.08);
  font-size: 1.3rem;
  font-weight: 900;
}

.framework-cards article {
  min-height: 250px;
  padding: 26px;
}

.framework-cards span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 32px;
  border: 1px solid rgba(34, 208, 199, 0.42);
  border-radius: 50%;
  color: var(--teal);
  font-weight: 900;
  background: rgba(34, 208, 199, 0.08);
}

.contact-page-form {
  margin-top: 90px;
}

.policy-content {
  max-width: 980px;
}

.policy-content article {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 19, 32, 0.62);
}

.policy-content h2 {
  margin-bottom: 24px;
  font-size: 2.25rem;
}

.policy-content h3 {
  margin: 28px 0 12px;
  color: var(--ink);
  font-size: 1.1rem;
}

.policy-content p {
  color: var(--muted);
  line-height: 1.72;
}

.policy-content ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.policy-content .policy-note {
  color: var(--ink);
  font-weight: 800;
}

:root[data-theme="light"] .price-card.featured {
  border-color: rgba(0, 143, 152, 0.34);
  background:
    linear-gradient(180deg, rgba(0, 143, 152, 0.1), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .guide-grid article {
  background:
    linear-gradient(180deg, rgba(0, 143, 152, 0.1), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .guide-grid article:nth-child(3n + 2) {
  border-color: rgba(57, 114, 188, 0.24);
  background:
    linear-gradient(180deg, rgba(80, 140, 210, 0.1), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .guide-grid article:nth-child(3n + 3) {
  border-color: rgba(47, 142, 86, 0.24);
  background:
    linear-gradient(180deg, rgba(74, 177, 110, 0.1), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .main-request-form details,
:root[data-theme="light"] .feature-list div,
:root[data-theme="light"] .pathway-grid article,
:root[data-theme="light"] .next-step-strip article,
:root[data-theme="light"] .service-difference-grid article,
:root[data-theme="light"] .difference-rule,
:root[data-theme="light"] .rule-grid span,
:root[data-theme="light"] .rule-grid article,
:root[data-theme="light"] .industry-tags span,
:root[data-theme="light"] .contact-lines a,
:root[data-theme="light"] .contact-lines span {
  border-color: rgba(6, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

:root[data-theme="light"] .site-footer {
  background: rgba(248, 251, 253, 0.82);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr 92px 118px 88px 82px 84px;
    gap: 14px;
  }

  .brand {
    grid-column: 1 / 2;
    min-width: 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: thin;
  }

  .nav-cta,
  .cart-link,
  .theme-toggle {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .site-nav a {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
  }

  .hero-grid,
  .intro,
  .split,
  .industries,
  .audiences,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .proof-strip,
  .service-grid,
  .service-grid.pyramid-3-2,
  .service-grid.four-card-row,
  .process-grid,
  .next-step-strip,
  .service-snapshot-grid,
  .choice-map-grid,
  .portfolio-mini-grid,
  .service-difference-grid,
  .pricing-grid,
  .pricing-grid.pyramid-4-3,
  .home-report-grid,
  .media-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid.pyramid-3-2 > .service-card,
  .service-grid.pyramid-3-2 > .service-card:nth-child(4),
  .service-grid.pyramid-3-2 > .service-card:nth-child(5),
  .pricing-grid.pyramid-4-3 > .price-card,
  .pricing-grid.pyramid-4-3 > .price-card:nth-child(5),
  .pricing-grid.pyramid-4-3 > .price-card:nth-child(6),
  .pricing-grid.pyramid-4-3 > .price-card:nth-child(7) {
    grid-column: auto;
  }

  .pathway-grid,
  .faq-grid,
  .pricing-table-section,
  .pricing-note-grid,
  .about-grid,
  .calculator-layout,
  .buy-now-layout,
  .buy-now-workspace,
  .internal-report-shell,
  .progress-report-layout,
  .portal-layout,
  .ai-layout,
  .allocation-control-grid,
  .partner-commission-preview,
  .commission-dashboard,
  .auto-schedule-overview,
  .daily-run-board,
  .auto-recommendation-card {
    grid-template-columns: 1fr;
  }

  .assistant-panel {
    position: static;
  }

  .price-summary {
    position: static;
  }

  .welcome-offer-modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .internal-report-panel,
  .internal-report-summary {
    position: static;
  }

  .internal-report-panel {
    max-height: none;
    overflow-y: visible;
  }

  .report-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-checklist-row,
  .audit-log-grid,
  .final-report-flow,
  .sample-report-toolbar,
  .sample-cover-main,
  .sample-two-column,
  .sample-outcome-grid,
  .sample-photo-grid,
  .sample-signoff {
    grid-template-columns: 1fr;
  }

  .sample-cover-grid,
  .sample-cover-main,
  .sample-summary-grid,
  .sample-signature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .progress-cover-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-checklist-table > div,
  .sample-action-table > div {
    grid-template-columns: 1fr;
  }

  .buy-now-rules-panel,
  .buy-now-sidebar {
    position: static;
  }

  .buy-now-rules-panel {
    max-height: 430px;
  }

  .buy-now-rules-scroll {
    max-height: inherit;
  }

  .buy-now-details-section .buy-now-rules-scroll {
    grid-template-columns: 1fr;
  }

  .buy-now-sidebar [data-buy-now-helper] {
    max-height: none;
    overflow-x: visible;
    overflow-y: visible;
  }

  .service-detail-list article {
    grid-template-columns: 54px 1fr;
  }

  .service-detail-list article p,
  .service-detail-list article ul,
  .service-detail-list article .button {
    grid-column: 2;
  }

  .pathway-page-grid,
  .framework-cards,
  .resource-grid,
  .resource-feature-grid,
  .calculator-tool-grid,
  .capability-grid,
  .service-area-grid,
  .template-product-grid,
  .template-preview-grid,
  .toolkit-flow,
  .role-grid,
  .partner-grid,
  .guide-grid,
  .report-preview-grid,
  .ai-card-grid,
  .approval-grid,
  .approval-table,
  .workflow-link-grid,
  .workflow-action-grid,
  .commission-kpi-grid,
  .ops-workflow-strip,
  .ops-filter-bar,
  .ops-metric-grid,
  .ops-production-grid,
  .ops-schedule-grid,
  .ops-permission-grid,
  .portal-build-state,
  .portal-role-grid,
  .safety-card-grid,
  .duration-grid,
  .allocation-snapshot-grid,
  .allocation-rule-grid,
  .allocation-audit-grid,
  .vault-requirement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stage-tracker,
  .portal-note-grid,
  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rule-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-section {
    margin-right: 20px;
    margin-left: 20px;
  }

  h1 {
    font-size: 4.4rem;
  }

  .page-hero h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .quote-section h2 {
    font-size: 2.8rem;
  }

  .commission-row,
  .commission-row.heading {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(220px, 280px) minmax(250px, 1fr) 82px 104px 76px 66px 70px;
    gap: 8px;
    min-height: 82px;
    padding: 12px clamp(18px, 2.4vw, 40px);
  }

  .brand {
    grid-column: auto;
    width: min(280px, 100%);
  }

  .brand img {
    width: 48px;
    height: 54px;
  }

  .brand strong {
    font-size: 1.14rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .site-nav {
    grid-column: auto;
    justify-content: center;
    gap: 6px;
    overflow: visible;
    padding: 0;
    font-size: 0.84rem;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 6px;
    border-color: transparent;
    background: transparent;
  }

  .nav-cta,
  .cart-link,
  .theme-toggle {
    min-height: 42px;
    padding: 0 6px;
    font-size: 0.74rem;
  }

  .cart-link strong {
    min-width: 18px;
    height: 18px;
    font-size: 0.68rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 72px;
    padding: 14px 18px;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .welcome-offer-overlay {
    align-items: start;
    overflow: auto;
    padding: calc(14px + env(safe-area-inset-top)) 10px 14px;
  }

  .welcome-offer-modal {
    width: 100%;
    max-height: none;
    min-height: auto;
    overflow: visible;
    padding: 10px 16px 18px;
  }

  .welcome-offer-copy h2 {
    font-size: 2rem;
  }

  .welcome-offer-close {
    top: calc(10px + env(safe-area-inset-top));
    right: calc(10px + env(safe-area-inset-right));
    min-height: 42px;
    margin-left: auto;
    margin-bottom: 8px;
    background: rgba(3, 17, 29, 0.94);
  }

  .nav-cta,
  .theme-toggle,
  .cart-link {
    min-height: 44px;
    min-width: 0;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 36px;
    height: 40px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .hero {
    padding: 72px 18px 58px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero h1 {
    font-size: 3.1rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.35rem;
  }

  .quote-section h2 {
    font-size: 2.25rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-strip {
    margin: 0 18px;
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 18px;
  }

  .service-grid,
  .service-grid.pyramid-3-2,
  .service-grid.four-card-row,
  .process-grid,
  .next-step-strip,
  .service-snapshot-grid,
  .choice-map-grid,
  .portfolio-mini-grid,
  .service-difference-grid,
  .rule-grid,
  .metric-grid,
  .pricing-grid,
  .pricing-grid.pyramid-4-3,
  .home-report-grid,
  .pricing-note-grid,
  .pathway-grid,
  .media-band,
  .faq-grid,
  .pathway-page-grid,
  .framework-cards,
  .resource-grid,
  .resource-feature-grid,
  .calculator-tool-grid,
  .capability-grid,
  .service-area-grid,
  .template-product-grid,
  .template-preview-grid,
  .toolkit-flow,
  .role-grid,
  .partner-grid,
  .guide-grid,
  .report-preview-grid,
  .ai-card-grid,
  .approval-grid,
  .approval-table,
  .workflow-link-grid,
  .workflow-action-grid,
  .commission-dashboard,
  .commission-kpi-grid,
  .ops-workflow-strip,
  .ops-filter-bar,
  .ops-metric-grid,
  .ops-production-grid,
  .ops-schedule-grid,
  .ops-permission-grid,
  .portal-build-state,
  .portal-role-grid,
  .safety-card-grid,
  .duration-grid,
  .auto-control-list,
  .allocation-control-grid,
  .partner-commission-preview,
  .allocation-snapshot-grid,
  .allocation-rule-grid,
  .allocation-audit-grid,
  .vault-requirement-grid,
  .portal-meta-grid,
  .finding-entry-grid,
  .report-action-row,
  .internal-actions,
  .stage-checklist-row,
  .audit-log-grid,
  .final-report-flow,
  .sample-cover-grid,
  .progress-cover-grid,
  .sample-summary-grid,
  .sample-signature-grid,
  .sample-two-column,
  .sample-outcome-grid,
  .sample-photo-grid,
  .sample-signoff {
    grid-template-columns: 1fr;
  }

  .portal-permission-row,
  .portal-permission-row.heading {
    grid-template-columns: 1fr;
  }

  .portal-permission-row.heading {
    display: none;
  }

  .portal-permission-row > * {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .portal-permission-row > *:last-child {
    border-bottom: 0;
  }

  .sample-report-toolbar {
    padding-top: 36px;
    grid-template-columns: 1fr;
  }

  .sample-cover {
    min-height: 620px;
    padding: 28px;
  }

  .sample-label {
    position: static;
    justify-self: start;
  }

  .sample-cover-status {
    position: static;
    max-width: none;
    justify-self: stretch;
  }

  .sample-checklist-table > div,
  .sample-action-table > div {
    grid-template-columns: 1fr;
  }

  .stage-tracker,
  .portal-note-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .portal-card-top,
  .report-header {
    display: grid;
  }

  .report-header strong {
    text-align: left;
  }

  .status-rail div {
    grid-template-columns: 42px 1fr;
  }

  .status-rail p {
    grid-column: 2;
  }

  .page-hero {
    min-height: 440px;
    padding: 86px 18px 56px;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }

  .pricing-row,
  .pricing-row.heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pricing-row.heading {
    display: none;
  }

  .commission-row {
    grid-template-columns: 1fr;
  }

  .commission-row.heading {
    display: none;
  }

  .service-detail-list article {
    grid-template-columns: 1fr;
  }

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

  .span-two {
    grid-column: auto;
  }

  .service-detail-list article p,
  .service-detail-list article ul,
  .service-detail-list article .button {
    grid-column: auto;
  }

  .media-band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .media-band article,
  .media-band img {
    min-height: 300px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card .card-actions {
    flex-wrap: wrap;
  }

  .service-card .card-actions a {
    flex: 0 1 auto;
  }

  .chart-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    scrollbar-width: thin;
    scrollbar-color: var(--teal) rgba(255, 255, 255, 0.12);
  }

  body::-webkit-scrollbar,
  .site-nav::-webkit-scrollbar,
  .buy-now-rules-scroll::-webkit-scrollbar,
  [class*="scroll"]::-webkit-scrollbar {
    width: 9px;
    height: 9px;
  }

  body::-webkit-scrollbar-track,
  .site-nav::-webkit-scrollbar-track,
  .buy-now-rules-scroll::-webkit-scrollbar-track,
  [class*="scroll"]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
  }

  body::-webkit-scrollbar-thumb,
  .site-nav::-webkit-scrollbar-thumb,
  .buy-now-rules-scroll::-webkit-scrollbar-thumb,
  [class*="scroll"]::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 999px;
  }

  #framework.split,
  .split,
  .resource-grid,
  .resource-grid.platform-preview-grid,
  .resource-grid.landing-info-grid,
  .pathway-page-grid,
  .framework-cards,
  .partner-grid,
  .guide-grid,
  .service-grid,
  .service-grid.four-card-row,
  .service-grid.pyramid-3-2,
  .pricing-grid,
  .pricing-grid.pyramid-4-3,
  .home-report-grid,
  .platform-preview-grid,
  .service-snapshot-grid,
  .choice-map-grid,
  .portfolio-mini-grid,
  .service-difference-grid {
    grid-template-columns: 1fr !important;
  }

  #framework.split {
    gap: 24px;
  }

  #framework .flyer-frame,
  #framework .flyer-card,
  #framework img {
    width: 100%;
    max-width: 100%;
  }

  #framework .flyer-frame img,
  #framework .flyer-card img {
    display: block;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .resource-grid.landing-info-grid article,
  .resource-grid.platform-preview-grid article,
  .pathway-page-grid article {
    min-height: auto;
    padding: 22px;
  }

  .resource-grid.landing-info-grid h2 {
    font-size: 1.35rem;
    font-weight: 900;
  }

  .resource-grid.landing-info-grid h2::before {
    content: "â€œ";
  }

  .resource-grid.landing-info-grid h2::after {
    content: "â€";
  }

  .contact-lines {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-lines a,
  .contact-lines span {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
  }

  .section-kicker,
  .service-band-header .section-kicker {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .section-kicker span:last-child,
  .service-band-header span:last-child {
    justify-self: start;
  }
}

@media print {
  body.sample-report-body {
    background: #ffffff;
  }

  .sample-report-nav,
  .sample-report-toolbar,
  .sample-report-site-footer {
    display: none;
  }

  .sample-report-document {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
  }

  .sample-cover {
    min-height: 100vh;
    break-after: page;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sample-report-section {
    break-inside: avoid;
    padding: 24px 28px;
  }

  .sample-photo-placeholder,
  .sample-highlight,
  .sample-report-footer-note {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sample-checklist-table > div,
  .sample-action-table > div {
    break-inside: avoid;
  }
}

@media (min-width: 981px) {
  body .site-header {
    grid-template-columns: minmax(300px, 370px) minmax(320px, 1fr) 96px 122px 86px 72px 64px;
  }
}

:root[data-theme="light"] {
  --muted: #263b4c;
  --dim: #526a7d;
  --line: rgba(6, 24, 39, 0.18);
}

:root[data-theme="light"] .hero-bg {
  opacity: 0.28;
}

:root[data-theme="light"] .page-hero::after {
  opacity: 0.55;
}

:root[data-theme="light"] .hero,
:root[data-theme="light"] .page-hero,
:root[data-theme="light"] .section {
  color: #07131f;
}

:root[data-theme="light"] .hero-lede,
:root[data-theme="light"] .page-hero p:last-child,
:root[data-theme="light"] .section p,
:root[data-theme="light"] .section li,
:root[data-theme="light"] .summary-note,
:root[data-theme="light"] .field-note,
:root[data-theme="light"] .calculator-note,
:root[data-theme="light"] .portal-card-top p,
:root[data-theme="light"] .report-output-section p,
:root[data-theme="light"] .sample-report-section p,
:root[data-theme="light"] .sample-report-section li {
  color: #263b4c;
}

:root[data-theme="light"] .hero-panel,
:root[data-theme="light"] .metric-grid article,
:root[data-theme="light"] .chart-card,
:root[data-theme="light"] .service-card,
:root[data-theme="light"] .process-grid article,
:root[data-theme="light"] .price-card,
:root[data-theme="light"] .faq-grid details,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .main-request-form fieldset,
:root[data-theme="light"] .form-intro,
:root[data-theme="light"] .policy-content article,
:root[data-theme="light"] .pricing-table,
:root[data-theme="light"] .notice-card,
:root[data-theme="light"] .pathway-page-grid article,
:root[data-theme="light"] .value-stack article,
:root[data-theme="light"] .framework-cards article,
:root[data-theme="light"] .resource-grid article,
:root[data-theme="light"] .role-grid article,
:root[data-theme="light"] .partner-grid article,
:root[data-theme="light"] .guide-grid article,
:root[data-theme="light"] .pricing-note-grid article,
:root[data-theme="light"] .service-detail-list article,
:root[data-theme="light"] .calculator-card,
:root[data-theme="light"] .calculator-result,
:root[data-theme="light"] .buy-now-form,
:root[data-theme="light"] .buy-now-rules-panel,
:root[data-theme="light"] .buy-now-helper,
:root[data-theme="light"] .price-summary,
:root[data-theme="light"] .portal-card,
:root[data-theme="light"] .report-preview-card,
:root[data-theme="light"] .workflow-link-grid article,
:root[data-theme="light"] .ai-card-grid article,
:root[data-theme="light"] .approval-grid article,
:root[data-theme="light"] .assistant-panel,
:root[data-theme="light"] .toolkit-flow article,
:root[data-theme="light"] .template-product-grid article,
:root[data-theme="light"] .template-preview-grid article,
:root[data-theme="light"] .ops-stage-note article,
:root[data-theme="light"] .ops-dashboard-section,
:root[data-theme="light"] .ops-status-section,
:root[data-theme="light"] .ops-workflow-strip article,
:root[data-theme="light"] .portal-build-state article,
:root[data-theme="light"] .portal-role-grid article,
:root[data-theme="light"] .portal-permission-matrix,
:root[data-theme="light"] .safety-rule-panel article,
:root[data-theme="light"] .safety-card-grid article,
:root[data-theme="light"] .auto-schedule-overview article,
:root[data-theme="light"] .daily-run-summary,
:root[data-theme="light"] .daily-run-list div,
:root[data-theme="light"] .duration-grid article,
:root[data-theme="light"] .auto-recommendation-card,
:root[data-theme="light"] .allocation-snapshot-grid article,
:root[data-theme="light"] .allocation-rule-grid span,
:root[data-theme="light"] .allocation-audit-grid span,
:root[data-theme="light"] .vault-requirement-grid article,
:root[data-theme="light"] .allocation-lead-card,
:root[data-theme="light"] .allocation-status-card,
:root[data-theme="light"] .commission-cycle-card,
:root[data-theme="light"] .commission-total-card,
:root[data-theme="light"] .commission-kpi-grid article,
:root[data-theme="light"] .commission-table,
:root[data-theme="light"] .commission-snapshot-card,
:root[data-theme="light"] .snapshot-kpis article,
:root[data-theme="light"] .snapshot-register {
  border-color: rgba(6, 24, 39, 0.16);
  color: #07131f;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 18px 46px rgba(14, 45, 63, 0.11);
}

:root[data-theme="light"] .portal-meta-grid div,
:root[data-theme="light"] .status-rail div,
:root[data-theme="light"] .stage-card,
:root[data-theme="light"] .portal-note-grid div,
:root[data-theme="light"] .finding-entry-grid,
:root[data-theme="light"] .progress-checklist label,
:root[data-theme="light"] .report-output-section,
:root[data-theme="light"] .report-finding-list div,
:root[data-theme="light"] .finding-list div,
:root[data-theme="light"] .photo-strip span,
:root[data-theme="light"] .feature-list div,
:root[data-theme="light"] .pathway-grid article,
:root[data-theme="light"] .next-step-strip article,
:root[data-theme="light"] .service-difference-grid article,
:root[data-theme="light"] .difference-rule,
:root[data-theme="light"] .rule-grid span,
:root[data-theme="light"] .rule-grid article,
:root[data-theme="light"] .industry-tags span,
:root[data-theme="light"] .contact-lines a,
:root[data-theme="light"] .contact-lines span,
:root[data-theme="light"] .checkbox-grid label,
:root[data-theme="light"] .ops-metric-grid article,
:root[data-theme="light"] .ops-production-grid article,
:root[data-theme="light"] .ops-schedule-grid article,
:root[data-theme="light"] .ops-permission-grid article,
:root[data-theme="light"] .auto-control-list span {
  border-color: rgba(6, 24, 39, 0.14);
  color: #07131f;
  background: rgba(248, 251, 253, 0.92) !important;
}

:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea {
  border-color: rgba(6, 24, 39, 0.2) !important;
  color: #07131f !important;
  background: #ffffff !important;
}

:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder {
  color: #667d91;
}

:root[data-theme="light"] .button.secondary,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .cart-link,
:root[data-theme="light"] .nav-cta,
:root[data-theme="light"] .text-link,
:root[data-theme="light"] .route-list a {
  border-color: rgba(0, 143, 152, 0.32);
  color: #006f78;
  background: rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .site-footer {
  border-top-color: rgba(6, 24, 39, 0.14);
  color: #263b4c;
  background: rgba(248, 251, 253, 0.95);
}

:root[data-theme="light"] .buy-now-sidebar [data-buy-now-helper] {
  scrollbar-color: rgba(0, 143, 152, 0.5) rgba(6, 24, 39, 0.08);
}

:root[data-theme="light"] .buy-now-rules-scroll {
  scrollbar-color: rgba(0, 143, 152, 0.5) rgba(6, 24, 39, 0.08);
}

:root[data-theme="light"] .buy-now-rules-scroll::-webkit-scrollbar-track {
  background: rgba(6, 24, 39, 0.08);
}

:root[data-theme="light"] .buy-now-rules-scroll::-webkit-scrollbar-thumb {
  border-color: rgba(255, 255, 255, 0.94);
  background: rgba(0, 143, 152, 0.5);
}

:root[data-theme="light"] .buy-now-sidebar [data-buy-now-helper]::-webkit-scrollbar-track {
  background: rgba(6, 24, 39, 0.08);
}

:root[data-theme="light"] .buy-now-sidebar [data-buy-now-helper]::-webkit-scrollbar-thumb {
  border-color: rgba(255, 255, 255, 0.94);
  background: rgba(0, 143, 152, 0.5);
}

.check-list label {
  color: var(--muted);
  font-weight: 560;
  line-height: 1.58;
}

.check-list label a {
  font-weight: 800;
}

:root[data-theme="light"] .check-list label {
  color: #24394b;
}

/* Final contrast guardrails for SafeOps Group dark and light modes. */
:root {
  --muted: #c8d7e4;
  --dim: #9ab0c3;
  --line: rgba(255, 255, 255, 0.18);
}

.hero-panel,
.metric-grid article,
.chart-card,
.service-card,
.process-grid article,
.price-card,
.faq-grid details,
.contact-form,
.main-request-form fieldset,
.form-intro,
.policy-content article,
.pricing-table,
.notice-card,
.pathway-page-grid article,
.value-stack article,
.framework-cards article,
.resource-grid article,
.role-grid article,
.partner-grid article,
.guide-grid article,
.pricing-note-grid article,
.service-detail-list article,
.calculator-card,
.calculator-result,
.buy-now-form,
.buy-now-rules-panel,
.buy-now-helper,
.price-summary,
.portal-card,
.report-preview-card,
.workflow-link-grid article,
.ai-card-grid article,
.approval-grid article,
.assistant-panel,
.toolkit-flow article,
.template-product-grid article,
.template-preview-grid article,
.ops-stage-note article,
.ops-dashboard-section,
.ops-status-section,
.ops-workflow-strip article,
.portal-build-state article,
.portal-role-grid article,
.portal-permission-matrix,
.safety-rule-panel article,
.safety-card-grid article,
.auto-schedule-overview article,
.daily-run-summary,
.duration-grid article,
.auto-recommendation-card,
.allocation-snapshot-grid article,
.allocation-rule-grid span,
.allocation-audit-grid span,
.vault-requirement-grid article,
.allocation-lead-card,
.allocation-status-card,
.commission-cycle-card,
.commission-total-card,
.commission-kpi-grid article,
.commission-table,
.commission-snapshot-card,
.snapshot-kpis article,
.snapshot-register {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: rgba(4, 19, 32, 0.76);
}

.portal-meta-grid div,
.status-rail div,
.stage-card,
.portal-note-grid div,
.finding-entry-grid,
.progress-checklist label,
.report-output-section,
.report-finding-list div,
.finding-list div,
.photo-strip span,
.feature-list div,
.pathway-grid article,
.next-step-strip article,
.service-difference-grid article,
.difference-rule,
.rule-grid span,
.rule-grid article,
.industry-tags span,
.contact-lines a,
.contact-lines span,
.checkbox-grid label,
.ops-metric-grid article,
.ops-production-grid article,
.ops-schedule-grid article,
.ops-permission-grid article,
.auto-control-list span {
  border-color: rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.07);
}

.section p,
.section li,
.page-hero p,
.hero-lede,
.summary-note,
.field-note,
.calculator-note,
.site-footer,
.footer-policy-links a {
  color: var(--muted);
}

.section h2,
.section h3,
.section h4,
.section strong,
.page-hero h1,
.page-hero h2 {
  color: var(--ink);
}

input,
select,
textarea {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  background-color: rgba(3, 17, 29, 0.86);
}

input::placeholder,
textarea::placeholder {
  color: #a9bdce;
}

:root[data-theme="light"] {
  --muted: #203447;
  --dim: #435b70;
  --line: rgba(6, 24, 39, 0.22);
}

:root[data-theme="light"] .hero-panel,
:root[data-theme="light"] .metric-grid article,
:root[data-theme="light"] .chart-card,
:root[data-theme="light"] .service-card,
:root[data-theme="light"] .process-grid article,
:root[data-theme="light"] .price-card,
:root[data-theme="light"] .faq-grid details,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .main-request-form fieldset,
:root[data-theme="light"] .form-intro,
:root[data-theme="light"] .policy-content article,
:root[data-theme="light"] .pricing-table,
:root[data-theme="light"] .notice-card,
:root[data-theme="light"] .pathway-page-grid article,
:root[data-theme="light"] .value-stack article,
:root[data-theme="light"] .framework-cards article,
:root[data-theme="light"] .resource-grid article,
:root[data-theme="light"] .role-grid article,
:root[data-theme="light"] .partner-grid article,
:root[data-theme="light"] .guide-grid article,
:root[data-theme="light"] .pricing-note-grid article,
:root[data-theme="light"] .service-detail-list article,
:root[data-theme="light"] .calculator-card,
:root[data-theme="light"] .calculator-result,
:root[data-theme="light"] .buy-now-form,
:root[data-theme="light"] .buy-now-rules-panel,
:root[data-theme="light"] .buy-now-helper,
:root[data-theme="light"] .price-summary,
:root[data-theme="light"] .portal-card,
:root[data-theme="light"] .report-preview-card,
:root[data-theme="light"] .workflow-link-grid article,
:root[data-theme="light"] .ai-card-grid article,
:root[data-theme="light"] .approval-grid article,
:root[data-theme="light"] .assistant-panel,
:root[data-theme="light"] .toolkit-flow article,
:root[data-theme="light"] .template-product-grid article,
:root[data-theme="light"] .template-preview-grid article,
:root[data-theme="light"] .ops-stage-note article,
:root[data-theme="light"] .ops-dashboard-section,
:root[data-theme="light"] .ops-status-section,
:root[data-theme="light"] .ops-workflow-strip article,
:root[data-theme="light"] .portal-build-state article,
:root[data-theme="light"] .portal-role-grid article,
:root[data-theme="light"] .portal-permission-matrix,
:root[data-theme="light"] .safety-rule-panel article,
:root[data-theme="light"] .safety-card-grid article,
:root[data-theme="light"] .auto-schedule-overview article,
:root[data-theme="light"] .daily-run-summary,
:root[data-theme="light"] .duration-grid article,
:root[data-theme="light"] .auto-recommendation-card,
:root[data-theme="light"] .allocation-snapshot-grid article,
:root[data-theme="light"] .allocation-rule-grid span,
:root[data-theme="light"] .allocation-audit-grid span,
:root[data-theme="light"] .vault-requirement-grid article,
:root[data-theme="light"] .allocation-lead-card,
:root[data-theme="light"] .allocation-status-card,
:root[data-theme="light"] .commission-cycle-card,
:root[data-theme="light"] .commission-total-card,
:root[data-theme="light"] .commission-kpi-grid article,
:root[data-theme="light"] .commission-table,
:root[data-theme="light"] .commission-snapshot-card,
:root[data-theme="light"] .snapshot-kpis article,
:root[data-theme="light"] .snapshot-register {
  border-color: rgba(6, 24, 39, 0.18);
  color: #07131f;
  background-color: rgba(255, 255, 255, 0.96) !important;
}

:root[data-theme="light"] .portal-meta-grid div,
:root[data-theme="light"] .status-rail div,
:root[data-theme="light"] .stage-card,
:root[data-theme="light"] .portal-note-grid div,
:root[data-theme="light"] .finding-entry-grid,
:root[data-theme="light"] .progress-checklist label,
:root[data-theme="light"] .report-output-section,
:root[data-theme="light"] .report-finding-list div,
:root[data-theme="light"] .finding-list div,
:root[data-theme="light"] .photo-strip span,
:root[data-theme="light"] .feature-list div,
:root[data-theme="light"] .pathway-grid article,
:root[data-theme="light"] .next-step-strip article,
:root[data-theme="light"] .service-difference-grid article,
:root[data-theme="light"] .difference-rule,
:root[data-theme="light"] .rule-grid span,
:root[data-theme="light"] .rule-grid article,
:root[data-theme="light"] .industry-tags span,
:root[data-theme="light"] .contact-lines a,
:root[data-theme="light"] .contact-lines span,
:root[data-theme="light"] .checkbox-grid label,
:root[data-theme="light"] .ops-metric-grid article,
:root[data-theme="light"] .ops-production-grid article,
:root[data-theme="light"] .ops-schedule-grid article,
:root[data-theme="light"] .ops-permission-grid article,
:root[data-theme="light"] .auto-control-list span {
  border-color: rgba(6, 24, 39, 0.16);
  color: #07131f;
  background-color: rgba(248, 251, 253, 0.96) !important;
}

:root[data-theme="light"] .section p,
:root[data-theme="light"] .section li,
:root[data-theme="light"] .page-hero p,
:root[data-theme="light"] .hero-lede,
:root[data-theme="light"] .summary-note,
:root[data-theme="light"] .field-note,
:root[data-theme="light"] .calculator-note,
:root[data-theme="light"] .site-footer,
:root[data-theme="light"] .footer-policy-links a {
  color: #203447;
}

:root[data-theme="light"] .section h2,
:root[data-theme="light"] .section h3,
:root[data-theme="light"] .section h4,
:root[data-theme="light"] .section strong,
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .page-hero h2,
:root[data-theme="light"] label,
:root[data-theme="light"] legend {
  color: #07131f;
}

:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .text-link,
:root[data-theme="light"] .service-card a,
:root[data-theme="light"] .footer-policy-links a:hover,
:root[data-theme="light"] .footer-policy-links a:focus-visible {
  color: #006f78;
}

:root[data-theme="light"] .button.secondary,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .cart-link,
:root[data-theme="light"] .nav-cta,
:root[data-theme="light"] .text-link,
:root[data-theme="light"] .route-list a {
  border-color: rgba(0, 143, 152, 0.38);
  background-color: rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea {
  border-color: rgba(6, 24, 39, 0.24) !important;
  color: #07131f !important;
  background-color: #ffffff !important;
}

:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder {
  color: #526a7d;
}

.snapshot-cover p,
.snapshot-topline strong,
.eyebrow {
  color: var(--teal);
}

/* Keep service-card symbols visible even when card and page themes differ. */
:root {
  --service-icon-mark: #f7fbff;
}

:root[data-theme="light"] {
  --service-icon-mark: #07131f;
}

.service-icon.document::before,
.service-icon.clipboard::before,
.service-icon.package::before,
.service-icon.access::before,
.service-icon.home::before,
.service-icon.home::after,
.service-icon.helmet::before,
.service-icon.tag::before {
  border-color: var(--service-icon-mark) !important;
}

.service-icon.document::after,
.service-icon.package::after,
.service-icon.access::after,
.service-icon.helmet::after,
.service-icon.analytics::before {
  background: var(--service-icon-mark) !important;
}

.service-icon.document::after,
.service-icon.package::after {
  box-shadow: 0 8px 0 var(--service-icon-mark), 0 16px 0 var(--service-icon-mark) !important;
}

/* Final shared header layout: keep every page matching the homepage action row. */
@media (min-width: 641px) {
  .site-header {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: clamp(9px, 1vw, 16px) !important;
    min-height: 88px !important;
    padding: 12px clamp(34px, 3.2vw, 64px) !important;
  }

  .brand {
    flex: 0 0 min(370px, 25vw) !important;
    width: auto !important;
    grid-column: auto !important;
  }

  .brand img {
    width: 58px !important;
    height: 64px !important;
  }

  .brand strong {
    font-size: 1.34rem !important;
  }

  .brand small {
    font-size: 0.86rem !important;
  }

  .site-nav {
    flex: 1 1 auto !important;
    grid-column: auto !important;
    justify-content: center !important;
    gap: clamp(8px, 1vw, 16px) !important;
    overflow: visible !important;
    padding: 0 !important;
    font-size: clamp(0.86rem, 0.86vw, 1rem) !important;
  }

  .site-nav a {
    min-height: 44px !important;
    padding: 0 clamp(8px, 0.75vw, 13px) !important;
    border-color: transparent !important;
    background: transparent !important;
  }

  .nav-cta,
  .cart-link,
  .theme-toggle {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 clamp(10px, 0.9vw, 14px) !important;
    font-size: clamp(0.8rem, 0.78vw, 0.9rem) !important;
  }

  .nav-cta-buy {
    min-width: clamp(94px, 6.2vw, 108px) !important;
  }

  .nav-cta-quote {
    min-width: clamp(112px, 7.2vw, 126px) !important;
  }

  .cart-link {
    min-width: clamp(62px, 4vw, 72px) !important;
  }

  .nav-login {
    min-width: clamp(80px, 5vw, 90px) !important;
  }

  .theme-toggle {
    min-width: clamp(54px, 3.5vw, 62px) !important;
  }
}

/* Authoritative shared header skin: page backgrounds must not change header appearance. */
.site-header {
  background: #03111d !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

:root[data-theme="light"] .site-header {
  background: #f8fbfd !important;
}

/* Final header standard: match the attached approved header across every page. */
html body .site-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  box-sizing: border-box !important;
  gap: 18px !important;
  height: 78px !important;
  min-height: 78px !important;
  padding: 8px 60px !important;
  background: #03111d !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .site-header .brand {
  flex: 0 0 370px !important;
  width: auto !important;
  min-width: 0 !important;
  gap: 14px !important;
  grid-column: auto !important;
}

html body .site-header .brand img {
  width: 56px !important;
  height: 58px !important;
}

html body .site-header .brand strong {
  font-size: 20px !important;
  line-height: 1 !important;
}

html body .site-header .brand small {
  margin-top: 5px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .site-header .site-nav {
  flex: 1 1 auto !important;
  justify-content: center !important;
  gap: 22px !important;
  overflow: visible !important;
  padding: 0 !important;
  font-size: 14px !important;
  grid-column: auto !important;
}

html body .site-header .site-nav a {
  min-height: 42px !important;
  padding: 0 10px !important;
  border-color: transparent !important;
  background: transparent !important;
}

html body .site-header .nav-cta,
html body .site-header .cart-link,
html body .site-header .theme-toggle {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}

html body .site-header .nav-cta-buy {
  min-width: 106px !important;
}

html body .site-header .nav-cta-quote {
  min-width: 124px !important;
}

html body .site-header .nav-login {
  min-width: 88px !important;
}

html body .site-header .cart-link {
  min-width: 74px !important;
}

html body .site-header .theme-toggle {
  min-width: 60px !important;
}

:root[data-theme="light"] html body .site-header {
  background: #f8fbfd !important;
}

