/*
Theme Name: Relay Wire
Theme URI: https://relaywire.app
Author: Relay Wire
Description: Clean business theme for Relay Wire content.
Version: 1.0.45
Text Domain: relaywire
*/

:root {
  --rw-navy: #071f3f;
  --rw-blue: #1d4f91;
  --rw-green: #0f9f7a;
  --rw-orange: #c6922d;
  --rw-bg: #f3f6f9;
  --rw-text: #142033;
  --rw-muted: #5d6b7d;
  --rw-border: #d7e0ea;
  --rw-white: #ffffff;
  --rw-shadow: 0 18px 48px rgba(7, 31, 63, 0.1);
  --rw-icon-search: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m16%2016%204%204%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-proof: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h7l4%204v14H7z%22%2F%3E%3Cpath%20d%3D%22M14%203v5h5%22%2F%3E%3Cpath%20d%3D%22m9%2015%202%202%204-5%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-alert: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%208a6%206%200%200%200-12%200c0%207-3%207-3%207h18s-3%200-3-7%22%2F%3E%3Cpath%20d%3D%22M10%2021h4%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-filter: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16l-6%207v5l-4%202v-7z%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-shield: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%205%206v6c0%204%203%207%207%209%204-2%207-5%207-9V6z%22%2F%3E%3Cpath%20d%3D%22m9.5%2012%201.8%201.8%203.7-4%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-route: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218%22%20r%3D%222.2%22%2F%3E%3Cpath%20d%3D%22M8%206h4a4%204%200%200%201%204%204v6%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-archive: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16v4H4z%22%2F%3E%3Cpath%20d%3D%22M6%2010v9h12v-9%22%2F%3E%3Cpath%20d%3D%22M9%2014h6%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-users: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%2021v-2a4%204%200%200%200-8%200v2%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M22%2021v-2a4%204%200%200%200-3-3.8%22%2F%3E%3Cpath%20d%3D%22M16%204.2a4%204%200%200%201%200%207.6%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-question: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9.3%209a3%203%200%201%201%205.4%201.8c-.9.7-1.7%201.2-1.7%202.7%22%2F%3E%3Cpath%20d%3D%22M12%2018h.01%22%2F%3E%3C%2Fsvg%3E");
  --rw-icon-chart: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2019V5%22%2F%3E%3Cpath%20d%3D%22M4%2019h16%22%2F%3E%3Cpath%20d%3D%22m7%2015%203-3%203%202%205-7%22%2F%3E%3C%2Fsvg%3E");
}

/* Enterprise product alignment pass */
body.home .rw-section--hero .rw-container {
  padding-right: min(40vw, 520px);
}

.rw-hero-workflow {
  position: absolute;
  top: 132px;
  right: 0;
  width: min(38vw, 500px);
  color: #ffffff;
}

.rw-hero-workflow__panel,
.rw-portal-demo,
.rw-problem-visual {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, rgba(7, 31, 63, 0.95), rgba(9, 70, 96, 0.88));
  box-shadow: 0 34px 90px rgba(2, 14, 30, 0.34);
  backdrop-filter: blur(10px);
}

.rw-hero-workflow__panel {
  padding: 22px;
}

.rw-hero-workflow__header,
.rw-portal-demo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.rw-hero-workflow__brand,
.rw-portal-demo__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-hero-workflow__brand::before,
.rw-portal-demo__brand::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, #1e88e5 0 48%, #11a882 49% 100%);
  box-shadow: 0 0 0 7px rgba(17, 168, 130, 0.12);
}

.rw-hero-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 168, 130, 0.16);
  color: #b7f7df;
  font-size: 0.76rem;
  font-weight: 900;
}

.rw-hero-doc {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.rw-hero-doc + .rw-hero-doc {
  margin-top: 10px;
}

.rw-hero-doc__icon,
.rw-proof-icon,
.rw-matrix-check {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.rw-hero-doc__icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e88e5, #0f766e);
}

.rw-hero-doc__icon::before {
  content: "";
  width: 20px;
  height: 24px;
  border: 2px solid #ffffff;
  border-radius: 2px;
  box-shadow: inset 0 7px 0 rgba(255, 255, 255, 0.22);
}

.rw-hero-doc strong,
.rw-hero-doc span {
  display: block;
}

.rw-hero-doc strong {
  color: #ffffff;
  font-size: 0.96rem;
}

.rw-hero-doc span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.rw-hero-doc em {
  color: #b7f7df;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.rw-hero-proof {
  margin-top: 16px;
  padding: 16px;
  border-left: 4px solid #11a882;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.rw-hero-proof span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-hero-proof strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 1.18rem;
}

.rw-proof-item {
  position: relative;
}

.rw-proof-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1e88e5, #11a882);
  box-shadow: 0 14px 34px rgba(7, 31, 63, 0.14);
}

.rw-proof-icon::before {
  content: "";
  width: 19px;
  height: 19px;
  background: #ffffff;
  mask: var(--rw-proof-mask) center / contain no-repeat;
}

.rw-proof-icon--number { --rw-proof-mask: var(--rw-icon-route); }
.rw-proof-icon--evidence { --rw-proof-mask: var(--rw-icon-proof); }
.rw-proof-icon--route { --rw-proof-mask: var(--rw-icon-alert); }
.rw-proof-icon--record { --rw-proof-mask: var(--rw-icon-search); }

body.home .rw-section--problem .rw-container {
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 0.9fr) minmax(360px, 1fr);
  align-items: center;
}

.rw-problem-copy {
  display: grid;
  gap: 18px;
}

.rw-problem-visual {
  padding: 24px;
  color: #ffffff;
}

.rw-problem-visual__rail {
  display: grid;
  gap: 14px;
}

.rw-problem-visual__event {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.rw-problem-visual__event span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(17, 168, 130, 0.18);
  color: #b7f7df;
  font-weight: 950;
}

.rw-problem-visual__event strong {
  display: block;
  color: #ffffff;
}

.rw-problem-visual__event p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.88rem !important;
}

.rw-problem-visual__footer {
  margin-top: 18px;
  padding: 15px;
  border-radius: 6px;
  background: rgba(17, 168, 130, 0.14);
  color: #ffffff;
  font-weight: 850;
}

.rw-portal-section .rw-container {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: 54px;
  align-items: center;
}

.rw-portal-demo {
  overflow: hidden;
  min-height: 460px;
  color: #ffffff;
}

.rw-portal-demo__top {
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.rw-portal-demo__body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 382px;
}

.rw-portal-demo__nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 14, 30, 0.18);
}

.rw-portal-demo__nav span {
  padding: 9px 10px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.rw-portal-demo__nav span:first-child {
  background: rgba(17, 168, 130, 0.16);
  color: #ffffff;
}

.rw-portal-demo__main {
  padding: 20px;
}

.rw-portal-demo__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.rw-portal-demo__stat,
.rw-portal-demo__table,
.rw-portal-demo__proof {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.rw-portal-demo__stat {
  padding: 13px;
}

.rw-portal-demo__stat span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rw-portal-demo__stat strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 1.35rem;
}

.rw-portal-demo__table {
  overflow: hidden;
}

.rw-portal-demo__row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 750;
}

.rw-portal-demo__row:first-child {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.rw-portal-demo__row:last-child {
  border-bottom: 0;
}

.rw-portal-demo__proof {
  margin-top: 14px;
  padding: 14px 15px;
  border-left: 4px solid #11a882;
}

.rw-portal-demo__proof span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rw-portal-demo__proof strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
}

.rw-price-card .rw-plan-icon,
.rw-home-plan-card .rw-plan-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
}

.rw-price-card--featured {
  padding-top: 58px;
}

.rw-price-card--featured .rw-pill {
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 0;
  background: linear-gradient(90deg, #071f3f, #0b5d62);
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-feature-matrix {
  overflow: hidden;
  border: 1px solid rgba(13, 32, 56, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(7, 31, 63, 0.075);
}

.rw-matrix-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid rgba(13, 32, 56, 0.1);
  background: #f8fbff;
}

.rw-matrix-controls button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(13, 32, 56, 0.16);
  border-radius: 5px;
  background: #ffffff;
  color: #071f3f;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
}

.rw-matrix-controls button[aria-pressed="true"] {
  border-color: #11a882;
  background: #e8fff6;
  color: #064e3b;
}

.rw-matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.rw-matrix-table th,
.rw-matrix-table td {
  padding: 18px;
  border-bottom: 1px solid rgba(13, 32, 56, 0.08);
  text-align: left;
  vertical-align: middle;
}

.rw-matrix-table th {
  color: #071f3f;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rw-matrix-table td:not(:first-child),
.rw-matrix-table th:not(:first-child) {
  text-align: center;
}

.rw-matrix-table tr:last-child td {
  border-bottom: 0;
}

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

.rw-matrix-feature strong {
  color: #071f3f;
}

.rw-matrix-feature span {
  margin-top: 4px;
  color: #607086;
  font-size: 0.86rem;
}

.rw-matrix-check {
  width: 46px;
  height: 28px;
  margin: 0 auto;
  border-radius: 999px;
  background: #e8fff6;
  color: #047857;
  font-weight: 950;
}

.rw-matrix-dash {
  color: #94a3b8;
  font-weight: 900;
}

.rw-status-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.rw-status-note {
  padding: 22px;
  border: 1px solid rgba(13, 32, 56, 0.1);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 31, 63, 0.055);
}

.rw-status-note strong {
  display: block;
  color: #071f3f;
  font-size: 1.02rem;
}

.rw-status-note p {
  margin: 8px 0 0;
  color: #52647a;
}

.site-footer__inner {
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr) minmax(220px, 0.7fr);
  gap: 48px;
}

.site-footer__ecosystem h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer__ecosystem p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.72);
}

.rw-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.rw-tech-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 850;
}

.rw-cookie-banner[hidden] {
  display: none !important;
}

.rw-cookie-banner {
  position: fixed;
  z-index: 9998;
  right: 24px;
  bottom: 24px;
  width: min(480px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(13, 32, 56, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(2, 14, 30, 0.24);
}

.rw-cookie-banner h2 {
  margin: 0 0 8px;
  color: #071f3f;
  font-size: 1.18rem;
}

.rw-cookie-banner p {
  margin: 0;
  color: #52647a;
}

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

.rw-cookie-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #071f3f;
  border-radius: 5px;
  background: #071f3f;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.rw-cookie-actions button[data-rw-cookie="essential"] {
  background: #ffffff;
  color: #071f3f;
}

.rw-cookie-actions a {
  display: inline-flex;
  align-items: center;
  color: #0b5da5;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .rw-hero-workflow {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 34px;
  }

  body.home .rw-section--hero .rw-container {
    padding-right: 0;
  }

  body.home .rw-section--problem .rw-container,
  .rw-portal-section .rw-container,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .rw-status-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rw-portal-demo__body,
  .rw-portal-demo__stats {
    grid-template-columns: 1fr;
  }

  .rw-portal-demo__nav {
    display: none;
  }

  .rw-matrix-table {
    min-width: 760px;
  }

  .rw-feature-matrix {
    overflow-x: auto;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--rw-white);
  color: var(--rw-text);
  font-family: Inter, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--rw-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rw-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.site-footer__inner,
.rw-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 186px;
  color: var(--rw-navy);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  color: var(--rw-text);
  font-size: 0.94rem;
  font-weight: 650;
}

.primary-menu a:hover,
.footer-menu a:hover {
  color: var(--rw-blue);
  text-decoration: none;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--rw-navy);
  color: var(--rw-white);
  font-weight: 750;
}

.site-header__cta:hover {
  background: #092b58;
  color: var(--rw-white);
  text-decoration: none;
}

.site-main {
  min-height: 60vh;
}

.rw-page {
  color: var(--rw-text);
}

.rw-section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(217, 226, 236, 0.7);
}

.rw-section:last-child {
  border-bottom: 0;
}

