:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5c667a;
  --line: #d9e1e8;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --blue: #1455c6;
  --teal: #087d76;
  --green: #2e7d32;
  --plum: #6f3b74;
  --amber: #d98824;
  --rose: #b9436b;
  --deep: #0f1b33;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
  --lifted-shadow: 0 22px 54px rgba(20, 33, 61, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8fbfc;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(16px, 2.6vw, 30px);
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(217, 225, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.07);
}

.brand {
  display: flex;
  align-items: center;
  width: min(246px, 36vw);
  height: 56px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(217, 225, 232, 0.74);
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(245, 248, 251, 0.76);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav a::before {
  content: "";
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  background: currentColor;
  opacity: 0.74;
  -webkit-mask: var(--nav-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--nav-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")) center / contain no-repeat;
}

.nav a[href*="#funktioner"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

.nav a[href$="/modules"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7l8-4 8 4-8 4zM4 12l8 4 8-4M4 17l8 4 8-4' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href*="#scenarier"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M4 12h12M4 18h8' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M17 15l3 3-3 3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href*="#rapporter"],
.nav a[href="#usage"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19V5M5 19h14M9 16v-5M13 16V8M17 16v-8' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.nav a[href*="#priser"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h10l3 4-8 12L4 8zM4 8h16M9 8l3 12 3-12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href$="/team"],
.nav a[href="#users"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11a4 4 0 1 0-8 0M4 20a8 8 0 0 1 16 0M18 8a3 3 0 0 1 3 3M20 20a6 6 0 0 0-3-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.nav a[href$="/security"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href$="/download"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v10M8 10l4 4 4-4M5 20h14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href="/login.html"],
.nav a[href="/portal.html"],
.nav a[href="/customer/portal.html"],
.nav a[href^="/.auth/login"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h10v14H4zM14 8h6v11h-6zM8 9h2M8 13h2M17 12h1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href="/login.html"],
.nav a[href="/portal.html"]:not(:first-child) {
  margin-left: 28px;
}

.nav a[href="#licenses"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 7a4 4 0 1 0-3 3l8 8 2-2-2-2 2-2-2-2-2 2z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href="#components"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4h8v6H8zM5 14h6v6H5zM13 14h6v6h-6zM12 10v4M8 14v-2h8v2' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href="#license"],
.nav a[href="#environments"],
.nav a[href="#news"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h9l3 3v13H6zM14 4v4h4M9 13h6M9 17h6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a[href="/"],
.nav a[href="#top"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11l8-7 8 7v9H6v-7h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
  border-color: rgba(10, 168, 158, 0.38);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.1);
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-select {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 156px;
  white-space: nowrap;
}

.language-select > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.language-dropdown {
  position: relative;
  flex: 1 1 auto;
}

.language-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  flex: 1 1 auto;
  min-width: 132px;
  min-height: 40px;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  padding: 8px 28px 8px 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  border-color: rgba(10, 168, 158, 0.48);
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.08);
}

.language-trigger:focus-visible,
.language-option:focus-visible {
  outline: 3px solid rgba(20, 85, 198, 0.25);
  outline-offset: 2px;
}

.language-trigger-value,
.language-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 90;
  display: grid;
  width: 100%;
  min-width: 180px;
  padding: 6px;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.language-options[hidden] {
  display: none;
}

.language-option {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 9px 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option[aria-selected="true"] {
  background: rgba(10, 168, 158, 0.1);
}

.flag-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(20, 33, 61, 0.16);
}

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

.flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3E%3Cpath fill='%23012169' d='M0 0h640v480H0z'/%3E%3Cpath fill='%23FFF' d='m75 0 244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0z'/%3E%3Cpath fill='%23C8102E' d='m424 281 216 159v40L369 281zm-184 20 6 35L54 480H0zM640 0v3L391 191l2-44L590 0zM0 0l239 176h-60L0 42z'/%3E%3Cpath fill='%23FFF' d='M241 0v480h160V0zM0 160v160h640V160z'/%3E%3Cpath fill='%23C8102E' d='M0 193v96h640v-96zM273 0v480h96V0z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.flag-sv {
  background: #006aa7;
}

.flag-sv::before {
  inset: 0 62% 0 29%;
  background: #fecc00;
}

.flag-sv::after {
  inset: 40% 0 40% 0;
  background: #fecc00;
}

.flag-de {
  background: linear-gradient(180deg, #000000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.flag-es {
  background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66% 100%);
}

.header-cta,
.button,
.package-card a,
.scenario-card a {
  text-decoration: none;
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 750;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  border-color: rgba(10, 168, 158, 0.55);
  box-shadow: 0 12px 28px rgba(10, 168, 158, 0.16);
  transform: translateY(-1px);
}

.section-band,
.section {
  padding-inline: clamp(18px, 5vw, 72px);
  scroll-margin-top: 112px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: clamp(520px, 68vh, 680px);
  padding-block: clamp(38px, 5vw, 60px);
  background:
    radial-gradient(circle at 15% 18%, rgba(20, 85, 198, 0.18), transparent 28%),
    radial-gradient(circle at 80% 16%, rgba(10, 168, 158, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(20, 85, 198, 0.2), rgba(10, 168, 158, 0.15) 44%, rgba(217, 136, 36, 0.13)),
    linear-gradient(180deg, #f4fbfc 0%, #eaf5f5 100%);
  border-bottom: 1px solid rgba(217, 225, 232, 0.9);
}

.hero-content {
  max-width: 780px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  overflow-wrap: normal;
  word-break: keep-all;
  font-size: clamp(3.8rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #38465f;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(10, 168, 158, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, #0e49aa, #078f87);
  box-shadow: 0 18px 36px rgba(10, 168, 158, 0.3);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid rgba(20, 85, 198, 0.18);
  background: #ffffff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(20, 85, 198, 0.42);
  box-shadow: 0 14px 30px rgba(20, 85, 198, 0.12);
  transform: translateY(-2px);
}

.button-accent {
  border: 1px solid rgba(217, 136, 36, 0.46);
  background: #fff7e8;
  color: #7a4700;
}

.button-accent:hover {
  border-color: rgba(217, 136, 36, 0.72);
  box-shadow: 0 14px 28px rgba(217, 136, 36, 0.16);
  transform: translateY(-2px);
}

.button:disabled,
.button[disabled] {
  border-color: #d9e1e8;
  background: #eef3f6;
  color: #8b98a5;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.resource-hero {
  background:
    linear-gradient(135deg, rgba(20, 85, 198, 0.16), rgba(10, 168, 158, 0.14) 52%, rgba(217, 136, 36, 0.12)),
    linear-gradient(180deg, #f7fbfc 0%, #eaf6f5 100%);
}

.resource-strip div {
  min-height: 112px;
}

.community-section,
.resource-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.community-grid,
.resource-grid,
.component-grid,
.resource-track-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.community-card,
.resource-card,
.component-card,
.resource-track-card,
.resource-callout {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.06);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.community-card::before,
.resource-card::before,
.component-card::before,
.resource-track-card::before,
.resource-callout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
}

.community-card:hover,
.resource-card:hover,
.component-card:hover,
.resource-track-card:hover,
.resource-callout:hover {
  border-color: rgba(10, 168, 158, 0.45);
  box-shadow: var(--lifted-shadow);
  transform: translateY(-5px);
}

.community-card,
.resource-card,
.component-card,
.resource-track-card {
  padding: 22px;
}

.community-card > span,
.component-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: rgba(20, 85, 198, 0.1);
  color: var(--blue);
  font-weight: 850;
}

.resource-kind {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(10, 168, 158, 0.26);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(10, 168, 158, 0.09);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}

.community-card p,
.resource-card p,
.component-card p {
  color: var(--muted);
}

.resource-library-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 2.4vw, 26px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.resource-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(142px, 0.72fr)) auto;
  gap: 12px;
  align-items: end;
}

.resource-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.resource-toolbar input,
.resource-toolbar select {
  width: 100%;
  min-height: 44px;
}

.resource-library-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0;
  border: 1px solid rgba(217, 225, 232, 0.84);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f7fbfb;
  color: var(--muted);
}

.resource-library-meta strong {
  color: var(--ink);
}

.resource-library-grid {
  display: block;
}

.resource-browser {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.7fr);
  gap: 16px;
  align-items: stretch;
}

.resource-tree-panel,
.resource-detail-panel {
  min-width: 0;
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 8px;
  background: #ffffff;
}

.resource-tree-panel {
  overflow: hidden;
  background: #f8fbfc;
}

.resource-detail-panel {
  padding: 16px;
}

.resource-pane-heading {
  border-bottom: 1px solid rgba(217, 225, 232, 0.92);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.resource-detail-panel > .resource-pane-heading {
  margin: -16px -16px 16px;
}

.resource-tree {
  max-height: 700px;
  overflow: auto;
  padding: 0;
}

.resource-tree-group {
  margin: 0;
  border-bottom: 1px solid rgba(217, 225, 232, 0.78);
}

.resource-tree-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(10, 168, 158, 0.08), rgba(20, 85, 198, 0.04));
  color: var(--ink);
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 900;
  list-style: none;
}

.resource-tree-group summary::-webkit-details-marker {
  display: none;
}

.resource-tree-group summary::before {
  content: "▸";
  color: var(--teal);
  font-size: 0.78rem;
  transform: translateY(-1px);
}

.resource-tree-group[open] > summary::before {
  content: "▾";
}

.resource-tree-group summary > span {
  flex: 1 1 auto;
}

.resource-platform-icons {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.resource-platform-icons img {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(217, 225, 232, 0.78);
  border-radius: 7px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(20, 85, 198, 0.1);
}

.resource-platform-icons.is-migraflect img {
  width: 92px;
  padding: 3px 7px;
  object-fit: contain;
}

.resource-tree-group summary small,
.resource-tree-type-heading small,
.resource-tree-category-heading small {
  margin-left: auto;
  border-radius: 999px;
  padding: 2px 7px;
  background: #ffffff;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.resource-tree-platform-content {
  padding: 6px 0 10px;
}

.resource-tree-type {
  margin: 0;
}

.resource-tree-type + .resource-tree-type {
  border-top: 1px solid rgba(217, 225, 232, 0.72);
}

.resource-tree-type-heading,
.resource-tree-category-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-tree-type-heading {
  padding: 10px 14px 7px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-tree-type-heading small {
  background: #eef4ff;
}

.resource-tree-category-heading {
  --category-color: var(--teal);
  --category-bg: rgba(10, 168, 158, 0.08);
  margin: 7px 12px 5px;
  border-left: 3px solid var(--category-color);
  border-radius: 7px;
  padding: 7px 10px;
  background: var(--category-bg);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.resource-tree-category-heading::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--category-color);
  content: "";
}

.resource-tree-category-heading span {
  flex: 1 1 auto;
}

.resource-tree-category-heading small {
  background: #ffffff;
  color: var(--category-color);
}

.resource-category-inventory .resource-tree-category-heading {
  --category-color: #1455c6;
  --category-bg: rgba(20, 85, 198, 0.08);
}

.resource-category-permissions .resource-tree-category-heading {
  --category-color: #7c3aed;
  --category-bg: rgba(124, 58, 237, 0.08);
}

.resource-category-metadata .resource-tree-category-heading {
  --category-color: #0a8f87;
  --category-bg: rgba(10, 143, 135, 0.1);
}

.resource-category-readiness .resource-tree-category-heading {
  --category-color: #d97706;
  --category-bg: rgba(217, 119, 6, 0.1);
}

.resource-category-communication .resource-tree-category-heading {
  --category-color: #0e7490;
  --category-bg: rgba(14, 116, 144, 0.1);
}

.resource-category-governance .resource-tree-category-heading {
  --category-color: #166534;
  --category-bg: rgba(22, 101, 52, 0.09);
}

.resource-category-search .resource-tree-category-heading {
  --category-color: #2563eb;
  --category-bg: rgba(37, 99, 235, 0.08);
}

.resource-category-lifecycle .resource-tree-category-heading {
  --category-color: #be123c;
  --category-bg: rgba(190, 18, 60, 0.08);
}

.resource-category-operations .resource-tree-category-heading {
  --category-color: #475569;
  --category-bg: rgba(71, 85, 105, 0.09);
}

.resource-category-storage .resource-tree-category-heading {
  --category-color: #0891b2;
  --category-bg: rgba(8, 145, 178, 0.09);
}

.resource-category-apps .resource-tree-category-heading {
  --category-color: #c2410c;
  --category-bg: rgba(194, 65, 12, 0.09);
}

.resource-category-compliance .resource-tree-category-heading {
  --category-color: #047857;
  --category-bg: rgba(4, 120, 87, 0.09);
}

.resource-category-migraflect .resource-tree-category-heading {
  --category-color: #0f766e;
  --category-bg: rgba(15, 118, 110, 0.1);
}

.resource-tree-leaves {
  display: grid;
  gap: 0;
  margin: 0 10px 9px 34px;
  border-left: 2px solid rgba(10, 168, 158, 0.22);
}

.resource-tree-leaf {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  width: 100%;
  border: 0;
  border-radius: 0 7px 7px 0;
  padding: 8px 10px 8px 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.resource-tree-leaf::before {
  position: absolute;
  top: 50%;
  left: -2px;
  width: 10px;
  height: 2px;
  background: rgba(10, 168, 158, 0.26);
  content: "";
}

.resource-tree-leaf:hover,
.resource-tree-leaf.is-active {
  background: #eaf8f6;
}

.resource-tree-leaf.is-active {
  box-shadow: inset 3px 0 0 var(--teal);
}

.resource-tree-leaf-title {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-tree-leaf-file {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-detail-card {
  display: grid;
  gap: 14px;
}

.resource-detail-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.resource-detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.resource-detail-card code {
  display: block;
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f6fafb;
  color: #26354f;
  font-size: 0.86rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.resource-detail-empty {
  border: 1px dashed rgba(20, 85, 198, 0.22);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.library-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 33, 61, 0.055);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.library-card:hover {
  border-color: rgba(10, 168, 158, 0.42);
  box-shadow: 0 16px 34px rgba(20, 33, 61, 0.12);
  transform: translateY(-3px);
}

.library-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.resource-status {
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef3f6;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.resource-status.is-available {
  background: rgba(10, 168, 158, 0.1);
  color: var(--teal);
}

.resource-status.is-planned {
  background: #fff7e8;
  color: #8a5200;
}

.resource-license-badge {
  justify-self: start;
  border: 1px solid rgba(217, 136, 36, 0.28);
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff8ec;
  color: #9a5b00;
  font-size: 0.76rem;
  font-weight: 900;
}

.resource-license-badge.is-demo {
  border-color: rgba(20, 85, 198, 0.24);
  background: #eef5ff;
  color: #1455c6;
}

.library-card h3 {
  margin-bottom: 0;
}

.library-card p {
  margin: 0;
  color: var(--muted);
}

.library-card code {
  display: block;
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 8px;
  padding: 9px 10px;
  background: #f6fafb;
  color: #26354f;
  font-size: 0.82rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.library-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.library-meta div {
  border: 1px solid rgba(217, 225, 232, 0.82);
  border-radius: 8px;
  padding: 9px;
  background: #fbfdfe;
}

.library-meta dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.library-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 760;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resource-tags span {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(20, 85, 198, 0.08);
  color: #22406e;
  font-size: 0.76rem;
  font-weight: 760;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  align-self: end;
}

.library-card a,
.resource-detail-card a,
.resource-preview-button {
  justify-self: start;
  border-radius: 8px;
  padding: 9px 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.library-card a.resource-secondary-action,
.resource-detail-card a.resource-secondary-action {
  border: 1px solid rgba(20, 85, 198, 0.18);
  background: #ffffff;
  color: var(--ink);
}

.resource-preview-button {
  border: 1px solid rgba(20, 85, 198, 0.26);
  background: #ffffff;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
}

.resource-preview-button:hover {
  border-color: rgba(10, 168, 158, 0.46);
  color: var(--teal);
}

.script-modal-open {
  overflow: hidden;
}

.script-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: clamp(14px, 3vw, 34px);
}

.script-modal.is-open {
  display: grid;
  place-items: center;
}

.script-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 35, 0.68);
  backdrop-filter: blur(7px);
}

.script-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(1120px, 100%);
  max-height: min(86vh, 900px);
  overflow: hidden;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(3, 14, 32, 0.44);
}

.script-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  background: #f8fbfc;
  border-bottom: 1px solid rgba(217, 225, 232, 0.95);
}

.script-modal-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.script-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  letter-spacing: 0;
}

.script-modal-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.script-modal-close {
  flex: 0 0 auto;
  border: 1px solid rgba(120, 139, 156, 0.32);
  border-radius: 8px;
  padding: 8px 11px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.script-modal-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(217, 225, 232, 0.95);
}

.script-window-controls {
  display: flex;
  gap: 6px;
}

.script-window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.script-window-controls span:nth-child(2) {
  background: #ffbd2e;
}

.script-window-controls span:nth-child(3) {
  background: #28c840;
}

.script-modal-toolbar code {
  overflow: hidden;
  color: #26354f;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.script-modal-toolbar a {
  border-radius: 8px;
  padding: 8px 10px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.script-terminal {
  min-height: 0;
  margin: 0;
  padding: 18px 20px 24px;
  overflow: auto;
  background:
    linear-gradient(rgba(20, 85, 198, 0.035) 50%, rgba(255, 255, 255, 0) 50%) 0 0 / 100% 2.8rem,
    #f8fbfc;
  color: #10243e;
  font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 0.88rem;
  line-height: 1.68;
  tab-size: 4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.script-terminal code {
  display: block;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.document-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: clamp(14px, 3vw, 34px);
}

.document-modal.is-open {
  display: grid;
  place-items: center;
}

.document-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 35, 0.56);
  backdrop-filter: blur(7px);
}

.document-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(940px, 100%);
  max-height: min(88vh, 920px);
  overflow: hidden;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(3, 14, 32, 0.34);
}

.document-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.document-modal-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.document-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.14rem, 2vw, 1.55rem);
  letter-spacing: 0;
}

