:root {
  --ink: #13272b;
  --muted-ink: #536669;
  --paper: #f8fbfa;
  --white: #ffffff;
  --mist: #edf7f5;
  --aqua: #1ca7a8;
  --teal: #08777c;
  --teal-dark: #074c51;
  --gold: #c79136;
  --coral: #e07155;
  --blue: #315f8d;
  --line: #d9e8e5;
  --shadow: 0 24px 70px rgba(19, 39, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Wix Madefor Display", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.header-bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.brand-parent,
.brand-name {
  display: block;
}

.brand-parent {
  color: var(--muted-ink);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--teal);
}

.button-primary:hover {
  color: var(--white);
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  background: linear-gradient(135deg, #ffffff 0%, #e9faf7 48%, #fff7eb 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 47%;
  margin-left: auto;
  background:
    linear-gradient(90deg, rgba(248, 251, 250, 1) 0%, rgba(248, 251, 250, 0.18) 38%, rgba(248, 251, 250, 0) 100%),
    url("https://images.unsplash.com/photo-1576602975754-efdf313b9342?auto=format&fit=crop&w=1400&q=80") center / cover;
  opacity: 0.26;
}

.hero-grid,
.two-column,
.photo-grid,
.detail-grid,
.proof-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy,
.command-panel {
  position: relative;
  z-index: 1;
}

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

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

h1,
h2 {
  font-family: Domine, Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.45rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-text,
.copy-stack p,
.section-heading p,
.contact-panel p {
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.command-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-ink);
}

.panel-topline strong {
  color: var(--teal-dark);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.metric-grid article {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfefd;
}

.metric-grid strong {
  display: block;
  color: var(--blue);
  font-size: 1.35rem;
}

.metric-grid span,
.signal-list {
  color: var(--muted-ink);
  font-size: 0.92rem;
}

.signal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.section {
  padding: 80px 0;
}

.trust-strip {
  padding: 22px 0;
  background: var(--teal-dark);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  text-align: center;
  font-weight: 800;
}

.intro-section {
  background: var(--white);
}

.challenge-section {
  background: #fbfefd;
}

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

.challenge-grid article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: var(--white);
}

.challenge-grid p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.contact-ribbon {
  padding: 26px 0;
  background: var(--teal-dark);
}

.contact-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact-ribbon-grid a,
.contact-card-grid a {
  text-decoration: none;
}

.contact-ribbon-grid a {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.contact-ribbon-grid span {
  color: #ccece8;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

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

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

.bright-band {
  background:
    linear-gradient(135deg, rgba(28, 167, 168, 0.12), rgba(224, 113, 85, 0.08)),
    var(--mist);
}

.photo-break {
  padding: 58px 0;
  background: var(--white);
}

.image-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.image-band img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.image-band-copy {
  display: grid;
  align-content: center;
  padding: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--blue));
}

.image-band-copy .eyebrow {
  color: #b9fbf3;
}

.image-band-copy p {
  color: #e5f4f1;
}

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

.tab-shell {
  display: grid;
  gap: 18px;
}

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

.tab-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.tab-helper {
  margin: -4px 0 0;
  color: var(--muted-ink);
  font-weight: 700;
}

.tab-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tab-panel.is-active {
  border-top: 5px solid var(--aqua);
}

.tab-panel p,
.tab-panel li {
  color: var(--muted-ink);
}

.tab-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.photo-feature {
  background: var(--white);
}

.reverse img {
  order: 2;
}

.photo-grid img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.feature-list article,
.mitigation-grid article,
.pain-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-list p,
.mitigation-grid p,
.pain-grid p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.capability-directory {
  background: #f8fbfa;
}

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

.directory-grid article {
  min-height: 198px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.directory-grid h3 {
  color: var(--teal-dark);
}

.directory-grid p {
  margin-bottom: 0;
  color: var(--muted-ink);
  font-size: 0.96rem;
}

.mitigation-section {
  background: #fffaf1;
}

.enterprise-section {
  background: var(--white);
}

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

.enterprise-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.enterprise-grid p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.detail-section {
  background: #eef7fb;
}

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

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.accordion-trigger {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger[aria-expanded="true"] {
  color: var(--teal-dark);
  background: #e7f8f5;
}

.accordion-panel {
  padding: 0 20px 20px;
}

.accordion-panel p {
  margin: 0;
  color: var(--muted-ink);
}

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

.mitigation-grid article {
  border-top: 4px solid var(--gold);
}

.sms-section {
  background: var(--white);
}

.rxroute-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 248, 246, 0.92)),
    url("https://images.unsplash.com/photo-1583912267550-2f0e65f5b2ea?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.rxroute-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.rxroute-card,
.rxroute-details article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.rxroute-card {
  padding: 34px;
}

.rxroute-card p,
.rxroute-details p {
  color: var(--muted-ink);
}

.rxroute-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.rxroute-details {
  display: grid;
  gap: 14px;
}

.rxroute-details article {
  padding: 24px;
}

.rxroute-details p {
  margin-bottom: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 800;
}

.dir-section {
  background:
    linear-gradient(135deg, rgba(7, 76, 81, 0.9), rgba(19, 39, 43, 0.94)),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1400&q=80") center / cover;
  color: var(--white);
}

.dir-section .eyebrow,
.dir-section .text-link {
  color: #ffd58e;
}

.dir-section p {
  color: #e7f2f0;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

.proof-section {
  background: var(--white);
}

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

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

.build-section {
  background: linear-gradient(135deg, #f9fcfb, #eef8f5);
}

.build-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.build-grid > div:first-child {
  position: sticky;
  top: 104px;
}

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

.scope-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.scope-grid p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.assurance-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 76, 81, 0.94), rgba(49, 95, 141, 0.92)),
    url("https://images.unsplash.com/photo-1551190822-a9333d879b1f?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.assurance-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.assurance-section .eyebrow {
  color: #b9fbf3;
}

.assurance-section p {
  color: #e6f3f1;
}

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

.assurance-list article {
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.assurance-list h3 {
  color: var(--white);
}

.expect-section {
  background: var(--white);
}

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

.expect-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  background: #fbfefd;
}

.expect-grid p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.faq-section {
  background: #eef7fb;
}

.mid-contact-section {
  background: var(--white);
}

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

.contact-card-grid a {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--aqua);
  border-radius: 8px;
  background: #fbfefd;
}

.contact-card-grid strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.contact-card-grid span {
  color: var(--muted-ink);
}

.contact-card-grid em {
  align-self: end;
  color: var(--teal);
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-section {
  background: var(--mist);
}

.contact-panel {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-actions {
  justify-content: flex-end;
  margin: 0;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.contact-details a {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  color: #d5e3e1;
  background: var(--teal-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: center;
}

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

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #eef8f6;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffd58e;
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    inset: 78px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-photo {
    width: 100%;
    opacity: 0.16;
  }

  .hero-grid,
  .two-column,
  .photo-grid,
  .detail-grid,
  .proof-grid,
  .build-grid,
  .assurance-grid,
  .faq-grid,
  .contact-panel,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .challenge-grid,
  .contact-ribbon-grid,
  .directory-grid,
  .assurance-list,
  .expect-grid,
  .contact-card-grid,
  .feature-list,
  .pain-grid,
  .scope-grid,
  .enterprise-grid,
  .rxroute-grid,
  .mitigation-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }

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

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

  .image-band {
    grid-template-columns: 1fr;
  }

  .reverse img {
    order: initial;
  }

  .build-grid > div:first-child {
    position: static;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 58px;
  }

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

  .command-panel,
  .contact-panel,
  .tab-panel {
    padding: 22px;
  }

  .photo-grid img {
    min-height: 320px;
  }

  .brand-parent {
    display: none;
  }
}