.rw-section--hero {
  padding: 86px 0 76px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.rw-section--hero .rw-container {
  position: relative;
  min-height: 300px;
  padding-right: min(42vw, 460px);
}

.rw-section--hero .rw-container::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: min(36vw, 390px);
  aspect-ratio: 1.18;
  transform: translateY(-50%);
  border: 1px solid rgba(30, 136, 229, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 22%, rgba(16, 185, 129, 0.18) 0 12%, transparent 13%),
    radial-gradient(circle at 18% 72%, rgba(245, 158, 11, 0.18) 0 14%, transparent 15%),
    linear-gradient(135deg, rgba(11, 53, 107, 0.98), rgba(30, 136, 229, 0.86));
  box-shadow: var(--rw-shadow);
}

.rw-section--hero .rw-container::before {
  content: "FAX LOG\a SEARCH\a ALERT";
  white-space: pre;
  position: absolute;
  z-index: 1;
  top: 50%;
  right: min(8vw, 88px);
  width: min(22vw, 250px);
  transform: translateY(-50%);
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rw-navy);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 2.1;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 50px rgba(7, 31, 63, 0.2);
}

.rw-section--soft {
  background: var(--rw-bg);
}

.rw-section--cta {
  background: var(--rw-navy);
  color: var(--rw-white);
}

.rw-section--cta h2,
.rw-section--cta p {
  color: var(--rw-white);
}

.rw-eyebrow {
  margin: 0 0 12px;
  color: var(--rw-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-page h1,
.rw-page h2,
.rw-page h3 {
  margin: 0 0 18px;
  color: var(--rw-navy);
  line-height: 1.12;
  letter-spacing: 0;
}

.rw-page h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.rw-page h2 {
  max-width: 820px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.rw-page h3 {
  font-size: 1.25rem;
}

.rw-heading-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #e8f3ff;
  color: var(--rw-navy);
}

h2 .rw-icon,
h3 .rw-icon {
  margin-top: 2px;
}

.rw-icon svg {
  display: block;
  width: 23px;
  height: 23px;
}

.rw-page p {
  margin: 0 0 18px;
}

.rw-lead {
  max-width: 800px;
  color: #374151;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.rw-muted {
  color: var(--rw-muted);
}

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

.rw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid var(--rw-navy);
  background: var(--rw-navy);
  color: var(--rw-white);
  font-weight: 800;
}

.rw-button:hover {
  background: #092b58;
  color: var(--rw-white);
  text-decoration: none;
}

.rw-button--secondary {
  background: transparent;
  color: var(--rw-navy);
}

.rw-section--cta .rw-button--secondary {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--rw-white);
}

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

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

.rw-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--rw-border);
  border-radius: 8px;
  background: var(--rw-white);
  box-shadow: 0 6px 22px rgba(11, 53, 107, 0.06);
}

.rw-card--featured {
  border: 2px solid var(--rw-blue);
  box-shadow: var(--rw-shadow);
}

.rw-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--rw-navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rw-quote {
  margin-bottom: 16px;
  color: var(--rw-blue);
  font-style: italic;
  font-weight: 700;
}

.rw-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rw-pill-list li {
  padding: 8px 12px;
  border: 1px solid var(--rw-border);
  border-radius: 999px;
  background: var(--rw-white);
  color: #374151;
  font-weight: 650;
}

.rw-table-wrap {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--rw-border);
  border-radius: 8px;
  background: var(--rw-white);
}

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

.rw-table th,
.rw-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rw-border);
  text-align: left;
  vertical-align: top;
}

.rw-table th {
  background: #eef5fb;
  color: var(--rw-navy);
  font-weight: 800;
}

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

.rw-legal {
  max-width: 900px;
}

.rw-form-shell {
  padding: 28px;
  border: 1px solid var(--rw-border);
  border-radius: 8px;
  background: var(--rw-white);
  box-shadow: var(--rw-shadow);
}

.site-footer {
  background: #071f3f;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  padding: 44px 0;
}

.site-footer a {
  color: var(--rw-white);
}

.site-footer .site-brand {
  width: 194px;
  color: var(--rw-white);
}

.footer-menu {
  justify-content: flex-end;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .primary-menu {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .rw-grid,
  .rw-grid--3,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .rw-section--hero .rw-container {
    min-height: 0;
    padding-right: 0;
  }

  .rw-section--hero .rw-container::before,
  .rw-section--hero .rw-container::after {
    display: none;
  }

  .footer-menu {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .site-header__inner,
  .site-footer__inner,
  .rw-container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .site-navigation {
    width: 100%;
  }

  .primary-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    width: 100%;
  }

  .primary-menu a {
    display: block;
    overflow-wrap: anywhere;
  }

  .site-header__cta {
    width: 100%;
  }

  .rw-section,
  .rw-section--hero {
    padding: 52px 0;
  }

  .rw-page h1,
  .rw-page h2,
  .rw-page h3,
  .rw-page p,
  .rw-lead {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .rw-card {
    padding: 22px;
  }
}

/* Homepage visual polish */
body.home {
  background: #f7fafc;
}

body.home .rw-section {
  border-bottom: 0;
}

body.home .rw-section--hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 63, 0.24) 0%, rgba(7, 31, 63, 0.08) 48%, rgba(7, 31, 63, 0.16) 100%),
    url("assets/relaywire-hero-office-documents.jpg") center right / cover no-repeat;
  color: var(--rw-white);
}

body.home .rw-section--hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30%;
  bottom: -22%;
  left: -24vw;
  width: min(86vw, 1220px);
  border-radius: 0 52% 52% 0;
  background: #062f68;
  box-shadow:
    92px 0 0 rgba(14, 64, 127, 0.78),
    176px 0 0 rgba(255, 255, 255, 0.18);
}

body.home .rw-section--hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  height: auto;
  background:
    linear-gradient(90deg, rgba(4, 23, 48, 0.2) 0%, rgba(4, 23, 48, 0.04) 56%, rgba(4, 23, 48, 0.28) 100%);
}

body.home .rw-section--hero .rw-container {
  position: relative;
  z-index: 1;
  min-height: 760px;
  padding-top: 150px;
  padding-bottom: 148px;
  padding-right: min(47vw, 560px);
}

body.home .rw-section--hero h1,
body.home .rw-section--hero .rw-lead {
  color: var(--rw-white);
}

body.home .rw-section--hero h1 {
  max-width: 680px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

body.home .rw-hero-eyebrow {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.26rem;
  font-weight: 850;
}

body.home .rw-section--hero h1::after {
  content: "";
  display: block;
  width: 104px;
  height: 4px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rw-green), var(--rw-orange));
}

body.home .rw-section--hero .rw-lead {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.86);
}

body.home .rw-section--hero .rw-container::after {
  display: none;
}

body.home .rw-section--hero .rw-container::before {
  display: none;
}

body.home .rw-section--hero .rw-actions,
body.home .rw-section--cta .rw-actions {
  display: inline-flex;
  margin-right: 12px;
  vertical-align: top;
}

body.home .rw-section--hero .rw-button {
  min-height: 52px;
  border-color: var(--rw-green);
  background: var(--rw-green);
  color: #05251e;
}

body.home .rw-section--hero .rw-button:hover {
  border-color: #34d399;
  background: #34d399;
  color: #05251e;
}

body.home .rw-section--hero .rw-button--secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--rw-white);
}

body.home .rw-section--proof-strip {
  position: relative;
  z-index: 2;
  padding: 0 0 76px;
  background: #f7fafc;
}

.rw-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -48px;
  overflow: hidden;
  border: 1px solid rgba(30, 136, 229, 0.18);
  border-radius: 8px;
  background: var(--rw-white);
  box-shadow: 0 18px 50px rgba(11, 53, 107, 0.14);
}

.rw-proof-item {
  min-height: 146px;
  padding: 24px 25px 22px;
  border-left: 1px solid rgba(30, 136, 229, 0.18);
}

.rw-proof-item:first-child {
  border-left: 0;
}

.rw-proof-number {
  display: block;
  margin-bottom: 14px;
  color: var(--rw-blue);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
}

.rw-proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: #122b46;
  font-size: 1.04rem;
}

.rw-proof-item p {
  margin: 0;
  color: #52647a;
  font-size: 0.94rem;
  line-height: 1.55;
}

body.home .rw-section--problem,
body.home .rw-section--industries {
  background: var(--rw-white);
}

body.home .rw-section--services,
body.home .rw-section--plans {
  background: #f2f7fb;
}

body.home .rw-section--problem {
  padding: 96px 0;
}

body.home .rw-section--problem .rw-container {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(420px, 1.12fr);
  gap: 72px;
  align-items: start;
}

body.home .rw-section--problem h2 {
  grid-row: 1 / span 3;
  margin-bottom: 0;
}

body.home .rw-section--problem p {
  max-width: 880px;
  color: #334155;
  font-size: 1.04rem;
}

body.home .rw-section--services {
  padding: 96px 0 102px;
}

body.home .rw-section--services h2,
body.home .rw-section--services .rw-section-intro {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.rw-feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(11, 53, 107, 0.14);
  border-radius: 8px;
  background: var(--rw-white);
  box-shadow: 0 12px 34px rgba(11, 53, 107, 0.08);
}

.rw-feature-card h3 {
  margin-bottom: 16px;
}

.rw-feature-card .rw-icon {
  background: #ecfdf5;
  color: #047857;
}

.rw-feature-card .rw-quote {
  padding: 12px 14px;
  border-radius: 8px;
  background: #eff6ff;
  color: #0b356b;
}

.rw-section-intro {
  max-width: 740px;
  color: #475569;
  font-size: 1.08rem;
}

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

.rw-feature-card--control {
  position: relative;
  overflow: hidden;
  padding: 0 24px 24px;
  border-color: rgba(11, 53, 107, 0.16);
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.rw-feature-card--control::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--rw-green), var(--rw-blue));
}

.rw-feature-card--control::after {
  content: "";
  display: block;
  order: -1;
  height: 96px;
  margin: 0 -24px 24px;
  border-bottom: 1px solid rgba(11, 53, 107, 0.1);
  background:
    linear-gradient(90deg, rgba(11, 53, 107, 0.08) 0 58px, transparent 58px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 38px, transparent 39px),
    linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(30, 136, 229, 0.18));
}

.rw-feature-card--control:nth-child(2)::after {
  background:
    linear-gradient(90deg, rgba(11, 53, 107, 0.08) 0 58px, transparent 58px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 38px, transparent 39px),
    linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(30, 136, 229, 0.16));
}

.rw-feature-card--control:nth-child(3)::after {
  background:
    linear-gradient(90deg, rgba(11, 53, 107, 0.08) 0 58px, transparent 58px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 38px, transparent 39px),
    linear-gradient(135deg, rgba(30, 136, 229, 0.16), rgba(11, 53, 107, 0.16));
}

.rw-feature-card--control:nth-child(4)::after {
  background:
    linear-gradient(90deg, rgba(11, 53, 107, 0.08) 0 58px, transparent 58px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 38px, transparent 39px),
    linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(245, 158, 11, 0.16));
}

.rw-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.rw-feature-number {
  color: rgba(11, 53, 107, 0.22);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.rw-feature-label {
  padding: 5px 10px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rw-feature-card--control h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}

.rw-feature-card--control p {
  color: #334155;
  font-size: 0.98rem;
}

.rw-feature-points {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #1f3b57;
  font-size: 0.93rem;
  font-weight: 700;
}

.rw-feature-points li {
  position: relative;
  padding-left: 18px;
}

.rw-feature-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--rw-green);
}

