:root {
  --ink: #465968;
  --muted: #465968;
  --blue: #79a8ef;
  --blue-dark: #5e86d8;
  --blue-soft: #b8cde8;
  --lavender: #d7cae6;
  --pink: #ebc7d3;
  --mint: #b7e4de;
  --mist: #cddfed;
  --surface: #ffffff;
  --surface-soft: #f4f2f8;
  --page: #ffffff;
  --line: rgba(70, 89, 104, 0.16);
  --shadow: rgba(70, 89, 104, 0.08) 0 0 0 1px, rgba(70, 89, 104, 0.08) 0 20px 34px -18px;
  --radius: 24px;
  --container: min(1160px, calc(100vw - 40px));
  --h2-size: 34px;
}

.economy-section .calc-result strong {
  display: block;
  color: var(--color-ink);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.economy-section .calc-result strong [data-calc-loss] {
  font: inherit;
  color: inherit;
}

.ai-section .ai-agent-nav button::after,
.ai-section .ai-agent-nav button.active::after {
  display: none !important;
  animation: none !important;
}

.ai-section .ai-agent-nav button::after,
.ai-section .ai-agent-nav button.active::after {
  display: none !important;
  animation: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  background: #ffffff;
  color: var(--ink);
  font-family: "SF Pro Display", Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  max-width: 100vw;
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

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

button {
  color: inherit;
}

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

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: var(--h2-size);
  line-height: 1.08;
  font-weight: 650;
}

.mobile-heading-break {
  display: inline;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 650;
}

p,
li {
  color: rgba(53, 63, 73, 0.78);
  font-size: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: var(--container);
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(53, 63, 73, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 60px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.main-nav a,
.header-cta,
.primary-button,
.ghost-button,
.tab-button,
.step-button,
.report-tab,
.modal-close {
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: rgba(53, 63, 73, 0.72);
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(94, 134, 216, 0.1);
  color: var(--ink);
}

.header-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-color: rgba(94, 134, 216, 0.2);
  background: var(--blue);
  color: #fff;
  font-weight: 650;
  text-align: center;
}

.primary-button:hover,
.header-cta:hover {
  transform: translateY(-1px);
  background: var(--blue-dark);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 650;
  border-color: var(--line);
  text-align: center;
}

.ghost-button:hover {
  transform: translateY(-1px);
  border-color: rgba(94, 134, 216, 0.32);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 36px;
  width: var(--container);
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  padding: 86px 0 56px;
}

.hero-content {
  padding-top: 0;
}

.hero-lead {
  max-width: 820px;
  margin-bottom: 22px;
  color: rgba(53, 63, 73, 0.78);
  font-size: 21px;
}

.lead-mobile {
  display: none;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.hero-tags li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.microcopy {
  margin-bottom: 0;
  color: rgba(53, 63, 73, 0.6);
  font-size: 15px;
}

.profile-card,
.report-mock,
.builder,
.before-after article,
.risk-strip,
.info-card,
.format-card,
.comparison article,
.step-detail,
.video-cover,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(53, 63, 73, 0.06);
}

.profile-card {
  padding: 22px;
  overflow: hidden;
}

.profile-card__top,
.report-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.profile-card__top {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.profile-card__top strong {
  color: var(--blue);
  font-size: 18px;
}

.level-list {
  display: grid;
  gap: 17px;
}

.level-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 34px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.level-row b {
  color: var(--ink);
  text-align: right;
}

.level-row i {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--blue), var(--mint)) 0 0 / calc(var(--level) * 1%) 100% no-repeat,
    rgba(70, 89, 104, 0.12);
}

.profile-summary {
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(53, 63, 73, 0.94);
  color: #fff;
}

.profile-summary span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.profile-summary p {
  margin-bottom: 0;
  color: #fff;
  font-size: 16px;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 60px 0;
  scroll-margin-top: 110px;
}

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

.section-heading p {
  max-width: 790px;
  margin-bottom: 0;
}

.two-column,
.video-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

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

.before-after article {
  padding: 20px;
}

.before-after article:last-child {
  background: linear-gradient(135deg, rgba(215, 202, 230, 0.36), rgba(255, 255, 255, 0.9));
}

.before-after ul,
.risk-strip ul,
.next-steps ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.before-after li,
.risk-strip li,
.next-steps li {
  font-size: 16px;
}

.risk-strip {
  display: grid;
  grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(244, 242, 248, 0.94), rgba(205, 223, 237, 0.42));
}

.risk-strip h3 {
  margin-bottom: 0;
}

.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-button,
.report-tab {
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  border-color: var(--line);
  font-weight: 650;
}

.tab-button.active,
.report-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.audience-note {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.audience-note strong {
  white-space: nowrap;
}

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

.info-card,
.format-card,
.comparison article {
  min-height: 190px;
  padding: 22px;
}

.info-card p,
.format-card p,
.comparison p,
.result-list p,
.custom-list p {
  margin-bottom: 0;
  font-size: 16px;
}

.stepper-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.stepper {
  display: grid;
  gap: 8px;
}

.step-button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 9px 12px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.step-button span,
.format-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--blue-soft), var(--mint));
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.step-button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.step-detail {
  min-height: 310px;
  padding: 24px;
}

.step-detail > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(94, 134, 216, 0.12);
  color: var(--blue);
  font-weight: 800;
}

.step-detail p {
  max-width: 640px;
}

.step-visual {
  display: flex;
  align-items: center;
  min-height: 86px;
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 650;
}

.video-section {
  align-items: stretch;
}

.video-captions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.video-captions span {
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(94, 134, 216, 0.1);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.video-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(53, 63, 73, 0.94), rgba(70, 89, 104, 0.84)),
    var(--ink);
  color: #fff;
}

.video-cover:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.play-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #fff;
}

.play-icon::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--blue);
}

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

.competency-card {
  display: block;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
  cursor: pointer;
}

.competency-card:nth-child(1),
.format-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(215, 202, 230, 0.46), rgba(255, 255, 255, 0.86));
}

.competency-card:nth-child(2),
.format-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(184, 205, 232, 0.5), rgba(255, 255, 255, 0.86));
}

.competency-card:nth-child(3),
.format-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(205, 223, 237, 0.55), rgba(255, 255, 255, 0.86));
}

.competency-card:nth-child(4),
.format-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(235, 199, 211, 0.4), rgba(255, 255, 255, 0.86));
}

.format-card:nth-child(5) {
  background: linear-gradient(135deg, rgba(183, 228, 222, 0.4), rgba(255, 255, 255, 0.86));
}

.competency-card p {
  min-height: 96px;
  margin-bottom: 16px;
  font-size: 16px;
}

.competency-card span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid rgba(70, 89, 104, 0.14);
  color: var(--muted);
  font-size: 15px;
  opacity: 0;
  transition: opacity 160ms ease;
}

.competency-card:hover span,
.competency-card.active span {
  opacity: 1;
}

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

.agent-flow span,
.agent-flow strong {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 16px;
}

.agent-flow strong {
  grid-column: 1 / -1;
  justify-content: center;
  background: var(--ink);
  color: #fff;
}

.human-note {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(94, 134, 216, 0.1);
  color: var(--muted);
  font-size: 16px;
}

.custom-list,
.result-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.custom-list article,
.result-list article {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
}

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

.builder label,
.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.builder select,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(70, 89, 104, 0.2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.builder select:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(94, 134, 216, 0.72);
  box-shadow: 0 0 0 3px rgba(94, 134, 216, 0.12);
}

.builder-result {
  align-self: stretch;
  margin-bottom: 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  font-size: 16px;
}

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

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

.report-mock {
  padding: 22px;
}