.document-modal-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.document-modal-close {
  flex: 0 0 auto;
  border: 1px solid rgba(20, 85, 198, 0.18);
  border-radius: 8px;
  padding: 8px 11px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.document-modal-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfe;
}

.document-modal-toolbar code {
  overflow: hidden;
  color: #4b5c76;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-modal-toolbar a {
  border-radius: 8px;
  padding: 8px 10px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.markdown-document {
  min-height: 0;
  overflow: auto;
  padding: clamp(22px, 4vw, 42px);
  background: #ffffff;
  color: #18243b;
  font-size: 1rem;
  line-height: 1.68;
}

.markdown-document > *:first-child {
  margin-top: 0;
}

.markdown-document > *:last-child {
  margin-bottom: 0;
}

.markdown-document h1,
.markdown-document h2,
.markdown-document h3,
.markdown-document h4,
.markdown-document h5,
.markdown-document h6 {
  margin: 1.35em 0 0.45em;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0;
}

.markdown-document h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.markdown-document h2 {
  font-size: clamp(1.34rem, 3vw, 1.68rem);
}

.markdown-document h3 {
  font-size: 1.16rem;
}

.markdown-document p,
.markdown-document ul,
.markdown-document ol,
.markdown-document blockquote,
.markdown-document table,
.markdown-document pre {
  margin: 0 0 1.05rem;
}

.markdown-document ul,
.markdown-document ol {
  padding-left: 1.35rem;
}

.markdown-document li + li {
  margin-top: 0.38rem;
}

.markdown-document a {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.markdown-document code:not(pre code) {
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 6px;
  padding: 0.08rem 0.32rem;
  background: #f6fafb;
  color: #19345f;
  font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 0.9em;
}

.markdown-code {
  overflow: auto;
  border: 1px solid rgba(12, 32, 60, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  background: #07162c;
  color: #d7ebff;
  font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.58;
}

.markdown-document blockquote {
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  background: #f4fbfc;
  color: #2d405f;
}

.markdown-document table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.markdown-document th,
.markdown-document td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.markdown-document th {
  background: #f4fbfc;
  color: var(--ink);
  font-size: 0.88rem;
}

.markdown-document tr:last-child td {
  border-bottom: 0;
}

.markdown-document hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed rgba(20, 85, 198, 0.28);
  border-radius: 8px;
  padding: 24px;
  background: #f7fbfb;
  color: var(--muted);
  text-align: center;
}

.resource-card code {
  display: block;
  margin: 16px 0;
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f6fafb;
  color: #26354f;
  font-size: 0.88rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.resource-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 9px 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.spfx-section {
  background: linear-gradient(180deg, #f4fbfc 0%, #ffffff 100%);
}

.resource-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 26px;
}

.resource-callout p:not(.eyebrow) {
  color: var(--muted);
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-assurance span {
  border: 1px solid rgba(20, 85, 198, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.62);
  color: #2c3b52;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1672 / 941;
  min-height: 0;
  max-height: 430px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: var(--shadow);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.hero-visual:hover img {
  box-shadow: var(--lifted-shadow);
  transform: translateY(-4px);
}

.interface-showcase {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.interface-showcase img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fbfc;
}

.interface-showcase figcaption {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 8px 22px;
  align-items: start;
  padding: 18px 22px;
  border-top: 1px solid var(--card-border);
}

.interface-showcase figcaption .eyebrow {
  grid-column: 1;
  margin: 0;
  color: var(--teal);
}

.interface-showcase figcaption strong {
  grid-column: 1;
  color: #17233b;
  font-size: 1.02rem;
  line-height: 1.35;
}

.interface-showcase figcaption > span:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #68758a;
  font-size: 0.94rem;
  line-height: 1.55;
}

.process-interface-showcase {
  margin-bottom: 18px;
}

.analysis-interface-showcase {
  margin-bottom: 22px;
}

.analysis-interface-showcase img {
  aspect-ratio: 1672 / 760;
  object-fit: cover;
  object-position: top center;
}

.process-interface-showcase img {
  aspect-ratio: 1426 / 720;
  object-fit: cover;
  object-position: top center;
}

.module-visual-section {
  margin-top: 0;
}

.digital-twin-showcase img {
  aspect-ratio: 1520 / 836;
  object-fit: cover;
  object-position: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: linear-gradient(90deg, rgba(20, 85, 198, 0.25), rgba(10, 168, 158, 0.32), rgba(217, 136, 36, 0.26));
  border-block: 1px solid var(--line);
}

.trust-strip div {
  min-height: 122px;
  padding: 24px clamp(18px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.93);
  transition: background 160ms ease, transform 160ms ease;
}

.trust-strip div:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.journey-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
}

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

.journey-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.06);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.journey-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
}

.journey-card:hover {
  border-color: rgba(10, 168, 158, 0.45);
  box-shadow: var(--lifted-shadow);
  transform: translateY(-5px);
}

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

.journey-card p {
  color: var(--muted);
}

.journey-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid rgba(20, 85, 198, 0.14);
  border-radius: 8px;
  padding: 16px 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

.journey-outcomes strong {
  margin-right: 4px;
}

.journey-outcomes span {
  border: 1px solid rgba(10, 168, 158, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: #f2fbfa;
  color: #26354f;
  font-size: 0.9rem;
  font-weight: 800;
}

.engagement-section {
  background:
    linear-gradient(180deg, #f5fafb 0%, #ffffff 100%);
}

.section {
  padding-block: clamp(32px, 4.8vw, 58px);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.platform-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

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

.assurance-card,
.security-card,
.scenario-card,
.product-card,
.endpoint-grid article,
.quote-panel,
.package-card,
.interface-card,
.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.06);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.assurance-card::before,
.security-card::before,
.scenario-card::before,
.product-card::before,
.endpoint-grid article::before,
.quote-panel::before,
.package-card::before,
.interface-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
}

.assurance-card:hover,
.security-card:hover,
.scenario-card:hover,
.product-card:hover,
.endpoint-grid article:hover,
.quote-panel:hover,
.package-card:hover,
.interface-card:hover,
.contact-panel:hover {
  border-color: rgba(10, 168, 158, 0.45);
  box-shadow: var(--lifted-shadow);
  transform: translateY(-5px);
}

.assurance-card,
.security-card,
.scenario-card,
.product-card,
.endpoint-grid article,
.package-card,
.contact-panel {
  padding: 22px;
}

.assurance-card p,
.security-card p,
.scenario-card p,
.product-card p,
.endpoint-grid p,
.package-card li,
.contact-panel p,
.contact-panel li,
.quote-panel li {
  color: var(--muted);
}

.module-section,
.package-section {
  background: linear-gradient(180deg, #eef7f7 0%, #f6f8fb 100%);
}

.product-grid,
.endpoint-grid,
.package-grid,
.mockup-grid {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  min-height: 252px;
}

.card-mark {
  display: inline-flex;
  margin-bottom: 22px;
  font-weight: 850;
  color: var(--plum);
}

.product-card:nth-child(4n + 1) .card-mark,
.assurance-card:nth-child(3n + 1) .card-mark {
  color: var(--blue);
}

.product-card:nth-child(4n + 2) .card-mark,
.assurance-card:nth-child(3n + 2) .card-mark {
  color: var(--teal);
}

.product-card:nth-child(4n + 3) .card-mark {
  color: var(--amber);
}

.product-card:nth-child(4n) .card-mark {
  color: var(--rose);
}

.process-section {
  background: #ffffff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.workflow-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
  text-align: center;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.workflow-grid span:nth-child(3n + 1) {
  border-top-color: var(--blue);
}

.workflow-grid span:nth-child(3n) {
  border-top-color: var(--amber);
}

.workflow-grid span:hover {
  border-color: rgba(10, 168, 158, 0.45);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.14);
  color: var(--blue);
  transform: translateY(-4px);
}

.mockup-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  margin-top: 26px;
}

.report-preview {
  align-items: start;
}

.interface-card {
  min-height: 260px;
  padding: 0;
  background: #fbfdfe;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.window-bar strong {
  margin-left: 6px;
  font-size: 0.86rem;
}

.operator-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  padding: 18px;
}

.side-list,
.progress-list,
.evidence-list {
  display: grid;
  gap: 10px;
}

.side-list span,
.progress-list span,
.evidence-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.side-list .active-row,
.progress-list .ok,
.evidence-list span {
  border-color: rgba(10, 168, 158, 0.24);
  color: var(--ink);
  background: #f2fbfa;
}

.progress-list .warn {
  border-color: rgba(217, 136, 36, 0.3);
  background: #fff8ef;
  color: #6e430f;
}

.score-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.score-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 10px solid rgba(10, 168, 158, 0.18);
  border-top-color: var(--teal);
  border-radius: 50%;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
}