.rw-section-heading {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.rw-section-heading h2 {
  margin-right: auto;
  margin-left: auto;
}

.rw-section-heading p:last-child {
  margin-right: auto;
  margin-left: auto;
  max-width: 720px;
  color: #52647a;
}

.rw-kicker {
  margin: 0 0 12px;
  color: var(--rw-blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rw-actions--center {
  justify-content: center;
}

body.home .rw-section--about-product {
  padding: 104px 0;
  background: var(--rw-white);
}

body.home .rw-section--about-product .rw-container {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.rw-product-visual {
  min-height: 480px;
  padding: 58px 46px;
  border: 1px solid rgba(11, 53, 107, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(11, 53, 107, 0.08) 0 82px, transparent 82px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0 64px, transparent 65px),
    linear-gradient(135deg, #ecfdf5 0%, #eef7ff 48%, #fff7ed 100%);
  box-shadow: 0 22px 60px rgba(11, 53, 107, 0.12);
}

.rw-product-window {
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(11, 53, 107, 0.1);
  border-left: 5px solid var(--rw-green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(11, 53, 107, 0.14);
}

.rw-window-bar {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(11, 53, 107, 0.08);
}

.rw-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rw-green);
}

.rw-window-bar span:nth-child(2) {
  background: var(--rw-orange);
}

.rw-window-bar span:nth-child(3) {
  background: var(--rw-blue);
}

.rw-product-row,
.rw-product-proof {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(11, 53, 107, 0.08);
  color: #18324f;
}

.rw-product-row--active {
  background: #ecfdf5;
}

.rw-product-row span {
  color: #047857;
  font-weight: 850;
}

.rw-product-proof {
  display: block;
  border-bottom: 0;
  background: #f8fbff;
}

.rw-product-proof span,
.rw-product-proof strong {
  display: block;
}

.rw-product-proof span {
  margin-bottom: 8px;
  color: #52647a;
  font-size: 0.88rem;
  font-weight: 850;
}

.rw-copy-block h2 {
  max-width: 560px;
}

.rw-copy-block p {
  color: #334155;
}

.rw-check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rw-check-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 8px;
  background: #f8fffc;
  color: #18324f;
  font-weight: 800;
}

.rw-check-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rw-green);
}

body.home .rw-section--audiences {
  padding: 100px 0;
  background: #f2f7fb;
}

body.home .rw-section--process {
  padding: 100px 0;
  background: var(--rw-white);
}

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

.rw-audience-card {
  min-height: 268px;
  padding: 30px;
  border: 1px solid rgba(11, 53, 107, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0 100px, transparent 101px),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 34px rgba(11, 53, 107, 0.08);
}

.rw-audience-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--rw-blue);
  font-weight: 950;
}

.rw-audience-card h3 {
  max-width: 280px;
}

.rw-audience-card p {
  color: #52647a;
}

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

.rw-process-step {
  position: relative;
  min-height: 300px;
  padding: 30px 26px;
  border: 1px solid rgba(11, 53, 107, 0.12);
  border-radius: 8px;
  background: var(--rw-white);
}

.rw-process-step::before {
  content: "";
  position: absolute;
  top: 52px;
  right: -18px;
  width: 18px;
  height: 1px;
  background: rgba(30, 136, 229, 0.28);
}

.rw-process-step:last-child::before {
  display: none;
}

.rw-process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 38px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 950;
}

.rw-process-step p {
  color: #52647a;
}

body.home .rw-section--trust {
  padding: 88px 0;
  background:
    linear-gradient(135deg, #071f3f 0%, #0b356b 56%, #0f766e 100%);
  color: var(--rw-white);
}

body.home .rw-section--trust .rw-container {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  gap: 68px;
  align-items: center;
}

.rw-trust-copy h2,
.rw-trust-copy p {
  color: var(--rw-white);
}

.rw-trust-copy p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

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

.rw-stat {
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.rw-stat strong {
  display: block;
  margin-bottom: 18px;
  color: var(--rw-white);
  font-size: 2.7rem;
  line-height: 1;
}

.rw-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

body.home .rw-section--plans {
  padding: 100px 0;
}

.rw-industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rw-industry-strip li {
  padding: 9px 13px;
  border: 1px solid rgba(30, 136, 229, 0.22);
  border-radius: 999px;
  background: #f8fbff;
  color: #1f3b57;
  font-weight: 750;
}

body.home .rw-table-wrap {
  border-color: rgba(11, 53, 107, 0.14);
  box-shadow: 0 18px 50px rgba(11, 53, 107, 0.1);
}

body.home .rw-table th {
  background: #0b356b;
  color: var(--rw-white);
}

body.home .rw-table th:nth-child(3),
body.home .rw-table td:nth-child(3) {
  background: #ecfdf5;
}

body.home .rw-table th:nth-child(3) {
  color: #064e3b;
}

body.home .rw-table tr:last-child td {
  font-weight: 800;
}

.rw-home-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.rw-home-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(13, 32, 56, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 20px 46px rgba(7, 31, 63, 0.08);
}

.rw-home-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #2b7ccc;
}

.rw-home-plan-card--featured {
  border-color: rgba(17, 168, 130, 0.38);
  box-shadow: 0 28px 64px rgba(7, 31, 63, 0.14);
}

.rw-home-plan-card--featured::before {
  background: linear-gradient(90deg, #11a882, #d6a23b);
}

.rw-home-plan-card__head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(13, 32, 56, 0.1);
}

.rw-home-plan-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.rw-home-plan-card .rw-pill {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 6px 10px;
}

.rw-home-plan-card h3 {
  margin: 0;
  color: #071f3f;
  font-size: 1.34rem;
  line-height: 1.18;
}

.rw-plan-fit {
  margin: 12px 0 0;
  color: #52647a;
  font-weight: 780;
}

.rw-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 24px 0 0;
  color: #071f3f;
}

.rw-plan-price strong {
  font-size: 3rem;
  line-height: 1;
}

.rw-plan-price span {
  color: #607086;
  font-weight: 850;
}

.rw-plan-price-note {
  margin: 7px 0 0;
  color: #607086;
  font-weight: 760;
}

.rw-home-plan-benefits {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.rw-home-plan-benefits li {
  position: relative;
  padding-left: 23px;
  color: #1f3b57;
  font-weight: 760;
  line-height: 1.45;
}

.rw-home-plan-benefits li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #11a882;
  box-shadow: 0 0 0 5px rgba(17, 168, 130, 0.12);
}

.rw-home-plan-card .rw-button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.rw-home-plan-card > p:last-child {
  margin: auto 0 0;
}

.rw-home-plan-card > p:last-child .rw-button {
  width: 100%;
  justify-content: center;
}

.rw-home-plan-card--featured .rw-button {
  border-color: #071f3f !important;
  background: #071f3f !important;
  color: #ffffff !important;
}

.rw-home-plan-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  color: #52647a;
  font-weight: 780;
}

body.home .rw-section--cta {
  background:
    linear-gradient(135deg, #071f3f 0%, #0b356b 56%, #14532d 100%);
}

body.home .rw-section--cta .rw-container {
  max-width: 940px;
  text-align: center;
}

body.home .rw-section--cta h2,
body.home .rw-section--cta .rw-lead {
  margin-right: auto;
  margin-left: auto;
}

body.home .rw-section--cta h2 {
  color: var(--rw-white);
}

body.home .rw-section--cta .rw-lead {
  color: rgba(255, 255, 255, 0.78);
}

body.home .rw-section--cta .rw-button {
  border-color: var(--rw-green);
  background: var(--rw-green);
  color: #05251e;
}

body.home .rw-section--cta .rw-button--secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--rw-white);
}

.rw-page--interior .rw-section--page-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 63, 0.2) 0%, rgba(7, 31, 63, 0.04) 52%, rgba(7, 31, 63, 0.2) 100%),
    url("assets/relaywire-hero-office-documents.jpg") center right / cover no-repeat;
  color: var(--rw-white);
}

.rw-page--interior .rw-section--page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -34%;
  bottom: -22%;
  left: -28vw;
  width: min(84vw, 1140px);
  border-radius: 0 52% 52% 0;
  background: #062f68;
  box-shadow:
    76px 0 0 rgba(14, 64, 127, 0.78),
    150px 0 0 rgba(255, 255, 255, 0.18);
}

.rw-page--interior .rw-section--page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 23, 48, 0.16) 0%, rgba(4, 23, 48, 0.02) 54%, rgba(4, 23, 48, 0.24) 100%);
}

.rw-page--interior .rw-section--page-hero .rw-container {
  position: relative;
  z-index: 1;
  min-height: 560px;
  padding-top: 118px;
  padding-bottom: 118px;
  padding-right: min(42vw, 520px);
}

.rw-page--interior .rw-section--page-hero .rw-container::before,
.rw-page--interior .rw-section--page-hero .rw-container::after {
  display: none;
}

.rw-page--interior .rw-section--page-hero h1,
.rw-page--interior .rw-section--page-hero .rw-lead {
  color: var(--rw-white);
}

.rw-page--interior .rw-section--page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
}

.rw-page--interior .rw-section--page-hero h1::after {
  content: "";
  display: block;
  width: 104px;
  height: 4px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rw-green), var(--rw-orange));
}

.rw-page--interior .rw-section--page-hero .rw-lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
}

.rw-page--interior .rw-section--page-hero .rw-button {
  min-height: 52px;
  border-color: var(--rw-green);
  background: var(--rw-green);
  color: #05251e;
}

.rw-page--interior .rw-section--page-hero .rw-button--secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--rw-white);
}

.rw-section--mini-strip {
  position: relative;
  z-index: 2;
  padding: 0 0 74px;
  background: #f7fafc;
}

.rw-mini-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -48px;
  overflow: hidden;
  border: 1px solid rgba(30, 136, 229, 0.18);
  border-radius: 8px;
  background: var(--rw-white);
  box-shadow: 0 18px 50px rgba(11, 53, 107, 0.14);
}

.rw-mini-item {
  min-height: 144px;
  padding: 24px 25px 22px;
  border-left: 1px solid rgba(30, 136, 229, 0.18);
}

.rw-mini-item:first-child {
  border-left: 0;
}

.rw-mini-item span {
  display: block;
  margin-bottom: 14px;
  color: var(--rw-blue);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
}

.rw-mini-item strong {
  display: block;
  margin-bottom: 8px;
  color: #122b46;
  font-size: 1.04rem;
}

.rw-mini-item p {
  margin: 0;
  color: #52647a;
  font-size: 0.94rem;
  line-height: 1.55;
}

.rw-page--interior .rw-section--soft,
.rw-page--interior .rw-section--pricing {
  background: #f2f7fb;
}

.rw-page--interior .rw-section--split,
.rw-page--interior .rw-section--soft,
.rw-page--interior .rw-section--pricing,
.rw-page--interior .rw-section--contact-panel {
  padding: 100px 0;
}

.rw-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(420px, 1.12fr);
  gap: 72px;
  align-items: start;
}

.rw-split--visual {
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
}

.rw-copy-stack {
  display: grid;
  gap: 28px;
}

.rw-copy-stack p {
  margin: 0;
  color: #334155;
  font-size: 1.04rem;
}

.rw-card-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.rw-page-card,
.rw-faq-card,
.rw-price-card {
  border: 1px solid rgba(11, 53, 107, 0.12);
  border-radius: 8px;
  background: var(--rw-white);
  box-shadow: 0 12px 34px rgba(11, 53, 107, 0.08);
}

.rw-page-card {
  min-height: 240px;
  padding: 28px;
}

.rw-page-card h3,
.rw-faq-card h3 {
  margin-bottom: 12px;
}

.rw-page-card p,
.rw-faq-card p {
  color: #52647a;
}

.rw-card-number {
  display: block;
  margin-bottom: 32px;
  color: var(--rw-blue);
  font-weight: 950;
}

.rw-card-tag {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rw-page-card--image {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
}

.rw-page-card--image .rw-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rw-page-card--image .rw-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.rw-page-card--image .rw-card-body p:last-child {
  margin-top: auto;
  padding-top: 16px;
  color: #1f3b57;
  font-weight: 800;
}

.rw-evidence-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
  gap: 30px;
  align-items: stretch;
}