.report-tabs {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.report-tab {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.report-panel {
  min-height: 190px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.report-panel p {
  margin-bottom: 0;
  font-size: 16px;
}

.inline-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.inline-cta p {
  margin-bottom: 0;
  font-size: 17px;
}

.format-card span {
  margin-bottom: 28px;
}

.section-button {
  margin-top: 18px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 16px;
}

.contact-section {
  align-items: start;
  padding: 42px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(53, 63, 73, 0.96), rgba(70, 89, 104, 0.92)),
    var(--ink);
  color: #fff;
}

.contact-section h2,
.contact-section h3,
.contact-section p,
.contact-section li {
  color: #fff;
}

.contact-section p,
.contact-section li {
  color: rgba(255, 255, 255, 0.75);
}

.next-steps {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-direct a,
.contact-direct span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

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

.lead-form .primary-button {
  width: 100%;
}

.form-note {
  margin: 0;
  padding: 13px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 14px;
}

.form-note.error {
  background: rgba(235, 199, 211, 0.34);
  color: #7a3345;
}

.form-note.success {
  background: rgba(183, 228, 222, 0.38);
  color: #28645d;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0;
  color: rgba(53, 63, 73, 0.62);
}

.site-footer img {
  width: 44px;
  height: auto;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 650;
}

.video-modal {
  width: min(920px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.video-modal::backdrop {
  background: rgba(53, 63, 73, 0.62);
}

.modal-content {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.modal-content iframe,
.modal-content video {
  display: block;
  width: 100%;
  min-height: min(62vh, 560px);
  border: 0;
  background: #111827;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.35);
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .custom-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .hero,
  .two-column,
  .video-section,
  .results-layout,
  .contact-section,
  .builder {
    grid-template-columns: 1fr;
  }

  .profile-card {
    max-width: 640px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --container: min(calc(100vw - 24px), 1160px);
  }

  p,
  li {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    margin-top: 8px;
    padding: 8px 10px;
  }

  .brand img {
    width: 38px;
    height: 50px;
  }

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

  .main-nav a {
    padding: 0 10px;
  }

  .header-cta {
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 30px 0 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .lead-desktop {
    display: none;
  }

  .lead-mobile {
    display: inline;
  }

  .hero-tags li {
    font-size: 14px;
  }

  .section {
    padding: 41px 0;
  }

  .before-after,
  .risk-strip,
  .card-grid,
  .comparison,
  .format-grid,
  .custom-list,
  .result-list,
  .competency-grid,
  .builder-controls,
  .lead-form,
  .stepper-layout,
  .agent-flow {
    grid-template-columns: 1fr;
  }

  .info-card,
  .format-card,
  .comparison article,
  .custom-list article,
  .result-list article,
  .competency-card {
    min-height: auto;
  }

  .competency-card p {
    min-height: auto;
  }

  .video-cover {
    min-height: 260px;
  }

  .contact-section {
    padding: 26px;
  }

  .inline-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.economy-section .calc-result strong {
  display: block;
  color: var(--color-ink);
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.economy-section .calc-result strong [data-calc-loss] {
  font: inherit;
  color: inherit;
}

.other-role-field[hidden] {
  display: none !important;
}

@media (max-width: 440px) {
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-section {
    padding: 22px 16px;
  }

  .profile-card,
  .report-mock,
  .lead-form {
    padding: 16px;
  }

  .level-row {
    grid-template-columns: 1fr 76px;
  }
}

.audience-line,
.badge-line {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.level-row {
  grid-template-columns: minmax(150px, 1fr) 76px;
}

.profile-summary,
.hero-tags {
  display: none;
}

.value-box,
.method-note,
.future-note,
.positioning-repeat {
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(244, 242, 248, 0.94), rgba(205, 223, 237, 0.42));
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.positioning-repeat {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 16px;
}

.steps-grid,
.agent-grid,
.trust-grid,
.role-grid {
  display: grid;
  gap: 14px;
}

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

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

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

.step-card,
.agent-grid article,
.trust-grid article,
.role-grid article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(53, 63, 73, 0.06);
}

.step-card:nth-child(1),
.role-grid article:nth-child(1) {
  background: linear-gradient(135deg, rgba(215, 202, 230, 0.46), rgba(255, 255, 255, 0.86));
}

.step-card:nth-child(2),
.role-grid article:nth-child(2) {
  background: linear-gradient(135deg, rgba(184, 205, 232, 0.5), rgba(255, 255, 255, 0.86));
}

.step-card:nth-child(3),
.role-grid article:nth-child(3) {
  background: linear-gradient(135deg, rgba(205, 223, 237, 0.55), rgba(255, 255, 255, 0.86));
}

.step-card:nth-child(4),
.role-grid article:nth-child(4) {
  background: linear-gradient(135deg, rgba(235, 199, 211, 0.4), rgba(255, 255, 255, 0.86));
}

.step-card span {
  display: block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 56px;
  line-height: 0.92;
  font-weight: 800;
}

.step-card p,
.step-card small,
.agent-grid p,
.trust-grid p,
.role-grid p {
  font-size: 16px;
}

.step-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.method-note,
.future-note {
  margin-top: 18px;
}

.method-note p,
.future-note p {
  margin: 8px 0 0;
  font-size: 16px;
}

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

.economy-layout .comparison {
  grid-template-columns: 1fr;
}

.calculator {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(53, 63, 73, 0.06);
}

.calculator label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.calculator output {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.calc-result {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.calc-result strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 26px;
}

.calc-result span,
.calc-result p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.calc-result p {
  margin: 12px 0 0;
}

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

.contact-section .lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-section .form-note {
  color: var(--muted);
}

.video-link {
  appearance: none;
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-link:hover {
  color: var(--blue);
}

.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.with-icon::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
}

.with-icon.is-negative::before {
  content: "×";
  background: rgba(235, 199, 211, 0.42);
  color: #7a3345;
}

.with-icon.is-positive::before {
  content: "✓";
  background: rgba(183, 228, 222, 0.48);
  color: #28645d;
}

@media (max-width: 1180px) {
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1060px) {
  .economy-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .steps-grid,
  .agent-grid,
  .trust-grid,
  .role-grid,
  .economy-layout {
    grid-template-columns: 1fr;
  }

  .step-card,
  .agent-grid article,
  .trust-grid article,
  .role-grid article {
    min-height: auto;
  }

  .contact-section .lead-form {
    grid-template-columns: 1fr;
  }
}

/* Current revision overrides */
.main-nav {
  gap: clamp(12px, 1.5vw, 26px);
}

.hero-islands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.hero-islands span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(94, 134, 216, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(53, 63, 73, 0.08);
}

.screenshot-slider {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(70, 89, 104, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.slider-frame {
  position: relative;
  min-height: clamp(290px, 47vw, 610px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #eef3f7;
}

.screenshot-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  margin: 0;
  padding: clamp(10px, 1.4vw, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.screenshot-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.screenshot-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.screenshot-slide figcaption {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(70, 89, 104, 0.18);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.slider-controls button:hover,
.slider-controls button:focus-visible {
  background: var(--lavender);
  transform: translateY(-1px);
}

.slider-controls span {
  min-width: 54px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.report-slider {
  margin-top: 28px;
}

.badge-line--flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.badge-line--flag span {
  font-size: 20px;
}

.ru-flag {
  display: inline-grid;
  width: 26px;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(70, 89, 104, 0.18);
  border-radius: 3px;
  background: linear-gradient(#ffffff 0 33.33%, #1f57d6 33.33% 66.66%, #d52b1e 66.66% 100%);
  box-shadow: 0 2px 7px rgba(53, 63, 73, 0.12);
}

.competency-card span {
  display: block;
  min-height: 96px;
  margin-top: 16px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.competency-card:hover span,
.competency-card:focus-visible span {
  opacity: 1;
}

.competency-card.active span {
  opacity: 0;
}

.comparison-highlight {
  border-color: rgba(94, 134, 216, 0.38) !important;
  background: linear-gradient(135deg, var(--lavender), var(--blue-soft)) !important;
}

.comparison-highlight h3,
.comparison-highlight p {
  color: var(--ink);
}

.testimonials-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 242, 248, 0.86));
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(70, 89, 104, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(53, 63, 73, 0.08);
}

.testimonial-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 54px;
}

.testimonial-logo img {
  max-width: 150px;
  max-height: 46px;
  object-fit: contain;
}

.testimonial-card h3 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.testimonial-card p,
.testimonial-card blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.testimonial-card blockquote {
  padding: 16px;
  border-left: 4px solid var(--lavender);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 600;
}

.testimonial-card footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(70, 89, 104, 0.12);
}

.testimonial-card footer strong,
.testimonial-card footer span {
  display: block;
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 14px;
}

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

  .slider-frame {
    min-height: clamp(250px, 62vw, 520px);
  }
}

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

  .main-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
  }

  .main-nav a {
    text-align: center;
    white-space: nowrap;
  }

  .hero-islands {
    margin-bottom: 22px;
  }

  .hero-islands span {
    min-height: 38px;
    padding: 8px 14px;
  }

  .screenshot-slider {
    padding: 10px;
  }

  .slider-frame {
    min-height: 270px;
  }

  .screenshot-slide figcaption {
    font-size: 15px;
  }

  .slider-controls button {
    width: 40px;
    height: 40px;
  }
}

/* Compact screenshot previews and image lightbox */
.screenshot-slider {
  width: min(320px, 100%);
  padding: 10px;
}

.slider-frame {
  min-height: 210px;
}

.screenshot-slide {
  padding: 8px;
}

.screenshot-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 152px;
  padding: 8px;
  border: 1px solid rgba(70, 89, 104, 0.12);
  border-radius: 6px;
  background: #ffffff;
  cursor: zoom-in;
}

.screenshot-preview img {
  width: 100%;
  height: 140px;
  object-fit: contain;
}

.image-modal {
  width: min(1120px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.image-modal::backdrop {
  background: rgba(20, 27, 35, 0.62);
}

.image-modal-content {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(20, 27, 35, 0.26);
}

.image-modal-content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  background: #f2f5f8;
}

.image-modal-content p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.ai-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin-bottom: 24px;
}

.ai-intro .section-heading {
  margin-bottom: 0;
}

.ai-image-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(94, 134, 216, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(53, 63, 73, 0.1);
  cursor: zoom-in;
}

.ai-image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.ai-image-card span {
  color: var(--blue-dark);
  font-weight: 800;
  text-align: center;
}

.agent-grid {
  align-items: start;
}

.agent-grid article {
  min-height: 0;
}

.trust-grid article {
  min-height: 0;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(215, 202, 230, 0.48);
  color: var(--blue-dark);
  font-size: 23px;
  font-weight: 900;
}

.trust-icon-ruler::before {
  content: "⌖";
}

.trust-icon-search::before {
  content: "⌕";
}

.trust-icon-shield::before {
  content: "◇";
}

@media (max-width: 860px) {
  .ai-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ai-image-card {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .screenshot-slider {
    width: min(280px, 100%);
  }

  .slider-frame {
    min-height: 196px;
  }

  .screenshot-preview {
    min-height: 138px;
  }

  .screenshot-preview img {
    height: 126px;
  }
}

/* Brandbook base tokens */
:root {
  --brand-gradient: linear-gradient(145deg, #bfa7f2 0%, #79a8ef 52%, #b7e4de 100%);
  --color-ink: #465968;
  --color-pure-white: #ffffff;
  --color-fog: #f7f7f8;
  --color-ash: #465968;
  --color-graphite: #777b86;
  --color-dove: #a3a6af;
  --color-slate: #8b8c8d;
  --color-obsidian: #465968;
  --color-rust: #465968;
  --color-apricot-wash: #f4f2f8;
  --color-sky-wash: #cddfed;
  --ink: var(--color-ink);
  --muted: var(--color-ash);
  --blue: #79a8ef;
  --blue-dark: #5e86d8;
  --blue-soft: var(--color-sky-wash);
  --lavender: #d7cae6;
  --pink: #ebc7d3;
  --mint: #b7e4de;
  --mist: var(--color-fog);
  --surface: var(--color-pure-white);
  --surface-soft: var(--color-fog);
  --page: var(--color-pure-white);
  --line: rgba(23, 25, 28, 0.12);
  --shadow: rgba(4, 23, 43, 0.05) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 20px 25px -5px, rgba(0, 0, 0, 0.1) 0 8px 10px -6px;
  --radius: 24px;
  --radius-inner: 12px;
  --container: min(1200px, calc(100vw - 48px));
  --font-signifier: "SF Pro Display", Inter, "Segoe UI", Arial, sans-serif;
  --font-sohne: "SF Pro Display", Inter, "Segoe UI", Arial, sans-serif;
  --h2-size: 44px;
}

html {
  background: var(--color-pure-white);
}

body {
  background: var(--color-pure-white);
  color: var(--color-ink);
  font-family: var(--font-sohne);
  letter-spacing: -0.009em;
}

body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 760px;
  background: radial-gradient(circle at 50% 20%, rgba(251, 225, 209, 0.86), rgba(251, 225, 209, 0.28) 30%, rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}

h1,
h2 {
  color: var(--color-ink);
  font-family: var(--font-signifier);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto 24px;
  font-size: 64px;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

h2 {
  font-size: 44px;
  line-height: 1.1;
}

h3 {
  color: var(--color-ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.009em;
}

p,
li {
  color: var(--color-ash);
  font-size: 16px;
  line-height: 1.5;
}

.site-header {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px max(24px, calc((100vw - 1200px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(163, 166, 175, 0.34);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.brand img {
  width: 40px;
  height: 52px;
}

.main-nav a,
.header-cta,
.primary-button,
.ghost-button,
.tab-button,
.report-tab,
.modal-close,
.video-link {
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 450;
  letter-spacing: -0.009em;
}

.main-nav {
  gap: 22px;
}

.main-nav a {
  min-height: 40px;
  padding: 0;
  color: var(--color-ink);
}

.main-nav a:hover {
  background: transparent;
  color: var(--color-rust);
}

.header-cta,
.primary-button {
  min-height: 42px;
  padding: 0 20px;
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-pure-white);
  box-shadow: none;
  font-weight: 450;
}

.header-cta:hover,
.primary-button:hover {
  background: var(--color-obsidian);
  transform: translateY(-1px);
}

.ghost-button {
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font-weight: 450;
}

.ghost-button:hover,
.video-link:hover,
.site-footer a:hover {
  background: transparent;
  color: var(--color-rust);
  transform: none;
}

.hero {
  position: relative;
  display: block;
  width: min(1200px, calc(100vw - 48px));
  min-height: calc(100svh - 72px);
  padding: 118px 0 96px;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.hero-lead {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--color-ash);
  font-size: 18px;
  line-height: 1.35;
}

.hero-islands,
.hero-actions {
  justify-content: center;
}

.hero-islands {
  margin: 22px 0 26px;
}

.hero-islands span,
.video-captions span,
.audience-line,
.badge-line,
.contact-direct a,
.contact-direct span {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(163, 166, 175, 0.38);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--color-graphite);
  box-shadow: none;
  font-size: 14px;
  font-weight: 450;
}

.hero-actions {
  margin-bottom: 16px;
}

.video-link {
  color: var(--color-graphite);
  text-decoration-color: rgba(119, 123, 134, 0.45);
}

.profile-card {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 64px auto 0;
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-pure-white);
  box-shadow: var(--shadow);
}

.profile-card::before,
.profile-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 172px;
  min-height: 118px;
  border-radius: var(--radius);
  background: var(--color-pure-white);
  box-shadow: var(--shadow);
}

.profile-card::before {
  top: -72px;
  left: -140px;
  background:
    linear-gradient(90deg, var(--color-rust) 0 58%, transparent 58%) 22px 78px / 110px 8px no-repeat,
    linear-gradient(90deg, var(--color-sky-wash) 0 76%, transparent 76%) 22px 56px / 122px 8px no-repeat,
    var(--color-sky-wash);
}

.profile-card::after {
  right: -150px;
  bottom: -36px;
  background:
    radial-gradient(circle, transparent 42%, var(--color-rust) 43% 52%, transparent 53%) 50% 44% / 76px 76px no-repeat,
    var(--color-apricot-wash);
}

.profile-card__top {
  color: var(--color-graphite);
}

.profile-card__top strong {
  color: var(--color-rust);
  font-weight: 500;
}

.level-row {
  color: var(--color-graphite);
}

.level-row b {
  color: var(--color-ink);
  font-weight: 480;
}

.level-row i {
  height: 7px;
  background:
    linear-gradient(90deg, var(--color-rust), #4a90e2) 0 0 / calc(var(--level) * 1%) 100% no-repeat,
    rgba(163, 166, 175, 0.22);
}

.section {
  width: 100%;
  margin: 0;
  padding: 80px max(24px, calc((100vw - 1200px) / 2));
  scroll-margin-top: 88px;
}

.section:nth-of-type(even) {
  background: var(--color-fog);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--color-ash);
  font-size: 18px;
  line-height: 1.35;
}

.profile-card,
.report-mock,
.builder,
.before-after article,
.risk-strip,
.info-card,
.format-card,
.comparison article,
.step-detail,
.video-cover,
.lead-form,
.step-card,
.agent-grid article,
.trust-grid article,
.role-grid article,
.calculator,
.testimonial-card,
.screenshot-slider,
.ai-image-card,
.faq-list details {
  border: 0;
  border-radius: var(--radius);
  background: var(--color-pure-white);
  box-shadow: var(--shadow);
}

.before-after article,
.comparison article,
.step-card,
.agent-grid article,
.trust-grid article,
.role-grid article,
.competency-card,
.testimonial-card {
  padding: 24px;
}

.before-after article:last-child,
.comparison-highlight,
.step-card:nth-child(1),
.role-grid article:nth-child(1),
.competency-card:nth-child(1),
.format-card:nth-child(1) {
  background: var(--color-apricot-wash) !important;
}

.competency-card:nth-child(2),
.format-card:nth-child(2),
.step-card:nth-child(2),
.role-grid article:nth-child(2) {
  background: var(--color-sky-wash);
}

.competency-card:nth-child(3),
.format-card:nth-child(3),
.step-card:nth-child(3),
.role-grid article:nth-child(3) {
  background: var(--color-pure-white);
}

.competency-card:nth-child(4),
.format-card:nth-child(4),
.step-card:nth-child(4) {
  background: var(--color-pure-white);
}

.value-box,
.method-note,
.future-note {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--color-pure-white);
  box-shadow: var(--shadow);
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 480;
}

.method-note p,
.future-note p {
  color: var(--color-ash);
  font-weight: 400;
}

.screenshot-slider {
  width: min(720px, 100%);
  padding: 20px;
}

.slider-frame {
  min-height: 430px;
  border-radius: var(--radius-inner);
  background: var(--color-fog);
}

.screenshot-preview {
  min-height: 354px;
  border: 1px solid rgba(163, 166, 175, 0.26);
  border-radius: var(--radius-inner);
}

.screenshot-preview img {
  height: 330px;
}

.screenshot-slide img,
.ai-image-card img,
.image-modal-content img {
  border-radius: var(--radius-inner);
}

.screenshot-slide figcaption,
.image-modal-content p {
  color: var(--color-ink);
  font-weight: 500;
}

.slider-controls button {
  border: 1px solid rgba(163, 166, 175, 0.38);
  background: var(--color-pure-white);
  color: var(--color-ink);
}

.slider-controls button:hover,
.slider-controls button:focus-visible {
  background: var(--color-ink);
  color: var(--color-pure-white);
}

.video-cover {
  background:
    linear-gradient(rgba(23, 25, 28, 0.88), rgba(23, 25, 28, 0.88)),
    var(--color-ink);
}

.play-icon::after {
  border-left-color: var(--color-rust);
}

.competency-grid,
.agent-grid,
.trust-grid,
.role-grid,
.testimonial-grid {
  gap: 20px;
}

.competency-card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.competency-card span {
  border-top: 1px solid rgba(23, 25, 28, 0.12);
  color: var(--color-ash);
  opacity: 1;
}

.ai-image-card {
  padding: 16px;
}

.ai-image-card span,
.testimonial-card h3,
.site-footer a {
  color: var(--color-rust);
}

.trust-icon {
  background: var(--color-apricot-wash);
  color: var(--color-rust);
}

.calculator label,
.builder label,
.lead-form label {
  color: var(--color-graphite);
  font-size: 14px;
  font-weight: 450;
}

.calculator input[type="range"] {
  accent-color: var(--color-rust);
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.builder select {
  border: 1px solid rgba(163, 166, 175, 0.44);
  border-radius: 16px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.builder select:focus {
  border-color: var(--color-rust);
  box-shadow: 0 0 0 4px rgba(251, 225, 209, 0.72);
}

.calc-result,
.contact-section {
  background: var(--color-ink);
}

.contact-section {
  width: min(1200px, calc(100vw - 48px));
  margin: 80px auto;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: none;
}

.contact-section h2 {
  color: var(--color-pure-white);
}

.positioning-repeat {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.lead-form {
  padding: 24px;
  box-shadow: none;
}

.form-note {
  border-radius: 16px;
  background: var(--color-fog);
}

.site-footer {
  width: min(1200px, calc(100vw - 48px));
  color: var(--color-graphite);
}

.video-modal,
.image-modal,
.modal-content,
.image-modal-content {
  border-radius: var(--radius);
}

/* Block: #sample-report / trust */
.trust-section {
  background: #ffffff !important;
}

.trust-section .section-heading {
  max-width: 900px;
  margin: 0 auto 52px;
  text-align: center;
}

.trust-section .section-heading h2 {
  margin: 0;
  color: #465968;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: 0;
}

.trust-section .section-heading p {
  display: block;
  max-width: 720px;
  margin: 18px auto 0;
  color: #465968;
  font-size: 18px;
  line-height: 1.42;
}

.trust-section .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 58px);
  row-gap: clamp(28px, 4vw, 48px);
  margin: 0 0 18px;
}

.trust-section .trust-grid article {
  min-height: 0;
  padding: 26px;
  border: 1px solid rgba(70, 89, 104, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54) !important;
  box-shadow: none;
}

.trust-section .trust-icon {
  display: block;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin: 0 0 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dceee8 0%, #e4cde9 100%);
  object-fit: contain;
}

.trust-section .trust-grid h3 {
  margin: 0 0 12px;
  color: #465968;
  font-family: var(--font-sohne);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 500;
}

.trust-section .trust-grid p {
  max-width: 340px;
  margin: 0;
  color: #465968;
  font-size: 17px;
  line-height: 1.42;
  font-weight: 400;
}

@media (max-width: 900px) {
  .trust-section .section-heading {
    margin-bottom: 48px;
  }

  .trust-section .trust-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .trust-section .section-heading h2 {
    font-size: clamp(36px, 11vw, 58px);
  }

  .trust-section .trust-grid p {
    max-width: 100%;
    font-size: 16px;
  }
}

/* Block: #economy */
.economy-section .section-heading {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.economy-section .economy-layout {
  display: block;
}

.economy-section .calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 44px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 48px;
  border: 0;
  border-radius: 32px;
  background: var(--color-pure-white);
  box-shadow: none;
}

.economy-section .calculator-fields {
  display: grid;
  gap: 36px;
}

.economy-section .calculator-field {
  display: grid;
  gap: 12px;
  color: var(--color-ash);
  font-size: 18px;
  font-weight: 450;
}

.economy-section .calculator-field output {
  color: var(--color-ink);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  font-weight: 700;
}

.economy-section .calculator-field input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(var(--color-rust), var(--color-rust)) 0 50% / var(--range-progress, 0%) 4px no-repeat,
    linear-gradient(rgba(163, 166, 175, 0.28), rgba(163, 166, 175, 0.28)) 0 50% / 100% 4px no-repeat;
  accent-color: var(--color-rust);
  appearance: none;
}

.economy-section .calculator-field input[type="range"]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--color-rust);
  box-shadow: 0 0 0 4px var(--color-pure-white);
  appearance: none;
}

.economy-section .calculator-field input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--color-rust);
  box-shadow: 0 0 0 4px var(--color-pure-white);
}

.economy-section .range-bounds {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--color-ash);
  font-size: 16px;
  font-weight: 450;
}

.economy-section .calc-result {
  align-self: start;
  display: grid;
  gap: 26px;
  padding: 32px;
  border-radius: 28px;
  background: var(--color-fog);
  color: var(--color-ink);
}

.economy-section .calc-result div {
  display: grid;
  gap: 8px;
}

.economy-section .calc-result span {
  color: var(--color-ash);
  font-size: 17px;
  line-height: 1.28;
  font-weight: 450;
}

.economy-section .calc-result strong {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.04;
  font-weight: 700;
}

.economy-section .calc-result p {
  margin: 0;
  color: var(--color-ash);
  font-size: 15px;
  line-height: 1.45;
}

.economy-section .calc-result .primary-button {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .economy-section .calculator {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    border-radius: 24px;
  }

  .economy-section .calculator-fields {
    gap: 30px;
  }

  .economy-section .calculator-field {
    font-size: 16px;
  }
}

@media (max-width: 1060px) {
  h1 {
    font-size: 54px;
  }

  .hero {
    min-height: auto;
  }

  .profile-card::before,
  .profile-card::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-heading-break {
    display: block;
  }

  :root {
    --container: min(calc(100vw - 24px), 1200px);
    --h2-size: 38px;
  }

  body::before {
    height: 620px;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: 30px;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 38px;
  }

  .site-header {
    width: 100vw;
    max-width: 100vw;
    grid-template-columns: auto;
    padding: 8px 12px;
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    grid-column: 1;
    min-width: 0;
    gap: 8px;
  }

  .main-nav a {
    padding: 0 4px;
    font-size: 14px;
  }

  .hero {
    width: min(calc(100vw - 24px), 1200px);
    max-width: calc(100vw - 24px);
    padding: 64px 0 52px;
    overflow: hidden;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    align-items: center;
    flex-direction: column;
  }

  .hero-actions .primary-button,
  .hero-actions .ghost-button {
    width: min(100%, 320px);
    max-width: 100%;
    white-space: normal;
  }

  .section {
    padding: 64px 12px;
  }

  .section-heading p,
  .hero-lead {
    font-size: 16px;
  }

  .slider-frame {
    min-height: 316px;
  }

  .screenshot-preview {
    min-height: 238px;
  }

  .screenshot-preview img {
    height: 220px;
  }

  .contact-section {
    width: min(calc(100vw - 24px), 1200px);
    margin: 64px auto;
    padding: 28px;
  }
}

@media (max-width: 440px) {
  .site-header {
    grid-template-columns: auto;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    grid-column: 1;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 34px;
  }

  .profile-card,
  .lead-form,
  .screenshot-slider {
    padding: 16px;
  }

  .slider-frame {
    min-height: 278px;
  }

  .screenshot-preview {
    min-height: 202px;
  }

  .screenshot-preview img {
    height: 188px;
  }
}

/* Block: #how */
.how-section .screenshot-slider {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.how-section .screenshot-nav {
  display: grid;
  align-self: stretch;
  align-content: center;
}

.how-section .screenshot-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 25, 28, 0.12);
  border-radius: 0;
  background: transparent;
  color: var(--color-graphite);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1.25;
  text-align: left;
  transition: color 180ms ease;
}

.how-section .screenshot-nav button:hover,
.how-section .screenshot-nav button:focus-visible,
.how-section .screenshot-nav button.active {
  color: var(--color-ink);
}

.how-section .screenshot-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.how-section .screenshot-nav button.active::after {
  opacity: 1;
  animation: how-slide-progress var(--slide-duration, 5000ms) linear forwards;
}

.how-section .screenshot-nav span {
  color: var(--color-dove);
  font-size: 14px;
}

@keyframes how-slide-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.how-section .slider-frame {
  position: relative;
  min-height: clamp(360px, 42vw, 620px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.how-section .screenshot-slide {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.how-section .screenshot-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.how-section .screenshot-preview {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: rgba(4, 23, 43, 0.05) 0 0 0 1px, rgba(0, 0, 0, 0.12) 0 24px 56px -24px;
  cursor: zoom-in;
}

.how-section .screenshot-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(360px, 42vw, 620px);
  object-fit: contain;
  border-radius: 16px;
  background: transparent;
}

.how-section .screenshot-slide figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 860px) {
  .how-section .screenshot-slider {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-section .screenshot-nav {
    display: flex;
    align-content: initial;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .how-section .screenshot-nav button {
    grid-template-columns: 1fr;
    flex: 0 0 min(240px, 72vw);
    min-height: 58px;
    padding-bottom: 10px;
    font-size: 17px;
  }

  .how-section .screenshot-nav span {
    display: none;
  }

  .how-section .slider-frame {
    min-height: 300px;
  }

  .how-section .screenshot-preview img {
    max-height: 300px;
  }
}

@media (max-width: 520px) {
  .how-section .slider-frame {
    min-height: 220px;
  }

  .how-section .screenshot-preview img {
    max-height: 220px;
  }
}

/* Block: #ai */
.ai-section .section-heading {
  max-width: 900px;
  margin-bottom: 48px;
}

.ai-section .ai-agent-slider {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.ai-section .ai-agent-nav {
  display: grid;
  align-self: stretch;
  align-content: center;
}

.ai-section .ai-agent-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 25, 28, 0.12);
  border-radius: 0;
  background: transparent;
  color: var(--color-graphite);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1.25;
  text-align: left;
  transition: color 180ms ease;
}

.ai-section .ai-agent-nav button:hover,
.ai-section .ai-agent-nav button:focus-visible,
.ai-section .ai-agent-nav button.active {
  color: var(--color-ink);
}

.ai-section .ai-agent-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.ai-section .ai-agent-nav button.active::after {
  opacity: 1;
  animation: how-slide-progress var(--slide-duration, 5000ms) linear forwards;
}

.ai-section .ai-agent-nav button::after,
.ai-section .ai-agent-nav button.active::after {
  display: none;
  animation: none;
}

.ai-section .ai-agent-nav span {
  color: var(--color-dove);
  font-size: 14px;
}

.ai-section .ai-agent-frame {
  position: relative;
  min-height: clamp(360px, 42vw, 620px);
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
}

.ai-section .ai-agent-slide {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.ai-section .ai-agent-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ai-section .ai-agent-slide > span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  background: #dceee8;
  color: #465968;
  font-size: 14px;
  font-weight: 500;
}

.ai-section .ai-agent-slide h3 {
  max-width: 620px;
  margin: 0;
  color: #465968;
  font-family: var(--font-sohne);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 450;
  line-height: 1.08;
}

.ai-section .ai-agent-slide p {
  max-width: 660px;
  margin: 0;
  color: #465968;
  font-size: 18px;
  line-height: 1.42;
}

.ai-section .ai-agent-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(360px, 42vw, 620px);
  margin: 0;
  border-radius: 16px;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 860px) {
  .ai-section .ai-agent-slider {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ai-section .ai-agent-nav {
    display: flex;
    align-content: initial;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .ai-section .ai-agent-nav button {
    grid-template-columns: 1fr;
    flex: 0 0 min(240px, 72vw);
    min-height: 58px;
    padding-bottom: 10px;
    font-size: 17px;
  }

  .ai-section .ai-agent-nav span {
    display: none;
  }

  .ai-section .ai-agent-frame {
    min-height: 300px;
  }

  .ai-section .ai-agent-slide h3 {
    font-size: 34px;
  }

  .ai-section .ai-agent-slide p {
    font-size: 17px;
  }

  .ai-section .ai-agent-slide img {
    max-height: 300px;
  }
}

/* Block: #testimonials */
.testimonials-section .testimonials-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.testimonials-section .testimonials-header .section-heading {
  margin-bottom: 0;
}

.testimonials-section .testimonial-slider {
  display: grid;
  gap: 18px;
}

.testimonials-section .testimonial-viewport {
  --testimonial-shadow-space: 34px;
  position: relative;
  overflow: hidden;
  width: calc(100% + var(--testimonial-shadow-space));
  margin: calc(-1 * var(--testimonial-shadow-space)) 0 calc(-1 * var(--testimonial-shadow-space)) calc(-1 * var(--testimonial-shadow-space));
  padding: var(--testimonial-shadow-space) 0 var(--testimonial-shadow-space) var(--testimonial-shadow-space);
}

.testimonials-section .testimonial-viewport::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 2;
  width: clamp(72px, 16vw, 220px);
  background: linear-gradient(90deg, rgba(247, 247, 248, 0), var(--color-fog) 82%);
  pointer-events: none;
}

.testimonials-section .testimonial-grid {
  display: flex;
  grid-template-columns: none;
  gap: 20px;
  transition: transform 260ms ease;
  will-change: transform;
}

.testimonials-section .testimonial-card {
  flex: 0 0 min(760px, calc(100vw - 200px));
}

.testimonials-section .testimonial-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 8px;
}

.testimonials-section .testimonial-controls button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(163, 166, 175, 0.38);
  border-radius: 9999px;
  background: var(--color-pure-white);
  color: var(--color-ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.testimonials-section .testimonial-controls button:hover,
.testimonials-section .testimonial-controls button:focus-visible {
  background: var(--color-ink);
  color: var(--color-pure-white);
  transform: translateY(-1px);
}

.testimonials-section .testimonial-progress {
  position: relative;
  width: min(420px, 100%);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 25, 28, 0.12);
}

.testimonials-section .testimonial-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.testimonials-section .testimonial-progress span.active {
  animation: testimonial-slide-progress var(--testimonial-duration, 10000ms) linear forwards;
}

@keyframes testimonial-slide-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .testimonials-section .testimonial-card {
    flex-basis: min(82vw, 680px);
  }
}

@media (max-width: 640px) {
  .testimonials-section .testimonials-header {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }

  .testimonials-section .testimonial-controls {
    justify-content: flex-start;
    padding-top: 0;
  }

  .testimonials-section .testimonial-viewport::after {
    width: 84px;
  }

  .testimonials-section .testimonial-card {
    flex-basis: 84vw;
  }
}

/* Block: #faq */
.faq-section {
  background: var(--color-pure-white) !important;
}

.faq-section .section-heading {
  max-width: none;
  margin: 0 0 72px;
  text-align: center;
}

.faq-section .section-heading h2 {
  margin-bottom: 0;
}

.faq-section .faq-list {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid rgba(163, 166, 175, 0.36);
}

.faq-section .faq-list details {
  border: 0;
  border-bottom: 1px solid rgba(163, 166, 175, 0.36);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-section .faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 24px;
  align-items: center;
  min-height: 82px;
  padding: 24px 0;
  color: var(--color-ink);
  cursor: pointer;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  list-style: none;
}

.faq-section .faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-section .faq-list summary::after {
  content: "›";
  display: inline-grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(163, 166, 175, 0.38);
  border-radius: 999px;
  background: var(--color-pure-white);
  color: var(--color-ink);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transform: rotate(90deg);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.faq-section .faq-list details[open] summary::after {
  transform: rotate(-90deg);
}

.faq-section .faq-list summary:hover::after,
.faq-section .faq-list summary:focus-visible::after {
  background: var(--color-ink);
  color: var(--color-pure-white);
  transform: rotate(90deg) translateX(1px);
}

.faq-section .faq-list details[open] summary:hover::after,
.faq-section .faq-list details[open] summary:focus-visible::after {
  transform: rotate(-90deg) translateX(1px);
}

.faq-section .faq-list p {
  max-width: 960px;
  margin: 0;
  padding: 0 72px 28px 0;
  color: var(--color-ash);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .faq-section .section-heading {
    margin-bottom: 42px;
    text-align: left;
  }

  .faq-section .faq-list summary {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 72px;
    padding: 22px 0;
    font-size: 20px;
  }

  .faq-section .faq-list summary::after {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .faq-section .faq-list p {
    padding: 0 0 26px;
    font-size: 17px;
  }
}

/* Block: #context */
.context-section {
  background: var(--color-pure-white) !important;
}

.context-section .context-heading {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}

.context-section .context-heading h2 {
  margin-bottom: 18px;
}

.context-section .context-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-ash);
  font-size: 18px;
  line-height: 1.45;
}

.context-section .context-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.context-section .context-card {
  display: grid;
  align-content: space-between;
  min-height: 620px;
  padding: clamp(28px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(163, 166, 175, 0.32);
  border-radius: 24px;
  box-shadow: none;
}

.context-section .context-card--before {
  background: var(--color-pure-white) !important;
}

.context-section .context-card--after {
  border-color: var(--color-ink);
  background: var(--color-ink) !important;
}

.context-section .context-pill {
  display: inline-flex;
  justify-self: start;
  margin-bottom: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-apricot-wash);
  color: var(--color-rust);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.009em;
  text-transform: uppercase;
}

.context-section .context-card--after .context-pill {
  background: var(--color-sky-wash);
  color: var(--color-ink);
}

.context-section .context-card h3 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 28px;
  line-height: 1.16;
}

.context-section .context-card--after h3,
.context-section .context-card--after li,
.context-section .context-card--after .context-visual p {
  color: var(--color-pure-white);
}

.context-section .context-card ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.context-section .context-card li {
  position: relative;
  padding-left: 42px;
  color: var(--color-ash);
  font-size: 17px;
  line-height: 1.45;
}

.context-section .context-card li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.context-section .context-card--before li::before {
  content: "×";
  background: var(--color-apricot-wash);
  color: var(--color-rust);
}

.context-section .context-card--after li::before {
  content: "✓";
  background: var(--color-sky-wash);
  color: var(--color-ink);
}

.context-section .context-visual {
  margin-top: 56px;
}

.context-section .context-visual--before {
  position: relative;
  min-height: 210px;
}

.context-section .context-visual--before span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-width: 180px;
  min-height: 74px;
  padding: 18px 22px;
  border: 1px solid rgba(163, 166, 175, 0.42);
  border-radius: 16px;
  background: var(--color-pure-white);
  color: var(--color-graphite);
  box-shadow: rgba(4, 23, 43, 0.04) 0 0 0 1px;
  font-size: 16px;
  transform: rotate(var(--rotate, 0deg));
}

.context-section .context-visual--before span:nth-child(1) {
  left: 3%;
  top: 38px;
  --rotate: -4deg;
}

.context-section .context-visual--before span:nth-child(2) {
  left: 27%;
  top: 20px;
  --rotate: 5deg;
}

.context-section .context-visual--before span:nth-child(3) {
  right: 5%;
  top: 46px;
  --rotate: -7deg;
}

.context-section .context-visual--before span:nth-child(4) {
  left: 13%;
  bottom: 12px;
  --rotate: 3deg;
}

.context-section .context-visual--before span:nth-child(5) {
  right: 13%;
  bottom: 0;
  --rotate: 4deg;
}

.context-section .context-visual--after {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  background: var(--color-pure-white);
}

.context-section .context-chart {
  display: grid;
  gap: 14px;
}

.context-section .context-chart span {
  display: grid;
  gap: 8px;
  color: var(--color-ink);
  font-size: 14px;
}

.context-section .context-chart span::after {
  content: "";
  display: block;
  width: var(--bar);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-rust), #4a90e2);
}

.context-section .context-visual--after p {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--color-fog);
  color: var(--color-ash);
  font-size: 15px;
}

@media (max-width: 900px) {
  .context-section .context-comparison {
    grid-template-columns: 1fr;
  }

  .context-section .context-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .context-section .context-heading {
    text-align: left;
  }

  .context-section .context-card h3 {
    font-size: 24px;
  }

  .context-section .context-visual--before {
    min-height: 170px;
  }

  .context-section .context-visual--before span {
    min-width: 136px;
    min-height: 58px;
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* Block: #context refinement */
.context-section {
  background: #f4f2f8 !important;
  color: #465968;
}

.context-section .context-heading p,
.context-section .context-card,
.context-section .context-card h3,
.context-section .context-card li {
  color: #465968;
}

.context-section .context-card {
  grid-template-rows: auto 1fr;
  align-content: start;
  min-height: 420px;
  padding: clamp(28px, 3vw, 42px);
}

.context-section .context-card--before {
  border: 1px solid rgba(70, 89, 104, 0.18);
  background: transparent !important;
}

.context-section .context-card--after {
  border: 0;
  background: #ebc7d3 !important;
}

.context-section .context-pill {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.62);
  color: #465968;
}

.context-section .context-card--after .context-pill {
  background: rgba(255, 255, 255, 0.62);
  color: #465968;
}

.context-section .context-card h3 {
  min-height: 68px;
  margin-bottom: 28px;
}

.context-section .context-card ul {
  gap: 16px;
}

.context-section .context-card--before li::before,
.context-section .context-card--after li::before {
  background: rgba(255, 255, 255, 0.68);
  color: #465968;
}

.context-section .context-visual {
  display: none;
}

@media (max-width: 900px) {
  .context-section .context-card h3 {
    min-height: 0;
  }
}

/* Block: #context final layout */
.context-section {
  padding-top: 104px;
  padding-bottom: 104px;
  background: #f4f2f8 !important;
}

.context-section .context-heading {
  max-width: 960px;
  margin: 0 auto 70px;
  text-align: center;
}

.context-section .context-heading h2 {
  max-width: 860px;
  margin: 0 auto 26px;
  color: var(--color-ink);
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.05;
}

.context-section .context-heading p {
  max-width: 840px;
  color: #465968;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.45;
}

.context-section .context-comparison {
  max-width: 1120px;
  margin: 0 auto;
  gap: 22px;
}

.context-section .context-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 408px;
  padding: clamp(32px, 3.5vw, 40px);
  border-radius: 24px;
  color: #465968;
}

.context-section .context-comparison .context-card.context-card--before {
  border: 1px solid rgba(70, 89, 104, 0.2);
  background: transparent !important;
}

.context-section .context-comparison .context-card.context-card--after {
  border: 0;
  background: #dceee8 !important;
}

.context-section .context-pill {
  margin-bottom: 34px;
  padding: 9px 22px;
  background: #ebc7d3;
  color: #465968;
  font-size: 14px;
  font-weight: 450;
  text-transform: uppercase;
}

.context-section .context-card--after .context-pill {
  background: rgba(255, 255, 255, 0.78);
}

.context-section .context-card h3 {
  max-width: 480px;
  min-height: 88px;
  margin-bottom: 30px;
  color: #465968;
  font-family: var(--font-sohne);
  font-size: clamp(29px, 2.35vw, 36px);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -0.009em;
}

.context-section .context-card ul {
  align-self: start;
  gap: 16px;
}

.context-section .context-card li {
  min-height: 32px;
  padding-left: 48px;
  color: #465968;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.4;
}

.context-section .context-card li::before {
  top: -1px;
  width: 30px;
  height: 30px;
  background: #ebc7d3 !important;
  color: #465968 !important;
  font-size: 19px;
}

.context-section .context-card--after li::before {
  background: #8fc8b9 !important;
  color: var(--color-pure-white) !important;
}

@media (max-width: 900px) {
  .context-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .context-section .context-heading h2 {
    font-size: 44px;
  }

  .context-section .context-card h3 {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .context-section .context-heading {
    margin-bottom: 44px;
    text-align: left;
  }

  .context-section .context-heading h2 {
    font-size: 36px;
  }
}

/* Block: #contact */
.contact-section {
  background: #f9f6f5 !important;
  background-image: none !important;
  color: #465968;
}

.contact-section h2,
.contact-section h3,
.contact-section p,
.contact-section li {
  color: #465968;
}

.contact-section .positioning-repeat {
  background: rgba(255, 255, 255, 0.62);
  color: #465968 !important;
}

.contact-section .contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: #465968;
}

.contact-section .contact-direct strong {
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-section .contact-direct a {
  display: inline-grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #465968;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.contact-section .contact-direct a:hover {
  color: var(--color-ink);
}

.contact-section .contact-direct a span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

.contact-section .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 20px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #465968;
}

.contact-section .contact-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Block: #context icon color fix */
#context.context-section .context-comparison .context-card.context-card--after li::before {
  background: #6fb5a4 !important;
  color: #ffffff !important;
}

/* Block: #roles */
.roles-section {
  background: var(--color-pure-white) !important;
}

/* Block: #competencies */
.competencies-section {
  background: #ffffff !important;
}

.competencies-section .section-heading {
  max-width: 900px;
  margin: 0 auto 52px;
  text-align: center;
}

.competencies-section .section-heading h2 {
  margin-bottom: 18px;
  color: #465968;
  font-family: var(--font-signifier);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.competencies-section .section-heading > p {
  max-width: 720px;
  margin: 0 auto;
  color: #465968;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.009em;
}

.competencies-section .badge-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(920px, 100%);
  max-width: none;
  margin: 38px auto 0;
  padding: 10px 0 10px 28px;
  border: 0;
  border-left: 3px solid #465968;
  border-radius: 0;
  background: transparent;
  color: #465968;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 450;
  letter-spacing: -0.009em;
  text-align: left;
}

.competencies-section .badge-line .ru-flag {
  display: inline-grid;
  flex: 0 0 auto;
  margin-top: 5px;
}

.competencies-section .competency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.competencies-section .competency-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(70, 89, 104, 0.12);
  border-radius: 20px;
  background: #ffffff !important;
  box-shadow: none;
  color: #465968;
  cursor: default;
  text-align: left;
}

.competencies-section .competency-card::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dceee8 0%, #e4cde9 100%);
  color: #465968;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.009em;
  transition: transform 180ms ease;
}

