:root {
  --vivo-purple: #660099;
  --vivo-purple-dark: #4f0077;
  --vivo-pink: #eb3d7d;
  --vivo-lilac: #f5effa;
  --text-primary: #222222;
  --text-secondary: #666666;
  --border-color: #dddddd;
  --surface: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 144px;
}

body {
  margin: 0;
  color: var(--text-primary);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

button, input {
  font: inherit;
}

a, button, input {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--vivo-purple);
  outline-offset: 4px;
}

.page-width, .container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.vivo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand-link, .footer-brand {
  display: inline-flex;
  flex-shrink: 0;
}

.brand-link img, .footer-brand img {
  display: block;
  width: 105px;
  height: 36px;
}

.audience-link {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  color: var(--vivo-purple);
  border-bottom: 3px solid var(--vivo-purple);
  font-size: 15px;
  font-weight: 600;
}

.portal-label {
  color: var(--text-secondary);
  font-size: 15px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vivo-purple);
  min-height: 44px;
}

.nav-login svg {
  width: 20px;
  height: 24px;
}

.navigation-row {
  border-top: 1px solid #f1f1f1;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 56px;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
}

.primary-navigation a:hover, .footer-links a:hover, .nav-login:hover {
  color: var(--vivo-purple);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-button, .pill, .hero-cta, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.nav-button {
  min-height: 40px;
  padding: 9px 24px;
  font-size: 14px;
}

.pill-primary, .button {
  background: var(--vivo-purple);
  color: #ffffff;
}

.pill-primary:hover, .button:hover {
  background: var(--vivo-purple-dark);
}

.editorial-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 30.52vw, 586px);
  color: #ffffff;
  background: #800099;
  overflow: hidden;
}

.editorial-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editorial-hero-inner {
  position: relative;
  padding-block: 40px;
}

.editorial-copy {
  max-width: 35%;
}

.eyebrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-copy h1 {
  margin-top: 12px;
  font-size: clamp(32px, 3.1vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.editorial-copy > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 340px;
  font-size: 16px;
  line-height: 1.5;
}

.hero-cta {
  margin-top: 28px;
  min-width: 190px;
  background: #ffffff;
  color: var(--vivo-purple);
}

.hero-cta:hover {
  background: #f2e6f8;
}

.editorial-hero a:focus-visible {
  outline-color: #ffffff;
}

.solutions-section {
  padding-block: 64px 72px;
}

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

.section-heading h2, .portal-banner h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-heading > p {
  margin-top: 16px;
  color: var(--text-secondary);
}

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

.solution-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.solution-item img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}

.solution-item h3 {
  font-size: 22px;
  font-weight: 400;
}

.solution-item p {
  margin-block: 12px 28px;
  color: var(--text-secondary);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  color: var(--vivo-purple);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.solution-item .text-link {
  margin-top: auto;
  font-size: 15px;
}

.portal-banner {
  background: var(--vivo-lilac);
}

.portal-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-block: 48px;
}

.portal-banner .eyebrow {
  margin-bottom: 12px;
  color: var(--vivo-purple);
}

.portal-banner h2 {
  color: var(--vivo-purple);
}

.portal-banner p:not(.eyebrow) {
  margin-top: 16px;
}

.site-footer {
  background: var(--surface);
}

.corporate-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
}

.footer-branding p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-legal {
  padding-block: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12px;
}

.registration-main, .account-layout, .container {
  padding-block: 40px 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  color: var(--text-secondary);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--vivo-purple);
}

.registration-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 64px;
}

.registration-intro {
  padding: 32px 0;
}

.registration-intro .eyebrow, .account-heading .eyebrow {
  color: var(--vivo-purple);
}

.registration-intro h1, .account-heading h1, .card h1 {
  margin-block: 16px 24px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.registration-benefits {
  display: grid;
  gap: 12px;
  margin-block: 28px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.registration-benefits li::marker {
  color: var(--vivo-purple);
}

.registration-form-panel, .claims-panel, .card {
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #ffffff;
}

.registration-form-panel h2, .claims-panel h2 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 400;
}

.form-description {
  margin-bottom: 28px;
  color: var(--text-secondary);
}

.open-account-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label {
  font-size: 14px;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #999999;
  border-radius: 4px;
  background: #ffffff;
  color: var(--text-primary);
}

.field input:focus {
  border-color: var(--vivo-purple);
}

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

.open-account-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.account-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 32px;
  background: var(--vivo-lilac);
  border-radius: 4px;
}

.account-heading h1 {
  margin-bottom: 0;
}

.auth-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.claims-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.claims-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  overflow-wrap: anywhere;
}

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

.claims-table strong {
  font-weight: 600;
}

.card .button {
  margin-top: 24px;
}

@media (max-width: 1000px) {
  .page-width, .container {
    width: calc(100% - 48px);
  }

  .portal-label {
    display: none;
  }

  .editorial-copy {
    max-width: 36%;
  }

  .solution-item {
    padding: 24px;
  }

  .registration-layout {
    gap: 32px;
  }

  .open-account-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 130px;
  }

  .page-width, .container {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 72px;
    gap: 16px;
  }

  .audience-link {
    display: none;
  }

  .header-actions {
    gap: 16px;
  }

  .primary-navigation {
    min-height: 48px;
    justify-content: space-between;
    gap: 12px;
  }

  .primary-navigation a {
    font-size: 14px;
  }

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

  .editorial-hero-inner {
    order: -1;
    padding-block: 36px;
  }

  .editorial-copy {
    max-width: 440px;
  }

  .editorial-copy h1 {
    font-size: 36px;
    max-width: 380px;
  }

  .editorial-copy > p:not(.eyebrow) {
    max-width: 400px;
  }

  /* The archive only includes desktop artwork; crop its illustrated right side on phones. */
  .editorial-hero-image {
    position: relative;
    height: clamp(200px, 40vw, 300px);
    object-position: right center;
  }

  .solutions-section {
    padding-block: 40px;
  }

  .solutions-grid, .registration-layout, .auth-content {
    grid-template-columns: 1fr;
  }

  .solution-item {
    padding: 24px;
  }

  .portal-banner-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 36px;
  }

  .registration-intro {
    padding: 0;
  }

  .registration-form-panel, .claims-panel, .card {
    padding: 24px;
  }

  .account-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
}

@media (max-width: 380px) {
  .page-width, .container {
    width: calc(100% - 32px);
  }

  .brand-link img {
    width: 88px;
    height: auto;
  }

  .nav-login {
    gap: 4px;
    font-size: 14px;
  }

  .nav-login svg {
    width: 16px;
  }

  .header-actions {
    gap: 12px;
  }

  .nav-button {
    padding-inline: 12px;
    font-size: 13px;
  }

  .primary-navigation a {
    font-size: 12px;
  }

  .editorial-copy h1 {
    font-size: 32px;
  }

  .corporate-footer-inner, .open-account-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
  }
}