.rw-evidence-panel {
  padding: 32px;
  border: 1px solid rgba(11, 53, 107, 0.12);
  border-radius: 8px;
  background: var(--rw-white);
  box-shadow: 0 12px 34px rgba(11, 53, 107, 0.08);
}

.rw-evidence-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rw-evidence-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  color: #334155;
}

.rw-evidence-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.84rem;
  font-weight: 950;
}

.rw-evidence-list strong {
  display: block;
  color: var(--rw-navy);
}

.rw-proof-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #071f3f 0%, #0b356b 58%, #0f766e 100%);
  color: var(--rw-white);
}

.rw-proof-card p,
.rw-proof-card h2,
.rw-proof-card strong,
.rw-proof-card span {
  color: var(--rw-white);
}

.rw-proof-card__row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.rw-proof-card__row:last-child {
  border-bottom: 0;
}

.rw-proof-card__row span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.rw-process-grid--interior .rw-process-step {
  background: var(--rw-white);
}

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

.rw-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.rw-price-card--featured {
  border-color: rgba(16, 185, 129, 0.34);
  box-shadow: 0 18px 52px rgba(16, 185, 129, 0.16);
}

.rw-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rw-green);
  color: #05251e;
  font-size: 0.74rem;
  font-weight: 900;
}

.rw-price-card h2 {
  min-height: 78px;
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.rw-price {
  margin: 0;
  color: var(--rw-navy);
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
}

.rw-price span {
  color: #52647a;
  font-size: 1rem;
  font-weight: 800;
}

.rw-price-note {
  margin-top: 8px;
  color: #52647a;
  font-weight: 750;
}

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

.rw-feature-list li {
  position: relative;
  padding-left: 18px;
  color: #1f3b57;
  font-weight: 750;
}

.rw-feature-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--rw-green);
}

.rw-price-card .rw-button {
  margin-top: auto;
}

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

.rw-faq-card {
  padding: 26px 28px;
}

.rw-contact-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.rw-contact-card {
  padding: 32px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #071f3f 0%, #0b356b 58%, #0f766e 100%);
  color: var(--rw-white);
}

.rw-contact-card h2,
.rw-contact-card p,
.rw-contact-card a,
.rw-contact-card span {
  color: var(--rw-white);
}

.rw-contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.rw-contact-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.rw-contact-list strong,
.rw-contact-list a,
.rw-contact-list span {
  display: block;
}

.rw-contact-list strong {
  margin-bottom: 6px;
}

.rw-form-shell .forminator-ui {
  margin-top: 22px;
}

.rw-form-shell .forminator-ui,
.rw-form-shell .forminator-ui * {
  font-family: inherit !important;
}

.rw-form-shell .forminator-label {
  margin-bottom: 7px !important;
  color: #122b46 !important;
  font-size: 0.9rem !important;
  font-weight: 850 !important;
}

.rw-form-shell .forminator-input,
.rw-form-shell .forminator-textarea,
.rw-form-shell .forminator-select2 + .select2 .selection .select2-selection,
.rw-form-shell .forminator-select--field {
  min-height: 50px !important;
  border: 1px solid rgba(11, 53, 107, 0.16) !important;
  border-radius: 6px !important;
  background: #f8fbff !important;
  color: #122b46 !important;
  box-shadow: none !important;
}

.rw-form-shell .forminator-input,
.rw-form-shell .forminator-textarea,
.rw-form-shell .forminator-select--field {
  padding: 12px 14px !important;
}

.rw-form-shell .forminator-field--phone.iti__tel-input {
  padding-left: 76px !important;
}

.rw-form-shell .forminator-textarea {
  min-height: 150px !important;
}

.rw-form-shell .forminator-input:focus,
.rw-form-shell .forminator-textarea:focus,
.rw-form-shell .forminator-select--field:focus {
  border-color: var(--rw-blue) !important;
  background: var(--rw-white) !important;
}

.rw-form-shell .forminator-row {
  margin-bottom: 16px !important;
}

.rw-form-shell .forminator-button-submit {
  min-height: 50px !important;
  padding: 0 22px !important;
  border: 1px solid var(--rw-green) !important;
  border-radius: 6px !important;
  background: var(--rw-green) !important;
  color: #05251e !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

.rw-form-shell .forminator-button-submit:hover {
  border-color: #34d399 !important;
  background: #34d399 !important;
}

.rw-page--interior .rw-section--trust {
  padding: 88px 0;
  background:
    linear-gradient(135deg, #071f3f 0%, #0b356b 56%, #0f766e 100%);
  color: var(--rw-white);
}

.rw-page--interior .rw-section--trust .rw-container {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  gap: 68px;
  align-items: center;
}

.rw-page--interior .rw-section--cta {
  background:
    linear-gradient(135deg, #071f3f 0%, #0b356b 56%, #14532d 100%);
}

.rw-page--interior .rw-section--cta .rw-container {
  max-width: 940px;
  text-align: center;
}

.rw-page--interior .rw-section--cta h2,
.rw-page--interior .rw-section--cta .rw-lead {
  margin-right: auto;
  margin-left: auto;
  color: var(--rw-white);
}

.rw-page--interior .rw-section--cta .rw-lead {
  color: rgba(255, 255, 255, 0.78);
}

.rw-page--interior .rw-section--cta .rw-button {
  border-color: var(--rw-green);
  background: var(--rw-green);
  color: #05251e;
}

.rw-page--interior .rw-section--cta .rw-button--secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--rw-white);
}

/* Enterprise visual polish */
.site-header {
  border-bottom-color: rgba(13, 32, 56, 0.12);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 8px 26px rgba(7, 31, 63, 0.055);
}

.site-header__inner,
.site-footer__inner,
.rw-container {
  width: min(1240px, calc(100% - 56px));
}

.site-header__inner {
  min-height: 82px;
}

.site-brand {
  width: 198px;
}

.primary-menu {
  gap: 23px;
}

.primary-menu a {
  color: #132238;
  font-size: 0.88rem;
  font-weight: 760;
}

.site-header__cta,
.rw-button,
.rw-form-shell .forminator-button-submit {
  border-radius: 4px !important;
  letter-spacing: 0;
}

.site-header__cta {
  min-height: 48px;
  padding: 0 24px;
  background: #071f3f;
  box-shadow: 0 10px 24px rgba(7, 31, 63, 0.12);
}

.rw-button {
  min-height: 48px;
  padding: 0 24px;
  font-size: 0.9rem;
  font-weight: 860;
}

body.home .rw-section--hero,
.rw-page--interior .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.42) 0%, rgba(3, 15, 32, 0.12) 46%, rgba(3, 15, 32, 0.32) 100%),
    url("assets/relaywire-hero-office-documents.jpg") center right / cover no-repeat;
}

.rw-page--about .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.44) 0%, rgba(3, 15, 32, 0.12) 46%, rgba(3, 15, 32, 0.34) 100%),
    url("assets/relaywire-industry-legal.jpg") center right / cover no-repeat;
}

.rw-page--how .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.46) 0%, rgba(3, 15, 32, 0.14) 48%, rgba(3, 15, 32, 0.36) 100%),
    url("assets/relaywire-industry-logistics.jpg") center center / cover no-repeat;
}

.rw-page--industries .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.42) 0%, rgba(3, 15, 32, 0.1) 46%, rgba(3, 15, 32, 0.32) 100%),
    url("assets/relaywire-hero-industries.jpg") center center / cover no-repeat;
}

.rw-page--plans .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.45) 0%, rgba(3, 15, 32, 0.14) 46%, rgba(3, 15, 32, 0.34) 100%),
    url("assets/relaywire-industry-accounting.jpg") center center / cover no-repeat;
}

.rw-page--security .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.48) 0%, rgba(3, 15, 32, 0.18) 48%, rgba(3, 15, 32, 0.42) 100%),
    url("assets/relaywire-hero-security.jpg") center center / cover no-repeat;
}

.rw-page--faqs .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.44) 0%, rgba(3, 15, 32, 0.12) 46%, rgba(3, 15, 32, 0.34) 100%),
    url("assets/relaywire-industry-claims.jpg") center center / cover no-repeat;
}

.rw-page--contact .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.42) 0%, rgba(3, 15, 32, 0.1) 46%, rgba(3, 15, 32, 0.34) 100%),
    url("assets/relaywire-hero-contact.jpg") center right / cover no-repeat;
}

.rw-page--privacy .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.48) 0%, rgba(3, 15, 32, 0.16) 48%, rgba(3, 15, 32, 0.4) 100%),
    url("assets/relaywire-hero-privacy.jpg") center center / cover no-repeat;
}

.rw-page--terms .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.46) 0%, rgba(3, 15, 32, 0.14) 48%, rgba(3, 15, 32, 0.38) 100%),
    url("assets/relaywire-hero-terms.jpg") center center / cover no-repeat;
}

.rw-page--status .rw-section--page-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.48) 0%, rgba(3, 15, 32, 0.16) 48%, rgba(3, 15, 32, 0.4) 100%),
    url("assets/relaywire-hero-status.jpg") center right / cover no-repeat;
}

body.home .rw-section--hero::before,
.rw-page--interior .rw-section--page-hero::before {
  left: -23vw;
  width: min(82vw, 1140px);
  border-radius: 0 48% 48% 0;
  background:
    linear-gradient(135deg, #061a35 0%, #082a55 62%, #0b376f 100%);
  box-shadow:
    80px 0 0 rgba(15, 55, 103, 0.66),
    144px 0 0 rgba(255, 255, 255, 0.12);
}

.rw-page--interior .rw-section--page-hero::before {
  left: -27vw;
}

body.home .rw-section--hero::after,
.rw-page--interior .rw-section--page-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 15, 32, 0.12) 0%, rgba(3, 15, 32, 0.04) 48%, rgba(3, 15, 32, 0.32) 100%);
}

body.home .rw-section--hero .rw-container {
  min-height: 720px;
  padding-top: 132px;
  padding-bottom: 132px;
  padding-right: min(46vw, 560px);
}

.rw-page--interior .rw-section--page-hero .rw-container {
  min-height: 540px;
  padding-top: 108px;
  padding-bottom: 108px;
}

body.home .rw-section--hero h1,
.rw-page--interior .rw-section--page-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.15vw, 5.1rem);
  line-height: 1.035;
  font-weight: 900;
}

.rw-page--interior .rw-section--page-hero h1 {
  font-size: clamp(2.85rem, 4.85vw, 4.9rem);
}

body.home .rw-hero-eyebrow,
.rw-page--interior .rw-hero-eyebrow,
.rw-kicker {
  color: #2b7ccc;
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

body.home .rw-section--hero .rw-lead,
.rw-page--interior .rw-section--page-hero .rw-lead {
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.72;
}

body.home .rw-section--hero h1::after,
.rw-page--interior .rw-section--page-hero h1::after {
  width: 86px;
  height: 3px;
  border-radius: 0;
  background: linear-gradient(90deg, #11a882, #d6a23b);
}

body.home .rw-section--hero .rw-button,
.rw-page--interior .rw-section--page-hero .rw-button,
body.home .rw-section--cta .rw-button,
.rw-page--interior .rw-section--cta .rw-button,
.rw-form-shell .forminator-button-submit {
  border-color: #11a882 !important;
  background: #11a882 !important;
  color: #041f19 !important;
}

body.home .rw-section--hero .rw-button:hover,
.rw-page--interior .rw-section--page-hero .rw-button:hover,
body.home .rw-section--cta .rw-button:hover,
.rw-page--interior .rw-section--cta .rw-button:hover,
.rw-form-shell .forminator-button-submit:hover {
  border-color: #0d8d70 !important;
  background: #0d8d70 !important;
}

body.home .rw-section--hero .rw-button--secondary,
.rw-page--interior .rw-section--page-hero .rw-button--secondary,
body.home .rw-section--cta .rw-button--secondary,
.rw-page--interior .rw-section--cta .rw-button--secondary {
  border-color: rgba(255, 255, 255, 0.58) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--rw-white) !important;
}

body.home .rw-section--hero .rw-button--secondary:hover,
.rw-page--interior .rw-section--page-hero .rw-button--secondary:hover,
body.home .rw-section--cta .rw-button--secondary:hover,
.rw-page--interior .rw-section--cta .rw-button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--rw-white) !important;
}