.competencies-section .competency-card:nth-child(1)::before {
  content: "01";
}

.competencies-section .competency-card:nth-child(2)::before {
  content: "02";
}

.competencies-section .competency-card:nth-child(3)::before {
  content: "03";
}

.competencies-section .competency-card:nth-child(4)::before {
  content: "04";
}

.competencies-section .competency-card h3 {
  margin: 0;
  color: #465968;
  font-family: var(--font-sohne);
  font-size: 26px;
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.009em;
  transition: transform 180ms ease;
}

.competencies-section .competency-card p {
  min-height: 0;
  margin: 0;
  color: #465968;
  font-size: 16px;
  line-height: 1.38;
  letter-spacing: -0.009em;
  transition: transform 180ms ease;
}

.competencies-section .competency-card span {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: block;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(70, 89, 104, 0.12);
  background: #ffffff;
  color: #465968;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.competencies-section .competency-card:hover span,
.competencies-section .competency-card:focus-visible span {
  opacity: 0.76 !important;
  visibility: visible;
  transform: translateY(0);
}

.competencies-section .competency-card:hover,
.competencies-section .competency-card:focus-visible {
  border-color: rgba(70, 89, 104, 0.24);
  transform: translateY(-2px);
}

@media (max-width: 1060px) {
  .competencies-section .competency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .competencies-section .section-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .competencies-section .badge-line {
    padding-left: 20px;
    font-size: 18px;
  }

  .competencies-section .competency-grid {
    grid-template-columns: 1fr;
  }

  .competencies-section .competency-card {
    min-height: 0;
  }
}

.roles-section .section-heading {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}

.roles-section .section-heading h2 {
  margin-bottom: 18px;
}

.roles-section .section-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #465968;
  font-size: 18px;
  line-height: 1.45;
}

