body.page-relation {
  padding-top: 68px;
  background: #f5f8f9;
}

.relation-hero {
  position: relative;
  padding: clamp(72px, 8vw, 118px) var(--gutter) 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(34, 169, 203, 0.18), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(240, 107, 31, 0.08), transparent 24%),
    linear-gradient(145deg, #f9fcfd 0%, #edf7f8 100%);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.relation-hero__ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(13, 120, 151, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 120, 151, 0.07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent, black 32%, black 100%);
}

.relation-hero__inner {
  display: grid;
  width: min(100%, 1380px);
  grid-template-columns: minmax(390px, 0.78fr) minmax(610px, 1.22fr);
  align-items: center;
  gap: clamp(46px, 6vw, 96px);
  margin: 0 auto;
}

.relation-hero__copy {
  position: relative;
  z-index: 2;
}

.relation-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: 12px;
  font-weight: 760;
}

.relation-back-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms var(--ease-out);
}

.relation-back-link:hover svg {
  transform: translateX(-3px);
}

.relation-hero h1 {
  max-width: 720px;
  margin-top: 16px;
  color: var(--navy-950);
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.relation-hero h1 span {
  color: var(--blue-700);
}

.relation-hero__lead {
  max-width: 670px;
  margin-top: 26px;
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
}

.relation-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.relation-stage {
  position: relative;
  min-height: 535px;
  padding: 22px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(34, 169, 203, 0.24), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(240, 107, 31, 0.14), transparent 27%),
    var(--navy-950);
  border: 1px solid rgba(12, 59, 84, 0.16);
  border-radius: 30px;
  box-shadow: 0 34px 85px rgba(6, 41, 59, 0.2);
}

.relation-stage__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.relation-stage__header span {
  color: #82d6e8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.relation-stage__header strong {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 750;
}

.relation-flow {
  display: grid;
  grid-template-columns: minmax(125px, 1fr) 28px minmax(170px, 1.22fr) 28px minmax(125px, 1fr);
  align-items: stretch;
  gap: 6px;
  margin-top: 20px;
}

.relation-flow__step {
  min-width: 0;
  min-height: 360px;
  padding: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
}

.relation-flow__step > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.relation-flow__step > header > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: #82d6e8;
  background: rgba(18, 148, 185, 0.14);
  border: 1px solid rgba(130, 214, 232, 0.22);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 850;
}

.relation-flow__step > header p {
  color: rgba(255, 255, 255, 0.54);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.relation-flow__step > h2 {
  margin-top: 22px;
  color: var(--white);
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 610;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.relation-flow__events {
  display: grid;
  gap: 8px;
  margin-top: 38px;
}

.relation-flow__events > span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
}

.relation-flow__events i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--blue-50);
  border-radius: 9px;
}

.relation-flow__events img {
  width: 15px;
  filter: brightness(0) saturate(100%) invert(39%) sepia(42%) saturate(1195%) hue-rotate(148deg);
}

.relation-flow__events b {
  display: grid;
  min-width: 0;
  font-size: 8px;
  line-height: 1.25;
}

.relation-flow__events small {
  margin-bottom: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 6px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.relation-flow__link {
  display: flex;
  align-items: center;
  align-self: center;
  color: #82d6e8;
}

.relation-flow__link span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(130, 214, 232, 0.18), #82d6e8);
}