.rw-proof-strip,
.rw-mini-strip,
.rw-page-card,
.rw-feature-card,
.rw-faq-card,
.rw-price-card,
.rw-evidence-panel,
.rw-contact-card,
.rw-form-shell,
.rw-product-visual,
.rw-audience-card,
.rw-process-step,
.rw-stat,
.rw-table-wrap {
  border-color: rgba(13, 32, 56, 0.12);
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(7, 31, 63, 0.06);
}

.rw-proof-strip,
.rw-mini-strip {
  box-shadow: 0 22px 54px rgba(7, 31, 63, 0.1);
}

.rw-proof-item,
.rw-mini-item {
  border-color: rgba(13, 32, 56, 0.1);
}

.rw-page-card--image {
  border-radius: 5px;
}

.rw-card-tag,
.rw-pill,
.rw-feature-label {
  border-radius: 2px;
  border-color: rgba(13, 32, 56, 0.13);
  background: #f7fafc;
  color: #0a355c;
  letter-spacing: 0.06em;
}

.rw-pill {
  background: #071f3f;
  color: #ffffff;
}

.rw-page h1,
.rw-page h2,
.rw-page h3 {
  color: #071f3f;
  font-weight: 880;
}

.rw-page p,
.rw-copy-stack p,
.rw-section-intro,
.rw-page-card p,
.rw-faq-card p {
  color: #48586c;
}

body.home .rw-section--services,
body.home .rw-section--plans,
.rw-page--interior .rw-section--soft,
.rw-page--interior .rw-section--pricing,
.rw-section--mini-strip,
body.home .rw-section--proof-strip {
  background: #f3f6f9;
}

body.home .rw-section--trust,
.rw-page--interior .rw-section--trust,
body.home .rw-section--cta,
.rw-page--interior .rw-section--cta,
.rw-proof-card,
.rw-contact-card {
  background:
    linear-gradient(135deg, #061a35 0%, #082a55 58%, #0b5d62 100%);
}

.rw-contact-card h2,
.rw-contact-card p,
.rw-contact-card a,
.rw-contact-card span,
.rw-contact-card strong,
.rw-contact-card .rw-kicker {
  color: var(--rw-white);
}

.rw-contact-card .rw-kicker,
.rw-contact-list span {
  color: rgba(255, 255, 255, 0.76);
}

.rw-contact-list strong {
  color: #ffffff;
}

body.home .rw-section--trust .rw-kicker,
body.home .rw-section--trust h2,
body.home .rw-section--trust h3,
body.home .rw-section--cta .rw-kicker,
body.home .rw-section--cta h2,
body.home .rw-section--cta h3,
.rw-page--interior .rw-section--trust .rw-kicker,
.rw-page--interior .rw-section--trust h2,
.rw-page--interior .rw-section--trust h3,
.rw-page--interior .rw-section--cta .rw-kicker,
.rw-page--interior .rw-section--cta h2,
.rw-page--interior .rw-section--cta h3,
.rw-proof-card .rw-kicker,
.rw-proof-card h2,
.rw-proof-card h3 {
  color: #ffffff;
}

body.home .rw-section--trust p,
body.home .rw-section--cta .rw-lead,
.rw-page--interior .rw-section--trust p,
.rw-page--interior .rw-section--cta .rw-lead,
.rw-proof-card p {
  color: rgba(255, 255, 255, 0.84);
}

body.home .rw-section--trust .rw-stat,
.rw-page--interior .rw-section--trust .rw-stat {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

body.home .rw-section--trust .rw-stat strong,
body.home .rw-section--trust .rw-stat span,
.rw-page--interior .rw-section--trust .rw-stat strong,
.rw-page--interior .rw-section--trust .rw-stat span,
.rw-proof-card strong,
.rw-proof-card span {
  color: #ffffff;
}

body.home .rw-section--trust .rw-stat span,
.rw-page--interior .rw-section--trust .rw-stat span,
.rw-proof-card__row span {
  color: rgba(255, 255, 255, 0.78);
}

.rw-section--status-overview,
.rw-section--status-history {
  padding: 84px 0;
  background: #f3f6f9;
}

.rw-section--status-components {
  padding: 88px 0;
  background: #ffffff;
}

.rw-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 34px 38px;
  border: 1px solid rgba(13, 32, 56, 0.12);
  border-left: 5px solid #11a882;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(7, 31, 63, 0.1);
}

.rw-status-banner h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #071f3f;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.rw-status-banner p:last-child {
  margin-bottom: 0;
  max-width: 690px;
}

.rw-status-dot,
.rw-status-component__meta i {
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #11a882;
  box-shadow: 0 0 0 7px rgba(17, 168, 130, 0.14);
}

.rw-status-score {
  min-width: 230px;
  padding: 22px 24px;
  border: 1px solid rgba(13, 32, 56, 0.1);
  border-radius: 4px;
  background: #f7fafc;
  text-align: right;
}

.rw-status-score span,
.rw-status-metric span {
  display: block;
  color: #607086;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rw-status-score strong {
  display: block;
  margin-top: 8px;
  color: #071f3f;
  font-size: 2.65rem;
  line-height: 1;
}

.rw-status-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.rw-status-metric,
.rw-status-component,
.rw-status-day {
  border: 1px solid rgba(13, 32, 56, 0.12);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 31, 63, 0.06);
}

.rw-status-metric {
  padding: 24px;
}

.rw-status-metric strong {
  display: block;
  margin-top: 10px;
  color: #071f3f;
  font-size: 2rem;
  line-height: 1;
}

.rw-status-metric p {
  margin: 12px 0 0;
  color: #52647a;
}

.rw-status-list {
  display: grid;
  gap: 14px;
}

.rw-status-component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
}

.rw-status-component h3 {
  margin: 0 0 8px;
  color: #071f3f;
  font-size: 1.08rem;
}

.rw-status-component p {
  margin: 0;
  max-width: 720px;
  color: #52647a;
}

.rw-status-component__meta {
  min-width: 190px;
  text-align: right;
}

.rw-status-component__meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0c6c54;
  font-size: 0.82rem;
  font-weight: 900;
}

.rw-status-component__meta i {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 5px rgba(17, 168, 130, 0.12);
}

.rw-status-component__meta strong {
  display: block;
  margin-top: 9px;
  color: #071f3f;
  font-size: 1.52rem;
}

.rw-status-bars {
  display: grid;
  grid-template-columns: repeat(45, minmax(0, 1fr));
  gap: 4px;
  padding: 20px;
  border: 1px solid rgba(13, 32, 56, 0.1);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 31, 63, 0.06);
}

.rw-status-bar {
  display: block;
  height: 54px;
  border-radius: 2px;
  background: linear-gradient(180deg, #17b58e 0%, #0b7d63 100%);
}

.rw-status-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.rw-status-day {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.rw-status-day strong,
.rw-status-day em {
  color: #071f3f;
  font-style: normal;
}

.rw-status-day span {
  display: block;
  margin-top: 4px;
  color: #607086;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rw-status-day p {
  margin: 0;
  color: #52647a;
  font-weight: 740;
}

.rw-status-day em {
  font-size: 1.02rem;
  font-weight: 900;
}

/* Branded product graphics used across cards and plan surfaces. */
.rw-feature-number,
.rw-feature-card > span,
.rw-card-number,
.rw-audience-card span,
.rw-mini-item span,
.rw-proof-number,
.rw-process-step span,
.rw-price-card::before,
.rw-faq-card::before,
.rw-status-component::before,
.rw-page-card:not(.rw-page-card--image):not(:has(.rw-card-number)):not(:has(.rw-card-tag))::before,
.rw-home-plan-card__head::after {
  --rw-card-icon: var(--rw-icon-search);
  --rw-icon-bg-start: #0b356b;
  --rw-icon-bg-end: #11a882;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background-color: var(--rw-icon-bg-start);
  background-image: var(--rw-card-icon), linear-gradient(135deg, var(--rw-icon-bg-start), var(--rw-icon-bg-end));
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 25px 25px, cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 14px 28px rgba(7, 31, 63, 0.14);
  color: transparent;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
  text-indent: -999px;
}

.rw-price-card::before,
.rw-faq-card::before,
.rw-status-component::before,
.rw-page-card:not(.rw-page-card--image):not(:has(.rw-card-number)):not(:has(.rw-card-tag))::before,
.rw-home-plan-card__head::after {
  content: "";
}

.rw-feature-number,
.rw-feature-card > span,
.rw-card-number,
.rw-audience-card span,
.rw-mini-item span,
.rw-proof-number,
.rw-process-step span {
  margin-bottom: 24px;
}

.rw-proof-number,
.rw-mini-item span {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  background-size: 20px 20px, cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(7, 31, 63, 0.12);
}

.rw-feature-card--control:nth-child(1) .rw-feature-number,
.rw-feature-card:nth-child(1) > span,
.rw-proof-item:nth-child(1) .rw-proof-number,
.rw-mini-item:nth-child(1) span,
.rw-page-card:nth-child(6n+1) .rw-card-number {
  --rw-card-icon: var(--rw-icon-search);
  --rw-icon-bg-end: #1e88e5;
}

.rw-feature-card--control:nth-child(2) .rw-feature-number,
.rw-feature-card:nth-child(2) > span,
.rw-proof-item:nth-child(2) .rw-proof-number,
.rw-mini-item:nth-child(2) span,
.rw-page-card:nth-child(6n+2) .rw-card-number {
  --rw-card-icon: var(--rw-icon-proof);
  --rw-icon-bg-start: #0b356b;
  --rw-icon-bg-end: #d6a23b;
}

.rw-feature-card--control:nth-child(3) .rw-feature-number,
.rw-feature-card:nth-child(3) > span,
.rw-proof-item:nth-child(3) .rw-proof-number,
.rw-mini-item:nth-child(3) span,
.rw-page-card:nth-child(6n+3) .rw-card-number {
  --rw-card-icon: var(--rw-icon-filter);
  --rw-icon-bg-start: #0f766e;
  --rw-icon-bg-end: #11a882;
}

.rw-feature-card--control:nth-child(4) .rw-feature-number,
.rw-feature-card:nth-child(4) > span,
.rw-proof-item:nth-child(4) .rw-proof-number,
.rw-mini-item:nth-child(4) span,
.rw-page-card:nth-child(6n+4) .rw-card-number {
  --rw-card-icon: var(--rw-icon-alert);
  --rw-icon-bg-start: #1d4f91;
  --rw-icon-bg-end: #0f9f7a;
}

.rw-page-card:nth-child(6n+5) .rw-card-number {
  --rw-card-icon: var(--rw-icon-shield);
  --rw-icon-bg-start: #071f3f;
  --rw-icon-bg-end: #1d4f91;
}

.rw-page-card:nth-child(6n+6) .rw-card-number {
  --rw-card-icon: var(--rw-icon-route);
  --rw-icon-bg-start: #0b356b;
  --rw-icon-bg-end: #0f766e;
}

.rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card:nth-child(3) > span {
  --rw-card-icon: var(--rw-icon-alert);
  --rw-icon-bg-start: #1d4f91;
  --rw-icon-bg-end: #0f9f7a;
}

.rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card:nth-child(4) > span {
  --rw-card-icon: var(--rw-icon-chart);
  --rw-icon-bg-start: #0b356b;
  --rw-icon-bg-end: #11a882;
}

body.home .rw-section--services {
  position: relative;
  overflow: hidden;
  padding: 108px 0 118px;
  background:
    linear-gradient(90deg, rgba(11, 53, 107, 0.045) 1px, transparent 1px) center / 74px 74px,
    linear-gradient(180deg, #f6f9fc 0%, #edf4f8 100%);
}

body.home .rw-section--services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(90deg, transparent 0%, rgba(17, 168, 130, 0.09) 50%, transparent 100%);
}

body.home .rw-section--services .rw-container {
  position: relative;
  z-index: 1;
}

body.home .rw-section--services h2 {
  max-width: 720px;
}

body.home .rw-section--services .rw-section-intro {
  max-width: 780px;
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 0 24px 30px;
  border-color: rgba(13, 32, 56, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    0 24px 70px rgba(7, 31, 63, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card::before {
  content: "";
  display: block;
  height: 156px;
  margin: 0 -24px 30px;
  border-bottom: 1px solid rgba(13, 32, 56, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #071f3f 0%, #0b356b 58%, #0f766e 100%);
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 34px;
  right: 24px;
  left: 92px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 60%, rgba(17, 168, 130, 0.88) 60% 76%, transparent 76%) 18px 20px / calc(100% - 36px) 7px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.48) 0 76%, transparent 76%) 18px 42px / calc(100% - 46px) 6px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 86%, transparent 86%) 18px 62px / calc(100% - 38px) 6px no-repeat,
    rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 34px rgba(2, 14, 30, 0.22);
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card > span {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 24px;
  width: 54px;
  height: 54px;
  margin: 0;
  background-size: 25px 25px, cover;
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card h3 {
  margin: 0 0 14px;
  color: #071f3f;
  font-size: 1.24rem;
  line-height: 1.16;
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card p {
  color: #344862;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.58;
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card:nth-child(2)::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #071f3f 0%, #123a6d 55%, #a9791f 100%);
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card:nth-child(2)::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 54%, rgba(214, 162, 59, 0.92) 54% 72%, transparent 72%) 18px 18px / calc(100% - 36px) 7px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.48) 0 68%, transparent 68%) 18px 41px / calc(100% - 44px) 6px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 48%, transparent 48%) 18px 63px / calc(100% - 62px) 6px no-repeat,
    rgba(255, 255, 255, 0.1);
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card:nth-child(3)::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #071f3f 0%, #1d4f91 58%, #0f9f7a 100%);
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card:nth-child(3)::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 32%, transparent 32%) 18px 18px / calc(100% - 36px) 7px no-repeat,
    linear-gradient(90deg, rgba(17, 168, 130, 0.94) 0 44%, transparent 44%) 18px 41px / calc(100% - 44px) 7px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 70%, transparent 70%) 18px 64px / calc(100% - 50px) 6px no-repeat,
    rgba(255, 255, 255, 0.1);
}