.roles-section .role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}

.roles-section .role-grid article {
  display: grid;
  grid-template-rows: 72px minmax(74px, auto) auto;
  justify-items: center;
  align-content: start;
  min-height: 320px;
  padding: 34px 28px 36px;
  border: 1px solid rgba(70, 89, 104, 0.12);
  border-radius: 20px;
  background: var(--color-pure-white) !important;
  box-shadow: none;
  text-align: center;
}

.roles-section .role-grid h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin: 24px 0 14px;
  color: var(--color-ink);
  font-family: var(--font-sohne);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.009em;
}

.roles-section .role-grid p {
  max-width: 290px;
  margin: 0;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.45;
}

.roles-section .role-visual {
  display: block;
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  padding: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e4cde9 0%, #d7e4ec 100%);
  object-fit: contain;
}

.roles-section .inline-cta {
  display: none;
}

@media (max-width: 980px) {
  .roles-section .role-grid {
    grid-template-columns: 1fr;
  }

  .roles-section .role-grid article {
    min-height: 280px;
  }
}

/* Brandbook_LIDUM global alignment */
body {
  background: #ffffff;
  color: #465968;
  font-family: var(--font-sohne);
}

h1,
h2,
h3,
p,
li {
  letter-spacing: 0;
}

h1,
h2,
h3,
.section-heading h2,
.context-heading h2 {
  color: #465968;
  font-family: var(--font-sohne);
  font-weight: 450;
}