.score-panel p {
  color: var(--muted);
}

.evidence-list {
  padding: 18px;
}

.security-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
  color: var(--ink);
}

.security-section .eyebrow {
  color: var(--teal);
}

.security-section .section-heading p,
.security-section .security-card p {
  color: var(--muted);
}

.security-card {
  background: #ffffff;
}

.security-card h3 {
  color: var(--ink);
}

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

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.package-card[id],
.track-addon-grid article[id],
.comparison-note-panel[id] {
  scroll-margin-top: 128px;
}

.package-card.featured {
  border-color: rgba(10, 168, 158, 0.48);
  box-shadow: 0 24px 58px rgba(10, 168, 158, 0.18);
}

.package-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.package-card ul,
.contact-panel ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 18px;
}

.package-card a,
.scenario-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 850;
}

.track-matrix-panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
  overflow: hidden;
}

.track-matrix-heading {
  display: grid;
  gap: 8px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 251, 250, 0.9));
}

.track-matrix-heading h3,
.track-matrix-heading p {
  margin: 0;
}

.track-matrix-heading p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
}

.track-matrix-table table {
  min-width: 1120px;
}

.track-matrix-table th {
  width: 20%;
}

.track-matrix-table tbody th {
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: none;
}

.track-matrix-table tbody tr:nth-child(even) {
  background: rgba(243, 247, 251, 0.7);
}

.track-addon-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
  overflow: hidden;
}

.track-addon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.track-addon-grid article {
  min-height: 170px;
  padding: 20px;
  background: #ffffff;
}

.track-addon-grid h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
}

.track-addon-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-section {
  background: #ffffff;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6f9fb);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
}

.pricing-card.featured {
  border-color: rgba(10, 168, 158, 0.5);
  box-shadow: 0 24px 58px rgba(10, 168, 158, 0.16);
}

.pricing-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
}

.pricing-price {
  margin: 14px 0 10px;
  color: var(--deep);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 850;
}

.pricing-card p:not(.pricing-label):not(.pricing-price) {
  margin: 0;
  color: var(--muted);
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: auto;
}

.pricing-card a,
.pricing-table a {
  color: var(--blue);
  font-weight: 850;
}

.pricing-addon-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
  overflow: hidden;
}

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

.decision-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
  overflow: hidden;
}

.decision-grid,
.customer-situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.customer-situation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
}

.decision-grid article {
  min-height: 260px;
  padding: 22px;
  background: #ffffff;
}

.decision-grid h2,
.decision-grid h3,
.decision-grid h4 {
  margin: 0 0 12px;
  color: var(--ink);
}

.decision-grid p,
.decision-grid li {
  color: var(--muted);
}

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

.decision-grid a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 850;
}

.comparison-note-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 20px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: 8px;
  background: #f8fbfc;
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
}

.comparison-note-panel h3 {
  margin: 0 0 12px;
}

.comparison-note-panel p {
  margin: 0;
  color: var(--muted);
}

.comparison-note-panel p + p {
  margin-top: 12px;
}

.comparison-note-panel aside {
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(10, 168, 158, 0.28);
  border-radius: 8px;
  background: #ffffff;
}

.comparison-note-panel aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.comparison-note-panel aside p {
  font-size: 0.94rem;
}

.pricing-table table {
  min-width: 860px;
}

.scenario-section {
  background: #ffffff;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(15, 27, 51, 0.96), rgba(20, 85, 198, 0.9) 58%, rgba(10, 168, 158, 0.88));
  color: #ffffff;
}

.split-section p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.split-section .eyebrow {
  color: #8ff0e7;
}

.split-section h2,
.split-section h3 {
  color: #ffffff;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
}

.checkbox-label input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8ff0e7;
}

.quote-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(22px, 3vw, 30px);
  color: var(--ink);
}

.quote-panel h3 {
  margin: 0;
  color: var(--ink);
}

.quote-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.quote-panel ol {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: first-problem-step;
}

.quote-panel li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfc;
  color: var(--muted);
  line-height: 1.45;
}

.quote-panel li::before {
  counter-increment: first-problem-step;
  content: counter(first-problem-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.quote-panel li + li {
  margin-top: 0;
}

.quote-panel .button {
  justify-self: start;
  margin-top: 2px;
}

.license-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fc 100%);
}

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

code {
  display: inline-block;
  max-width: 100%;
  color: var(--blue);
  font: 700 0.92rem Consolas, "Courier New", monospace;
  white-space: normal;
}

.form-section {
  background: linear-gradient(180deg, #f4faf8 0%, #eef3fb 100%);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(217, 225, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 650;
}

.label-text {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d3dc;
  border-radius: 8px;
  padding: 12px 13px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #7f8b96;
  font-weight: 500;
}

.required-marker {
  color: #b42318;
  font-weight: 850;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(10, 168, 158, 0.2);
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(10, 168, 158, 0.11);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(20, 85, 198, 0.42);
}

.consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #b42318;
}

.contact-panel {
  padding: 26px;
}

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

.chat-widget {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.chat-launcher,
.chat-panel {
  pointer-events: auto;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 12px 16px;
  background: #14213d;
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  box-shadow: 0 20px 46px rgba(20, 33, 61, 0.28);
  cursor: pointer;
}

.chat-launcher-icon {
  width: 20px;
  height: 20px;
  background: #ffffff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v10H8l-4 4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 9h8M8 12h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v10H8l-4 4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 9h8M8 12h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.chat-panel {
  order: -1;
  width: min(420px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 170px));
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 61, 0.34);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(20, 33, 61, 0.34), 0 0 0 9999px rgba(20, 33, 61, 0.08);
}

.chat-panel[hidden] {
  display: none;
}

.chat-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #14213d;
  color: #ffffff;
}

.chat-header strong,
.chat-header p {
  margin: 0;
}

.chat-header p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.chat-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: transparent;
  cursor: pointer;
  position: relative;
}

.chat-close::before,
.chat-close::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 17px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.chat-close::before {
  transform: rotate(45deg);
}

.chat-close::after {
  transform: rotate(-45deg);
}

.chat-messages {
  display: grid;
  gap: 10px;
  align-content: start;
  overflow-y: auto;
  padding: 16px;
  background: #edf3f7;
  border-bottom: 1px solid rgba(20, 33, 61, 0.1);
}

.chat-message {
  max-width: 88%;
  padding: 12px 13px;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(20, 33, 61, 0.12);
}

.chat-message p {
  margin: 0;
  font-size: 0.94rem;
}

.chat-message a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 850;
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chat-action,
.chat-handoff {
  border: 1px solid rgba(10, 168, 158, 0.35);
  border-radius: 8px;
  padding: 7px 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
}

.chat-handoff {
  display: inline-flex;
  margin-top: 8px;
  background: var(--teal);
  color: #ffffff;
}

.chat-message.is-agent {
  justify-self: start;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.12);
}

.chat-message.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.chat-message.is-typing span {
  font-size: 0.9rem;
}

.chat-message.is-typing i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  opacity: 0.35;
  animation: chat-typing 900ms ease-in-out infinite;
}

.chat-message.is-typing i:nth-of-type(2) {
  animation-delay: 140ms;
}

.chat-message.is-typing i:nth-of-type(3) {
  animation-delay: 280ms;
}

@keyframes chat-typing {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat-message.is-user {
  justify-self: end;
  background: #0d3b66;
  color: #ffffff;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid rgba(20, 33, 61, 0.1);
}

.chat-suggestions button {
  border: 1px solid rgba(10, 168, 158, 0.35);
  border-radius: 8px;
  padding: 7px 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-height: 42px;
}

.chat-form button {
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--teal);
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 0.8fr));
  gap: 24px;
  padding: 40px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, #0f1b33 0%, #14213d 62%, #0b5955 100%);
  color: #eef4f7;
}

.site-footer img {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  margin-bottom: 12px;
  background: #ffffff;
  border-radius: 6px;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer a {
  color: #c8d3dc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer span,
.site-footer p {
  color: #c8d3dc;
}

.feature-grid,
.report-grid,
.download-grid,
.principle-grid,
.security-detail-grid,
.admin-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.module-depth-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(20, 85, 198, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 85, 198, 0.08), rgba(10, 168, 158, 0.08)),
    #ffffff;
  box-shadow: var(--shadow);
}

.module-depth-callout h3 {
  margin-bottom: 8px;
}

.module-depth-callout p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
}

.report-grid,
.download-grid,
.principle-grid,
.security-detail-grid,
.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.report-card,
.download-card,
.principle-card,
.security-detail-card,
.admin-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.06);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.feature-card::before,
.report-card::before,
.download-card::before,
.principle-card::before,
.security-detail-card::before,
.admin-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
}

.feature-card:hover,
.report-card:hover,
.download-card:hover,
.principle-card:hover,
.security-detail-card:hover,
.admin-card:hover {
  border-color: rgba(10, 168, 158, 0.45);
  box-shadow: var(--lifted-shadow);
  transform: translateY(-5px);
}

.feature-card {
  min-height: 360px;
}

.feature-card p,
.feature-card li,
.report-card p,
.download-card p,
.download-card li,
.principle-card p,
.security-detail-card p,
.security-detail-card li,
.admin-card p {
  color: var(--muted);
}

.feature-card ul,
.download-card ul,
.security-detail-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
}

.report-card a,
.download-card a,
.admin-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

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

.report-section,
.faq-section,
.download-section,
.admin-section,
.security-page-section {
  background: linear-gradient(180deg, #eef7f7 0%, #f6f8fb 100%);
}

.team-hero {
  background:
    linear-gradient(135deg, rgba(20, 85, 198, 0.16), rgba(10, 168, 158, 0.16) 52%, rgba(217, 136, 36, 0.12)),
    linear-gradient(180deg, #f7fbfc 0%, #e9f6f5 100%);
}

.team-strip div {
  min-height: 118px;
}

.team-section,
.customer-pattern-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.team-proof-grid,
.customer-pattern-grid,
.m365-capability-grid {
  display: grid;
  gap: 18px;
}

.team-proof-grid,
.customer-pattern-grid,
.m365-capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.m365-capability-grid {
  margin-top: 22px;
}

.team-proof-card,
.customer-pattern-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.06);
}

.team-proof-card::before,
.customer-pattern-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
}

.team-proof-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 900;
}

.team-proof-card p,
.customer-pattern-card p {
  margin: 0;
  color: var(--muted);
}

.version-section {
  background: linear-gradient(180deg, #eef7f7 0%, #ffffff 100%);
}

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

.version-timeline span {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 76px;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  padding: 14px 14px 14px 18px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(20, 33, 61, 0.06);
}

.version-timeline span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--teal), var(--amber));
}

.product-origin-section {
  background: linear-gradient(135deg, rgba(20, 85, 198, 0.16), rgba(10, 168, 158, 0.16));
}

.metric-table {
  display: grid;
  gap: 1px;
  padding: 18px;
  background: var(--line);
}

.metric-table div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(160px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #ffffff;
}

.metric-table span {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 900;
}

.metric-table em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.backlog-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.backlog-list span {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--muted);
}

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

.backlog-list b {
  color: var(--ink);
  font-size: 0.95rem;
}

.backlog-list em,
.backlog-list small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.backlog-list small {
  color: #516481;
  font-weight: 700;
}

.comparison-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.comparison-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.15fr;
  gap: 1px;
  background: var(--line);
}

.comparison-row span {
  padding: 16px;
  background: #ffffff;
}

.comparison-row.heading span {
  background: #14213d;
  color: #ffffff;
  font-weight: 850;
}