body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card:nth-child(4)::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0 58%, transparent 58%) 18px 18px / 10px 54px no-repeat,
    linear-gradient(180deg, rgba(17, 168, 130, 0.94) 0 76%, transparent 76%) 46px 18px / 10px 54px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0 42%, transparent 42%) 74px 18px / 10px 54px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 74%, transparent 74%) 18px 76px / calc(100% - 36px) 5px no-repeat,
    rgba(255, 255, 255, 0.1);
}

.rw-process-step:nth-child(1) span,
.rw-audience-card:nth-child(1) span {
  --rw-card-icon: var(--rw-icon-route);
  --rw-icon-bg-end: #1e88e5;
}

.rw-process-step:nth-child(2) span,
.rw-audience-card:nth-child(2) span {
  --rw-card-icon: var(--rw-icon-archive);
  --rw-icon-bg-end: #d6a23b;
}

.rw-process-step:nth-child(3) span,
.rw-audience-card:nth-child(3) span {
  --rw-card-icon: var(--rw-icon-proof);
  --rw-icon-bg-start: #0f766e;
  --rw-icon-bg-end: #11a882;
}

.rw-process-step:nth-child(4) span {
  --rw-card-icon: var(--rw-icon-alert);
  --rw-icon-bg-start: #1d4f91;
  --rw-icon-bg-end: #0f9f7a;
}

.rw-card-tag {
  align-items: center;
  gap: 8px;
}

.rw-card-tag::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, #11a882, #1e88e5);
  box-shadow: 0 0 0 4px rgba(17, 168, 130, 0.11);
  transform: rotate(45deg);
}

.rw-home-plan-card__head {
  position: relative;
  padding-right: 78px;
}

.rw-home-plan-card__head::after {
  position: absolute;
  top: 4px;
  right: 0;
}

.rw-home-plan-card:nth-child(1) .rw-home-plan-card__head::after,
.rw-price-card:nth-child(1)::before {
  --rw-card-icon: var(--rw-icon-archive);
  --rw-icon-bg-end: #1e88e5;
}

.rw-home-plan-card:nth-child(2) .rw-home-plan-card__head::after,
.rw-price-card:nth-child(2)::before {
  --rw-card-icon: var(--rw-icon-proof);
  --rw-icon-bg-end: #d6a23b;
}

.rw-home-plan-card:nth-child(3) .rw-home-plan-card__head::after,
.rw-price-card:nth-child(3)::before {
  --rw-card-icon: var(--rw-icon-users);
  --rw-icon-bg-start: #0f766e;
  --rw-icon-bg-end: #11a882;
}

.rw-price-card::before,
.rw-faq-card::before,
.rw-page-card:not(.rw-page-card--image):not(:has(.rw-card-number)):not(:has(.rw-card-tag))::before {
  margin-bottom: 22px;
}

.rw-faq-card::before {
  --rw-card-icon: var(--rw-icon-question);
  --rw-icon-bg-start: #0b356b;
  --rw-icon-bg-end: #1e88e5;
}

.rw-status-component::before {
  --rw-card-icon: var(--rw-icon-chart);
  --rw-icon-bg-start: #0b356b;
  --rw-icon-bg-end: #11a882;
  width: 54px;
  height: 54px;
}

.rw-status-component:nth-child(3n+2)::before {
  --rw-card-icon: var(--rw-icon-shield);
  --rw-icon-bg-end: #1e88e5;
}

.rw-status-component:nth-child(3n+3)::before {
  --rw-card-icon: var(--rw-icon-route);
  --rw-icon-bg-end: #d6a23b;
}

/* Executive polish pass: stronger enterprise SaaS presentation. */
body {
  background: #f5f8fb;
}

.site-header {
  z-index: 60;
  border-bottom-color: rgba(13, 32, 56, 0.09);
  background: rgba(255, 255, 255, 0.975);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 42px rgba(7, 31, 63, 0.055);
}

.site-header__inner,
.site-footer__inner,
.rw-container {
  width: min(1280px, calc(100% - 64px));
}

.site-header__inner {
  min-height: 84px;
}

.primary-menu {
  gap: 24px;
}

.primary-menu a {
  color: #122139;
  font-size: 0.87rem;
  font-weight: 820;
}

.primary-menu a:hover {
  color: #0b5da5;
}

.site-header__cta,
.rw-button {
  min-height: 50px;
  border-radius: 5px !important;
  box-shadow: 0 12px 28px rgba(7, 31, 63, 0.12);
}

body.home .rw-section--hero,
.rw-page--interior .rw-section--page-hero {
  isolation: isolate;
}

body.home .rw-section--hero::before,
.rw-page--interior .rw-section--page-hero::before {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: min(64vw, 1020px);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(3, 16, 34, 0.99) 0%, rgba(5, 33, 68, 0.98) 58%, rgba(8, 72, 92, 0.94) 100%);
  box-shadow: none;
  clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
}

body.home .rw-section--hero::after,
.rw-page--interior .rw-section--page-hero::after {
  background:
    linear-gradient(90deg, transparent 0%, transparent 48%, rgba(3, 16, 34, 0.12) 72%, rgba(3, 16, 34, 0.28) 100%),
    linear-gradient(180deg, rgba(3, 16, 34, 0.04), rgba(3, 16, 34, 0.16));
}

body.home .rw-section--hero .rw-container {
  min-height: 720px;
  padding-top: 136px;
  padding-bottom: 132px;
  padding-right: min(38vw, 500px);
}

.rw-page--interior .rw-section--page-hero .rw-container {
  min-height: 520px;
  padding-top: 108px;
  padding-bottom: 108px;
  padding-right: min(38vw, 500px);
}

body.home .rw-section--hero h1,
.rw-page--interior .rw-section--page-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 4.72vw, 4.75rem);
  line-height: 1.04;
  text-wrap: balance;
}

.rw-page--interior .rw-section--page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 4.35vw, 4.55rem);
}

body.home .rw-section--hero .rw-lead,
.rw-page--interior .rw-section--page-hero .rw-lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

body.home .rw-section--hero .rw-container::after,
.rw-page--interior .rw-section--page-hero .rw-container::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  top: auto;
  right: 0;
  bottom: 94px;
  width: min(31vw, 390px);
  height: 236px;
  aspect-ratio: auto;
  transform: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 64%, rgba(17, 168, 130, 0.9) 64% 78%, transparent 78%) 30px 58px / calc(100% - 60px) 8px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 74%, transparent 74%) 30px 91px / calc(100% - 82px) 7px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 46%, transparent 46%) 30px 123px / calc(100% - 112px) 7px no-repeat,
    linear-gradient(180deg, rgba(17, 168, 130, 0.86) 0 58%, transparent 58%) calc(100% - 92px) 144px / 12px 58px no-repeat,
    linear-gradient(180deg, rgba(214, 162, 59, 0.9) 0 78%, transparent 78%) calc(100% - 62px) 144px / 12px 58px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0 42%, transparent 42%) calc(100% - 122px) 144px / 12px 58px no-repeat,
    linear-gradient(135deg, rgba(7, 31, 63, 0.92), rgba(12, 76, 112, 0.84));
  box-shadow: 0 34px 90px rgba(2, 14, 30, 0.34);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

body.home .rw-section--hero .rw-container::before,
.rw-page--interior .rw-section--page-hero .rw-container::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 3;
  top: 118px;
  right: min(14vw, 176px);
  width: min(19vw, 224px);
  height: 126px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28px 28px, #11a882 0 7px, rgba(17, 168, 130, 0.17) 8px 18px, transparent 19px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 70%, transparent 70%) 54px 24px / calc(100% - 82px) 7px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0 82%, transparent 82%) 24px 64px / calc(100% - 48px) 6px no-repeat,
    linear-gradient(90deg, rgba(214, 162, 59, 0.88) 0 42%, transparent 42%) 24px 88px / calc(100% - 78px) 6px no-repeat,
    rgba(7, 31, 63, 0.7);
  box-shadow: 0 24px 64px rgba(2, 14, 30, 0.28);
  transform: none;
  white-space: normal;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.rw-page--interior .rw-section--page-hero .rw-container::before,
.rw-page--interior .rw-section--page-hero .rw-container::after {
  display: none;
}

.rw-section {
  padding: 96px 0;
  border-bottom-color: rgba(13, 32, 56, 0.08);
}

.rw-section-heading {
  margin-bottom: 44px;
}

.rw-section-heading h2,
body.home .rw-section--services h2 {
  text-wrap: balance;
}

.rw-page h2 {
  font-size: clamp(2rem, 3vw, 3.45rem);
}

.rw-price-card h2 {
  min-height: 82px;
  font-size: 1.58rem;
  line-height: 1.18;
}

.rw-page h3 {
  color: #071f3f;
  font-weight: 860;
}

.rw-page p,
.rw-section-intro,
.rw-copy-stack p,
.rw-page-card p,
.rw-faq-card p,
.rw-price-note,
.rw-feature-list li {
  color: #40516a;
}