p,
li,
.section-heading p,
.context-heading p {
  color: rgba(70, 89, 104, 0.86);
}

.site-header {
  border-color: rgba(70, 89, 104, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: rgba(70, 89, 104, 0.08) 0 0 0 1px, rgba(70, 89, 104, 0.08) 0 18px 38px -22px;
}

.main-nav a {
  color: rgba(70, 89, 104, 0.72);
}

.main-nav a:hover {
  background: rgba(183, 228, 222, 0.24);
  color: #465968;
}

.header-cta,
.primary-button {
  border-color: transparent;
  border-radius: 9999px;
  background: var(--brand-gradient);
  color: #465968;
  box-shadow: rgba(70, 89, 104, 0.12) 0 12px 28px -18px;
}

.primary-button:hover,
.header-cta:hover {
  background: linear-gradient(145deg, #b49be9 0%, #6f9ee8 52%, #a8dbd4 100%);
  color: #465968;
}

.ghost-button,
.video-link,
.tab-button,
.report-tab,
.step-button {
  border-color: rgba(70, 89, 104, 0.14);
  border-radius: 9999px;
  background: #ffffff;
  color: #465968;
}

.profile-card,
.report-mock,
.builder,
.before-after article,
.risk-strip,
.info-card,
.format-card,
.comparison article,
.step-detail,
.video-cover,
.lead-form,
.step-card,
.agent-grid article,
.trust-grid article,
.role-grid article,
.calculator,
.testimonial-card,
.screenshot-slider,
.ai-image-card,
.faq-list details,
.competency-card {
  border-color: rgba(70, 89, 104, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: rgba(70, 89, 104, 0.08) 0 0 0 1px, rgba(70, 89, 104, 0.08) 0 20px 34px -18px;
}

.section:nth-of-type(even),
.faq-section,
.economy-section {
  background: #f7f7f8;
}

.context-section {
  background: #f4f2f8 !important;
}

.contact-section {
  background: #f9f6f5 !important;
  color: #465968;
}

.level-row i,
.economy-section .calculator-field input[type="range"] {
  background:
    linear-gradient(90deg, #bfa7f2, #79a8ef, #b7e4de) 0 0 / calc(var(--level, 100) * 1%) 100% no-repeat,
    rgba(70, 89, 104, 0.12);
}

.economy-section .calculator-field input[type="range"] {
  background:
    linear-gradient(90deg, #bfa7f2, #79a8ef, #b7e4de) 0 50% / var(--range-progress, 0%) 4px no-repeat,
    linear-gradient(rgba(70, 89, 104, 0.14), rgba(70, 89, 104, 0.14)) 0 50% / 100% 4px no-repeat;
}

.economy-section .calculator-field input[type="range"]::-webkit-slider-thumb {
  background: #465968;
}

.economy-section .calculator-field input[type="range"]::-moz-range-thumb {
  background: #465968;
}

.how-section .screenshot-nav button::after,
.ai-section .ai-agent-nav button::after,
.testimonial-progress span {
  background: #465968;
}

.testimonial-controls button:hover,
.testimonial-controls button:focus-visible,
.slider-controls button:hover,
.slider-controls button:focus-visible {
  background: #465968;
  color: #ffffff;
}

/* Requested correction: keep badges/section accents local, unify buttons and H2 */
:root {
  --landing-h2-size: 48px;
}

.header-cta,
.primary-button {
  min-height: 46px;
  padding: 0 22px;
  border-color: #5e86d8;
  border-radius: 9999px;
  background: #5e86d8;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.header-cta:hover,
.header-cta:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
  border-color: #4d75c8;
  background: #4d75c8;
  color: #ffffff;
}

#context .context-heading h2,
#how .section-heading h2,
#video h2,
#competencies .section-heading h2,
#ai .section-heading h2,
#sample-report .section-heading h2,
#economy .section-heading h2,
#roles .section-heading h2,
#testimonials .section-heading h2,
#faq .section-heading h2,
#contact h2 {
  color: #465968;
  font-family: var(--font-sohne);
  font-size: var(--landing-h2-size);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: 0;
}

/* Block: #contact form refinement */
.contact-section .lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(70, 89, 104, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: none;
}

.contact-section .lead-form-title {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 0 18px;
  color: #465968;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 500;
}

.contact-section .lead-form label:not(.consent-item) {
  display: grid;
  gap: 6px;
  color: #465968;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 450;
}

.contact-section .lead-form input,
.contact-section .lead-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(70, 89, 104, 0.26);
  border-radius: 16px;
  background: #ffffff;
  color: #465968;
  font-size: 15px;
  line-height: 1.2;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-section .lead-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #777b86 50%),
    linear-gradient(135deg, #777b86 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  color: rgba(70, 89, 104, 0.72);
}

.contact-section .lead-form input::placeholder {
  color: rgba(119, 123, 134, 0.68);
}

.contact-section .lead-form input:focus,
.contact-section .lead-form select:focus {
  border-color: #5e86d8;
  box-shadow: 0 0 0 4px rgba(94, 134, 216, 0.14);
}

.contact-section .consent-list {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.contact-section .consent-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #465968;
  font-size: 14px;
  line-height: 1.38;
}

.contact-section .consent-item input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  accent-color: #5e86d8;
}

.contact-section .consent-item a {
  color: #5e86d8;
}

.contact-section .lead-form .primary-button {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
}

.contact-section .lead-form .form-note {
  margin: 0;
}

#contact.contact-section {
  align-items: stretch;
  gap: 40px;
  padding: 48px;
}

#contact .contact-copy,
#contact .lead-form {
  min-height: 100%;
}

#contact .lead-form {
  align-self: stretch;
  align-content: space-between;
  padding: 32px;
}