.comparison-row:not(.heading) span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding-block: clamp(56px, 8vw, 96px);
  background:
    linear-gradient(135deg, rgba(15, 27, 51, 0.96), rgba(20, 85, 198, 0.88) 56%, rgba(10, 168, 158, 0.84));
  color: #ffffff;
}

.page-hero .eyebrow {
  color: #8ff0e7;
}

.page-hero p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 1;
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

#chat-knowledge-json {
  min-height: 520px;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-result {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfc;
  color: var(--muted);
  white-space: pre-wrap;
}

.admin-result.is-success {
  border-color: rgba(46, 125, 50, 0.3);
  background: #f1f8f2;
  color: var(--green);
}

.admin-result.is-error {
  border-color: rgba(180, 35, 24, 0.3);
  background: #fff5f5;
  color: #b42318;
}

.portal-page .page-hero {
  min-height: auto;
}

.hero-actions,
.panel-heading,
.input-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 24px;
}

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

.portal-stat-grid article,
.admin-table-panel,
.admin-alert-list {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.06);
}

.portal-stat-grid article {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.portal-stat-grid article::before,
.admin-table-panel::before,
.admin-alert-list::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
}

.portal-stat-grid span {
  color: var(--blue);
  max-width: 100%;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.portal-stat-grid strong {
  color: var(--ink);
}

.portal-stat-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.license-account-panel {
  margin-top: 18px;
}

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

.license-detail-grid div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(217, 225, 232, 0.9);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfc;
}

.license-detail-grid span,
.field-help {
  color: #667789;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 520;
}

.license-detail-grid strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.license-key-detail {
  grid-column: span 2;
}

.license-detail-grid .license-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.license-detail-grid .license-key-detail strong {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 0;
  max-width: calc(100% - 44px);
  font: 750 0.95rem Consolas, "Courier New", monospace;
  letter-spacing: 0;
}

.copy-license-button {
  width: 36px;
  min-width: 36px;
  flex: 0 0 36px;
  min-height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-license-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.copy-license-button.is-copied {
  border-color: rgba(8, 125, 118, 0.42);
  background: #e9fbf7;
  color: var(--teal);
}

.component-activation-grid {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.component-activation-note {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(10, 168, 158, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: #f2fbfa;
  color: var(--muted);
  line-height: 1.45;
}

.component-activation-note strong {
  color: var(--ink);
}

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

.component-activation-list > p {
  margin: 0;
  color: var(--muted);
}

.component-activation-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfe;
}

.component-activation-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.component-activation-card-header > div {
  display: grid;
  gap: 3px;
}

.component-activation-card-header strong {
  color: var(--ink);
  font-size: 1.06rem;
}

.component-activation-card-header span:not(.status-pill) {
  color: var(--teal);
  font-size: 0.94rem;
  font-weight: 760;
}

.component-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.component-code-row code {
  display: block;
  min-width: 0;
  max-height: 154px;
  overflow: auto;
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f7fbfb;
  color: #26354f;
  font: 700 0.82rem Consolas, "Courier New", monospace;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.component-activation-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.component-activation-meta div {
  border: 1px solid rgba(217, 225, 232, 0.82);
  border-radius: 8px;
  padding: 9px;
  background: #ffffff;
}

.component-activation-meta dt {
  color: #667789;
  font-size: 0.76rem;
  font-weight: 780;
}

.component-activation-meta dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.admin-alert-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
}

.admin-alert-list p {
  margin: 0;
  color: var(--muted);
}

.admin-alert {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(218, 124, 12, 0.28);
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  padding: 12px;
  background: #fffaf1;
}

.admin-alert.is-high {
  border-color: rgba(180, 35, 24, 0.28);
  border-left-color: #b42318;
  background: #fff5f5;
}

.admin-console-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
  align-items: start;
}

.admin-console-grid > * {
  min-width: 0;
}

.customer-environment-form {
  gap: 18px;
}

.environment-field-grid {
  align-items: start;
}

.field-wide {
  grid-column: 1 / -1;
}

.admin-table-panel {
  padding: 22px;
}

.panel-heading {
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-heading h3 {
  margin: 0;
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
}

.responsive-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.responsive-table td {
  color: var(--muted);
  font-size: 0.93rem;
}

.admin-selectable-row {
  cursor: pointer;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.admin-selectable-row:hover,
.admin-selectable-row:focus {
  background: #f1fbfa;
  outline: none;
}

.admin-selectable-row.is-selected {
  background: #e9fbf7;
  box-shadow: inset 4px 0 0 var(--teal);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef7f7;
  color: var(--teal);
  font-weight: 850;
  font-size: 0.9rem;
}

.patch-card .status-pill {
  padding: 8px 13px;
  font-size: max(1.05rem, 16px);
  font-weight: 900;
}

.status-pill.is-revoked,
.status-pill.is-invalid,
.status-pill.is-expired {
  background: #fff5f5;
  color: #b42318;
}

.status-pill.is-warning {
  background: #fffaf1;
  color: #a15c00;
}

.status-pill.is-neutral {
  background: #eef3f7;
  color: var(--muted);
}

.input-action {
  flex-wrap: nowrap;
}

.input-action input {
  min-width: 0;
  flex: 1;
}

.patch-card-list,
.news-card-grid {
  display: grid;
  gap: 14px;
}

.patch-card,
.news-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfe;
}

.patch-card-header,
.patch-card > div:first-child {
  display: grid;
  gap: 3px;
}

.patch-card-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.patch-card-header > div {
  display: grid;
  gap: 3px;
}

.patch-card-header strong {
  color: var(--ink);
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
  line-height: 1.15;
}

.patch-card-header > div > span:not(.status-pill):not(.platform-badge),
.patch-card > div:first-child > span:not(.status-pill):not(.platform-badge),
.patch-card small,
.news-card span {
  color: #607286;
  font-size: 0.92rem;
  font-weight: 520;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0b6f7b;
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  font-weight: 750;
  line-height: 1.25;
}

.platform-badge.is-server {
  color: #1455c6;
}

.platform-badge.is-online {
  color: var(--teal);
}

.platform-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(20, 85, 198, 0.14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 85, 198, 0.12);
}

.platform-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.platform-badge.is-online .platform-badge-icon {
  width: 58px;
  border-color: rgba(8, 125, 118, 0.16);
  box-shadow: 0 8px 18px rgba(8, 125, 118, 0.12);
}

.patch-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
}

.patch-card.is-not-applicable {
  border-style: dashed;
  background: #f8fbfd;
}

.patch-warning {
  border-left: 4px solid #b42318;
  padding-left: 10px;
  color: #8f1f16 !important;
}

.patch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.patch-detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0;
}

.patch-detail-list div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(217, 225, 232, 0.85);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.patch-detail-list dt {
  color: #667789;
  font-size: 0.82rem;
  font-weight: 650;
}

.patch-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 560;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.patch-download-link {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(10, 168, 158, 0.22);
  border-radius: 8px;
  padding: 11px;
  background: #f2fbfa;
}

.patch-download-link span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 680;
}

.patch-download-link a {
  font-size: 0.94rem;
  line-height: 1.45;
}

.button-row,
.patch-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.patch-card-actions {
  margin-top: 12px;
}

.patch-card-actions .button {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.admin-danger-button {
  border-color: rgba(180, 35, 24, 0.26);
  color: #b42318;
}

.admin-danger-button:hover {
  border-color: rgba(180, 35, 24, 0.44);
  background: #fff5f5;
  color: #8f1f16;
}

.patch-links a,
.patch-download-link a,
.news-card a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

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

.news-card {
  align-content: start;
}

.news-card span {
  font-weight: 900;
  text-transform: uppercase;
}

.news-card.is-critical {
  border-color: rgba(180, 35, 24, 0.28);
  background: #fffafa;
}

.news-card.is-high {
  border-color: rgba(218, 124, 12, 0.3);
  background: #fffaf1;
}

.module-roadmap-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfb 100%);
}

.release-grid,
.module-detail-grid {
  display: grid;
  gap: 18px;
}

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

.release-card,
.module-detail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.06);
}

.release-card::before,
.module-detail-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
}

.release-card {
  padding: 22px;
}

.release-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.release-card p,
.module-detail-card p,
.module-detail-card li,
.phase-list span {
  color: var(--muted);
}

.module-detail-section {
  background: linear-gradient(180deg, #eef7f7 0%, #f6f8fb 100%);
}

.module-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-detail-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.module-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.module-card-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(20, 85, 198, 0.2);
  border-radius: 8px;
  background: #f3f8ff;
  color: var(--blue);
  font-weight: 900;
}