.rw-proof-strip,
.rw-mini-strip,
.rw-page-card,
.rw-feature-card,
.rw-faq-card,
.rw-price-card,
.rw-home-plan-card,
.rw-status-banner,
.rw-status-metric,
.rw-status-component,
.rw-status-day,
.rw-evidence-panel,
.rw-form-shell {
  border-color: rgba(13, 32, 56, 0.105);
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(7, 31, 63, 0.075);
}

.rw-page-card,
.rw-faq-card,
.rw-price-card,
.rw-home-plan-card,
.rw-status-component,
.rw-status-metric {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rw-page-card:hover,
.rw-faq-card:hover,
.rw-price-card:hover,
.rw-home-plan-card:hover {
  border-color: rgba(30, 136, 229, 0.18);
  box-shadow: 0 24px 60px rgba(7, 31, 63, 0.105);
}

.rw-page-card--image .rw-card-image {
  filter: saturate(0.94) contrast(1.03);
}

.rw-card-tag,
.rw-feature-label {
  border-radius: 3px;
  background: #f8fbff;
}

.rw-home-plan-card,
.rw-price-card {
  overflow: hidden;
}

.rw-home-plan-card::before {
  height: 6px;
  background: linear-gradient(90deg, #1e88e5, #0f9f7a);
}

.rw-home-plan-card--featured,
.rw-price-card--featured {
  border-color: rgba(17, 168, 130, 0.34);
  box-shadow: 0 30px 78px rgba(7, 31, 63, 0.13);
}

.rw-price-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #1e88e5, #0f9f7a);
}

.rw-price-card--featured::after {
  background: linear-gradient(90deg, #11a882, #d6a23b);
}

.rw-price-card .rw-button,
.rw-home-plan-card .rw-button {
  box-shadow: none;
}

.rw-price-card > .rw-feature-list {
  margin-bottom: 0;
}

.rw-price-card > .rw-feature-list + p {
  display: flex;
  margin: auto 0 0;
  padding-top: 30px;
}

.rw-price-card > .rw-feature-list + p .rw-button {
  margin-top: 0;
}

.rw-status-banner {
  border-left-width: 6px;
}

.rw-status-component {
  min-height: 116px;
}

.site-footer {
  background:
    linear-gradient(135deg, #041426 0%, #071f3f 62%, #082d48 100%);
}

.site-footer__inner {
  padding: 58px 0;
}

.site-footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.rw-trial-modal-open {
  overflow: hidden;
}

.rw-trial-modal[hidden] {
  display: none !important;
}

.rw-trial-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.rw-trial-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(17, 168, 130, 0.22), transparent 34%),
    rgba(3, 15, 32, 0.72);
  backdrop-filter: blur(10px);
}

.rw-trial-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 28px 34px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 34px 90px rgba(0, 17, 39, 0.42);
}

.rw-trial-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #1b87e6, #11a882, #d6a23b);
}

.rw-trial-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(13, 32, 56, 0.12);
  border-radius: 4px;
  background: #ffffff;
  color: #071f3f;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.rw-trial-modal__brand {
  width: 168px;
  margin-bottom: 16px;
}

.rw-trial-modal__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.rw-trial-modal__intro {
  max-width: 590px;
  margin-bottom: 18px;
}

.rw-trial-modal__intro h2,
.rw-trial-confirmation h3 {
  margin: 0 0 12px;
  color: #071f3f;
  font-size: clamp(1.9rem, 2.7vw, 2.55rem);
  line-height: 1.07;
}

.rw-trial-modal__intro p:last-child,
.rw-trial-confirmation p {
  color: #52647a;
  font-size: 1rem;
  line-height: 1.5;
}

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

.rw-trial-form label {
  display: grid;
  gap: 6px;
  color: #071f3f;
  font-weight: 850;
}

.rw-trial-form label span {
  font-size: 0.78rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rw-trial-form input,
.rw-trial-form select,
.rw-trial-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 32, 56, 0.16);
  border-radius: 4px;
  background: #ffffff;
  color: #132238;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.35;
}

.rw-trial-form input,
.rw-trial-form select {
  min-height: 44px;
  padding: 0 14px;
}

.rw-trial-form textarea {
  height: 64px;
  min-height: 64px;
  resize: vertical;
  padding: 12px 14px;
}

.rw-trial-form input:focus,
.rw-trial-form select:focus,
.rw-trial-form textarea:focus {
  outline: 3px solid rgba(27, 135, 230, 0.18);
  border-color: #1b87e6;
}

.rw-trial-form__full {
  grid-column: 1 / -1;
}

.rw-trial-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rw-trial-form__status {
  min-height: 18px;
  margin-top: 10px;
  color: #0a355c;
  font-weight: 800;
}

.rw-trial-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.rw-trial-form__actions .rw-button {
  border-color: #11a882 !important;
  background: #11a882 !important;
  color: #041f19 !important;
}

.rw-trial-form__actions .rw-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.rw-trial-confirmation {
  padding: 26px;
  border: 1px solid rgba(17, 168, 130, 0.24);
  border-left: 5px solid #11a882;
  border-radius: 5px;
  background: #f3fffb;
}

.rw-trial-confirmation .rw-button {
  margin-top: 10px;
}