@media (max-width: 760px) {
  #contact.contact-section {
    gap: 28px;
    padding: 28px;
  }

  #contact .lead-form {
    padding: 24px;
  }

  .contact-section .lead-form {
    grid-template-columns: 1fr;
  }

  .contact-section .lead-form-title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .contact-section .lead-form input,
  .contact-section .lead-form select {
    min-height: 46px;
    font-size: 15px;
  }
}

@media (max-width: 620px) {
  :root {
    --landing-h2-size: 38px;
  }
}

/* Steep-like motion system */
.motion-ready [data-reveal] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.motion-ready .hero-content[data-reveal] {
  transform: translateY(22px);
}

.motion-ready .profile-card[data-reveal],
.motion-ready .screenshot-slider[data-reveal],
.motion-ready .video-cover[data-reveal],
.motion-ready .ai-agent-slider[data-reveal],
.motion-ready .calculator[data-reveal],
.motion-ready .lead-form[data-reveal] {
  transform: translateY(44px) scale(0.97);
}

.primary-button,
.header-cta,
.ghost-button,
.video-link,
.testimonial-controls button,
.slider-controls button,
.faq-section .faq-list summary::after {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.video-link:hover,
.video-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: rgba(70, 89, 104, 0.16) 0 16px 36px -24px;
}