.module-detail-card h4 {
  margin: 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.module-detail-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.phase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.phase-list span {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  padding: 10px;
  background: #fbfdfe;
  font-size: 0.9rem;
}

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

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal,
.page-hero.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-cta {
    grid-column: 3;
    grid-row: 1;
  }

  .brand {
    width: min(224px, 58vw);
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .language-select {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    max-width: 260px;
  }

  .hero,
  .split-section,
  .form-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .assurance-grid,
  .security-grid,
  .scenario-grid,
  .journey-grid,
  .community-grid,
  .resource-grid,
  .component-grid,
  .resource-track-grid,
  .track-addon-grid,
  .pricing-grid,
  .decision-grid,
  .customer-situation-grid,
  .package-grid,
  .release-grid,
  .module-detail-grid,
  .report-grid,
  .download-grid,
  .principle-grid,
  .security-detail-grid,
  .admin-grid,
  .team-proof-grid,
  .customer-pattern-grid,
  .m365-capability-grid,
  .version-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid,
  .workflow-grid.compact,
  .comparison-note-panel,
  .endpoint-grid,
  .admin-console-grid,
  .mockup-grid,
  .resource-browser,
  .resource-toolbar,
  .resource-library-grid,
  .resource-callout {
    grid-template-columns: 1fr;
  }

  .resource-tree {
    max-height: 430px;
  }

  .metric-table div,
  .comparison-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    gap: 10px 12px;
    padding: 12px 14px 10px;
  }

  .brand,
  .nav,
  .language-select {
    grid-column: 1 / -1;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    width: min(196px, 48vw);
    height: 46px;
  }

  .nav {
    grid-row: 2;
    gap: 7px;
    margin-inline: -14px;
    padding: 0 14px 5px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .language-select {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
    width: 126px;
    max-width: 126px;
    justify-self: end;
    gap: 0;
  }

  .language-trigger {
    min-width: 0;
    min-height: 38px;
    padding: 7px 24px 7px 9px;
    font-size: 0.84rem;
  }

  .language-options {
    right: 0;
    min-width: 168px;
  }

  .header-cta {
    display: inline-flex;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: center;
    width: 100%;
    padding: 11px 14px;
    background: #ffffff;
    text-align: center;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4rem);
    line-height: 0.94;
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.12rem;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .assurance-grid,
  .security-grid,
  .scenario-grid,
  .journey-grid,
  .community-grid,
  .resource-grid,
  .component-grid,
  .resource-track-grid,
  .track-addon-grid,
  .pricing-grid,
  .decision-grid,
  .customer-situation-grid,
  .package-grid,
  .release-grid,
  .module-detail-grid,
  .product-grid,
  .feature-grid,
  .report-grid,
  .download-grid,
  .principle-grid,
  .security-detail-grid,
  .admin-grid,
  .portal-stat-grid,
  .license-detail-grid,
  .news-card-grid,
  .faq-grid,
  .field-grid,
  .trust-strip,
  .team-proof-grid,
  .customer-pattern-grid,
  .m365-capability-grid,
  .version-timeline {
    grid-template-columns: 1fr;
  }

  .script-modal {
    padding: 10px;
  }

  .script-modal-panel {
    max-height: 92vh;
    border-radius: 8px;
  }

  .script-modal-header {
    flex-direction: column;
  }

  .script-modal-toolbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .script-modal-close {
    align-self: stretch;
  }

  .script-terminal {
    padding: 14px;
    font-size: 0.78rem;
  }

  .document-modal {
    padding: 10px;
  }

  .document-modal-panel {
    max-height: 92vh;
    border-radius: 8px;
  }

  .document-modal-header {
    flex-direction: column;
    padding: 16px;
  }

  .document-modal-toolbar {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 10px 16px;
  }

  .document-modal-close {
    align-self: stretch;
  }

  .markdown-document {
    padding: 18px;
    font-size: 0.95rem;
  }

  .section-band,
  .section {
    padding-inline: 18px;
  }

  .customer-environment-form,
  .license-account-panel,
  .admin-table-panel {
    padding: 16px;
  }

  .customer-environment-form {
    gap: 14px;
    box-shadow: 0 10px 24px rgba(20, 33, 61, 0.07);
  }

  .customer-environment-form .panel-heading {
    align-items: stretch;
    gap: 10px;
  }

  .customer-environment-form .panel-heading .button {
    width: 100%;
  }

  .customer-environment-form .button-row .button {
    width: 100%;
  }

  .field-help {
    font-size: 0.78rem;
  }

  .license-detail-grid div {
    padding: 11px;
  }

  .license-key-detail {
    grid-column: auto;
  }

  .patch-card-header,
  .patch-detail-list,
  .component-activation-card-header,
  .component-code-row,
  .component-activation-meta {
    grid-template-columns: 1fr;
  }

  .patch-card-header .status-pill {
    justify-self: start;
  }

  .nav a {
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .hero {
    gap: 20px;
    padding-block: 28px 34px;
    background:
      linear-gradient(180deg, rgba(244, 251, 252, 0.92), rgba(229, 245, 244, 0.82)),
      linear-gradient(135deg, rgba(20, 85, 198, 0.18), rgba(10, 168, 158, 0.13) 54%, rgba(217, 136, 36, 0.11));
  }

  .hero-content {
    max-width: none;
  }

  .hero-copy {
    margin-top: 18px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 44px;
    padding: 11px 14px;
  }

  .hero-assurance {
    gap: 7px;
    margin-top: 18px;
  }

  .hero-assurance span {
    width: 100%;
    border-radius: 8px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
  }

  .hero-visual {
    margin-inline: -18px;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(20, 33, 61, 0.12);
  }

  .trust-strip div {
    min-height: auto;
    padding: 18px;
  }

  .journey-card {
    min-height: auto;
    padding: 18px;
  }

  .journey-outcomes {
    align-items: flex-start;
  }

  .journey-outcomes strong,
  .journey-outcomes span {
    width: 100%;
  }

  .section {
    padding-block: 36px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .module-depth-callout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .resource-callout {
    gap: 16px;
    padding: 18px;
  }

  .resource-library-panel {
    padding: 14px;
  }

  .resource-library-meta {
    align-items: flex-start;
  }

  .library-meta {
    grid-template-columns: 1fr;
  }

  .module-depth-callout .button,
  .resource-callout .button {
    width: 100%;
  }

  .feature-card,
  .package-card,
  .report-card,
  .resource-card,
  .community-card,
  .component-card,
  .resource-track-card,
  .download-card,
  .principle-card,
  .security-detail-card,
  .admin-card {
    min-height: auto;
  }

  .feature-card,
  .package-card,
  .report-card,
  .resource-card,
  .community-card,
  .component-card,
  .resource-track-card,
  .download-card,
  .principle-card,
  .security-detail-card,
  .admin-card,
  .admin-table-panel,
  .release-card,
  .module-detail-card,
  .assurance-card,
  .security-card,
  .scenario-card,
  .product-card,
  .endpoint-grid article,
  .contact-panel {
    padding: 18px;
  }

  .feature-card p,
  .feature-card li,
  .resource-card p,
  .component-card p,
  .community-card p,
  .resource-track-card p,
  .package-card li,
  .security-card p,
  .scenario-card p,
  .report-card p,
  .download-card p,
  .download-card li,
  .principle-card p,
  .security-detail-card p,
  .security-detail-card li,
  .admin-card p,
  .release-card p,
  .module-detail-card p,
  .module-detail-card li,
  .phase-list span,
  .contact-panel p,
  .contact-panel li {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .module-card-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .module-card-head > span {
    width: 40px;
    height: 40px;
  }

  .phase-list {
    grid-template-columns: 1fr;
  }

  .input-action {
    flex-wrap: wrap;
  }

  .responsive-table table {
    min-width: 620px;
  }

  .card-mark {
    margin-bottom: 12px;
  }

  .feature-card ul,
  .download-card ul,
  .security-detail-card ul,
  .package-card ul,
  .contact-panel ul {
    gap: 7px;
    margin-top: 12px;
  }

  .workflow-grid,
  .workflow-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .workflow-grid span {
    min-height: 46px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .window-bar {
    min-height: 40px;
    padding: 10px 12px;
  }

  .window-bar strong {
    font-size: 0.82rem;
  }

  .metric-table,
  .backlog-list,
  .evidence-list {
    padding: 12px;
  }

  .metric-table div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
    padding: 10px;
  }

  .metric-table em {
    grid-column: 1 / -1;
  }

  .metric-table span {
    font-size: 1.05rem;
  }

  .backlog-list span,
  .evidence-list span {
    padding: 10px;
    font-size: 0.9rem;
  }

  .comparison-table {
    border-radius: 0;
  }

  .operator-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    gap: 14px;
    padding: 18px;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .chat-launcher {
    width: 100%;
    justify-content: center;
  }

  .chat-panel {
    width: 100%;
    max-height: calc(100vh - 140px);
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form button {
    min-height: 42px;
  }

  label {
    gap: 6px;
    font-size: 0.95rem;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    padding: 11px 12px;
  }

  textarea {
    min-height: 150px;
  }

  .site-footer {
    padding-block: 30px;
  }
}

@media (max-width: 360px) {
  .language-select {
    width: 120px;
    max-width: 120px;
  }

  .language-trigger {
    font-size: 0.8rem;
    padding-right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Product workspace layout */
@media (min-width: 981px) {
  :root {
    --sidebar-width: 248px;
    --workspace-bg: #f6f8fb;
    --workspace-card: #ffffff;
    --workspace-border: #e6edf2;
    --workspace-hover: #eef9f7;
    --workspace-shadow: 0 14px 32px rgba(20, 33, 61, 0.07);
    --workspace-strong-shadow: 0 22px 50px rgba(20, 33, 61, 0.11);
  }

  body {
    background:
      linear-gradient(90deg, #ffffff 0, #ffffff var(--sidebar-width), transparent var(--sidebar-width)),
      var(--workspace-bg);
    color: #17233b;
  }

  body > main,
  body > .site-footer {
    margin-left: var(--sidebar-width);
  }

  body > main {
    padding: 34px clamp(28px, 4vw, 56px) 54px;
  }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: var(--sidebar-width);
    min-height: 100vh;
    padding: 28px 24px 24px;
    border-right: 1px solid var(--workspace-border);
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 16px 0 42px rgba(20, 33, 61, 0.045);
    backdrop-filter: blur(18px);
  }

  .brand {
    width: 156px;
    height: auto;
    margin: 0 0 16px;
  }

  .nav {
    display: grid;
    justify-content: stretch;
    gap: 6px;
    width: 100%;
    font-size: 0.86rem;
  }

  .nav a {
    min-height: 36px;
    border: 0;
    border-radius: 7px;
    padding: 9px 10px;
    background: transparent;
    color: #506075;
    box-shadow: none;
  }

  .nav a::before {
    width: 16px;
    height: 16px;
    opacity: 0.82;
  }

  .nav a::after {
    display: none;
  }

  .nav a[href="/pricing"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h10l3 4-8 12L4 8zM4 8h16M9 8l3 12 3-12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .nav a[href="/compare/sharegate"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h7M4 17h7M13 7h7M13 17h7M8 4v6M17 14v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .nav a[href="/login.html"],
  .nav a[href="/portal.html"]:not(:first-child) {
    margin-left: 0;
  }

  .nav a:hover,
  .nav a.is-active {
    color: var(--teal);
    background: var(--workspace-hover);
    box-shadow: none;
    transform: none;
  }

  .language-select {
    width: 100%;
    min-width: 0;
    margin-top: auto;
  }

  .language-trigger {
    min-width: 0;
    min-height: 38px;
    border-color: var(--workspace-border);
    border-radius: 7px;
    font-size: 0.85rem;
  }

  .language-options {
    top: auto;
    bottom: calc(100% + 6px);
    right: auto;
    left: 0;
    min-width: 100%;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    border-color: rgba(10, 125, 118, 0.38);
    border-radius: 7px;
    padding: 9px 12px;
    background: #ffffff;
    color: var(--teal);
    font-size: 0.85rem;
    box-shadow: none;
  }

  .header-cta:hover {
    background: var(--workspace-hover);
    box-shadow: none;
    transform: none;
  }

  .section,
  .section-band {
    max-width: 1180px;
    margin: 0 auto clamp(68px, 7vw, 96px);
    padding: 0;
    scroll-margin-top: 28px;
  }

  .section-heading {
    max-width: 760px;
    margin: 0 0 22px;
    text-align: left;
  }

  .section-heading h2,
  .page-hero h1,
  .hero h1 {
    color: #17233b;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
  }

  .section-heading p:not(.eyebrow),
  .page-hero p,
  .hero-copy {
    max-width: 760px;
    color: #68758a;
    font-size: 0.98rem;
  }

  .eyebrow {
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 0.76rem;
  }

  .hero,
  .page-hero {
    min-height: auto;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hero-content,
  .page-hero {
    max-width: 860px;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions,
  .section-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .button {
    min-height: 38px;
    border-radius: 7px;
    padding: 9px 14px;
    font-size: 0.88rem;
  }

  .button-primary {
    background: var(--teal);
    box-shadow: 0 12px 24px rgba(10, 125, 118, 0.18);
  }

  .button-primary:hover {
    background: #096f69;
    box-shadow: 0 16px 30px rgba(10, 125, 118, 0.24);
  }

  .button-secondary {
    border-color: var(--workspace-border);
    box-shadow: none;
  }

  .trust-strip,
  .journey-outcomes,
  .comparison-table,
  .track-matrix-panel,
  .track-addon-panel,
  .pricing-addon-panel,
  .decision-panel,
  .resource-library-panel,
  .contact-panel,
  .quote-panel,
  .portal-card,
  .comparison-note-panel,
  .site-footer {
    border: 1px solid var(--workspace-border);
    border-radius: 8px;
    background: var(--workspace-card);
    box-shadow: var(--workspace-shadow);
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 1180px;
    margin: 0 auto 30px;
    padding: 0;
    overflow: hidden;
  }

  .trust-strip div {
    min-height: 118px;
    padding: 20px;
    background: #ffffff;
  }

  .assurance-grid,
  .security-grid,
  .scenario-grid,
  .customer-situation-grid,
  .community-grid,
  .resource-grid,
  .component-grid,
  .resource-track-grid,
  .pricing-grid,
  .package-grid,
  .release-grid,
  .report-grid,
  .download-grid,
  .principle-grid,
  .security-detail-grid,
  .team-proof-grid,
  .customer-pattern-grid,
  .m365-capability-grid {
    gap: 18px;
  }

  .scenario-grid,
  .customer-situation-grid,
  .track-addon-grid,
  .resource-track-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .journey-grid,
  .release-grid,
  .pricing-grid,
  .package-grid,
  .report-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .scenario-card,
  .journey-card,
  .assurance-card,
  .security-card,
  .pricing-card,
  .package-card,
  .report-card,
  .community-card,
  .resource-card,
  .component-card,
  .module-detail-card,
  .release-card {
    min-height: 0;
    border: 1px solid var(--workspace-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--workspace-shadow);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .scenario-card:hover,
  .journey-card:hover,
  .assurance-card:hover,
  .security-card:hover,
  .pricing-card:hover,
  .package-card:hover,
  .report-card:hover,
  .community-card:hover,
  .resource-card:hover,
  .component-card:hover,
  .module-detail-card:hover,
  .release-card:hover {
    border-color: rgba(10, 125, 118, 0.32);
    box-shadow: var(--workspace-strong-shadow);
    transform: translateY(-2px);
  }

  .scenario-card::before,
  .journey-card::before,
  .interface-card::before,
  .community-card::before,
  .resource-card::before,
  .component-card::before,
  .resource-track-card::before,
  .resource-callout::before {
    display: none;
  }

  .scenario-card,
  .pricing-card,
  .package-card,
  .report-card,
  .community-card,
  .resource-card,
  .component-card,
  .release-card {
    padding: 22px;
  }

  .scenario-card h3,
  .pricing-card h3,
  .package-card h3,
  .report-card h3 {
    font-size: 1rem;
  }

  .scenario-card p,
  .pricing-card p:not(.pricing-label):not(.pricing-price),
  .package-card li,
  .report-card p,
  .community-card p,
  .resource-card p {
    color: #68758a;
    font-size: 0.9rem;
  }

  .scenario-card a,
  .package-card a,
  .pricing-card a,
  .pricing-table a {
    color: var(--teal);
    font-size: 0.84rem;
  }

  .scenario-card a::after,
  .package-card a::after,
  .pricing-card a::after {
    content: " ->";
  }

  .pricing-card,
  .pricing-card.featured {
    min-height: 300px;
    background: #ffffff;
  }

  .pricing-price {
    color: var(--teal);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
  }

  .comparison-note-panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  }

  .track-addon-grid,
  .decision-grid,
  .customer-situation-grid {
    gap: 1px;
    border: 1px solid var(--workspace-border);
    border-radius: 8px;
    background: var(--workspace-border);
    box-shadow: var(--workspace-shadow);
    overflow: hidden;
  }

  .decision-grid article,
  .track-addon-grid article {
    background: #ffffff;
  }

  .mockup-grid,
  .form-layout,
  .split-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    gap: 24px;
    align-items: start;
  }

  .split-section {
    color: var(--ink);
    background: transparent;
  }

  .split-section .eyebrow {
    color: var(--teal);
  }

  .split-section h2,
  .split-section h3 {
    color: #17233b;
  }

  .split-section p {
    color: #68758a;
  }

  .interface-card {
    border: 1px solid var(--workspace-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--workspace-shadow);
  }

  .quote-form {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .field-grid {
    gap: 18px;
  }

  label {
    color: #17233b;
    font-size: 0.84rem;
    font-weight: 750;
  }

  input,
  select,
  textarea {
    min-height: 42px;
    border-color: var(--workspace-border);
    border-radius: 7px;
    background: #ffffff;
    color: #17233b;
    font-size: 0.9rem;
  }

  textarea {
    min-height: 150px;
  }

  .responsive-table,
  .pricing-table,
  .track-matrix-table {
    border-radius: 8px;
  }

  table {
    background: #ffffff;
  }

  th,
  td {
    border-color: var(--workspace-border);
  }

  .chat-widget {
    right: 28px;
    bottom: 28px;
  }

  .chat-launcher {
    border-radius: 8px;
    background: #17233b;
    box-shadow: 0 18px 38px rgba(23, 35, 59, 0.18);
  }

  .chat-panel {
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(23, 35, 59, 0.2);
  }

  .site-footer {
    max-width: 1180px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 36px;
    padding: 24px;
  }
}

@media (max-width: 1320px) and (min-width: 981px) {
  :root {
    --sidebar-width: 220px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand {
    width: 142px;
  }

  .nav {
    font-size: 0.82rem;
  }

  body > main {
    padding-inline: 28px;
  }

  .scenario-grid,
  .customer-situation-grid,
  .track-addon-grid,
  .journey-grid,
  .release-grid,
  .report-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body > main {
    background: var(--workspace-bg, #f6f8fb);
  }

  main,
  .section,
  .section-band,
  .hero,
  .hero-content,
  .page-hero,
  .hero-visual,
  .hero-visual img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  img,
  table {
    max-width: 100%;
  }

  .hero-copy,
  .page-hero p,
  .section-heading p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand,
  .nav,
  .language-select,
  .header-cta {
    min-width: 0;
    max-width: 100%;
  }

  .nav {
    width: calc(100vw - 28px);
  }

  .language-select {
    width: 112px;
    max-width: 112px;
  }

  .language-trigger {
    font-size: 0.8rem;
  }

  .hero-content,
  .page-hero,
  .section-heading {
    overflow: hidden;
  }

  .hero-content p,
  .page-hero p,
  .section-heading p {
    width: 100%;
    max-width: calc(100vw - 48px);
  }
}

@media (max-width: 1320px) {
  .process-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .process-evidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .process-flow-grid {
    grid-template-columns: 1fr;
  }

  .process-summary-card dl {
    grid-template-columns: 1fr;
  }
}

/* Clean workspace card system */
:root {
  --card-radius: 8px;
  --card-border: #e6edf2;
  --card-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  --card-shadow-strong: 0 20px 44px rgba(15, 23, 42, 0.12);
  --card-accent: var(--teal);
  --icon-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11l8-7 8 7v9H6v-7h12' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V5l7-3 7 3v16M9 8h1M14 8h1M9 12h1M14 12h1M9 16h1M14 16h1M3 21h18' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11a4 4 0 1 0-8 0M4 20a8 8 0 0 1 16 0M18 8a3 3 0 0 1 3 3M20 20a6 6 0 0 0-3-5' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-code: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l-4 4 4 4M16 8l4 4-4 4M14 5l-4 14' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6h.01M4 12h.01M4 18h.01' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM4 21a8 8 0 0 1 16 0' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z' fill='none' stroke='black' stroke-width='2.1' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-5' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-sparkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8zM19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8zM5 4l.8 2.2L8 7l-2.2.8L5 10l-.8-2.2L2 7l2.2-.8z' fill='black'/%3E%3C/svg%3E");
  --icon-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .5-8 6 6 0 0 0-11.2 1.7A3.2 3.2 0 0 0 7 18Z' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 11v7M9 14l3-3 3 3' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10h12v10H6zM8 10V8a4 4 0 0 1 8 0v2' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19V5M5 19h14M9 16v-5M13 16V8M17 16v-8' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-clipboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4h6l1 2h3v15H5V6h3zM9 4h6v4H9zM9 13h6M9 17h4' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h9l3 3v15H6zM14 3v4h4M9 12h6M9 16h6' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-cube: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7l8-4 8 4-8 4zM4 7v10l8 4 8-4V7M12 11v10' fill='none' stroke='black' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4L19 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v10M8 10l4 4 4-4M5 20h14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.scenario-card,
.journey-card,
.assurance-card,
.security-card,
.product-card,
.feature-card,
.pricing-card,
.package-card,
.report-card,
.community-card,
.resource-card,
.component-card,
.resource-track-card,
.download-card,
.principle-card,
.security-detail-card,
.admin-card,
.release-card,
.module-detail-card,
.team-proof-card,
.customer-pattern-card,
.portal-stat-grid article,
.track-addon-grid article,
.decision-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.scenario-card:hover,
.journey-card:hover,
.assurance-card:hover,
.security-card:hover,
.product-card:hover,
.feature-card:hover,
.pricing-card:hover,
.package-card:hover,
.report-card:hover,
.community-card:hover,
.resource-card:hover,
.component-card:hover,
.resource-track-card:hover,
.download-card:hover,
.principle-card:hover,
.security-detail-card:hover,
.admin-card:hover,
.release-card:hover,
.module-detail-card:hover,
.team-proof-card:hover,
.customer-pattern-card:hover,
.portal-stat-grid article:hover,
.track-addon-grid article:hover,
.decision-grid article:hover {
  border-color: rgba(10, 125, 118, 0.34);
  box-shadow: var(--card-shadow-strong);
  transform: translateY(-2px);
}

.assurance-card::before,
.security-card::before,
.scenario-card::before,
.product-card::before,
.endpoint-grid article::before,
.quote-panel::before,
.package-card::before,
.interface-card::before,
.contact-panel::before,
.community-card::before,
.resource-card::before,
.component-card::before,
.resource-track-card::before,
.feature-card::before,
.report-card::before,
.download-card::before,
.principle-card::before,
.security-detail-card::before,
.admin-card::before,
.team-proof-card::before,
.customer-pattern-card::before,
.portal-stat-grid article::before,
.admin-table-panel::before,
.admin-alert-list::before,
.journey-card::before,
.resource-callout::before,
.release-card::before,
.module-detail-card::before {
  display: none;
}

.scenario-card,
.report-card,
.feature-card,
.package-card,
.pricing-card,
.community-card,
.resource-card,
.component-card,
.resource-track-card,
.download-card,
.principle-card,
.security-detail-card,
.admin-card,
.assurance-card,
.security-card,
.product-card,
.team-proof-card,
.customer-pattern-card,
.release-card {
  padding: 22px;
}

.scenario-card h3,
.report-card h3,
.feature-card h3,
.package-card h3,
.pricing-card h3,
.community-card h3,
.resource-card h3,
.component-card h3,
.resource-track-card h3,
.download-card h3,
.principle-card h3,
.security-detail-card h3,
.admin-card h3,
.assurance-card h3,
.security-card h3,
.product-card h3,
.release-card h3 {
  margin-top: 0;
  color: #17233b;
  font-size: 1rem;
  line-height: 1.25;
}

.scenario-card p,
.report-card p,
.feature-card p,
.feature-card li,
.package-card li,
.pricing-card p:not(.pricing-label):not(.pricing-price),
.community-card p,
.resource-card p,
.component-card p,
.resource-track-card p,
.download-card p,
.download-card li,
.principle-card p,
.security-detail-card p,
.security-detail-card li,
.admin-card p,
.assurance-card p,
.security-card p,
.product-card p,
.release-card p,
.module-detail-card p,
.module-detail-card li,
.team-proof-card p,
.customer-pattern-card p {
  color: #68758a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.scenario-card a,
.report-card a,
.download-card a,
.package-card a,
.pricing-card a,
.admin-link {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.scenario-card a:hover,
.report-card a:hover,
.download-card a:hover,
.package-card a:hover,
.pricing-card a:hover,
.admin-link:hover {
  color: var(--blue);
}

.scenario-card,
.report-card,
.feature-card,
.package-card,
.pricing-card,
.community-card,
.resource-card,
.component-card,
.resource-track-card,
.download-card,
.principle-card,
.security-detail-card,
.admin-card,
.assurance-card,
.security-card,
.product-card {
  --card-icon: var(--icon-doc);
}

.scenario-card::before,
.report-card::before,
.feature-card::before,
.package-card::before,
.pricing-card::before,
.community-card::before,
.resource-card::before,
.component-card::before,
.resource-track-card::before,
.download-card::before,
.principle-card::before,
.security-detail-card::before,
.admin-card::before,
.assurance-card::before,
.security-card::before,
.product-card::before {
  content: "";
  display: block;
  position: static;
  width: 34px;
  height: 34px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: var(--card-accent);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.scenario-card::after,
.report-card::after,
.feature-card::after,
.package-card::after,
.pricing-card::after,
.community-card::after,
.resource-card::after,
.component-card::after,
.resource-track-card::after,
.download-card::after,
.principle-card::after,
.security-detail-card::after,
.admin-card::after,
.assurance-card::after,
.security-card::after,
.product-card::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  -webkit-mask: var(--card-icon) center / contain no-repeat;
  mask: var(--card-icon) center / contain no-repeat;
  pointer-events: none;
}

.scenario-card:nth-child(10n + 1) {
  --card-accent: #2f8f8b;
  --card-icon: var(--icon-home);
}

.scenario-card:nth-child(10n + 2) {
  --card-accent: #7c5fb4;
  --card-icon: var(--icon-building);
}

.scenario-card:nth-child(10n + 3) {
  --card-accent: #6fb35b;
  --card-icon: var(--icon-users);
}

.scenario-card:nth-child(10n + 4) {
  --card-accent: #f0a23a;
  --card-icon: var(--icon-code);
}

.scenario-card:nth-child(10n + 5) {
  --card-accent: #3498db;
  --card-icon: var(--icon-list);
}

.scenario-card:nth-child(10n + 6) {
  --card-accent: #7c5fb4;
  --card-icon: var(--icon-user);
}

.scenario-card:nth-child(10n + 7) {
  --card-accent: #2563eb;
  --card-icon: var(--icon-shield);
}

.scenario-card:nth-child(10n + 8) {
  --card-accent: #2f8f8b;
  --card-icon: var(--icon-sparkles);
}

.scenario-card:nth-child(10n + 9) {
  --card-accent: #2f8f8b;
  --card-icon: var(--icon-cloud);
}

.scenario-card:nth-child(10n) {
  --card-accent: #7c5fb4;
  --card-icon: var(--icon-lock);
}

.report-card:nth-child(4n + 1) {
  --card-accent: #7c5fb4;
  --card-icon: var(--icon-chart);
}

.report-card:nth-child(4n + 2) {
  --card-accent: #2563eb;
  --card-icon: var(--icon-clipboard);
}

.report-card:nth-child(4n + 3) {
  --card-accent: #f0a23a;
  --card-icon: var(--icon-doc);
}

.report-card:nth-child(4n) {
  --card-accent: #2f8f8b;
  --card-icon: var(--icon-shield);
}

.feature-card:nth-child(4n + 1),
.package-card:nth-child(4n + 1),
.pricing-card:nth-child(4n + 1),
.community-card:nth-child(4n + 1),
.resource-card:nth-child(4n + 1),
.component-card:nth-child(4n + 1),
.resource-track-card:nth-child(4n + 1),
.download-card:nth-child(4n + 1),
.principle-card:nth-child(4n + 1),
.security-detail-card:nth-child(4n + 1),
.admin-card:nth-child(4n + 1),
.assurance-card:nth-child(4n + 1),
.security-card:nth-child(4n + 1) {
  --card-accent: #2f8f8b;
  --card-icon: var(--icon-list);
}

.feature-card:nth-child(4n + 2),
.package-card:nth-child(4n + 2),
.pricing-card:nth-child(4n + 2),
.community-card:nth-child(4n + 2),
.resource-card:nth-child(4n + 2),
.component-card:nth-child(4n + 2),
.resource-track-card:nth-child(4n + 2),
.download-card:nth-child(4n + 2),
.principle-card:nth-child(4n + 2),
.security-detail-card:nth-child(4n + 2),
.admin-card:nth-child(4n + 2),
.assurance-card:nth-child(4n + 2),
.security-card:nth-child(4n + 2) {
  --card-accent: #2563eb;
  --card-icon: var(--icon-shield);
}

.feature-card:nth-child(4n + 3),
.package-card:nth-child(4n + 3),
.pricing-card:nth-child(4n + 3),
.community-card:nth-child(4n + 3),
.resource-card:nth-child(4n + 3),
.component-card:nth-child(4n + 3),
.resource-track-card:nth-child(4n + 3),
.download-card:nth-child(4n + 3),
.principle-card:nth-child(4n + 3),
.security-detail-card:nth-child(4n + 3),
.admin-card:nth-child(4n + 3),
.assurance-card:nth-child(4n + 3),
.security-card:nth-child(4n + 3) {
  --card-accent: #7c5fb4;
  --card-icon: var(--icon-cube);
}

.feature-card:nth-child(4n),
.package-card:nth-child(4n),
.pricing-card:nth-child(4n),
.community-card:nth-child(4n),
.resource-card:nth-child(4n),
.component-card:nth-child(4n),
.resource-track-card:nth-child(4n),
.download-card:nth-child(4n),
.principle-card:nth-child(4n),
.security-detail-card:nth-child(4n),
.admin-card:nth-child(4n),
.assurance-card:nth-child(4n),
.security-card:nth-child(4n) {
  --card-accent: #16a36a;
  --card-icon: var(--icon-check);
}

.card-mark,
.journey-card > span,
.release-card > span,
.community-card > span:not(.component-icon),
.team-proof-card > span,
.module-card-head > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: #eef9f7;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card .card-mark {
  display: none;
}

.process-section {
  background: transparent;
}

.process-flow-grid,
.process-evidence-grid {
  display: grid;
  gap: 18px;
}

.process-flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

.process-flow-card,
.process-summary-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.process-flow-card:hover,
.process-summary-card:hover {
  border-color: rgba(10, 125, 118, 0.34);
  box-shadow: var(--card-shadow-strong);
  transform: translateY(-2px);
}

.process-flow-card {
  min-height: 174px;
  padding: 20px;
}

.process-flow-card span,
.process-card-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
}

.process-flow-card span {
  background: #eef9f7;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-flow-card h3,
.process-summary-card h3 {
  margin: 0 0 10px;
  color: #17233b;
  font-size: 1rem;
  line-height: 1.25;
}

.process-flow-card p,
.process-summary-card p,
.process-summary-card dd,
.process-summary-card li span {
  margin: 0;
  color: #68758a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.process-summary-card {
  display: grid;
  align-content: start;
  min-height: 360px;
  padding: 22px;
}

.process-card-icon {
  background: var(--card-accent);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.process-card-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #ffffff;
  -webkit-mask: var(--icon-doc) center / contain no-repeat;
  mask: var(--icon-doc) center / contain no-repeat;
}

.process-card-icon-score {
  --card-accent: #2f8f8b;
}

.process-card-icon-score::before {
  -webkit-mask-image: var(--icon-chart);
  mask-image: var(--icon-chart);
}

.process-card-icon-backlog {
  --card-accent: #7c5fb4;
}

.process-card-icon-backlog::before {
  -webkit-mask-image: var(--icon-list);
  mask-image: var(--icon-list);
}

.process-card-icon-evidence {
  --card-accent: #2563eb;
}

.process-card-icon-evidence::before {
  -webkit-mask-image: var(--icon-shield);
  mask-image: var(--icon-shield);
}

.process-summary-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.process-summary-card dl div,
.process-summary-card li {
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: #f8fbfc;
}

.process-summary-card dl div {
  padding: 14px;
}

.process-summary-card dt {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.process-summary-card dd {
  margin: 0;
}

.process-summary-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.process-summary-card li {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.process-summary-card li strong {
  color: #17233b;
  font-size: 0.94rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .process-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-evidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .process-flow-grid,
  .process-evidence-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .process-flow-card,
  .process-summary-card {
    min-height: 0;
    padding: 20px;
  }

  .process-flow-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }

  .process-flow-card span {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .process-flow-card h3 {
    margin-top: 2px;
  }

  .process-flow-card p {
    grid-column: 2;
  }

  .process-summary-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .process-summary-card dl {
    grid-template-columns: 1fr;
  }
}

.engagement-card-grid,
.engagement-owner-grid {
  display: grid;
  gap: 18px;
}

.engagement-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.engagement-owner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.engagement-card,
.engagement-owner-card,
.engagement-cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.engagement-card:hover,
.engagement-owner-card:hover,
.engagement-cta-panel:hover {
  border-color: rgba(10, 125, 118, 0.34);
  box-shadow: var(--card-shadow-strong);
  transform: translateY(-2px);
}

.engagement-card {
  display: grid;
  align-content: start;
  min-height: 292px;
  padding: 22px;
}

.engagement-card-icon,
.engagement-owner-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--card-accent);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.engagement-card-icon::before,
.engagement-owner-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #ffffff;
  -webkit-mask: var(--icon-doc) center / contain no-repeat;
  mask: var(--icon-doc) center / contain no-repeat;
}

.engagement-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.engagement-card h3,
.engagement-owner-card h3,
.engagement-cta-panel h3 {
  margin: 0 0 10px;
  color: #17233b;
  font-size: 1rem;
  line-height: 1.25;
}

.engagement-card p:not(.engagement-kicker),
.engagement-card li,
.engagement-owner-card p,
.engagement-cta-panel p {
  margin: 0;
  color: #68758a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.engagement-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.engagement-card li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}

.engagement-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--card-accent);
}

.engagement-card-license,
.engagement-owner-icon-product {
  --card-accent: #2563eb;
}

.engagement-card-license .engagement-card-icon::before {
  -webkit-mask-image: var(--icon-lock);
  mask-image: var(--icon-lock);
}

.engagement-card-inventory,
.engagement-owner-icon-customer {
  --card-accent: #2f8f8b;
}

.engagement-card-inventory .engagement-card-icon::before {
  -webkit-mask-image: var(--icon-list);
  mask-image: var(--icon-list);
}

.engagement-card-report {
  --card-accent: #7c5fb4;
}

.engagement-card-report .engagement-card-icon::before {
  -webkit-mask-image: var(--icon-chart);
  mask-image: var(--icon-chart);
}

.engagement-card-execute {
  --card-accent: #16a36a;
}

.engagement-card-execute .engagement-card-icon::before {
  -webkit-mask-image: var(--icon-check);
  mask-image: var(--icon-check);
}

.engagement-card-support,
.engagement-owner-icon-support {
  --card-accent: #f0a23a;
}

.engagement-card-support .engagement-card-icon::before,
.engagement-owner-icon-support::before {
  -webkit-mask-image: var(--icon-users);
  mask-image: var(--icon-users);
}

.engagement-owner-card {
  min-height: 174px;
  padding: 22px;
}

.engagement-owner-icon-product::before {
  -webkit-mask-image: var(--icon-cube);
  mask-image: var(--icon-cube);
}

.engagement-owner-icon-customer::before {
  -webkit-mask-image: var(--icon-user);
  mask-image: var(--icon-user);
}

.engagement-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
}

.engagement-cta-panel .eyebrow {
  margin-bottom: 8px;
  color: var(--teal);
}

.engagement-cta-panel .button {
  white-space: nowrap;
}

.download-dashboard {
  display: grid;
  gap: 34px;
}

.download-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.download-dashboard-head h1 {
  margin: 0 0 12px;
  color: #17233b;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.download-dashboard-head p {
  max-width: 720px;
  margin: 0;
  color: #68758a;
  font-size: 1rem;
  line-height: 1.6;
}

.download-searchbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.download-searchbar label,
.download-filter-button,
.download-secondary-button {
  min-height: 46px;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.download-searchbar label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 14px;
}

.download-searchbar input {
  border: 0;
  padding: 0;
  background: transparent;
  color: #17233b;
  outline: none;
}

.download-searchbar input::placeholder {
  color: #68758a;
}

.download-search-icon,
.download-filter-button span {
  width: 18px;
  height: 18px;
  background: #17233b;
  -webkit-mask: var(--icon-search, var(--icon-doc)) center / contain no-repeat;
  mask: var(--icon-search, var(--icon-doc)) center / contain no-repeat;
}

.download-search-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15ZM16 16l5 5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15ZM16 16l5 5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.download-filter-button span {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16l-6 7v5l-4 2v-7z' fill='none' stroke='black' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16l-6 7v5l-4 2v-7z' fill='none' stroke='black' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.download-filter-button,
.download-secondary-button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #17233b;
  font-weight: 850;
  text-decoration: none;
}

.download-filter-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: grid;
  width: min(280px, 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
}

.download-filter-menu[hidden] {
  display: none;
}

.download-filter-menu button {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: transparent;
  color: #17233b;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.download-filter-menu button:hover,
.download-filter-menu button.is-active {
  background: #f1fbfa;
  color: var(--teal);
}

.download-category-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.download-category-tabs a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 12px 16px;
  background: #ffffff;
  color: #17233b;
  font-weight: 850;
  text-decoration: none;
  box-shadow: var(--card-shadow);
}

.download-category-tabs a.is-active {
  border-color: rgba(10, 125, 118, 0.38);
  background: #f1fbfa;
  color: var(--teal);
}

.download-category-tabs small {
  color: #68758a;
  font-weight: 750;
}

.download-tab-icon,
.download-category-icon,
.download-resource-icon,
.download-row-icon,
.download-note-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--card-accent);
}

.download-tab-icon {
  width: 30px;
  height: 30px;
  background: #eef9f7;
}

.download-tab-icon::before,
.download-category-icon::before,
.download-resource-icon::before,
.download-row-icon::before,
.download-note-icon::before {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: var(--card-icon, var(--icon-doc)) center / contain no-repeat;
  mask: var(--card-icon, var(--icon-doc)) center / contain no-repeat;
}

.download-tab-icon {
  color: var(--card-accent);
}

.download-tab-icon-all {
  --card-accent: #2f8f8b;
  --card-icon: var(--icon-list);
}

.download-tab-icon-onprem,
.download-category-card-blue {
  --card-accent: #2563eb;
  --card-icon: var(--icon-building);
}

.download-tab-icon-online,
.download-category-card-teal {
  --card-accent: #2f8f8b;
  --card-icon: var(--icon-cloud);
}

.download-tab-icon-hybrid,
.download-category-card-purple {
  --card-accent: #7c5fb4;
  --card-icon: var(--icon-cube);
}

.download-tab-icon-resources,
.download-category-card-orange {
  --card-accent: #f0a23a;
  --card-icon: var(--icon-doc);
}

.download-section-block {
  display: grid;
  gap: 18px;
}

.download-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.download-section-title h2,
.download-library-toolbar h2,
.download-detail-dialog h2,
.download-security-note h2 {
  margin: 0;
  color: #17233b;
  font-size: 1.05rem;
  line-height: 1.25;
}

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

.download-category-card,
.download-resource-row,
.download-library-list,
.download-detail-dialog,
.download-security-note {
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.download-category-card {
  padding: 24px;
}

.download-category-icon {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #ffffff;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--card-accent) 12%, transparent);
}

.download-category-card-purple .download-category-icon::before {
  width: 15px;
  height: 15px;
  transform: translateX(-10px);
  -webkit-mask-image: var(--icon-cloud);
  mask-image: var(--icon-cloud);
}

.download-category-card-purple .download-category-icon::after {
  content: "";
  width: 15px;
  height: 15px;
  transform: translateX(10px);
  background: currentColor;
  -webkit-mask: var(--icon-building) center / contain no-repeat;
  mask: var(--icon-building) center / contain no-repeat;
}

.download-category-card-purple .download-category-icon {
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position:
    center center,
    center center;
  background-size:
    11px 2px,
    2px 11px;
  background-repeat: no-repeat;
}

.download-category-card h3 {
  margin: 0 0 10px;
  color: #17233b;
  font-size: 1.1rem;
}

.download-category-card p,
.download-detail-dialog p,
.download-security-note p {
  margin: 0;
  color: #68758a;
  line-height: 1.55;
}

.download-category-card dl {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.download-category-card dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.download-category-card dt {
  color: #17233b;
  font-weight: 750;
}

.download-category-card dd {
  margin: 0;
  border-radius: 999px;
  padding: 4px 9px;
  background: color-mix(in srgb, var(--card-accent) 14%, #ffffff);
  color: var(--card-accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.download-category-card a,
.download-resource-row a,
.download-security-note a {
  color: var(--card-accent);
  font-weight: 850;
  text-decoration: none;
}

.download-popular-list {
  display: grid;
}

.download-resource-row {
  display: grid;
  grid-template-columns: auto minmax(240px, 0.9fr) minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 12px 18px;
}

.download-resource-row + .download-resource-row {
  margin-top: -1px;
}

.download-resource-icon,
.download-row-icon {
  width: 36px;
  height: 36px;
  color: #17233b;
  background: #eef4ff;
}

.download-resource-row h3,
.download-table-row strong {
  margin: 0 0 4px;
  color: #17233b;
  font-size: 0.96rem;
}

.download-resource-row h3 small {
  margin-left: 8px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #dff7f2;
  color: var(--teal);
  font-size: 0.72rem;
}

.download-resource-row p,
.download-table-row small,
.download-library-toolbar label,
.download-detail-body dd {
  margin: 0;
  color: #68758a;
  line-height: 1.5;
}

.download-library-workspace {
  display: block;
}

.download-library-list {
  overflow: hidden;
}

.download-library-toolbar,
.download-detail-top,
.download-code-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.download-library-toolbar {
  min-height: 60px;
  border-bottom: 1px solid var(--card-border);
  padding: 14px 18px;
}

.download-library-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.download-library-toolbar select {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #17233b;
  font-weight: 850;
}

.download-table-head,
.download-table-row {
  display: grid;
  grid-template-columns: minmax(320px, 2fr) 110px 180px 150px 120px;
  gap: 18px;
  align-items: center;
}

.download-table-head {
  padding: 12px 18px;
  color: #17233b;
  font-size: 0.78rem;
  font-weight: 850;
}

.download-table-row {
  border-top: 1px solid var(--card-border);
  padding: 11px 18px;
  color: #17233b;
  text-decoration: none;
}

.download-table-row.is-selected {
  background: #f3eefd;
}

.download-table-row > span:first-child {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.download-table-row small {
  display: block;
}

.download-table-row > span:first-child small {
  grid-column: 2;
}

.download-table-row em {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef4ff;
  color: #2563eb;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 900;
}

.download-table-row b {
  color: var(--teal);
  font-size: 0.78rem;
}

.download-table-row time {
  color: #68758a;
  font-size: 0.86rem;
}

.download-table-empty {
  border-top: 1px solid var(--card-border);
  padding: 22px 18px;
  color: #68758a;
}

.download-row-action {
  display: inline-grid;
  place-items: center;
  justify-self: end;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef4ff;
  color: #2563eb;
}

.download-row-action::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--icon-download) center / contain no-repeat;
  mask: var(--icon-download) center / contain no-repeat;
}

.download-row-icon {
  width: 32px;
  height: 32px;
}

.download-row-icon-script,
.download-resource-icon-script {
  --card-icon: var(--icon-code);
}

.download-row-icon-hybrid,
.download-row-icon-spfx,
.download-resource-icon-spfx {
  --card-icon: var(--icon-cube);
  color: #7c5fb4;
  background: #f2ecfb;
}

.download-row-icon-template,
.download-row-icon-doc,
.download-resource-icon-doc {
  --card-icon: var(--icon-doc);
  color: #f0a23a;
  background: #fff4e3;
}

.download-resource-icon-cloud {
  --card-icon: var(--icon-cloud);
  color: var(--teal);
  background: #e9f8f6;
}

.download-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--card-border);
  padding: 14px 18px;
  color: #68758a;
}

.download-pagination a,
.download-pagination button {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: #ffffff;
  color: #17233b;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.download-pagination a:first-of-type,
.download-pagination button.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.download-detail-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  overflow: auto;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(3px);
}

.download-detail-panel:target {
  display: grid;
}

.download-detail-backdrop {
  position: fixed;
  inset: 0;
}

.download-detail-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  width: min(1120px, 100%);
  height: min(860px, calc(100vh - 56px));
  max-height: min(860px, calc(100vh - 56px));
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 28px 88px rgba(15, 23, 42, 0.28);
}

.download-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: #ffffff;
  color: #17233b;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.download-detail-top {
  margin-bottom: 18px;
  padding-right: 64px;
  align-items: flex-start;
}

.download-detail-top .button {
  margin-top: 20px;
  white-space: nowrap;
}

.download-detail-button {
  gap: 8px;
}

.download-detail-button::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--icon-download) center / contain no-repeat;
  mask: var(--icon-download) center / contain no-repeat;
}

.download-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(720px, 100%);
}

.download-badge,
.download-license-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
}

.download-badge-platform-online {
  border-color: #bfe8e2;
  background: #e8f8f5;
  color: #08766d;
}

.download-badge-platform-onprem {
  border-color: #c9dafd;
  background: #eef4ff;
  color: #2557c8;
}

.download-badge-platform-hybrid {
  border-color: #ddcef6;
  background: #f3eefd;
  color: #6f3bb8;
}

.download-badge-platform-migraflect {
  border-color: #ffd9a8;
  background: #fff4e3;
  color: #b95c00;
}

.download-badge-type-script {
  border-color: #cdd9ff;
  background: #f0f5ff;
  color: #2455d6;
}

.download-badge-type-spfx {
  border-color: #ddcef6;
  background: #f4effc;
  color: #7141b8;
}

.download-badge-type-info {
  border-color: #d7dee8;
  background: #f7f9fc;
  color: #4d5d73;
}

.download-badge-license-required,
.download-license-status {
  border-color: #f7caca;
  background: #fff1f1;
  color: #b42318;
}

.download-license-status {
  margin-top: 4px;
  padding: 6px 9px;
  font-size: 0.74rem;
}

.download-detail-dialog > p {
  margin: 10px 0 18px;
}

.download-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 18px;
}

.download-detail-tabs button {
  border: 0;
  background: transparent;
  padding: 0 0 12px;
  color: #68758a;
  font-size: 0.86rem;
  font-weight: 850;
  font-family: inherit;
  cursor: pointer;
}

.download-detail-tabs .is-active {
  border-bottom: 2px solid var(--teal);
  color: var(--teal);
}

.download-detail-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  overflow: auto;
}

.download-detail-body[hidden] {
  display: none;
}

.download-detail-body dl {
  display: grid;
  margin: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.download-detail-body dl div {
  padding: 12px;
  background: #f8fbfc;
}

.download-detail-body dl div + div {
  border-top: 1px solid var(--card-border);
}

.download-detail-body dt {
  color: #17233b;
  font-size: 0.78rem;
  font-weight: 850;
}

.download-overview-panel {
  min-width: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 18px;
  background: #ffffff;
}

.download-overview-panel h3 {
  margin: 0 0 10px;
  color: #17233b;
  font-size: 1rem;
}

.download-overview-panel p {
  margin: 0 0 12px;
}

.download-overview-panel ul,
.download-overview-panel ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #68758a;
  line-height: 1.5;
}

.download-overview-panel li::marker {
  color: var(--teal);
  font-weight: 900;
}

.download-code-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #ffffff;
}

.download-code-toolbar {
  border-bottom: 1px solid var(--card-border);
  padding: 12px 14px;
}

.download-code-panel pre {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow: auto;
  padding: 16px;
  background: #f8fbfc;
  color: #17233b;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.download-code-panel pre code {
  white-space: pre-wrap;
}

.download-security-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
}

.download-note-icon {
  width: 44px;
  height: 44px;
  color: #ffffff;
  --card-accent: var(--teal);
  --card-icon: var(--icon-shield);
}

@media (max-width: 1500px) {
  .download-library-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .download-dashboard-head,
  .download-detail-body {
    grid-template-columns: 1fr;
  }

  .download-category-tabs,
  .download-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .download-dashboard {
    gap: 28px;
  }

  .download-dashboard-head {
    gap: 18px;
  }

  .download-detail-panel {
    padding: 12px;
  }

  .download-detail-dialog {
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    padding: 20px;
  }

  .download-detail-top {
    display: grid;
    gap: 14px;
    padding-right: 42px;
    align-items: flex-start;
  }

  .download-detail-top .button {
    width: 100%;
    margin-top: 0;
  }

  .download-searchbar,
  .download-category-tabs,
  .download-category-grid,
  .download-resource-row,
  .download-security-note {
    grid-template-columns: 1fr;
  }

  .download-filter-menu {
    position: static;
    grid-column: 1;
    width: 100%;
    margin-top: -4px;
  }

  .download-category-tabs a {
    min-height: 54px;
  }

  .download-category-card {
    padding: 20px;
  }

  .download-table-head {
    display: none;
  }

  .download-table-row {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    padding: 14px 16px;
  }

  .download-table-row > span:first-child {
    grid-column: 1;
    align-items: start;
  }

  .download-table-row em,
  .download-table-row b,
  .download-table-row time {
    grid-column: 1;
    justify-self: start;
  }

  .download-table-row b,
  .download-table-row time {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 4px 8px;
    background: #f7f9fc;
    font-size: 0.76rem;
  }

  .download-row-action {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
  }

  .download-detail-tabs {
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .download-detail-tabs button {
    flex: 0 0 auto;
  }
}

@media (max-width: 980px) {
  .engagement-card-grid,
  .engagement-owner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .engagement-cta-panel {
    grid-template-columns: 1fr;
  }

  .engagement-cta-panel .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .engagement-card-grid,
  .engagement-owner-grid {
    grid-template-columns: 1fr;
  }

  .engagement-card,
  .engagement-owner-card,
  .engagement-cta-panel {
    min-height: 0;
    padding: 18px;
  }

  .engagement-card ul {
    gap: 8px;
  }

  .engagement-cta-panel .button {
    width: 100%;
  }
}

.pricing-card,
.pricing-card.featured,
.package-card.featured {
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.pricing-card.featured,
.package-card.featured {
  border-color: rgba(10, 125, 118, 0.42);
}

.pricing-card.featured:hover,
.package-card.featured:hover {
  box-shadow: var(--card-shadow-strong);
}

.trust-strip,
.journey-outcomes,
.comparison-table,
.track-matrix-panel,
.track-addon-panel,
.pricing-addon-panel,
.decision-panel,
.resource-library-panel,
.contact-panel,
.quote-panel,
.portal-card,
.comparison-note-panel,
.site-footer {
  border-color: var(--card-border);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.site-footer {
  color: #17233b;
}

.site-footer img {
  background: transparent;
}

.site-footer strong {
  color: #17233b;
}

.site-footer span,
.site-footer p,
.site-footer a {
  color: #68758a;
}

.site-footer a:hover {
  color: var(--teal);
}

@media (min-width: 981px) {
  :root {
    --workspace-gutter: clamp(28px, 4vw, 56px);
  }

  body > main {
    padding: 34px var(--workspace-gutter) 54px;
  }

  .section,
  .section-band,
  .trust-strip {
    width: min(1180px, 100%);
  }

  .hero-content,
  .page-hero {
    max-width: 1180px;
  }

  .page-hero p {
    max-width: 860px;
  }

  body > .site-footer {
    width: min(1180px, calc(100vw - var(--sidebar-width) - var(--workspace-gutter) - var(--workspace-gutter)));
    margin: 0 var(--workspace-gutter) 36px calc(var(--sidebar-width) + var(--workspace-gutter));
  }

  .site-footer {
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.75fr));
    align-items: start;
  }

  .section-heading,
  .page-hero,
  .hero-content {
    text-align: left;
  }
}

@media (min-width: 1460px) {
  body > .site-footer {
    margin-left: calc(var(--sidebar-width) + var(--workspace-gutter) + ((100vw - var(--sidebar-width) - var(--workspace-gutter) - var(--workspace-gutter) - 1180px) / 2));
  }
}

@media (max-width: 980px) {
  .section,
  .section-band {
    margin-bottom: clamp(48px, 10vw, 72px);
  }

  .page-hero {
    box-sizing: border-box;
    width: 100%;
    border: 0;
    border-radius: 0;
    padding: 28px 18px 34px;
    background:
      linear-gradient(180deg, rgba(241, 251, 250, 0.92), rgba(246, 248, 251, 0.98));
    color: #17233b;
  }

  .page-hero .eyebrow {
    color: var(--teal);
  }

  .page-hero h1 {
    display: block;
    width: min(100%, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
    color: #17233b;
    font-size: clamp(1.65rem, 7.4vw, 2.05rem);
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .page-hero p {
    width: min(100%, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    color: #68758a;
    font-size: 1rem;
    line-height: 1.6;
  }

  .site-footer {
    background: #ffffff;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .interface-showcase figcaption {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }

  .interface-showcase figcaption .eyebrow,
  .interface-showcase figcaption strong,
  .interface-showcase figcaption > span:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .analysis-interface-showcase img,
  .process-interface-showcase img,
  .digital-twin-showcase img {
    aspect-ratio: 4 / 3;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
    left: auto;
  }

  .chat-launcher {
    width: auto;
    max-width: calc(100vw - 24px);
    min-height: 44px;
    padding: 10px 13px;
  }

  .chat-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 112px);
  }
}