.relation-flow__link svg {
  width: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.relation-flow__link--field {
  color: #ffac76;
}

.relation-flow__link--field span {
  background: linear-gradient(90deg, rgba(255, 172, 118, 0.18), #ffac76);
}

.relation-flow__step--admin {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2);
}

.relation-flow__step--admin > header > span {
  color: var(--blue-700);
  background: var(--blue-50);
  border-color: var(--blue-200);
}

.relation-flow__step--admin > header p {
  color: var(--blue-700);
}

.relation-flow__step--admin > h2 {
  color: var(--navy-950);
}

.relation-flow__case {
  margin-top: 25px;
  padding: 12px;
  background: #f3f7f8;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.relation-flow__case > header {
  display: flex;
  align-items: center;
  gap: 7px;
}

.relation-flow__case > header img {
  width: 25px;
  height: 25px;
}

.relation-flow__case > header span {
  display: grid;
  min-width: 0;
  flex: 1;
}

.relation-flow__case small {
  color: var(--muted);
  font-size: 6px;
}

.relation-flow__case b {
  color: var(--navy-900);
  font-size: 8px;
}

.relation-flow__case em {
  padding: 4px 6px;
  color: #8a5b16;
  background: #fff0d2;
  border-radius: 999px;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.relation-flow__case > strong {
  display: block;
  margin-top: 16px;
  color: var(--navy-950);
  font-size: 13px;
  line-height: 1.25;
}

.relation-flow__case > div {
  display: grid;
  gap: 6px;
  margin-top: 13px;
}

.relation-flow__case > div > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.relation-flow__case > div b {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.relation-flow__step--field > header > span {
  color: #ffac76;
  background: rgba(240, 107, 31, 0.14);
  border-color: rgba(255, 172, 118, 0.24);
}

.relation-flow__step--field > header p {
  color: #ffac76;
}

.relation-flow__field-card {
  display: grid;
  justify-items: center;
  margin-top: 38px;
  padding: 16px 10px 12px;
  color: var(--ink);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.relation-flow__field-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: 12px;
}

.relation-flow__field-card > span img {
  width: 21px;
  filter: brightness(0) saturate(100%) invert(47%) sepia(89%) saturate(2134%) hue-rotate(351deg) brightness(99%);
}

.relation-flow__field-card > div {
  display: grid;
  margin-top: 10px;
}

.relation-flow__field-card small {
  color: var(--muted);
  font-size: 6px;
}

.relation-flow__field-card strong {
  color: var(--navy-950);
  font-size: 10px;
}

.relation-flow__field-card > b {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
  padding-top: 9px;
  color: var(--green-700);
  border-top: 1px solid var(--line);
  font-size: 7px;
}

.relation-flow__field-card > b img {
  width: 12px;
  filter: invert(43%) sepia(42%) saturate(740%) hue-rotate(86deg);
}

.relation-stage__outcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 750;
}

.relation-stage__outcome span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.relation-stage__outcome img {
  width: 13px;
  filter: brightness(0) saturate(100%) invert(82%) sepia(31%) saturate(739%) hue-rotate(151deg);
}

.relation-stage__outcome i {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.relation-hero__proof {
  display: flex;
  width: min(100%, 1380px);
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  margin: 46px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(12, 59, 84, 0.12);
}

.relation-hero__proof span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 11px;
  font-weight: 720;
}

.relation-hero__proof img {
  width: 16px;
  filter: invert(43%) sepia(42%) saturate(740%) hue-rotate(86deg);
}

.relation-journey,
.relation-trust {
  padding: 130px var(--gutter);
  background: var(--white);
}

.relation-heading {
  width: min(100%, 780px);
  margin: 0 auto 64px;
  text-align: center;
}

.relation-heading h2 {
  margin-top: 13px;
  color: var(--navy-950);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.relation-heading > p:last-child {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.relation-heading--light h2 {
  color: var(--white);
}

.relation-heading--light > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.relation-steps {
  position: relative;
  display: grid;
  width: min(100%, var(--container));
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.relation-steps::before {
  position: absolute;
  top: 70px;
  right: 9%;
  left: 9%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--blue-200), var(--blue-500), var(--orange-500));
}

.relation-steps li {
  position: relative;
  z-index: 1;
  min-height: 330px;
  padding: 24px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(6, 41, 59, 0.05);
}

.relation-steps__index {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #a9bac2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.relation-steps__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(13, 120, 151, 0.1);
}

.relation-steps__icon img {
  width: 23px;
  filter: brightness(0) saturate(100%) invert(39%) sepia(42%) saturate(1195%) hue-rotate(148deg);
}

.relation-steps li:last-child .relation-steps__icon {
  background: var(--green-100);
  border-color: #b9dfc5;
}

.relation-steps li:last-child .relation-steps__icon img {
  filter: invert(43%) sepia(42%) saturate(740%) hue-rotate(86deg);
}

.relation-steps h3 {
  margin-top: 38px;
  color: var(--navy-950);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.relation-steps p {
  margin-top: 14px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}

.relation-steps__detail {
  display: block;
  margin-top: 22px;
  color: var(--blue-700);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.relation-journey__outcome {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 13px;
  margin: 40px auto 0;
  padding: 12px 20px 12px 12px;
  color: var(--navy-900);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.relation-journey__outcome > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
}

.relation-journey__outcome img {
  width: 23px;
}

.relation-interfaces {
  padding: 130px var(--gutter);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 0% 100%, rgba(240, 107, 31, 0.12), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(34, 169, 203, 0.18), transparent 30%),
    var(--navy-950);
}

.interface-grid {
  display: grid;
  width: min(100%, var(--container));
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.interface-card {
  position: relative;
  display: grid;
  min-height: 600px;
  grid-template-rows: auto 1fr;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.interface-card--mobile {
  grid-column: 1 / -1;
  min-height: 510px;
  grid-template-columns: minmax(300px, 0.8fr) minmax(430px, 1.2fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: 60px;
}

.interface-card__copy {
  position: relative;
  z-index: 2;
  max-width: 510px;
}

.interface-card__number {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.interface-card__copy > p {
  color: #82d6e8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.interface-card--mobile .interface-card__copy > p {
  color: #ffac76;
}

.interface-card h3 {
  max-width: 460px;
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.interface-card__copy > span:last-child {
  display: block;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.portal-demo,
.desktop-demo {
  align-self: end;
  margin-top: 42px;
  overflow: hidden;
  color: var(--ink);
  background: #f4f7f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.portal-demo > header,
.desktop-demo > header {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: var(--navy-900);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.portal-demo > header img {
  width: 25px;
}

.portal-demo > header span {
  font-size: 10px;
  font-weight: 800;
}

.portal-demo > header small {
  margin-left: auto;
  color: var(--muted);
  font-size: 8px;
}

.portal-demo__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}

.portal-demo__form label {
  display: grid;
  gap: 4px;
}

.portal-demo__form label > span {
  color: var(--muted);
  font-size: 7px;
}

.portal-demo__form label > b {
  padding: 8px 9px;
  background: var(--white);
  border: 1px solid #cfdde2;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 650;
}

.portal-demo__message {
  grid-column: 1 / -1;
  min-height: 78px;
  align-content: start;
  padding: 9px;
  background: var(--white);
  border: 1px solid #cfdde2;
  border-radius: 6px;
}

.portal-demo__message i {
  display: block;
  width: 88%;
  height: 4px;
  background: #dce5e9;
  border-radius: 999px;
}

.portal-demo__message i:last-child {
  width: 52%;
}

.portal-demo__form > strong {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 8px 11px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 7px;
  font-size: 8px;
}

.desktop-demo > header > span {
  display: flex;
  gap: 4px;
}

.desktop-demo > header i {
  display: block;
  width: 6px;
  height: 6px;
  background: #ccd8dd;
  border-radius: 50%;
}

.desktop-demo > header b {
  font-size: 9px;
}

.desktop-demo > header small {
  margin-left: auto;
  color: var(--muted);
  font-size: 7px;
}

.desktop-demo__body {
  display: grid;
  min-height: 190px;
  grid-template-columns: 1.1fr 0.9fr;
}

.desktop-demo__body aside {
  padding: 10px;
  background: #edf2f4;
  border-right: 1px solid #d4e0e5;
}

.desktop-demo__body aside > span {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  padding: 9px;
  border-radius: 7px;
}

.desktop-demo__body aside > span.is-selected {
  background: var(--white);
  box-shadow: 0 4px 12px rgba(6, 41, 59, 0.08);
}

.desktop-demo__body aside i {
  width: 6px;
  height: 6px;
  background: var(--blue-600);
  border-radius: 50%;
}

.desktop-demo__body aside b,
.desktop-demo__body aside small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-demo__body aside b {
  font-size: 7px;
}

.desktop-demo__body aside small {
  color: var(--muted);
  font-size: 6px;
}

.desktop-demo__body > div {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  background: var(--white);
}

.desktop-demo__body > div > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}

.desktop-demo__body > div small {
  color: var(--muted);
  font-size: 6px;
}

.desktop-demo__body > div b {
  font-size: 7px;
}

.desktop-demo__body > div strong,
.desktop-demo__body > div em {
  padding: 6px;
  border-radius: 5px;
  font-size: 6px;
  font-style: normal;
  text-align: center;
}

.desktop-demo__body > div strong {
  color: var(--white);
  background: var(--blue-700);
}

.desktop-demo__body > div em {
  color: var(--text);
  background: #edf2f4;
  border: 1px solid var(--line);
}

.mobile-captures {
  position: relative;
  width: 100%;
  min-height: 500px;
  align-self: stretch;
}

.mobile-capture {
  position: absolute;
  width: min(61%, 350px);
  margin: 0;
  padding: 7px;
  overflow: hidden;
  background: #173746;
  border: 1px solid rgba(130, 214, 232, 0.28);
  border-radius: 30px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.32);
}

.mobile-capture::before {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 50%;
  width: 42px;
  height: 3px;
  content: "";
  background: #66808c;
  border-radius: 999px;
  transform: translateX(-50%);
}

.mobile-capture img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 23px;
}

.mobile-capture--inbox {
  top: 44px;
  left: 0;
  opacity: 0.82;
  transform: rotate(-2.4deg);
}

.mobile-capture--create {
  z-index: 2;
  top: 0;
  right: 0;
  transform: rotate(1.6deg);
}

.relation-context {
  padding: 130px var(--gutter);
  overflow: hidden;
  background: #eef5f6;
}

.relation-context__inner {
  display: grid;
  width: min(100%, var(--container));
  grid-template-columns: minmax(300px, 0.74fr) minmax(580px, 1.26fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  margin: 0 auto;
}

.relation-context__copy h2 {
  max-width: 570px;
  margin-top: 14px;
  color: var(--navy-950);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.relation-context__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-top: 22px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.relation-context__copy .text-link {
  margin-top: 26px;
}

.context-map {
  position: relative;
  min-height: 590px;
}

.context-map::before,
.context-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border: 1px solid rgba(13, 120, 151, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.context-map::before {
  width: 470px;
  height: 470px;
}

.context-map::after {
  width: 350px;
  height: 350px;
}

.context-map__hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 230px;
  min-height: 205px;
  align-content: center;
  justify-items: center;
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(34, 169, 203, 0.27), transparent 34%),
    var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(6, 41, 59, 0.25);
  text-align: center;
  transform: translate(-50%, -50%);
}

.context-map__hub > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 12px;
  background: var(--white);
  border-radius: 13px;
}

.context-map__hub img {
  width: 34px;
}

.context-map__hub small {
  color: #82d6e8;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.context-map__hub strong {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.2;
}

.context-map__hub b {
  margin-top: 12px;
  padding: 5px 9px;
  color: #ffe6ba;
  background: rgba(240, 107, 31, 0.18);
  border-radius: 999px;
  font-size: 8px;
}

.context-map__item {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(6, 41, 59, 0.1);
}

.context-map__item > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--blue-50);
  border-radius: 10px;
}

.context-map__item img {
  width: 18px;
  filter: brightness(0) saturate(100%) invert(39%) sepia(42%) saturate(1195%) hue-rotate(148deg);
}

.context-map__item > div {
  display: grid;
}

.context-map__item small {
  color: var(--muted);
  font-size: 7px;
}

.context-map__item strong {
  color: var(--navy-900);
  font-size: 9px;
}

.context-map__item--contact {
  top: 28px;
  left: 0;
}

.context-map__item--pdl {
  top: 55px;
  right: 0;
}

.context-map__item--owner {
  right: 6px;
  bottom: 52px;
}

.context-map__item--history {
  bottom: 28px;
  left: 12px;
}

.trust-grid {
  display: grid;
  width: min(100%, var(--container));
  grid-template-columns: minmax(560px, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin: 0 auto;
}

.trust-conversation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.trust-conversation__side {
  min-height: 440px;
  padding: 30px;
}

.trust-conversation__side--public {
  background: #f0f9fa;
  border-right: 1px solid var(--line);
}

.trust-conversation__side--internal {
  background: #f7f8f9;
}

.trust-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-label i {
  width: 7px;
  height: 7px;
  background: var(--green-600);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--green-100);
}

.trust-conversation__side--internal .trust-label i {
  background: var(--orange-600);
  box-shadow: 0 0 0 3px var(--orange-100);
}

.trust-conversation h3 {
  margin-top: 24px;
  color: var(--navy-950);
  font-size: 30px;
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.trust-message {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  margin-top: 46px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px 14px 14px 14px;
  box-shadow: 0 12px 28px rgba(6, 41, 59, 0.08);
}

.trust-message > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--blue-50);
  border-radius: 10px;
}

.trust-conversation__side--internal .trust-message > span {
  background: var(--orange-50);
}

.trust-message img {
  width: 17px;
  filter: brightness(0) saturate(100%) invert(39%) sepia(42%) saturate(1195%) hue-rotate(148deg);
}

.trust-conversation__side--internal .trust-message img {
  filter: brightness(0) saturate(100%) invert(47%) sepia(89%) saturate(2134%) hue-rotate(351deg) brightness(99%);
}

.trust-message p {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.6;
}

.trust-conversation__side > small {
  display: block;
  margin-top: 17px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.rights-card {
  min-height: 440px;
  padding: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 5%, rgba(34, 169, 203, 0.24), transparent 34%),
    var(--navy-950);
  border-radius: 22px;
}

.rights-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  background: rgba(18, 148, 185, 0.16);
  border: 1px solid rgba(130, 214, 232, 0.22);
  border-radius: 14px;
}

.rights-card__icon img {
  width: 24px;
  filter: brightness(0) saturate(100%) invert(82%) sepia(31%) saturate(739%) hue-rotate(151deg);
}

.rights-card > p {
  margin-top: 38px;
  color: #82d6e8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rights-card h3 {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.rights-card > span:not(.rights-card__icon) {
  display: block;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.65;
}

.rights-card ul {
  display: grid;
  gap: 9px;
  margin-top: 25px;
  padding: 0;
  list-style: none;
}

.rights-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
}

.rights-card li img {
  width: 14px;
  filter: brightness(0) saturate(100%) invert(82%) sepia(31%) saturate(739%) hue-rotate(151deg);
}

.relation-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 86px max(var(--gutter), calc((100% - var(--container)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(34, 169, 203, 0.25), transparent 28%),
    var(--navy-900);
}

.relation-cta > div {
  max-width: 840px;
}

.relation-cta h2 {
  margin-top: 12px;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.relation-cta > div > p:last-child {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
  line-height: 1.7;
}

.relation-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .relation-hero__inner {
    grid-template-columns: minmax(350px, 0.8fr) minmax(520px, 1.2fr);
    gap: 34px;
  }

  .relation-stage {
    padding: 18px;
  }

  .relation-flow {
    grid-template-columns: minmax(118px, 1fr) 22px minmax(158px, 1.16fr) 22px minmax(118px, 1fr);
    gap: 4px;
  }

  .relation-flow__step {
    padding: 13px;
  }

  .relation-steps h3 {
    font-size: 21px;
  }

  .relation-context__inner {
    grid-template-columns: minmax(300px, 0.8fr) minmax(500px, 1.2fr);
    gap: 40px;
  }

  .context-map__item {
    min-width: 175px;
  }
}

@media (max-width: 980px) {
  .relation-hero {
    padding-top: 72px;
  }

  .relation-hero__inner {
    grid-template-columns: 1fr;
  }

  .relation-hero__copy {
    max-width: 760px;
  }

  .relation-stage {
    width: min(100%, 720px);
    min-height: 0;
    margin: 10px auto 0;
  }

  .relation-hero__proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .relation-journey,
  .relation-interfaces,
  .relation-context,
  .relation-trust {
    padding-top: 96px;
    padding-bottom: 96px;
  }

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

  .relation-steps::before {
    display: none;
  }

  .interface-card--mobile {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .relation-context__inner {
    grid-template-columns: 1fr;
  }

  .relation-context__copy {
    max-width: 720px;
  }

  .context-map {
    width: min(100%, 680px);
    margin: 0 auto;
  }

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

  .relation-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .relation-hero__actions {
    display: grid;
  }

  .relation-hero__actions .button {
    width: 100%;
  }

  .relation-hero__actions .text-link {
    justify-self: center;
  }

  .relation-stage {
    min-height: 0;
    padding: 18px;
  }

  .relation-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .relation-flow__step {
    min-height: 0;
    padding: 18px;
  }

  .relation-flow__events {
    margin-top: 24px;
  }

  .relation-flow__link {
    width: 1px;
    height: 36px;
    align-self: auto;
    justify-self: center;
    flex-direction: column;
  }

  .relation-flow__link span {
    width: 1px;
    height: 22px;
    background: linear-gradient(180deg, rgba(130, 214, 232, 0.18), #82d6e8);
  }

  .relation-flow__link svg {
    transform: rotate(90deg);
  }

  .relation-flow__link--field span {
    background: linear-gradient(180deg, rgba(255, 172, 118, 0.18), #ffac76);
  }

  .relation-flow__case,
  .relation-flow__field-card {
    margin-top: 22px;
  }

  .relation-stage__outcome {
    flex-wrap: wrap;
  }

  .relation-heading {
    margin-bottom: 44px;
  }

  .relation-steps,
  .interface-grid {
    grid-template-columns: 1fr;
  }

  .relation-steps li {
    min-height: 0;
  }

  .relation-journey__outcome {
    align-items: flex-start;
    border-radius: 18px;
  }

  .interface-card,
  .interface-card--mobile {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }

  .interface-card--mobile {
    gap: 40px;
  }

  .portal-demo,
  .desktop-demo {
    margin-top: 36px;
  }

  .mobile-captures {
    min-height: 500px;
  }

  .context-map {
    display: grid;
    min-height: 0;
    gap: 10px;
  }

  .context-map::before,
  .context-map::after {
    display: none;
  }

  .context-map__hub,
  .context-map__item {
    position: static;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .context-map__hub {
    min-height: 190px;
  }

  .trust-conversation {
    grid-template-columns: 1fr;
  }

  .trust-conversation__side {
    min-height: 390px;
    padding: 24px;
  }

  .trust-conversation__side--public {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rights-card {
    min-height: 0;
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .relation-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .relation-back-link {
    margin-bottom: 26px;
  }

  .relation-stage {
    padding: 16px;
  }

  .relation-stage__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .relation-flow__step > h2 {
    font-size: 26px;
  }

  .relation-stage__outcome i {
    width: 14px;
  }

  .relation-heading h2,
  .relation-context__copy h2,
  .relation-cta h2 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .portal-demo__form {
    grid-template-columns: 1fr;
  }

  .portal-demo__message,
  .portal-demo__form > strong {
    grid-column: auto;
  }

  .desktop-demo__body {
    grid-template-columns: 1fr;
  }

  .desktop-demo__body aside {
    border-right: 0;
    border-bottom: 1px solid #d4e0e5;
  }

  .desktop-demo__body aside > span:not(.is-selected) {
    display: none;
  }

  .mobile-captures {
    min-height: 410px;
  }

  .mobile-capture {
    width: min(78%, 280px);
    padding: 5px;
    border-radius: 24px;
  }

  .mobile-capture img {
    border-radius: 19px;
  }

  .mobile-capture--inbox {
    top: 50px;
  }

  .mobile-capture--create {
    right: -2px;
  }

  .trust-conversation h3,
  .rights-card h3 {
    font-size: 29px;
  }

  .relation-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .relation-back-link svg {
    transition: none;
  }
}