.profile-card,
.context-card,
.competency-card,
.trust-grid article,
.roles-section .role-grid article,
.testimonial-card,
.faq-section .faq-list details,
.lead-form,
.calculator,
.video-cover {
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease;
}

.profile-card:hover,
.context-card:hover,
.competency-card:hover,
.trust-grid article:hover,
.roles-section .role-grid article:hover,
.testimonial-card:hover,
.faq-section .faq-list details:hover,
.lead-form:hover,
.calculator:hover,
.video-cover:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 89, 104, 0.22);
  box-shadow: rgba(70, 89, 104, 0.1) 0 0 0 1px, rgba(70, 89, 104, 0.14) 0 24px 44px -26px;
}

.screenshot-preview img,
.ai-agent-slide img,
.testimonial-card img,
.role-visual,
.trust-icon {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.screenshot-preview:hover img,
.ai-agent-slide.active:hover img,
.testimonial-card:hover img {
  transform: scale(1.018);
}

.roles-section .role-grid article:hover .role-visual,
.trust-grid article:hover .trust-icon,
.competency-card:hover::before {
  transform: translateY(-2px) scale(1.04);
}

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

  .motion-ready [data-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Motion exclusions requested */
#faq,
#faq *,
#contact,
#contact * {
  animation: none !important;
  transition: none !important;
}

#faq [data-reveal],
#contact [data-reveal],
#faq .is-visible,
#contact .is-visible,
#contact .lead-form,
#contact .contact-copy,
#faq .faq-list details {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

#contact .lead-form:hover,
#contact .contact-copy:hover,
#faq .faq-list details:hover {
  transform: none !important;
  box-shadow: none;
}

