:root {
  --bg: #f7f4ec;
  --surface: #fffdfa;
  --ink: #17130f;
  --muted: #726b61;
  --line: #dfd7c9;
  --red: #d94435;
  --yellow: #e5b532;
  --green: #4f9a67;
  --blue: #4077b8;
  --accent: #17130f;
  --shadow: 0 18px 48px rgba(34, 25, 16, 0.12);
}

.reseller-dashboard-head,
.reseller-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.reseller-dashboard-head h2 { margin-bottom: 0; }

.reseller-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.reseller-link-grid article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 90%, var(--green) 10%);
}

.reseller-link-grid article > span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reseller-copy-row input {
  min-width: 0;
  width: 100%;
  font-size: .86rem;
}

.reseller-package-summary {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.reseller-package-summary summary {
  cursor: pointer;
  font-weight: 800;
}

.about-team-map-image {
  align-self: center;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-team-map-image a,
.about-team-map-image img { display: block; width: 100%; }

.about-team-map-image img {
  height: auto;
  border-radius: 12px;
}

.about-team-map-image figcaption {
  padding: 11px 6px 2px;
  color: var(--muted);
  font-size: .82rem;
}

.team-analysis-hero {
  grid-template-columns: minmax(280px, .78fr) minmax(480px, 1.42fr);
}

@media (max-width: 760px) {
  .reseller-link-grid { grid-template-columns: 1fr; }
  .reseller-dashboard-head { align-items: flex-start; flex-direction: column; }
  .reseller-copy-row { align-items: stretch; flex-direction: column; }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.72);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.brand img { width: 42px; height: 28px; object-fit: contain; }

.nav {
  display: grid;
  gap: 7px;
}

.nav-item {
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: transparent;
  text-align: left;
  color: var(--muted);
}

a.nav-item {
  display: block;
  text-decoration: none;
}

.nav-item[hidden] {
  display: none;
}

.nav-item.active,
.nav-item:hover {
  background: #efe8db;
  color: var(--ink);
}

.session-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar-role-switcher {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar-role-switcher[hidden] {
  display: none;
}

.topbar-role-switcher .small-button {
  white-space: nowrap;
}

.main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.topbar > div:first-child {
  flex: 1 0 min(420px, 100%);
  min-width: 0;
}

.topbar h1 {
  overflow-wrap: normal;
  word-break: normal;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  text-align: right;
}

.login-context {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

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

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 { margin: 0; font-size: 1.25rem; }

.panel.sales-presentation-launcher {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.45fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(229,75,67,.22), transparent 28%),
    radial-gradient(circle at 82% 90%, rgba(68,127,189,.22), transparent 30%),
    #17130f;
  color: #fff;
  box-shadow: 0 26px 70px rgba(23,19,15,.2);
}
.sales-presentation-launcher::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  right: 17%;
  top: -150px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.018);
}
.sales-presentation-brand { display: flex; align-items: center; gap: 16px; }
.sales-presentation-brand > img { width: 84px; height: 64px; padding: 8px; border-radius: 16px; background: #fff; object-fit: contain; }
.sales-presentation-brand > img.is-wide-logo { width: min(190px, 34vw); padding: 10px 12px; }
.sales-presentation-brand > span:last-child { display: grid; gap: 6px; }
.sales-presentation-brand small { color: rgba(255,255,255,.58); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.sales-presentation-brand strong { font-size: 1rem; line-height: 1.25; }
.sales-presentation-brand strong i { color: #e8bc34; font-style: normal; }
.sales-presentation-orb { width: 64px; height: 64px; flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; transform: rotate(45deg); }
.sales-presentation-orb i { border-radius: 50% 50% 16% 50%; }
.sales-presentation-orb i:nth-child(1) { background: #e54b43; }.sales-presentation-orb i:nth-child(2) { background: #447fbd; }.sales-presentation-orb i:nth-child(3) { background: #4da16b; }.sales-presentation-orb i:nth-child(4) { background: #e8bc34; }
.sales-presentation-copy h2 { margin: 0; color: #fff; font-size: clamp(1.65rem, 3vw, 3rem); line-height: .98; letter-spacing: -.045em; }
.sales-presentation-copy p { max-width: 680px; margin: 12px 0 0; color: rgba(255,255,255,.62); line-height: 1.5; }
.sales-presentation-button { display: flex; gap: 20px; align-items: center; white-space: nowrap; background: #fff; color: #17130f; box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.sales-presentation-button b { font-size: 1.35rem; }
.presentation-table-button { white-space: nowrap; border-color: rgba(68,127,189,.35); color: #2f6fab; }
@media (max-width: 980px) {
  .panel.sales-presentation-launcher { grid-template-columns: 1fr; }
  .sales-presentation-button { justify-self: start; }
}

.owner-sales-tools-page { align-items: stretch; }

.panel.owner-sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  overflow: hidden;
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 88% 18%, rgba(77, 161, 107, 0.26), transparent 28%),
    linear-gradient(135deg, #17130f 0%, #2b241c 100%);
  color: #fff;
}

.owner-sales-hero::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -85px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(232, 188, 52, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.owner-sales-hero > * { position: relative; z-index: 1; }
.owner-sales-hero .eyebrow { color: #7fc08d; }
.owner-sales-hero h2 { max-width: 820px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 0.98; letter-spacing: -0.05em; }
.owner-sales-hero p:not(.eyebrow) { max-width: 740px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 1.02rem; }
.owner-sales-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.owner-sales-hero-actions .primary-button { background: #fff; color: #17130f; }
.owner-sales-hero-actions .small-button { border-color: rgba(255, 255, 255, 0.38); background: transparent; color: #fff; }

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

.owner-sales-quick-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdfa;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(45, 35, 23, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.owner-sales-quick-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(45, 35, 23, 0.11); }
.owner-sales-quick-card > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 900; }
.owner-sales-quick-card > strong { font-size: 1.18rem; line-height: 1.2; }
.owner-sales-quick-card > small { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.owner-sales-quick-card > b { align-self: end; font-size: 0.88rem; }
.owner-sales-quick-card.green { border-top: 5px solid #4da16b; }
.owner-sales-quick-card.blue { border-top: 5px solid #447fbd; }
.owner-sales-quick-card.yellow { border-top: 5px solid #e8bc34; }
.owner-sales-quick-card.red { border-top: 5px solid #e54b43; }
.owner-reseller-sales-panel .table-actions { min-width: 245px; }

.consultant-sales-hero-copy { display: grid; gap: 22px; }
.consultant-sales-hero-copy > h2 { font-size: clamp(1.9rem, 3.4vw, 3.25rem); }
.consultant-sales-identity { display: flex; align-items: center; gap: 15px; }
.consultant-sales-identity > img { width: 82px; height: 64px; padding: 7px; border-radius: 13px; background: #fff; object-fit: contain; }
.consultant-sales-identity > span:last-child { display: grid; gap: 3px; }
.consultant-sales-identity small { color: #7fc08d; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.consultant-sales-identity strong { color: #fff; line-height: 1.25; }
.consultant-sales-identity strong i { color: #e8bc34; font-style: normal; }
.consultant-sales-hero-symbol { width: 54px; height: 54px; }
.consultant-sales-activation { border-left: 6px solid var(--yellow); background: #fff9e8; }
.consultant-sales-activation h2 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); }

@media (max-width: 1100px) {
  .owner-sales-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .owner-sales-tools-page { grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; }
  .owner-sales-tools-page > * { min-width: 0; max-width: 100%; }
  .panel.owner-sales-hero { grid-template-columns: 1fr; align-items: start; }
  .owner-sales-hero-actions { justify-content: flex-start; }
  .owner-sales-quick-grid { grid-template-columns: 1fr; }
  .owner-sales-quick-card { min-height: 190px; }
}
h3 { margin: 0 0 8px; font-size: 1rem; }
p { line-height: 1.55; }

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 420px);
  gap: 24px;
  align-items: stretch;
  max-width: 1120px;
}

.intro {
  min-height: 440px;
  padding: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f2ede3 0%, #f7f4ec 58%, #e6dece 100%);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 28px;
  align-items: end;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro h2 {
  max-width: 560px;
  font-size: clamp(2.3rem, 4vw, 4.15rem);
  line-height: 1;
}

.intro p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
}

.intro-logo {
  width: 100%;
  max-width: 300px;
  justify-self: end;
  align-self: center;
  display: block;
  object-fit: contain;
}

.auth-grid > .panel {
  align-self: center;
}

.panel, .metric, .pattern-card, .question-card, .result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(34, 25, 16, 0.06);
}

.panel { padding: 20px; }
.panel + .panel { margin-top: 16px; }

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f0eadf;
  margin-bottom: 16px;
}

.tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-weight: 750;
}

.tab.active { background: var(--surface); box-shadow: 0 1px 8px rgba(0,0,0,0.08); }

.form-grid { display: grid; gap: 12px; }
.subtle-form {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 14px;
}
.subtle-form h3 {
  margin: 0;
}

label { display: grid; gap: 6px; color: var(--muted); font-size: 0.9rem; font-weight: 700; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
}

textarea { min-height: 92px; resize: vertical; }

.primary-button, .ghost-button, .small-button {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  padding: 0 16px;
  font-weight: 800;
}

.primary-button { background: var(--ink); color: white; }
.ghost-button, .small-button { background: transparent; color: var(--ink); }
.small-button { min-height: 36px; padding: 0 12px; }
a.small-button,
a.ghost-button,
a.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}
.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pdf-icon { color: #b93128; }
.table-actions {
  display: grid;
  gap: 6px;
}
.participant-name-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.employee-name-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 190px;
}
.employee-diploma-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.certification-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.certification-options legend {
  padding: 0 5px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}
.certification-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
}
.certification-options input {
  width: auto;
}
.participant-edit-link {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}
.participant-edit-link:hover {
  color: var(--ink);
}
.credit-form {
  display: grid;
  grid-template-columns: minmax(62px, 1fr) minmax(62px, 1fr) auto;
  gap: 8px;
  align-items: end;
  min-width: 220px;
}
.credit-form label {
  gap: 4px;
  font-size: 0.75rem;
}
.credit-form input {
  padding: 8px 9px;
}
.credit-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  color: var(--muted);
}
.credit-summary strong {
  color: var(--ink);
}
.small-button:disabled,
.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.muted { color: var(--muted); }
.error { color: #a5281f; font-weight: 750; }
.success { color: #277744; font-weight: 750; }
.warning-link {
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: #a5281f;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

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

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: 1 / -1; }

.metric { padding: 18px; }
.metric strong { display: block; font-size: 2rem; line-height: 1; }
.metric span { color: var(--muted); font-weight: 700; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; background: white; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0; }
tr:last-child td { border-bottom: 0; }

.team-table-wrap table {
  min-width: 0;
  table-layout: fixed;
}
.team-table-wrap th:nth-child(1) { width: 31%; }
.team-table-wrap th:nth-child(2) { width: 24%; }
.team-table-wrap th:nth-child(3) { width: 14%; }
.team-table-wrap th:nth-child(4) { width: 31%; }
.team-table-wrap .small-button {
  width: 100%;
  min-height: 34px;
  height: auto;
  white-space: normal;
}

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

.pattern-card { padding: 18px; position: relative; overflow: hidden; }
.pattern-card::before { content: ""; display: block; height: 6px; border-radius: 999px; margin-bottom: 16px; background: var(--pattern); }
.pattern-card p, .pattern-card li { color: var(--muted); }
.pattern-card ul { padding-left: 18px; margin: 10px 0 0; }
.type-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.test-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.question-card { padding: 22px; }
.question-head { display: grid; gap: 8px; margin-bottom: 18px; }
.question-count { color: var(--muted); font-weight: 800; }
.answers { display: grid; gap: 10px; }
.answer {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: white;
  text-align: left;
}
.answer.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.answer-key {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f0eadf;
  font-weight: 900;
}

.progress-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.dot { height: 10px; border-radius: 999px; background: #dfd7c9; }
.dot.done { background: var(--ink); }

.score-bars { display: grid; gap: 10px; margin-top: 14px; }
.score-row { display: grid; grid-template-columns: 92px minmax(0,1fr) 34px; gap: 10px; align-items: center; }
.bar { height: 12px; border-radius: 999px; background: #ebe4d8; overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--value); background: var(--pattern); }

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

.check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.check-row input { width: auto; }
.check-row small { display: block; color: var(--muted); }

.team-map {
  position: relative;
  min-height: 500px;
  padding: 48px 58px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(247, 244, 236, 0.98));
  overflow: hidden;
}

.map-plot {
  position: absolute;
  inset: 48px 58px 58px;
  border: 1px solid rgba(23, 19, 15, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.map-quadrant {
  position: absolute;
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background: rgba(255, 253, 250, 0.74);
  color: rgba(23, 19, 15, 0.72);
}

.map-quadrant strong {
  font-size: 0.86rem;
}

.map-quadrant span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.q-connector { left: 0; top: 0; background: #fff4cb; }
.q-driver { right: 0; top: 0; text-align: right; background: #f9dfda; }
.q-balancer { left: 0; bottom: 0; justify-content: flex-end; background: #e5f2e9; }
.q-thinker { right: 0; bottom: 0; justify-content: flex-end; text-align: right; background: #e4edf7; }

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(23, 19, 15, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.07) 1px, transparent 1px);
  background-size: 25% 25%;
  pointer-events: none;
}

.axis {
  position: absolute;
  z-index: 1;
  background: rgba(23, 19, 15, 0.34);
  pointer-events: none;
}

.x-axis { left: 0; right: 0; top: 50%; height: 1px; }
.y-axis { top: 0; bottom: 0; left: 50%; width: 1px; }

.axis-label {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(23, 19, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.92);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  box-shadow: 0 4px 12px rgba(23, 19, 15, 0.06);
}

.axis-top { top: 12px; left: 50%; transform: translateX(-50%); }
.axis-bottom { bottom: 14px; left: 50%; transform: translateX(-50%); }
.axis-left { left: 12px; top: 50%; transform: translateY(-50%); }
.axis-right { right: 12px; top: 50%; transform: translateY(-50%); }

.map-center-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.9);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.map-point {
  position: absolute;
  z-index: 4;
  width: 48px;
  min-height: 48px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 999px;
  background: var(--pattern);
  color: white;
  box-shadow: 0 12px 24px rgba(23, 19, 15, 0.24);
  font-weight: 900;
}

.map-point.leader {
  width: 62px;
  min-height: 62px;
  border: 4px solid var(--ink);
  box-shadow: 0 14px 28px rgba(23, 19, 15, 0.28), 0 0 0 4px white;
}

.point-initials {
  line-height: 1;
}

.map-point small {
  display: block;
  margin-top: -7px;
  font-size: 0.54rem;
  line-height: 1;
  text-transform: uppercase;
}

.map-point em {
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  transform: translateX(-50%);
  max-width: 94px;
  padding: 3px 6px;
  border: 1px solid rgba(23, 19, 15, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.94);
  color: var(--ink);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(23, 19, 15, 0.08);
}

.map-legend {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.9);
}

.map-legend b {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--muted);
}

.map-legend .leader-dot {
  border: 2px solid var(--ink);
  background: white;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 19, 15, 0.42);
}

.modal-panel {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.result-panel { padding: 22px; }
.result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: center;
}
.result-hero.has-image {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) 240px;
}
.result-type-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--pattern);
  color: white;
  font-weight: 900;
}

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

.about-page {
  display: grid;
  gap: 18px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-hero h2 {
  max-width: 720px;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 1;
}

.about-lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.about-image-grid img,
.about-type-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

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

.about-split,
.about-map-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.about-example p:first-of-type {
  font-size: 1.08rem;
}

.about-example-list ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.about-map-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
}

.about-map-preview {
  position: relative;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(23, 19, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.06) 1px, transparent 1px),
    #fffdfa;
  background-size: 25% 25%, 25% 25%, auto;
  overflow: hidden;
}

.about-map-zone {
  position: absolute;
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: rgba(23, 19, 15, 0.72);
}

.about-map-zone strong {
  font-size: 0.82rem;
}

.about-map-zone small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.zone-connector { left: 0; top: 0; background: #fff4cb; }
.zone-driver { right: 0; top: 0; text-align: right; background: #f9dfda; }
.zone-balancer { left: 0; bottom: 0; justify-content: flex-end; background: #e5f2e9; }
.zone-thinker { right: 0; bottom: 0; justify-content: flex-end; text-align: right; background: #e4edf7; }

.about-axis {
  position: absolute;
  z-index: 1;
  background: rgba(23, 19, 15, 0.35);
}

.about-axis-x {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
}

.about-axis-y {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
}

.about-axis-label {
  position: absolute;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid rgba(23, 19, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.9);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.about-axis-label.top { top: 10px; left: 50%; transform: translateX(-50%); }
.about-axis-label.bottom { bottom: 10px; left: 50%; transform: translateX(-50%); }
.about-axis-label.left { left: 10px; top: 50%; transform: translateY(-50%); }
.about-axis-label.right { right: 10px; top: 50%; transform: translateY(-50%); }

.about-map-dot {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(23, 19, 15, 0.18);
}

.dot-driver { left: 67%; top: 27%; background: var(--red); }
.dot-connector { left: 27%; top: 25%; background: var(--yellow); color: var(--ink); }
.dot-balancer { left: 28%; top: 68%; background: var(--green); }
.dot-thinker { left: 67%; top: 66%; background: var(--blue); }

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

.about-type-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(34, 25, 16, 0.06);
}

.about-type-tile img {
  border-radius: 0;
}

.about-type-tile div {
  padding: 14px;
  border-top: 6px solid var(--pattern);
}

.about-type-tile span {
  display: block;
  margin-bottom: 6px;
  font-weight: 900;
}

.about-type-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.couples-hero-image {
  width: min(360px, 100%);
  justify-self: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.couples-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.couples-campaign-copy {
  max-width: 680px;
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 5px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  background: rgba(229, 181, 50, 0.12);
}

.couples-campaign-copy p {
  margin: 0;
}

.couples-campaign-copy p + p {
  margin-top: 6px;
}

.couples-feature-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 650;
}

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

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 34px;
  align-items: center;
  min-height: 490px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 10%, rgba(79, 154, 103, 0.25), transparent 26%),
    linear-gradient(135deg, #f8f4eb, #e9e0d0);
  box-shadow: var(--shadow);
}

.pricing-hero h2 {
  margin-top: 7px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pricing-vat-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-hero-figure {
  display: grid;
  gap: 8px;
  padding: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.pricing-hero-figure small {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-hero-figure strong {
  color: #f4cf62;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
}

.pricing-hero-figure span {
  font-size: 1.15rem;
  font-weight: 800;
}

.pricing-hero-figure i {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

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

.pricing-product-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 7px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(34, 25, 16, 0.06);
}

.pricing-product-card.free { border-top-color: var(--green); }
.pricing-product-card.featured { border-top-color: var(--red); background: #fff8f5; }
.pricing-product-card:last-child { border-top-color: var(--yellow); }

.pricing-product-card h3 {
  font-size: 1.2rem;
}

.pricing-product-card > strong {
  display: block;
  margin: 13px 0 4px;
  font-size: 1.65rem;
}

.pricing-product-card p:not(.eyebrow) {
  color: var(--muted);
}

.pricing-product-card > a,
.pricing-product-card > button {
  align-self: flex-start;
  margin-top: auto;
}

.pricing-product-card > a {
  color: var(--ink);
  font-weight: 900;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pricing-section.reverse .pricing-section-copy { order: 2; }
.pricing-section.reverse .pricing-table-card { order: 1; }

.pricing-section-copy h2,
.pricing-section-head h2,
.pricing-terms h2,
.pricing-cta h2 {
  margin-top: 7px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.pricing-section-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.pricing-includes {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.pricing-table-card {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.pricing-table-card table {
  min-width: 560px;
  margin: 0;
}

.pricing-table-card th,
.pricing-table-card td {
  padding: 14px 16px;
}

.pricing-table-card tbody tr:last-child {
  background: #eef6f1;
}

.pricing-table-card.team tbody tr:first-child {
  background: #fff8e2;
}

.pricing-table-card > p {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.pricing-examples {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: #f0eadf;
}

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

.pricing-example-grid,
.pricing-term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pricing-example-grid article {
  display: grid;
  gap: 7px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pricing-example-grid article > span {
  color: var(--muted);
  font-weight: 800;
}

.pricing-example-grid article > strong {
  font-size: 1.7rem;
}

.pricing-example-grid article small {
  color: var(--muted);
  line-height: 1.4;
}

.pricing-terms {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 34px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.pricing-terms .eyebrow,
.pricing-terms p {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-term-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.pricing-term-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: linear-gradient(135deg, #e5f2e9, #e4edf7);
}

.pricing-cta > div:first-child {
  max-width: 760px;
}

.pricing-cta .pricing-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.reseller-page {
  --reseller-dark: #17130f;
  --reseller-cream: #f3eddf;
}

.reseller-top-login {
  display: flex;
  justify-content: flex-end;
}

.reseller-login-link {
  appearance: none;
  margin: 0 2px 4px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.reseller-login-link:hover,
.reseller-login-link:focus-visible {
  color: var(--ink);
}

.reseller-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 34px;
  align-items: center;
  min-height: 560px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(229, 181, 50, 0.28), transparent 24%),
    radial-gradient(circle at 68% 83%, rgba(64, 119, 184, 0.22), transparent 27%),
    linear-gradient(135deg, #f8f4eb 0%, #eee5d5 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reseller-hero-copy h2 {
  max-width: 820px;
  margin-top: 7px;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 0.98;
}

.reseller-hero-copy .about-lede {
  max-width: 760px;
}

.reseller-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.reseller-hero-note {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reseller-portfolio-visual {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  justify-self: center;
}

.reseller-portfolio-visual::before,
.reseller-portfolio-visual::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(23, 19, 15, 0.16);
  border-radius: 50%;
}

.reseller-portfolio-visual::after {
  inset: 3%;
  border-style: dashed;
}

.portfolio-center,
.portfolio-orbit {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(23, 19, 15, 0.12);
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(34, 25, 16, 0.14);
}

.portfolio-center {
  inset: 28%;
  padding: 16px;
  background: var(--ink);
  color: white;
}

.portfolio-center img {
  width: 44px;
  filter: brightness(0) invert(1);
}

.portfolio-center small {
  color: rgba(255, 255, 255, 0.68);
}

.portfolio-orbit {
  width: 112px;
  height: 112px;
  padding: 9px;
  background: var(--surface);
  font-size: 0.84rem;
  line-height: 1.25;
}

.orbit-ts { left: 2%; top: 8%; border-top: 7px solid var(--green); }
.orbit-individual { right: 1%; top: 2%; border-top: 7px solid var(--red); }
.orbit-team { right: 2%; bottom: 3%; border-top: 7px solid var(--blue); }
.orbit-couples { left: 0; bottom: 4%; border-top: 7px solid var(--yellow); }

.reseller-value-grid,
.reseller-use-grid,
.reseller-preview-grid {
  display: grid;
  gap: 16px;
}

.reseller-login-backdrop {
  z-index: 40;
  overflow-y: auto;
  padding: clamp(12px, 4vw, 42px);
  background: rgba(23, 19, 15, 0.72);
  backdrop-filter: blur(5px);
}

.reseller-login-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: min(980px, 100%);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.reseller-login-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.reseller-login-close:hover,
.reseller-login-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.reseller-login-copy {
  max-width: 690px;
}

.reseller-login-copy .eyebrow,
.reseller-login-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.reseller-login-copy h2 {
  margin-top: 7px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.reseller-login-help {
  font-size: 0.9rem;
}

.reseller-login-box {
  padding: 22px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.reseller-login-box .small-button,
.reseller-login-box .primary-button {
  width: 100%;
}

.reseller-login-box .subtle-form {
  margin-top: 16px;
}

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

.reseller-value-grid .panel {
  position: relative;
  min-height: 230px;
  padding-top: 58px;
}

.reseller-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(23, 19, 15, 0.15);
  font-size: 2.2rem;
  font-weight: 950;
}

.reseller-section-head {
  max-width: 860px;
  padding: 24px 4px 2px;
}

.reseller-section-head h2,
.reseller-ownership-section h2,
.reseller-cta h2 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.reseller-section-head > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.reseller-use-card {
  --use-accent: var(--blue);
  position: relative;
  min-height: 470px;
  padding: 0;
  overflow: hidden;
  border-top: 5px solid var(--use-accent);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reseller-use-card:nth-child(1) { --use-accent: var(--green); }
.reseller-use-card:nth-child(2) { --use-accent: var(--red); }
.reseller-use-card:nth-child(3) { --use-accent: var(--blue); }
.reseller-use-card:nth-child(4) { --use-accent: var(--yellow); }
.reseller-use-card:nth-child(5) { --use-accent: var(--green); }
.reseller-use-card:nth-child(6) { --use-accent: var(--blue); }

.reseller-use-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(34, 25, 16, 0.14);
}

.reseller-use-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee5d5;
}

.reseller-use-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(23, 19, 15, 0.08));
  pointer-events: none;
}

.reseller-use-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.reseller-use-card:hover .reseller-use-visual img {
  transform: scale(1.025);
}

.reseller-use-copy {
  padding: 24px;
}

.reseller-use-copy > span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--use-accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.reseller-use-copy h3 {
  font-size: 1.15rem;
}

.reseller-use-copy p:last-child {
  margin-bottom: 0;
}

.reseller-flow-section,
.reseller-certification,
.reseller-model-section {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.reseller-flow {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.reseller-flow article {
  display: grid;
  grid-template-areas:
    "step"
    "visual"
    "copy";
  gap: 5px;
  min-width: 0;
  min-height: 280px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf7f0;
}

.reseller-flow article span {
  grid-area: step;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 2px 0 7px 2px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.reseller-flow article img {
  grid-area: visual;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.reseller-flow article > div {
  grid-area: copy;
  display: grid;
  gap: 4px;
  padding: 8px 4px 3px;
}

.reseller-flow article small {
  color: var(--muted);
}

.reseller-flow > i {
  color: var(--muted);
  font-size: 1.4rem;
  font-style: normal;
}

.reseller-cert-grid,
.reseller-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.reseller-hybrid-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.reseller-hybrid-flow article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf7f0;
}

.reseller-hybrid-flow article > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.reseller-hybrid-flow article div {
  display: grid;
  gap: 3px;
}

.reseller-hybrid-flow article small {
  color: var(--muted);
  line-height: 1.35;
}

.reseller-hybrid-flow > i {
  color: var(--muted);
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 900;
}

.reseller-cert-card,
.reseller-model-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf7f0;
}

.reseller-cert-card.individual { border-top: 8px solid var(--red); }
.reseller-cert-card.team { border-top: 8px solid var(--blue); }

.reseller-inhouse-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin-top: 24px;
}

.reseller-inhouse-card,
.reseller-compliance-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 8px;
}

.reseller-inhouse-card {
  border: 1px solid #b9d8c4;
  border-top: 8px solid var(--green);
  background: linear-gradient(145deg, #fffdfa, #e4f2e8);
}

.reseller-inhouse-card .eyebrow { color: var(--green); }

.reseller-inhouse-card h3,
.reseller-compliance-card h3 {
  margin: 6px 0 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.08;
}

.reseller-inhouse-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.reseller-inhouse-card li { margin: 8px 0; }

.reseller-compliance-card {
  background: var(--ink);
  color: white;
}

.reseller-compliance-card .eyebrow { color: #7ee09d; }
.reseller-compliance-card > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); }

.compliance-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.compliance-principles span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  font-size: 0.75rem;
  font-weight: 850;
}

.reseller-compliance-card small {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.reseller-diploma-section {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.reseller-diploma-heading {
  max-width: 820px;
}

.reseller-diploma-heading .eyebrow,
.reseller-diploma-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.reseller-diploma-heading h3 {
  margin: 6px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.reseller-diploma-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.reseller-diploma-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
}

.reseller-diploma-card > a:first-child {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eee8db;
}

.reseller-diploma-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.reseller-diploma-card > a:first-child:hover img,
.reseller-diploma-card > a:first-child:focus-visible img {
  transform: scale(1.015);
}

.reseller-diploma-card > div {
  padding: 18px 20px 20px;
}

.reseller-diploma-card h4 {
  margin: 7px 0 4px;
  font-size: 1.16rem;
}

.reseller-diploma-card p {
  margin: 0 0 9px;
  color: var(--muted);
}

.reseller-diploma-card > div > a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-underline-offset: 3px;
}

.reseller-recertification {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  margin-top: 20px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #9ac5a7;
  border-left: 8px solid #4f9a67;
  border-radius: 10px;
  background: linear-gradient(135deg, #edf7f0, #fffdfa 70%);
}

.reseller-recertification h3,
.reseller-recertification p {
  margin: 0;
}

.reseller-recertification h3 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.reseller-recertification h3 strong {
  color: #25643a;
  white-space: nowrap;
}

.reseller-recertification > p {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .reseller-recertification {
    grid-template-columns: 1fr;
  }
}

.reseller-cert-campaign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(229, 181, 50, 0.26), transparent 32%),
    var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.campaign-copy {
  max-width: 800px;
}

.campaign-copy .eyebrow,
.campaign-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.campaign-copy h3 {
  margin-top: 6px;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.campaign-copy h3 strong {
  color: #f4cf62;
  white-space: nowrap;
}

.campaign-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.campaign-saving {
  margin-bottom: 0;
  font-weight: 800;
}

.campaign-license-value {
  padding: 13px 15px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.reseller-cert-campaign > .primary-button {
  flex: 0 0 auto;
  border-color: white;
  background: white;
  color: var(--ink);
}

.reseller-cert-details {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf7f0;
}

.reseller-cert-details summary {
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 900;
}

.reseller-cert-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.reseller-cert-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
}

.reseller-cert-detail-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.reseller-cert-detail-grid h3 {
  font-size: 1.25rem;
}

.cert-normal-price {
  font-size: 1.05rem;
}

.cert-included {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 14px;
  border-left: 5px solid var(--green);
  background: #eef6f1;
}

.cert-included span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 950;
}

.cert-package-note {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cert-license-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cert-label,
.model-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reseller-cert-card h3,
.reseller-model-card h3 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.reseller-cert-card ul,
.reseller-model-card ul {
  display: grid;
  gap: 9px;
  padding-left: 20px;
}

.reseller-ownership-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.reseller-ownership-section .eyebrow,
.reseller-ownership-section p {
  color: rgba(255, 255, 255, 0.72);
}

.reseller-ownership-diagram {
  display: grid;
  justify-items: center;
  width: 100%;
}

.ownership-source,
.ownership-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.ownership-source span,
.ownership-products span,
.ownership-profile {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.ownership-profile {
  display: grid;
  gap: 4px;
  width: min(280px, 90%);
  border-color: rgba(229, 181, 50, 0.7);
  background: rgba(229, 181, 50, 0.14);
}

.ownership-profile small { color: rgba(255, 255, 255, 0.67); }

.ownership-line {
  width: 2px;
  height: 28px;
  background: rgba(255, 255, 255, 0.32);
}

.reseller-brand-intro {
  margin-top: 10px;
}

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

.reseller-preview-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(34, 25, 16, 0.06);
}

.reseller-screenshot-frame {
  display: block;
  overflow: hidden;
  margin: 12px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 12px 28px rgba(34, 25, 16, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.reseller-screenshot-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(34, 25, 16, 0.17);
}

.reseller-screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.reseller-screenshot-frame:not(.report) img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}

.reseller-screenshot-frame.report {
  padding: 10px;
}

.reseller-screenshot-frame.report img {
  max-height: 520px;
  object-fit: contain;
}

.mock-browser,
.mock-report-page {
  min-height: 360px;
  margin: 14px 0 16px;
  border: 1px solid #cbc2b4;
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(34, 25, 16, 0.12);
}

.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  background: #ede8df;
}

.mock-browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8afa2;
}

.mock-browser-bar small {
  margin-left: 7px;
  color: #847b70;
}

.mock-test-page,
.mock-dashboard-main {
  padding: 22px;
}

.mock-partner-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-partner-brand > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #173f5f, #4077b8);
  color: white;
  font-weight: 950;
}

.mock-partner-brand div {
  display: grid;
  gap: 2px;
}

.mock-partner-brand small { color: #777064; }
.mock-test-page h3 { margin-top: 48px; font-size: 1.45rem; }
.mock-test-page p { color: #777064; font-size: 0.83rem; }

.mock-progress {
  height: 7px;
  margin: 25px 0;
  border-radius: 999px;
  background: #eee8de;
}

.mock-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.mock-answer {
  height: 34px;
  margin: 9px 0;
  border: 1px solid #ddd5c9;
  border-radius: 8px;
}
.mock-answer.short { width: 78%; }

.mock-dashboard-page {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 328px;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding-top: 22px;
  background: #17130f;
  color: white;
}

.mock-sidebar span {
  width: 23px;
  height: 4px;
  border-radius: 9px;
  background: rgba(255,255,255,.35);
}

.mock-dashboard-main > small {
  color: var(--muted);
  font-weight: 900;
}

.mock-dashboard-main .mock-partner-brand {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 35px;
}

.mock-metrics i {
  height: 72px;
  border-radius: 8px;
  background: #eee8de;
}

.mock-report-page {
  position: relative;
  padding-bottom: 36px;
  border-radius: 2px;
  background: #f8f4eb;
}

.mock-report-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #17130f;
  color: white;
  font-size: 0.72rem;
}

.mock-report-content {
  padding: 30px 24px;
}

.mock-report-content > span {
  float: right;
  color: #9c9387;
  font-size: 0.7rem;
}

.mock-report-content h3 {
  max-width: 240px;
  margin-bottom: 20px;
}

.mock-report-content p {
  height: 6px;
  margin-top: 28px;
  border-radius: 4px;
  background: #d9d1c5;
}
.mock-report-content p.short { width: 68%; margin-top: 8px; }

.mock-report-footer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 12px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #d9d1c5;
  padding-top: 8px;
}

.mock-report-footer b {
  position: absolute;
  right: 0;
}

.reseller-model-card {
  display: flex;
  flex-direction: column;
}

.reseller-model-card.featured {
  border: 2px solid var(--ink);
  background: #f3eddf;
  box-shadow: var(--shadow);
}

.reseller-model-card .model-bottom {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.reseller-faq h3 {
  font-size: 1.15rem;
}

.reseller-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: linear-gradient(135deg, #e5f2e9, #e4edf7);
}

.reseller-cta > div {
  max-width: 760px;
}

.reseller-cta .primary-button {
  flex: 0 0 auto;
}

.consultant-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 108px;
}

.consultant-brand h2,
.consultant-brand p {
  margin: 0;
}

.consultant-brand-copy {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.consultant-brand-logo,
.consultant-profile-logo {
  width: min(180px, 36vw);
  max-height: 86px;
  object-fit: contain;
  object-position: left center;
}

.consultant-table-logo {
  width: 92px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.consultant-contact-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

.consultant-contact-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.consultant-contact-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 12px 34px 18px 0;
}

.consultant-contact-heading h2,
.consultant-contact-heading p {
  margin: 0;
}

.consultant-contact-logo {
  width: min(170px, 35vw);
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
}

.consultant-contact-note {
  padding: 13px 15px;
  border-left: 4px solid var(--green);
  background: #eef6f1;
}

.consultant-contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.consultant-contact-person {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.consultant-contact-person h3 {
  margin: 0 0 3px;
}

.consultant-contact-person a {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.consultant-email-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.consultant-assignment {
  display: grid;
  gap: 8px;
  min-width: 190px;
}

.course-track-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px;
}

.course-track-button {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.course-track-button > span:first-child {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8e1d6;
  font-weight: 850;
}

.course-track-button > span:last-child {
  display: grid;
  gap: 2px;
}

.course-track-button small {
  color: var(--muted);
}

.course-track-button.active {
  border-color: #7aaa89;
  background: #edf7f0;
}

.course-track-button.active > span:first-child {
  background: #4f9a67;
  color: white;
}

.course-locked {
  max-width: 760px;
  border-color: #d8c8a4;
  background: #fffaf0;
}

.employee-course-status {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.employee-course-status > span {
  display: grid;
  gap: 1px;
}

.employee-course-status em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.employee-course-status .course-status-passed {
  color: #26683b;
  font-weight: 750;
}

.employee-course-status .course-status-locked {
  color: #8a6a2d;
}

.course-hero,
.course-pass-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.course-hero h2,
.course-pass-banner h2 {
  margin: 4px 0 8px;
}

.course-progress-card {
  min-width: 220px;
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 10px;
  background: var(--soft);
}

.course-progress-card strong {
  font-size: 1.65rem;
}

.course-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #ddd5c8;
}

.course-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f9a67, #4077b8);
}

.course-pass-banner {
  border-color: #9ccdab;
  background: #edf8f0;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(245px, 290px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.course-module-list {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 8px;
}

.course-module-list h2 {
  margin: 0 0 5px;
}

.course-module-button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.course-module-button > span:first-child {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8e1d6;
  font-weight: 850;
}

.course-module-button > span:last-child {
  display: grid;
  gap: 2px;
}

.course-module-button small {
  color: var(--muted);
}

.course-module-button.active {
  border-color: var(--line);
  background: var(--soft);
}

.course-module-button.complete > span:first-child {
  background: #4f9a67;
  color: white;
}

.course-module-button:disabled {
  opacity: 0.46;
}

.course-exam-button {
  margin-top: 10px;
}

.course-lesson {
  max-width: 900px;
}

.course-lesson-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.course-lesson-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.course-complete-badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: #e2f2e7;
  color: #26683b;
  font-weight: 800;
}

.course-goal {
  padding: 14px 16px;
  border-left: 4px solid #4077b8;
  background: #edf3fa;
}

.course-lesson section {
  margin-top: 28px;
}

.course-lesson section h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.course-lesson section p,
.course-example p,
.course-reflection p {
  line-height: 1.68;
}

.course-example,
.course-remember,
.course-reflection {
  margin-top: 22px;
  padding: 17px 19px;
  border-radius: 9px;
}

.course-example { background: #fff5d6; border-left: 4px solid #e5b532; }
.course-remember { background: #edf7f0; border-left: 4px solid #4f9a67; }
.course-reflection { background: #f1edf8; border-left: 4px solid #795aa6; }
.course-remember ul { margin-bottom: 0; padding-left: 20px; }

.course-check {
  display: grid;
  gap: 11px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
}

.course-check label,
.course-exam-question label {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 650;
}

.course-check input,
.course-exam-question input {
  width: auto;
  margin-top: 3px;
}

.course-check-complete {
  margin-top: 25px;
  padding: 15px;
  border-radius: 8px;
  background: #e8f5ec;
  color: #26683b;
}

.course-lesson-nav,
.course-exam-submit {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.course-exam-intro,
.course-exam-result {
  margin-bottom: 18px;
}

.course-exam {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.course-exam-question {
  display: grid;
  gap: 10px;
}

.course-exam-question legend {
  padding: 0 7px;
  color: var(--muted);
  font-weight: 800;
}

.course-exam-question h3 {
  margin-top: 0;
}

.course-exam-result.failed {
  border-color: #e1b6ae;
  background: #fff4f1;
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav { grid-template-columns: repeat(auto-fit, minmax(92px,1fr)); }
  .nav-item { text-align: center; padding: 10px 6px; font-size: 0.86rem; }
  .session-card { display: none; }
  .main { padding: 18px; }
  .auth-grid, .test-layout, .result-hero, .result-hero.has-image { grid-template-columns: 1fr; }
  .intro {
    min-height: auto;
    padding: 24px;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .intro-logo {
    max-width: 220px;
    justify-self: start;
    order: -1;
  }
  .intro h2 { font-size: clamp(2.1rem, 10vw, 3.4rem); }
  .pattern-grid, .interaction-grid, .about-hero, .about-principles, .about-split, .about-map-section, .about-type-grid { grid-template-columns: 1fr; }
  .reseller-hero,
  .reseller-value-grid,
  .reseller-use-grid,
  .reseller-login-modal,
  .reseller-cert-grid,
  .reseller-inhouse-grid,
  .reseller-diploma-grid,
  .reseller-model-grid,
  .reseller-ownership-section,
  .reseller-preview-grid { grid-template-columns: 1fr; }
  .pricing-hero,
  .pricing-section,
  .pricing-terms { grid-template-columns: 1fr; }
  .pricing-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-section.reverse .pricing-section-copy,
  .pricing-section.reverse .pricing-table-card { order: initial; }
  .pricing-cta { align-items: flex-start; flex-direction: column; }
  .reseller-portfolio-visual { max-width: 390px; }
  .reseller-flow { grid-template-columns: 1fr; }
  .reseller-flow article {
    grid-template-columns: 40px minmax(0, 1fr) 118px;
    grid-template-areas: "step copy visual";
    gap: 12px;
    align-items: center;
    min-height: 142px;
    padding: 12px;
  }
  .reseller-flow article span { margin: 0; }
  .reseller-flow article img {
    width: 118px;
    height: 118px;
    max-width: 100%;
    justify-self: end;
  }
  .reseller-flow article > div { padding: 0; }
  .reseller-flow > i { transform: rotate(90deg); justify-self: center; }
  .reseller-hybrid-flow { grid-template-columns: 1fr; }
  .reseller-hybrid-flow > i { justify-self: center; }
  .reseller-cert-detail-grid { grid-template-columns: 1fr; }
  .reseller-cert-campaign { align-items: flex-start; flex-direction: column; }
  .reseller-cta { align-items: flex-start; flex-direction: column; }
  .reseller-ownership-diagram { max-width: 520px; justify-self: center; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .team-map { min-height: 430px; padding: 44px 42px 58px; }
  .team-map .map-plot { inset: 46px 42px 58px; }
  .map-quadrant { padding: 10px; }
  .map-point em { max-width: 76px; }
  .span-4, .span-6, .span-8 { grid-column: 1 / -1; }
  .course-layout { grid-template-columns: 1fr; }
  .course-module-list { position: static; }
}

@media (max-width: 560px) {
  .topbar { align-items: stretch; flex-direction: column; }
  .topbar-actions {
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
  }
  .topbar-role-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .topbar-role-switcher .small-button {
    padding: 0 8px;
    white-space: normal;
  }
  .ghost-button { width: 100%; }
  .nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reseller-hero { min-height: auto; padding: 24px; }
  .pricing-hero,
  .pricing-section,
  .pricing-examples,
  .pricing-terms,
  .pricing-cta { padding: 24px 20px; }
  .pricing-hero { min-height: auto; }
  .pricing-hero h2 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .pricing-product-grid,
  .pricing-example-grid,
  .pricing-term-grid { grid-template-columns: 1fr; }
  .pricing-product-card { min-height: auto; }
  .pricing-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .pricing-actions > * { width: 100%; }
  .pricing-cta .pricing-actions { flex: 1 1 auto; }
  .reseller-login-backdrop { padding: 10px; }
  .reseller-login-modal { padding: 54px 20px 24px; }
  .reseller-hero-copy h2 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .reseller-portfolio-visual { max-width: 330px; }
  .portfolio-orbit { width: 88px; height: 88px; font-size: 0.72rem; }
  .portfolio-center { inset: 27%; font-size: 0.78rem; }
  .portfolio-center img { width: 34px; }
  .reseller-hero-actions,
  .intro-actions { display: grid; grid-template-columns: 1fr; }
  .reseller-hero-actions > *,
  .intro-actions > * { width: 100%; }
  .reseller-flow-section,
  .reseller-certification,
  .reseller-model-section { padding: 20px; }
  .reseller-cert-card,
  .reseller-model-card { padding: 22px; }
  .reseller-diploma-section { padding: 22px 16px 16px; }
  .reseller-cert-campaign { padding: 24px 20px; }
  .reseller-cert-campaign > .primary-button { width: 100%; }
  .reseller-cert-detail-grid { padding: 14px; }
  .reseller-cert-detail-grid article { padding: 18px; }
  .campaign-copy h3 strong { white-space: normal; }
  .reseller-ownership-section { padding: 26px 20px; }
  .ownership-products { grid-template-columns: 1fr; }
  .reseller-cta .primary-button { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .span-4, .span-6, .span-8, .span-12 { grid-column: 1; }
  .team-map { min-height: 390px; padding: 40px 24px 54px; }
  .team-map .map-plot { inset: 42px 24px 56px; }
  .map-quadrant { padding: 8px; }
  .map-quadrant strong { font-size: 0.72rem; }
  .map-quadrant span { display: none; }
  .axis-label { font-size: 0.64rem; padding: 4px 6px; }
  .axis-left { left: 6px; }
  .axis-right { right: 6px; }
  .map-point { width: 42px; min-height: 42px; }
  .map-point.leader { width: 52px; min-height: 52px; }
  .map-point em { display: none; }
  .about-map-zone { padding: 9px; }
  .about-map-zone strong { font-size: 0.7rem; }
  .about-map-zone small { display: none; }
  .progress-list { grid-template-columns: repeat(8, 1fr); }
  .consultant-brand { align-items: flex-start; flex-direction: column; }
  .course-hero, .course-pass-banner, .course-lesson-head { align-items: stretch; flex-direction: column; }
  .course-progress-card { min-width: 0; }
  .course-lesson-nav, .course-exam-submit { flex-direction: column; }
  .course-track-switcher { grid-template-columns: 1fr; }
}
.screening-page {
  --screening-green: #4f9a67;
  --screening-blue: #4077b8;
}

.screening-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.screening-hero > div:first-child {
  padding: 34px 0;
}

.screening-hero h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.02;
  margin: 8px 0 18px;
}

.screening-benefits {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin-top: 26px;
}

.screening-start-card {
  box-shadow: 0 20px 50px rgba(45, 38, 29, 0.12);
  border-top: 5px solid var(--screening-green);
}

.screening-ts-logo {
  display: block;
  width: 152px;
  height: 152px;
  margin: 0 0 12px;
  border-radius: 14px;
}

.screening-explainer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-left: 5px solid var(--screening-green);
}

.screening-explainer h2,
.screening-blindspot h2,
.screening-decision-panel h2 {
  margin: 4px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.screening-topic-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.screening-illustration {
  margin: 0;
}

.screening-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #d8d4ca;
  border-radius: 9px;
}

.screening-illustration figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.screening-topic-grid article {
  display: grid;
  gap: 7px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid #d8dfd3;
  border-radius: 8px;
  background: #f2f7f1;
}

.screening-topic-grid strong {
  font-size: 1.05rem;
}

.screening-topic-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.screening-blindspot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdfa, #f2ede3);
}

.screening-team-illustration {
  grid-column: 1 / -1;
}

.screening-example-card {
  margin: 0 !important;
  border-top: 5px solid var(--screening-blue);
}

.screening-example-card h3 {
  font-size: 1.15rem;
}

.screening-decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #f2f7f1;
}

.screening-decision-panel .primary-button {
  white-space: nowrap;
}

.screening-decision-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.screening-recommend-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 0.8fr) auto;
  grid-template-areas:
    "copy email submit"
    "copy message message"
    ". check check"
    "status status status";
  gap: 16px;
  align-items: end;
  padding: 22px;
  border: 1px solid #cddccf;
  border-radius: 8px;
  background: #fff;
}

.screening-recommend-form h3,
.screening-recommend-form p {
  margin: 0;
}

.screening-recommend-copy {
  grid-area: copy;
  align-self: center;
}

.screening-recommend-email {
  grid-area: email;
}

.screening-recommend-message {
  grid-area: message;
}

.screening-recommend-message textarea {
  min-height: 84px;
  resize: vertical;
}

.screening-recommend-message textarea::placeholder {
  color: #8a8f88;
  opacity: 1;
}

.screening-recommend-submit {
  grid-area: submit;
}

.screening-recommend-check {
  grid-area: check;
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  font-weight: 500 !important;
}

.screening-recommend-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.screening-recommend-form [data-screening-recommend-status] {
  grid-area: status;
  margin: 0;
}

.screening-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.screening-contact-row.leader-row {
  padding: 14px;
  background: #f2f7f1;
  border: 1px solid #d5e5d7;
  border-radius: 8px;
}

.screening-remove-row {
  grid-column: 2;
  justify-self: end;
}

.screening-privacy-check {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  background: #f7f4ec;
  border: 1px solid #ded7c9;
  border-radius: 8px;
  font-weight: 500 !important;
}

.screening-privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.screening-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.screening-privacy-panel {
  border-left: 5px solid var(--screening-blue);
}

.screening-privacy-details {
  margin-top: 18px;
  border-top: 1px solid #ded7c9;
  padding-top: 14px;
}

.screening-privacy-details summary {
  cursor: pointer;
  color: #244f78;
  font-weight: 700;
}

.screening-privacy-details > div {
  margin-top: 16px;
  padding: 18px;
  background: #f8f6f0;
  border-radius: 8px;
}

.screening-privacy-details h3 {
  margin: 18px 0 6px;
}

.screening-privacy-details h3:first-child {
  margin-top: 0;
}

.screening-manager-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #f2f7f1, #f7f4ec);
  border: 1px solid #d8dfd3;
  border-radius: 12px;
}

.screening-manager-head h2 {
  margin: 4px 0 8px;
}

.screening-result-card {
  border-left: 6px solid var(--screening-blue);
}

.screening-result-card.level-lav { border-left-color: #4f9a67; }
.screening-result-card.level-moderat { border-left-color: #e5b532; }
.screening-result-card.level-tydelig { border-left-color: #d97b32; }
.screening-result-card.level-sterk { border-left-color: #d94435; }

.screening-total-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0;
}

.screening-total-score strong {
  font-size: 2.7rem;
  line-height: 1;
}

.screening-total-score span {
  color: #6f685e;
  font-size: 0.9rem;
}

.screening-score-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.screening-score-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(160px, 2fr) 48px;
  gap: 14px;
  align-items: center;
}

.screening-score-track {
  height: 10px;
  overflow: hidden;
  background: #ece7dc;
  border-radius: 999px;
}

.screening-score-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4f9a67, #e5b532, #d94435);
  border-radius: inherit;
}

.screening-add-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ded7c9;
}

.screening-danger-zone {
  border: 1px solid #dfb9b5;
  background: #fff9f7;
}

.danger-button {
  color: #9f261d !important;
  border-color: #d7a39e !important;
}

.danger-button:hover {
  background: #fff0ed !important;
}

.screening-answer-page {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.screening-privacy-summary {
  margin-top: 20px;
  padding: 16px;
  background: #f2f7f1;
  border-left: 4px solid var(--screening-green, #4f9a67);
}

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

.screening-question {
  margin: 0;
  padding: 20px;
  background: #fffdfa;
  border: 1px solid #ded7c9;
  border-radius: 10px;
}

.screening-question legend {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.screening-question legend span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  color: white;
  background: #17130f;
  border-radius: 50%;
  font-size: 0.8rem;
}

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

.screening-scale label {
  cursor: pointer;
}

.screening-scale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.screening-scale span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 8px;
  text-align: center;
  background: #f7f4ec;
  border: 1px solid #ded7c9;
  border-radius: 8px;
  font-size: 0.85rem;
}

.screening-scale input:checked + span {
  color: white;
  background: #315f43;
  border-color: #315f43;
  box-shadow: 0 0 0 3px rgba(79, 154, 103, 0.18);
}

.screening-scale input:focus-visible + span {
  outline: 3px solid #4077b8;
  outline-offset: 2px;
}

.screening-submit-panel {
  position: sticky;
  bottom: 12px;
  display: grid;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(45, 38, 29, 0.16);
}

.screening-complete-card {
  max-width: 700px;
  margin: 40px auto;
  border-top: 5px solid #4f9a67;
}

@media (max-width: 900px) {
  .screening-hero {
    grid-template-columns: 1fr;
  }

  .screening-hero > div:first-child {
    padding-bottom: 0;
  }

  .screening-explainer,
  .screening-blindspot,
  .screening-decision-panel {
    grid-template-columns: 1fr;
  }

  .screening-decision-panel .primary-button {
    justify-self: start;
  }

  .screening-decision-actions {
    justify-items: start;
  }

  .screening-recommend-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "email"
      "message"
      "check"
      "submit"
      "status";
  }

  .screening-recommend-check {
    grid-area: check;
  }

  .screening-score-row {
    grid-template-columns: 1fr 44px;
  }

  .screening-score-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .screening-contact-row,
  .screening-scale {
    grid-template-columns: 1fr;
  }

  .screening-topic-grid {
    grid-template-columns: 1fr;
  }

  .screening-explainer,
  .screening-blindspot,
  .screening-decision-panel {
    padding: 20px;
  }

  .screening-topic-grid article {
    min-height: 0;
  }

  .screening-ts-logo {
    width: 126px;
    height: 126px;
  }

  .screening-decision-actions,
  .screening-decision-actions .primary-button,
  .screening-decision-actions .small-button,
  .screening-recommend-form .primary-button {
    width: 100%;
  }

  .screening-remove-row {
    grid-column: 1;
  }

  .screening-manager-head {
    display: grid;
  }

  .screening-scale span {
    min-height: 44px;
    justify-content: start;
    text-align: left;
  }

  .screening-submit-panel {
    position: static;
  }
}

.agreement-table-cell,
.employee-certifications {
  display: grid;
  gap: 7px;
}

.agreement-status,
.employee-certification {
  display: inline-grid;
  width: fit-content;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid #d8d0c2;
  background: #f7f4ec;
  padding: 6px 9px;
  font-size: .78rem;
  line-height: 1.2;
}

.agreement-status.signed,
.employee-certification.valid {
  border-color: #9ac5a7;
  background: #eaf5ed;
  color: #205b32;
}

.employee-certification.expired {
  border-color: #dfaaa4;
  background: #fbecea;
  color: #8f2d24;
}

.certification-send-warning {
  display: grid;
  gap: 11px;
  padding: clamp(18px, 3vw, 26px);
  border: 2px solid #c63d31;
  border-left-width: 8px;
  border-radius: 10px;
  background: #fbecea;
  color: #5f201b;
}

.certification-send-warning h3,
.certification-send-warning p {
  margin: 0;
}

.certification-send-warning .eyebrow {
  color: #9c2e25;
}

.certification-send-warning .screening-privacy-check {
  border-color: #dfaaa4;
  background: #fff8f7;
}

.employee-certification small {
  font-size: .68rem;
}

.table-actions.horizontal {
  align-items: center;
  flex-flow: row wrap;
}

.agreement-send-modal {
  width: min(720px, calc(100vw - 28px));
  max-height: 90vh;
  overflow: auto;
  position: relative;
}

.agreement-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #d8d0c2;
  border-radius: 10px;
  padding: 16px;
}

.agreement-terms legend {
  font-weight: 800;
  padding: 0 7px;
}

.agreement-terms p {
  grid-column: 1 / -1;
  margin: 0;
}

.agreement-public-page {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.agreement-public-hero {
  border-radius: 18px;
  padding: clamp(24px, 5vw, 56px);
  background: #17130f;
  color: #fffdfa;
}

.agreement-public-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .98;
  margin: 10px 0 18px;
}

.agreement-hash {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  color: #d9d1c5;
  font-size: .72rem;
}

.agreement-hash code {
  overflow-wrap: anywhere;
  color: #fffdfa;
}

.agreement-document {
  padding: clamp(22px, 5vw, 50px);
}

.agreement-document section {
  padding-top: 10px;
  border-top: 1px solid #e4ddd1;
}

.agreement-document h2 {
  margin-top: 28px;
}

.agreement-price-section {
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid #e4ddd1;
}

.agreement-price-table-wrap {
  margin: 18px 0 14px;
  overflow-x: auto;
  border: 1px solid #d8d0c2;
  border-radius: 10px;
}

.agreement-price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fffdfa;
}

.agreement-price-table th,
.agreement-price-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e4ddd1;
  text-align: left;
  vertical-align: top;
}

.agreement-price-table th {
  background: #17130f;
  color: #fffdfa;
  font-size: .82rem;
}

.agreement-price-table tbody tr:nth-child(even) {
  background: #f7f2e8;
}

.agreement-price-table td:last-child {
  white-space: nowrap;
  font-weight: 800;
}

.agreement-price-table tr:last-child td {
  border-bottom: 0;
}

.agreement-signed-banner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #9ac5a7;
  border-radius: 12px;
  background: #eaf5ed;
  color: #205b32;
  padding: 16px 20px;
}

.agreement-sign-panel {
  border-top: 7px solid #4f9a67;
  padding: clamp(22px, 5vw, 40px);
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .agreement-terms {
    grid-template-columns: 1fr;
  }

  .agreement-signed-banner {
    display: grid;
  }
}

/* Commercial polish · 2026-07-17
   One visual system for public pages, dashboards, courses and forms. */
:root {
  --bg: #f4f0e7;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --soft: #eee7db;
  --ink: #17130f;
  --muted: #6b645b;
  --line: #ddd4c6;
  --line-strong: #cfc3b2;
  --red: #d9483b;
  --yellow: #e4b836;
  --green: #4c9765;
  --blue: #3f76b5;
  --accent: #17130f;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 30px rgba(45, 35, 23, 0.07), 0 1px 2px rgba(45, 35, 23, 0.04);
  --shadow-lift: 0 20px 48px rgba(45, 35, 23, 0.13), 0 2px 6px rgba(45, 35, 23, 0.05);
  --shadow-hero: 0 28px 70px rgba(45, 35, 23, 0.14);
  --shadow: var(--shadow-hero);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 90% 0%, rgba(79, 154, 103, 0.07), transparent 26rem),
    radial-gradient(circle at 12% 96%, rgba(64, 119, 184, 0.06), transparent 30rem),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(229, 181, 50, 0.4);
  color: var(--ink);
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  letter-spacing: -0.025em;
}

h1 {
  letter-spacing: -0.05em;
}

.eyebrow {
  color: #776e62;
  letter-spacing: 0.12em;
  line-height: 1.25;
}

.app-shell {
  grid-template-columns: 272px minmax(0, 1fr);
}

.sidebar {
  z-index: 12;
  padding: 28px 20px 22px;
  border-right-color: rgba(207, 195, 178, 0.78);
  background: rgba(255, 253, 249, 0.91);
  box-shadow: 10px 0 34px rgba(45, 35, 23, 0.045);
}

.brand {
  min-height: 48px;
  gap: 11px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  padding: 2px;
  border: 1px solid rgba(207, 195, 178, 0.7);
  border-radius: 13px;
  background: transparent;
  object-fit: contain;
  box-shadow: 0 7px 18px rgba(45, 35, 23, 0.08);
}

.nav {
  gap: 5px;
}

.nav-item {
  position: relative;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 14px 11px 17px;
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 99px;
  background: var(--green);
  opacity: 0;
  transform: translateY(-50%);
  transition: height 160ms ease, opacity 160ms ease;
}

.nav-item:hover {
  background: rgba(239, 232, 219, 0.72);
  transform: translateX(2px);
}

.nav-item.active {
  border-color: rgba(207, 195, 178, 0.62);
  background: white;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(45, 35, 23, 0.075);
}

.nav-item.active::before {
  height: 22px;
  opacity: 1;
}

.session-card {
  border-color: rgba(207, 195, 178, 0.76);
  border-radius: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 22px rgba(45, 35, 23, 0.05);
}

.main {
  width: min(1240px, 100%);
  padding: 34px clamp(24px, 3vw, 42px) 54px;
}

.auth-grid,
.auth-grid > *,
.intro {
  min-width: 0;
  max-width: 100%;
}

.auth-grid {
  width: 100%;
}

.topbar {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(207, 195, 178, 0.7);
}

.topbar h1 {
  max-width: 880px;
  font-size: clamp(2.35rem, 4.3vw, 4.65rem);
}

.topbar-actions {
  padding-top: 5px;
}

.topbar-role-switcher {
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(207, 195, 178, 0.76);
  border-radius: 14px;
  background: #ece5d9;
  box-shadow: inset 0 1px 2px rgba(45, 35, 23, 0.04);
}

.topbar-role-switcher .small-button {
  min-height: 36px;
  border-color: transparent;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
}

.topbar-role-switcher .small-button:disabled {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  opacity: 1;
}

.login-context {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.panel,
.metric,
.pattern-card,
.question-card,
.result-panel,
.about-type-tile,
.pricing-product-card,
.pricing-example-grid article,
.reseller-preview-card,
.reseller-use-card,
.reseller-cert-card,
.reseller-model-card,
.consultant-contact-person {
  border-color: rgba(207, 195, 178, 0.78);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow-card);
}

.panel {
  padding: clamp(20px, 2.2vw, 26px);
}

.panel > h2 {
  margin-bottom: 11px;
}

.panel + .panel {
  margin-top: 18px;
}

.grid {
  gap: 19px;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 24px;
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--green);
}

.metric:nth-child(2)::before { background: var(--blue); }
.metric:nth-child(3)::before { background: var(--yellow); }
.metric:nth-child(4)::before { background: var(--red); }

.metric strong {
  margin-bottom: 8px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.metric span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  min-height: 46px;
  border-color: var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 2px rgba(45, 35, 23, 0.035);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input:not([type="checkbox"]):not([type="radio"]):hover,
select:hover,
textarea:hover {
  border-color: #b7aa98;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(64, 119, 184, 0.12);
  outline: 0;
}

label {
  color: #655e55;
  font-weight: 760;
}

.primary-button,
.ghost-button,
.small-button,
.icon-button {
  border-radius: 11px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.primary-button {
  border-color: #17130f;
  background: linear-gradient(180deg, #27211c, #17130f);
  box-shadow: 0 8px 18px rgba(23, 19, 15, 0.16);
}

.ghost-button,
.small-button,
.icon-button {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
}

.primary-button:hover:not(:disabled),
.ghost-button:hover:not(:disabled),
.small-button:hover:not(:disabled),
.icon-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(45, 35, 23, 0.13);
}

.primary-button:active:not(:disabled),
.ghost-button:active:not(:disabled),
.small-button:active:not(:disabled),
.icon-button:active:not(:disabled) {
  transform: translateY(0);
}

.tabs {
  border-radius: 13px;
  padding: 5px;
  background: #ede6da;
}

.tab {
  border-radius: 9px;
}

.tab.active {
  box-shadow: 0 5px 14px rgba(45, 35, 23, 0.09);
}

.table-wrap,
.pricing-table-card,
.agreement-price-table-wrap {
  border-color: rgba(207, 195, 178, 0.8);
  border-radius: 13px;
  background: white;
  box-shadow: 0 4px 14px rgba(45, 35, 23, 0.035);
}

.team-admin-list .team-table-wrap table {
  min-width: 760px;
  table-layout: auto;
}

.team-admin-list .team-table-wrap th:nth-child(1) { width: 27%; }
.team-admin-list .team-table-wrap th:nth-child(2) { width: 24%; }
.team-admin-list .team-table-wrap th:nth-child(3) { width: 15%; }
.team-admin-list .team-table-wrap th:nth-child(4) { width: 34%; }

.team-admin-list .table-actions {
  grid-template-columns: repeat(3, minmax(0, max-content));
  align-items: center;
}

.team-admin-list .table-actions .small-button {
  width: auto;
  min-width: 100px;
}

.team-admin-roles .form-grid {
  gap: 16px;
}

.team-admin-roles .checkbox-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

table {
  background: white;
}

th {
  padding-top: 14px;
  padding-bottom: 14px;
  background: #f2ece2;
  color: #6a6258;
  font-size: 0.72rem;
  letter-spacing: 0.075em;
}

td {
  padding-top: 14px;
  padding-bottom: 14px;
}

tbody tr {
  transition: background 140ms ease;
}

tbody tr:hover {
  background: #fbf8f2;
}

.badge,
.agreement-status,
.employee-certification {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.modal-backdrop {
  background: rgba(23, 19, 15, 0.58);
  backdrop-filter: blur(7px);
}

.modal-panel,
.reseller-login-modal {
  border-radius: 20px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.intro,
.about-hero,
.pricing-hero,
.reseller-hero {
  border: 1px solid rgba(207, 195, 178, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
}

.intro,
.pricing-hero,
.reseller-hero {
  isolation: isolate;
  position: relative;
}

.intro::before,
.pricing-hero::before,
.reseller-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 55%);
  pointer-events: none;
}

.pricing-page,
.reseller-page,
.about-page {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
}

.pricing-page > *,
.reseller-page > *,
.about-page > * {
  min-width: 0;
  max-width: 100%;
}

.reseller-page {
  display: grid;
}

.pricing-product-card,
.reseller-use-card,
.reseller-value-grid .panel,
.about-type-tile,
.pattern-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pricing-product-card:hover,
.reseller-use-card:hover,
.reseller-value-grid .panel:hover,
.about-type-tile:hover,
.pattern-card:hover {
  transform: translateY(-3px);
  border-color: #c9bcaa;
  box-shadow: var(--shadow-lift);
}

.pricing-product-card,
.reseller-use-card {
  overflow: hidden;
}

.pricing-hero-figure,
.pricing-terms,
.reseller-diploma-section,
.reseller-ownership-section,
.reseller-cert-campaign {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 19px;
  background-color: var(--ink);
  box-shadow: var(--shadow-lift);
}

.pricing-section,
.pricing-examples,
.pricing-cta,
.reseller-flow-section,
.reseller-certification,
.reseller-model-section,
.reseller-cta,
.about-map-section,
.screening-explainer,
.screening-blindspot,
.screening-decision-panel {
  border-radius: 19px;
}

.pricing-cta,
.reseller-cta {
  border: 1px solid rgba(64, 119, 184, 0.13);
  box-shadow: var(--shadow-card);
}

.reseller-section-head {
  padding-top: 34px;
}

.reseller-number {
  color: rgba(23, 19, 15, 0.11);
  font-size: 2.6rem;
}

.reseller-screenshot-frame,
.reseller-diploma-card,
.mock-browser {
  border-radius: 14px;
}

.screening-page {
  display: grid;
  gap: 22px;
}

.screening-page > .panel {
  margin-top: 0;
}

.screening-hero {
  position: relative;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(207, 195, 178, 0.72);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 8%, rgba(79, 154, 103, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(237, 232, 220, 0.98));
  box-shadow: var(--shadow-hero);
}

.screening-hero > div:first-child {
  padding: 24px 0;
}

.screening-start-card {
  border-top-width: 7px;
  background: white;
  box-shadow: 0 24px 54px rgba(45, 35, 23, 0.15);
}

.screening-topic-grid article,
.screening-question,
.screening-recommend-form,
.screening-privacy-check,
.screening-contact-row.leader-row {
  border-radius: 13px;
}

.screening-topic-grid article {
  border-color: rgba(79, 154, 103, 0.24);
  background: linear-gradient(135deg, #f1f7f2, #f8faf7);
}

.screening-illustration img,
.type-image,
.about-image-grid img,
.about-type-tile img,
.couples-hero-image,
.result-type-image {
  border-radius: 14px;
}

.question-card,
.answer,
.check-row {
  border-radius: 13px;
}

.answer {
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.answer:hover {
  border-color: #baad9a;
  background: #fbf8f2;
  transform: translateY(-1px);
}

.answer.active {
  border-color: var(--ink);
  background: #f4efe6;
  box-shadow: 0 0 0 3px rgba(23, 19, 15, 0.08);
}

.team-map,
.map-plot,
.about-map-preview {
  border-radius: 17px;
}

.team-map {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), var(--shadow-card);
}

.course-track-switcher,
.course-progress-card,
.course-module-list,
.course-lesson,
.course-exam-question {
  border-radius: 15px;
}

.course-hero,
.course-pass-banner {
  padding: clamp(22px, 3vw, 30px);
}

.consultant-brand {
  border-left: 6px solid var(--green);
}

.certification-send-warning,
.screening-danger-zone,
.agreement-signed-banner {
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .app-shell {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    height: auto;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(207, 195, 178, 0.82);
    background: rgba(255, 253, 249, 0.94);
    box-shadow: 0 10px 28px rgba(45, 35, 23, 0.08);
    backdrop-filter: blur(18px);
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow: hidden;
  }

  .brand {
    min-height: 42px;
    white-space: nowrap;
  }

  .brand img {
    width: 42px;
    height: 42px;
    padding: 1px;
  }

  .nav {
    display: flex;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 3px 2px 5px;
    scrollbar-width: none;
  }

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

  .nav-item {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    text-align: center;
    white-space: nowrap;
  }

  .nav-item::before {
    inset: auto 50% 3px auto;
    width: 0;
    height: 3px;
    transform: translateX(50%);
    transition: width 160ms ease;
  }

  .nav-item.active::before {
    width: 20px;
    height: 3px;
  }

  .nav-item:hover {
    transform: none;
  }

  .main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 24px 18px 44px;
  }

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

  .team-admin-roles .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    margin-bottom: 22px;
  }
}

@media (max-width: 560px) {
  .sidebar {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    padding-inline: 10px;
  }

  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .main {
    padding: 20px 14px 38px;
  }

  .topbar {
    gap: 14px;
    padding-bottom: 18px;
  }

  .topbar > div:first-child {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .topbar-role-switcher {
    padding: 4px;
  }

  .topbar-role-switcher .small-button {
    min-height: 40px;
  }

  .topbar h1 {
    font-size: clamp(2.15rem, 12vw, 3.3rem);
    overflow-wrap: anywhere;
  }

  .panel {
    padding: 19px;
  }

  .intro,
  .pricing-hero,
  .reseller-hero,
  .screening-hero {
    border-radius: 19px;
  }

  .screening-hero {
    padding: 20px 16px;
  }

  .screening-hero > div:first-child {
    padding: 4px;
  }

  .metric {
    min-height: 104px;
    padding: 20px;
  }

  .team-admin-roles .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .team-admin-list .table-actions {
    grid-template-columns: 1fr;
  }

  .modal-panel,
  .reseller-login-modal {
    border-radius: 16px;
  }
}

@media (max-width: 760px), (max-device-width: 760px), (pointer: coarse) and (max-width: 1180px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell,
  .main,
  .grid,
  .grid > *,
  .panel,
  .topbar,
  .topbar-actions {
    min-width: 0;
    max-width: 100%;
  }

  .app-shell,
  .main,
  .panel {
    width: 100%;
  }

  .main {
    overflow-x: hidden;
  }

  input,
  select,
  textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .primary-button,
  .ghost-button,
  .small-button {
    height: auto;
    max-width: 100%;
    padding: 10px 14px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .form-grid > .primary-button,
  .sales-presentation-button,
  .topbar-role-switcher .small-button {
    width: 100%;
  }

  .sales-presentation-button {
    justify-content: space-between;
  }

  .inline-actions,
  .modal-actions,
  .owner-sales-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .inline-actions > *,
  .modal-actions > *,
  .owner-sales-hero-actions > * {
    width: 100%;
    min-width: 0;
  }

  .table-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .table-wrap::before {
    content: "Sveip tabellen sideveis →";
    position: sticky;
    left: 0;
    z-index: 2;
    display: block;
    width: max-content;
    padding: 9px 12px 7px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.94);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .table-wrap table,
  .team-table-wrap table {
    width: max-content;
    min-width: 920px;
    table-layout: auto;
  }

  .table-wrap th,
  .table-wrap td {
    padding: 12px 14px;
  }

  .table-actions,
  .table-actions.horizontal {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 164px;
    min-width: 164px;
    gap: 8px;
  }

  .table-actions .small-button {
    width: 100%;
    min-height: 42px;
  }

  .consultant-assignment {
    min-width: 240px;
  }

  .consultant-assignment .small-button,
  .table-wrap td > .small-button {
    width: 100%;
    min-width: 164px;
    min-height: 42px;
    margin-top: 7px;
  }

  .credit-form {
    grid-template-columns: 78px 78px minmax(118px, 1fr);
    min-width: 292px;
  }
}

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