@media (max-width: 920px) {
  body.home .rw-section--hero {
    padding: 80px 0 88px;
  }

  body.home .rw-section--hero .rw-container {
    min-height: 0;
    padding-right: 0;
  }

  body.home .rw-section--hero .rw-container::before,
  body.home .rw-section--hero .rw-container::after {
    display: none;
  }

  .rw-page--interior .rw-section--page-hero .rw-container::before,
  .rw-page--interior .rw-section--page-hero .rw-container::after {
    display: none;
  }

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

  body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rw-proof-item:nth-child(odd) {
    border-left: 0;
  }

  body.home .rw-section--problem .rw-container {
    display: block;
  }

  body.home .rw-section--problem h2 {
    margin-bottom: 22px;
  }

  body.home .rw-section--about-product .rw-container,
  body.home .rw-section--trust .rw-container,
  .rw-page--interior .rw-section--trust .rw-container {
    display: block;
  }

  .rw-product-visual {
    margin-bottom: 36px;
  }

  .rw-audience-grid,
  .rw-stat-grid {
    grid-template-columns: 1fr;
  }

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

  .rw-process-step::before {
    display: none;
  }

  .rw-page--interior .rw-section--page-hero .rw-container {
    min-height: 0;
    padding-right: 0;
  }

  .rw-page--interior .rw-section--page-hero::before {
    left: -52vw;
    width: 128vw;
  }

  .rw-mini-strip,
  .rw-card-grid--2,
  .rw-card-grid--3,
  .rw-card-grid--4,
  .rw-home-plan-grid,
  .rw-pricing-grid,
  .rw-faq-grid,
  .rw-contact-layout,
  .rw-evidence-grid,
  .rw-split,
  .rw-split--visual,
  .rw-status-metrics,
  .rw-status-days {
    grid-template-columns: 1fr;
  }

  .rw-status-banner,
  .rw-status-component {
    display: block;
  }

  .rw-status-score,
  .rw-status-component__meta {
    margin-top: 22px;
    min-width: 0;
    text-align: left;
  }

  .rw-status-component::before {
    margin-bottom: 18px;
  }

  .rw-home-plan-card--featured {
    transform: none;
  }

  .rw-trial-form__grid {
    grid-template-columns: 1fr;
  }

  .rw-mini-item {
    border-left: 0;
    border-top: 1px solid rgba(30, 136, 229, 0.18);
  }

  .rw-mini-item:first-child {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  body.home .rw-section--hero {
    padding: 64px 0 78px;
  }

  body.home .rw-section--hero::before {
    display: none;
  }

  body.home .rw-section--hero h1 {
    max-width: min(100%, 9.6ch);
    font-size: 2.35rem;
    line-height: 1.13;
  }

  body.home .rw-hero-eyebrow {
    font-size: 1rem;
  }

  body.home .rw-section--hero .rw-lead {
    max-width: calc(100vw - 28px);
    font-size: 1rem;
  }

  body.home .rw-section--hero .rw-actions,
  body.home .rw-section--cta .rw-actions {
    display: flex;
    margin-right: 0;
    width: 100%;
  }

  body.home .rw-section--hero .rw-button,
  body.home .rw-section--cta .rw-button {
    width: 100%;
  }

  .rw-feature-card {
    padding: 22px;
  }

  .rw-proof-strip,
  .rw-feature-grid,
  .rw-process-grid {
    grid-template-columns: 1fr;
  }

  body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) {
    grid-template-columns: 1fr;
  }

  body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card {
    min-height: 0;
    padding: 0 22px 24px;
  }

  body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card::before {
    height: 140px;
    margin: 0 -22px 24px;
  }

  body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card::after {
    right: 22px;
    left: 88px;
  }

  body.home .rw-section--services .rw-feature-grid:not(.rw-feature-grid--control) .rw-feature-card > span {
    left: 22px;
  }

  .rw-proof-strip {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .rw-proof-item {
    border-left: 0;
    border-top: 1px solid rgba(30, 136, 229, 0.18);
  }

  .rw-proof-item p {
    max-width: calc(100vw - 80px);
  }

  .rw-proof-item:first-child {
    border-top: 0;
  }

  .rw-feature-card--control::after {
    margin-right: -22px;
    margin-left: -22px;
  }

  body.home .rw-section--about-product,
  body.home .rw-section--audiences,
  body.home .rw-section--process,
  body.home .rw-section--trust,
  body.home .rw-section--plans,
  .rw-page--interior .rw-section--split,
  .rw-page--interior .rw-section--soft,
  .rw-page--interior .rw-section--pricing,
  .rw-page--interior .rw-section--contact-panel {
    padding: 64px 0;
  }

  .rw-page--interior .rw-section--page-hero::before {
    display: none;
  }

  .rw-page--interior .rw-section--page-hero {
    background:
      linear-gradient(135deg, rgba(7, 31, 63, 0.96) 0%, rgba(11, 53, 107, 0.94) 54%, rgba(15, 118, 110, 0.9) 100%),
      url("assets/relaywire-hero-office-documents.jpg") center / cover no-repeat;
  }

  .rw-page--status .rw-section--page-hero {
    background:
      linear-gradient(135deg, rgba(7, 31, 63, 0.96) 0%, rgba(11, 53, 107, 0.94) 54%, rgba(15, 118, 110, 0.9) 100%),
      url("assets/relaywire-hero-status.jpg") center / cover no-repeat;
  }

  .rw-page--interior .rw-section--page-hero .rw-container {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .rw-page--interior .rw-section--page-hero h1 {
    max-width: min(100%, 10.5ch);
    font-size: 2.35rem;
    line-height: 1.13;
  }

  .rw-page--interior .rw-section--page-hero .rw-lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .rw-mini-strip {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .rw-page-card,
  .rw-price-card,
  .rw-faq-card,
  .rw-contact-card,
  .rw-evidence-panel,
  .rw-form-shell {
    padding: 22px;
  }

  .rw-page-card--image {
    padding: 0;
  }

  .rw-page-card--image .rw-card-body {
    padding: 22px;
  }

  .rw-proof-card__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .rw-product-visual {
    min-height: 0;
    padding: 24px 18px;
  }

  .rw-product-row {
    display: block;
  }

  .rw-product-row span {
    display: block;
    margin-top: 6px;
  }

  .rw-audience-card,
  .rw-process-step,
  .rw-stat {
    min-height: 0;
    padding: 24px;
  }

  .rw-process-step span {
    margin-bottom: 22px;
  }
}

/* Enterprise pass final overrides */
body.home .rw-section--hero .rw-container {
  padding-right: min(40vw, 520px);
}

.rw-hero-workflow {
  position: absolute;
  top: 132px;
  right: 0;
  width: min(38vw, 500px);
  color: #ffffff;
}

body.home .rw-section--problem .rw-container {
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 0.9fr) minmax(360px, 1fr);
  align-items: center;
}

.rw-portal-section .rw-container {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: 54px;
  align-items: center;
}

.rw-price-card--featured {
  padding-top: 58px;
}

.rw-price-card--featured .rw-pill {
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 0;
  background: linear-gradient(90deg, #071f3f, #0b5d62);
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-price-card .rw-plan-icon,
.rw-home-plan-card .rw-plan-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
}

.site-footer__inner {
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr) minmax(220px, 0.7fr);
  gap: 48px;
}

.rw-section p:empty {
  display: none;
}

.rw-hero-doc > div {
  min-width: 0;
}

.rw-hero-doc > p {
  margin: 0;
}

.rw-problem-visual {
  align-self: center;
  max-width: 460px;
  padding: 22px;
}

.rw-problem-visual__event {
  grid-template-rows: auto;
  min-height: 0;
}

.rw-problem-visual__event > span {
  grid-column: 1;
  grid-row: 1;
}

.rw-problem-visual__event > div {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.rw-problem-visual__event p {
  max-width: none !important;
  line-height: 1.48;
}

.rw-home-plan-card--featured {
  padding-top: 68px;
}

.rw-home-plan-card--featured .rw-pill {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 0;
  background: linear-gradient(90deg, #071f3f, #0b5d62);
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home .rw-section--hero .rw-container::before,
body.home .rw-section--hero .rw-container::after {
  content: none !important;
  display: none !important;
}

.rw-portal-demo--dashboard {
  min-height: 0;
}

.rw-portal-demo--dashboard .rw-portal-demo__top {
  align-items: center;
  margin-bottom: 0;
  padding: 16px 22px;
}

.rw-portal-demo__top p {
  margin: 0;
}

.rw-portal-demo__account {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rw-portal-demo__account strong {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rw-portal-demo__account span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
}

.rw-portal-demo--dashboard .rw-portal-demo__body {
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 0;
}

.rw-portal-demo--dashboard .rw-portal-demo__nav {
  gap: 7px;
}

.rw-portal-demo--dashboard .rw-portal-demo__nav span {
  padding: 9px 12px;
}

.rw-portal-demo--dashboard .rw-portal-demo__main {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.rw-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.rw-dashboard-header span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-dashboard-header strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.18rem;
}

.rw-dashboard-header em {
  color: #b7f7df;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.rw-portal-demo--dashboard .rw-portal-demo__stats {
  margin-bottom: 0;
}

.rw-portal-demo__stat em {
  display: block;
  margin-top: 5px;
  color: #b7f7df;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
}

.rw-portal-demo--dashboard .rw-portal-demo__stat {
  padding: 10px 12px;
}

.rw-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(188px, 0.58fr);
  gap: 12px;
}

.rw-dashboard-table .rw-portal-demo__row {
  grid-template-columns: 1.15fr 0.7fr 0.8fr 0.58fr;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
}

.rw-dashboard-side,
.rw-dashboard-bottom {
  display: grid;
  gap: 12px;
}

.rw-dashboard-bottom {
  grid-template-columns: 1fr 1fr;
}

.rw-dashboard-panel {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.rw-dashboard-panel > span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rw-dashboard-panel strong {
  color: #ffffff;
}

.rw-dashboard-panel p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.82rem !important;
  line-height: 1.45;
}

.rw-dashboard-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.rw-dashboard-panel__row:first-of-type {
  border-top: 0;
}

.rw-dashboard-panel__row em {
  color: #b7f7df;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.rw-dashboard-bar {
  overflow: hidden;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.rw-dashboard-bar span {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #11a882, #d6a23b);
}

.rw-home-plan-card--featured,
.rw-price-card--featured {
  overflow: visible !important;
}

.rw-home-plan-card--featured {
  padding-top: 44px;
}

.rw-home-plan-card--featured .rw-pill,
.rw-price-card--featured .rw-pill {
  z-index: 4;
  right: auto;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(72%, 280px);
  min-height: 38px;
  padding: 0 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, #071f3f 0%, #063e52 62%, #0f766e 100%);
  box-shadow: 0 16px 30px rgba(7, 31, 63, 0.22);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.rw-home-plan-card--featured .rw-pill {
  top: -62px;
}

.rw-price-card--featured {
  margin-top: 18px;
  padding-top: 46px;
}

.rw-price-card--featured .rw-pill {
  top: -18px;
}

.rw-home-plan-card--featured .rw-pill::before,
.rw-home-plan-card--featured .rw-pill::after,
.rw-price-card--featured .rw-pill::before,
.rw-price-card--featured .rw-pill::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid #031f32;
}

.rw-home-plan-card--featured .rw-pill::before,
.rw-price-card--featured .rw-pill::before {
  left: 10px;
  border-left: 8px solid transparent;
}

.rw-home-plan-card--featured .rw-pill::after,
.rw-price-card--featured .rw-pill::after {
  right: 10px;
  border-right: 8px solid transparent;
}

.rw-tech-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.rw-tech-logo {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 68px;
  padding: 12px 12px 12px 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.05);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(2, 14, 30, 0.18);
}

.rw-tech-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 8px;
  background: var(--rw-logo-accent, #11a882);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--rw-logo-accent, #11a882), transparent 78%);
}

.rw-tech-logo img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  width: 22px;
  height: 22px;
  padding: 3px;
  transform: translateY(-50%);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
}

.rw-tech-logo strong,
.rw-tech-logo small {
  position: relative;
  z-index: 1;
  display: block;
}

.rw-tech-logo strong {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.rw-tech-logo small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.rw-tech-logo--dialogic { --rw-logo-accent: #2b7ccc; }
.rw-tech-logo--audiocodes { --rw-logo-accent: #d33f49; }
.rw-tech-logo--cisco { --rw-logo-accent: #1e88e5; }
.rw-tech-logo--grandstream { --rw-logo-accent: #14a06f; }
.rw-tech-logo--hylafax { --rw-logo-accent: #d6a23b; }
.rw-tech-logo--asterisk { --rw-logo-accent: #f05a28; }
.rw-tech-logo--opentext { --rw-logo-accent: #4f6bed; }
.rw-tech-logo--microsoft { --rw-logo-accent: #00a4ef; }

.primary-menu > .menu-item {
  position: relative;
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 190px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid rgba(13, 32, 56, 0.12);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(7, 31, 63, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.primary-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 1px solid rgba(13, 32, 56, 0.12);
  border-left: 1px solid rgba(13, 32, 56, 0.12);
  background: #ffffff;
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu,
.primary-menu .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.primary-menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.primary-menu .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.primary-menu .menu-item-has-children.is-open > a::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.primary-menu .sub-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 4px;
  color: #142033;
  white-space: nowrap;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus {
  background: #f2f7fb;
  color: #071f3f;
}

@media (max-width: 1100px) {
  .rw-hero-workflow {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 34px;
  }

  body.home .rw-section--hero .rw-container {
    padding-right: 0;
  }

  body.home .rw-section--problem .rw-container,
  .rw-portal-section .rw-container,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .rw-dashboard-grid,
  .rw-dashboard-bottom,
  .rw-portal-demo--dashboard .rw-portal-demo__body,
  .rw-portal-demo--dashboard .rw-portal-demo__stats {
    grid-template-columns: 1fr;
  }

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

  .primary-menu > .menu-item-has-children {
    grid-column: 1 / -1;
  }

  .primary-menu .sub-menu {
    position: static;
    display: grid;
    left: 0;
    min-width: 0;
    width: min(280px, 100%);
    margin-top: 8px;
    padding: 6px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .primary-menu .menu-item-has-children:hover > .sub-menu,
  .primary-menu .menu-item-has-children:focus-within > .sub-menu,
  .primary-menu .menu-item-has-children.is-open > .sub-menu {
    transform: none;
  }

  .primary-menu .sub-menu::before {
    display: none;
  }
}

@media (min-width: 1101px) and (max-width: 1540px) {
  .site-header__inner,
  .site-footer__inner,
  .rw-container {
    width: min(1180px, calc(100% - 52px));
  }

  .site-header__inner {
    min-height: 72px;
  }

  .site-brand {
    width: 164px;
  }

  .primary-menu {
    gap: clamp(14px, 1.3vw, 20px);
  }

  .primary-menu a {
    font-size: 0.8rem;
  }

  .site-header__cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.82rem;
  }

  .rw-section {
    padding: 76px 0;
  }

  body.home .rw-section--hero .rw-container {
    min-height: 620px;
    padding-top: 96px;
    padding-right: min(38vw, 450px);
    padding-bottom: 104px;
  }

  body.home .rw-section--hero::before {
    width: min(63vw, 900px);
    clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  }

  body.home .rw-section--hero h1 {
    max-width: 650px;
    font-size: clamp(3rem, 4.2vw, 4.05rem);
    line-height: 1.045;
  }

  body.home .rw-hero-eyebrow,
  .rw-page--interior .rw-hero-eyebrow,
  .rw-kicker {
    font-size: 0.7rem;
  }

  body.home .rw-section--hero .rw-lead {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .rw-hero-workflow {
    top: 132px;
    width: min(36vw, 420px);
  }

  .rw-hero-workflow__panel {
    padding: 18px;
  }

  .rw-hero-workflow__header {
    margin-bottom: 14px;
  }

  .rw-hero-workflow__brand {
    font-size: 0.7rem;
  }

  .rw-hero-status,
  .rw-hero-doc em {
    font-size: 0.72rem;
  }

  .rw-hero-doc {
    grid-template-columns: 38px 1fr auto;
    gap: 12px;
    padding: 11px 12px;
  }

  .rw-hero-doc__icon {
    width: 38px;
    height: 38px;
  }

  .rw-hero-doc strong {
    font-size: 0.84rem;
  }

  .rw-hero-doc span {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .rw-hero-proof {
    margin-top: 12px;
    padding: 13px 14px;
  }

  .rw-hero-proof strong {
    font-size: 1rem;
  }

  .rw-proof-strip {
    margin-top: -38px;
  }

  .rw-proof-item {
    min-height: 126px;
    padding: 20px 20px 18px;
  }

  .rw-proof-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
  }

  .rw-proof-item strong {
    font-size: 0.92rem;
  }

  .rw-proof-item p {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  body.home .rw-section--problem .rw-container,
  .rw-portal-section .rw-container {
    gap: 36px;
  }

  body.home .rw-section--problem .rw-container {
    grid-template-columns: minmax(250px, 0.72fr) minmax(330px, 0.88fr) minmax(330px, 0.94fr);
  }

  .rw-problem-visual {
    max-width: 390px;
  }

  .rw-page h2 {
    font-size: clamp(2rem, 2.75vw, 3rem);
  }

  .rw-page--interior .rw-section--page-hero .rw-container {
    min-height: 430px;
    padding-top: 78px;
    padding-right: min(34vw, 400px);
    padding-bottom: 84px;
  }

  .rw-page--interior .rw-section--page-hero h1 {
    max-width: 690px;
    font-size: clamp(2.65rem, 3.85vw, 3.85rem);
  }

  .rw-page--interior .rw-section--page-hero .rw-lead {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .rw-portal-section .rw-container {
    grid-template-columns: minmax(330px, 0.82fr) minmax(470px, 1.18fr);
  }

  .rw-portal-demo--dashboard .rw-portal-demo__body {
    grid-template-columns: 142px minmax(0, 1fr);
  }

  .rw-portal-demo--dashboard .rw-portal-demo__nav span {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .rw-dashboard-grid,
  .rw-dashboard-bottom {
    grid-template-columns: 1fr;
  }

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

  .rw-dashboard-table .rw-portal-demo__row {
    font-size: 0.76rem;
  }

  .rw-card-grid--4,
  .rw-status-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rw-pricing-grid,
  .rw-home-plan-grid {
    gap: 22px;
  }

  .rw-price-card,
  .rw-home-plan-card {
    padding-right: 26px;
    padding-left: 26px;
  }
}