.inline-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5e86d8;
  font: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.inline-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(94, 134, 216, 0.24);
  outline-offset: 2px;
}

.consent-modal {
  width: min(920px, calc(100vw - 28px));
  max-height: min(86vh, 820px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.consent-modal::backdrop {
  background: rgba(53, 63, 73, 0.62);
}

.consent-modal-content {
  position: relative;
  max-height: min(86vh, 820px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(53, 63, 73, 0.22);
}

.consent-text {
  max-height: min(86vh, 820px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
  color: var(--color-graphite);
  font-size: 16px;
  line-height: 1.55;
}

.consent-text h2 {
  max-width: 760px;
  margin: 0 52px 18px 0;
  color: var(--color-ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.consent-text h3 {
  margin: 26px 0 10px;
  color: var(--color-ink);
  font-size: 20px;
  line-height: 1.2;
}

.consent-text p,
.consent-text ul {
  margin: 0 0 12px;
}

.consent-text ul {
  padding-left: 22px;
}

.consent-text li + li {
  margin-top: 6px;
}

@media (max-width: 760px) {
  .how-section .screenshot-slider,
  .ai-section .ai-agent-slider {
    gap: 16px;
  }

  .how-section .screenshot-nav,
  .ai-section .ai-agent-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * clamp(16px, 5vw, 24px));
    padding: 2px clamp(16px, 5vw, 24px) 12px;
    scrollbar-width: none;
  }

  .how-section .screenshot-nav::-webkit-scrollbar,
  .ai-section .ai-agent-nav::-webkit-scrollbar {
    display: none;
  }

  .how-section .screenshot-nav button,
  .ai-section .ai-agent-nav button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: min(78vw, 310px);
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(70, 89, 104, 0.16);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(53, 63, 73, 0.08);
    color: var(--color-graphite);
    font-size: 14px;
    line-height: 1.2;
    scroll-snap-align: start;
  }

  .how-section .screenshot-nav button.active,
  .ai-section .ai-agent-nav button.active {
    border-color: rgba(94, 134, 216, 0.42);
    background: #edf3ff;
    color: var(--color-ink);
  }

  .how-section .screenshot-nav button::after,
  .ai-section .ai-agent-nav button::after {
    display: none;
  }

  .how-section .screenshot-nav span,
  .ai-section .ai-agent-nav span {
    display: inline;
    flex: 0 0 auto;
    color: #5e86d8;
    font-size: 12px;
    font-weight: 700;
  }

  .how-section .slider-frame,
  .ai-section .ai-agent-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
  }

  .how-section .screenshot-slide,
  .ai-section .ai-agent-slide {
    display: grid;
    place-items: center;
  }

  .how-section .screenshot-preview {
    width: 100%;
    height: 100%;
  }

  .how-section .screenshot-preview img,
  .ai-section .ai-agent-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .how-section .slider-frame,
  .ai-section .ai-agent-frame {
    aspect-ratio: 1 / 1;
  }

  .consent-modal,
  .consent-modal-content,
  .consent-text {
    max-height: 88vh;
  }

  .consent-text {
    padding: 24px 18px;
    font-size: 15px;
  }
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(70, 89, 104, 0.12);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: rgba(70, 89, 104, 0.08) 0 12px 24px -18px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.menu-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #465968;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.video-modal.is-open,
.consent-modal.is-open {
  display: block;
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 1000;
  transform: translate(-50%, -50%);
}

.video-modal iframe,
.video-modal .demo-video {
  aspect-ratio: 16 / 9;
  height: min(62vh, 560px);
  min-height: 0;
  object-fit: contain;
}

@media (max-width: 768px) {
  .site-header {
    left: 12px;
    right: 12px;
    width: auto !important;
    max-width: none !important;
    grid-template-columns: auto auto !important;
    justify-content: space-between !important;
    align-items: center;
    gap: 10px;
    padding: 8px 10px !important;
  }

  .brand img {
    width: 38px;
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 120;
  }

  .header-cta {
    display: none !important;
  }

  .main-nav {
    position: fixed !important;
    top: 74px;
    left: 12px;
    right: 12px;
    z-index: 110;
    display: grid !important;
    grid-column: auto !important;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
    max-height: calc(100dvh - 92px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(70, 89, 104, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: rgba(70, 89, 104, 0.14) 0 28px 70px -34px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 16px !important;
    border-radius: 16px;
    color: #465968;
    font-size: 16px !important;
    font-weight: 650;
  }

  .video-modal {
    width: min(100vw - 20px, 920px);
  }

  .video-modal iframe,
  .video-modal .demo-video {
    height: auto;
    min-height: 220px;
  }
}

.economy-section .calc-result strong {
  display: block;
  color: var(--color-ink);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.economy-section .calc-result strong [data-calc-loss] {
  font: inherit;
  color: inherit;
}

.ai-section .ai-agent-nav button::after,
.ai-section .ai-agent-nav button.active::after {
  display: none !important;
  animation: none !important;
}
