:root {
  --brand-bg: #ececec;
  --brand-shell: #ffffff;
  --brand-line: #d8d8d8;
  --brand-copy: #5f5f5f;
  --brand-heading: #4f4f4f;
  --brand-teal: #1b6875;
  --brand-teal-dark: #14505a;
  --brand-green: #9aaa61;
  --error: #9d2424;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--brand-bg);
  color: var(--brand-copy);
}

.scene {
  display: none;
  min-height: 100vh;
}

.scene.is-visible {
  display: block;
}

.btn {
  border: 0;
  border-radius: 5px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.btn:focus-visible,
input:focus-visible,
.text-btn:focus-visible {
  outline: 2px solid #113e90;
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-teal-dark);
}

.btn-secondary {
  background: #fff;
  color: #3e3e3e;
  border: 1px solid #c6c6c6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.internal-shell {
  max-width: 1020px;
  margin: 0 auto;
  padding: 2rem 1.2rem 2.4rem;
}

.internal-shell h1 {
  margin: 0 0 0.35rem;
  color: var(--brand-heading);
}

.internal-shell p {
  margin: 0 0 1rem;
}

.internal-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.internal-card,
.internal-notes {
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: 1rem;
}

.internal-card h2,
.internal-notes h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--brand-heading);
}

.button-stack {
  display: grid;
  gap: 0.55rem;
}

.internal-notes {
  margin-top: 0.85rem;
}

.internal-notes ul {
  margin: 0;
  padding-left: 1.1rem;
}

.internal-notes h3 {
  margin: 1rem 0 0.45rem;
  font-size: 0.98rem;
  color: var(--brand-heading);
}

.step-map {
  margin: 0;
  padding-left: 1.1rem;
}

.step-map li {
  margin: 0 0 0.34rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.2rem;
  padding: 0 0.32rem;
  border: 1px solid #b7c9cf;
  border-radius: 999px;
  background: #eef6f7;
  color: #2a5f68;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.compeer-home {
  max-width: 1240px;
  margin: 0 auto;
  background: #f7f7f7;
  border: 1px solid #d3d3d3;
}

.utility-bar {
  min-height: 48px;
  background: #1f2029;
  color: #f4f4f4;
  font-size: 0.68rem;
  padding: 0.38rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.utility-cta {
  border: 1px solid var(--brand-green);
  background: transparent;
  color: #fff;
  padding: 0.25rem 0.9rem;
  min-width: 142px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.secure-menu {
  position: relative;
}

.secure-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.secure-trigger:hover,
.secure-trigger[aria-expanded="true"] {
  border-color: #b7c978;
  background: rgba(154, 194, 63, 0.09);
  box-shadow: 0 0 0 1px rgba(154, 194, 63, 0.18) inset;
}

.secure-menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(260px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid #cad7db;
  border-top: 4px solid var(--brand-teal);
  border-radius: 12px;
  box-shadow:
    0 18px 42px rgba(12, 26, 39, 0.24),
    0 2px 10px rgba(12, 26, 39, 0.12);
  overflow: hidden;
  padding: 0;
  z-index: 12;
  transform-origin: top right;
  animation: secureMenuEnter 0.2s ease-out;
}

.secure-menu-panel::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 1px solid #cad7db;
  border-top: 1px solid #cad7db;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(12, 26, 39, 0.06);
}

.secure-menu-link {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: #fff;
  color: var(--brand-teal);
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.secure-menu-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secure-menu-icon svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.secure-menu-link + .secure-menu-link {
  border-top: 1px solid #e0e9ec;
}

.secure-menu-link:hover {
  background: linear-gradient(90deg, rgba(27, 104, 117, 0.08), rgba(27, 104, 117, 0.03));
  color: #104e58;
}

.secure-menu-link:focus-visible {
  outline: 2px solid #1f6875;
  outline-offset: -2px;
  background: #eaf4f6;
}

.secure-help-note {
  margin: 0.4rem 1.45rem 0.95rem;
  border-color: #d4e0e4;
  background: #f4f9fa;
  color: #34505a;
  font-size: 0.83rem;
}

.brand-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-bottom: 1px solid #dfdfdf;
  padding: 0.8rem 0.75rem;
}

.brand-logo {
  width: 170px;
}

.brand-bar nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  color: #5f5f5f;
  font-size: 0.84rem;
}

.hero {
  min-height: 430px;
  background: url("../assets/OKTA_BKG.png") center center / cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  left: 6%;
  top: 36%;
  color: #fff;
}

.hero-overlay h2 {
  margin: 0 0 0.55rem;
  font-size: 2rem;
  max-width: 19ch;
}

.hero-overlay p {
  margin: 0 0 1rem;
}

.hero-btn {
  border: 0;
  background: #a2b749;
  color: #fff;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 3px;
}

.home-cards {
  padding: 1.1rem 0.75rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-card {
  grid-column: span 3;
  border: 1px solid #d7dce0;
  background: #fff;
  padding: 0.7rem 0.75rem 0.72rem;
  min-height: 490px;
  display: flex;
  flex-direction: column;
}

.home-card--wide {
  grid-column: span 4;
}

.card-media {
  height: 214px;
  margin-bottom: 0.6rem;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-card-kicker {
  margin: 0 0 0.35rem;
  color: #6f97a2;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.home-card h3 {
  margin: 0 0 0.52rem;
  color: #33373c;
  font-size: 0.98rem;
  line-height: 1.15;
  min-height: 2.3em;
  font-weight: 700;
}

.home-card-copy {
  margin: 0;
  color: #4f545a;
  font-size: 0.96rem;
  line-height: 1.62;
}

.mini-btn {
  margin-top: auto;
  width: fit-content;
  border: 2px solid #a9c23f;
  border-radius: 4px;
  background: #fff;
  color: #1e2329;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.74rem 1.35rem 0.7rem;
}

/* ── Footer ─────────────────────────────────────────── */
.home-footer {
  font-family: Arial, Helvetica, sans-serif;
}

/* 1. About gradient banner */
.footer-about {
  position: relative;
  background: linear-gradient(to right, #1b6875 0%, #155e6b 40%, #0f3840 80%, #0a1f23 100%);
  padding: 1.5rem 5rem 1.5rem 2rem;
}

.footer-about-text {
  margin: 0;
  color: #d8edf0;
  font-size: 0.87rem;
  line-height: 1.6;
  max-width: 780px;
}

.footer-feedback-tab {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  background: #2b8294;
  color: #fff;
  border: 0;
  padding: 0.32rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}

/* 2. Back to top / share utility bar */
.footer-utility-bar {
  background: #f2f2f2;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  padding: 0.35rem 0.75rem;
  gap: 0;
}

.footer-utility-spacer {
  flex: 1;
}

.footer-utility-actions {
  display: flex;
  gap: 0;
}

.footer-util-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid #c8c8c8;
  color: #444;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}

.footer-util-btn + .footer-util-btn {
  border-left: 0;
}

.footer-util-btn:hover {
  background: #f5f5f5;
}

/* 3. Main footer: logo + nav + social */
.footer-main {
  background: #1f2029;
  padding: 1.1rem 0.75rem;
}

.footer-main-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-logo-col {
  flex-shrink: 0;
}

.footer-logo {
  width: 150px;
}

.footer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0;
}

.footer-nav-link {
  color: #d0d5da;
  font-size: 0.78rem;
  font-weight: 400;
  text-decoration: none;
  padding: 0.1rem 0.7rem;
  border-right: 1px solid #4a4e58;
  white-space: nowrap;
}

.footer-nav-link:first-child {
  padding-left: 0;
}

.footer-nav-row .footer-nav-link:last-child {
  border-right: 0;
}

.footer-nav-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  flex-shrink: 0;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding-top: 0.1rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #4a4e58;
  border-radius: 4px;
  color: #d0d5da;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-social-btn:hover {
  border-color: #9aaa61;
  color: #fff;
}

/* 4. Legal bar */
.footer-legal {
  background: #fff;
  border-top: 1px solid #e2e2e2;
  padding: 0.85rem 0.75rem;
}

.footer-legal-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-equal-housing {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2b2b2b;
}

.footer-ehl-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: #2b2b2b;
}

.footer-ehl-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}

.footer-ehl-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2b2b2b;
}

.footer-ehl-label--lg {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.footer-legal-copy {
  flex: 1;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #555;
}

.footer-copyright {
  flex-shrink: 0;
  margin: 0;
  font-size: 0.75rem;
  color: #444;
  text-align: right;
  white-space: nowrap;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .footer-main-inner {
    flex-wrap: wrap;
  }

  .footer-legal-inner {
    flex-wrap: wrap;
  }

  .footer-copyright {
    white-space: normal;
    text-align: left;
  }
}

.help-note {
  margin: 0.75rem 0 0;
  border: 1px solid #d6dce4;
  background: #f6f9fd;
  color: #4e5c6d;
  padding: 0.55rem 0.7rem;
}

.client-shell {
  width: 520px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--brand-shell);
  border: 1px solid var(--brand-line);
  padding: 1.35rem 1.5rem 1.25rem;
}

.narrow {
  width: 500px;
}

.scene.enroll-stage {
  display: none;
  background: url("../assets/OKTA_BKG.png") center center / cover no-repeat;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.scene.enroll-stage.is-visible {
  display: flex;
}

.enroll-card {
  border: 1px solid #d4d4d4;
  position: relative;
  padding-top: 7.25rem;
  overflow: hidden;
}

.enroll-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  border-bottom: 1px solid #e2e2e2;
  background:
    #fff url("../assets/Compeer_logo.png") center 14px / 198px auto no-repeat;
}

.enroll-card > * {
  position: relative;
  z-index: 1;
}

.client-shell.enroll-card h1 {
  margin: 0.2rem 0 0.35rem;
  text-align: center;
}

.enroll-card p {
  text-align: center;
}

.enroll-card label,
.enroll-card .field-error,
.enroll-card .alert-banner,
.enroll-card ol {
  text-align: left;
}

.enroll-card .email-pill {
  display: inline-block;
}

.client-shell h1 {
  margin: 0;
  color: var(--brand-heading);
  font-size: 1.8rem;
}

.client-shell p,
.client-shell li {
  line-height: 1.45;
}

.client-shell label {
  margin-top: 0.9rem;
  display: block;
  font-weight: 700;
  color: var(--brand-heading);
}

.client-shell input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbcbcb;
  margin-top: 0.35rem;
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
}

.client-shell input[aria-invalid="true"] {
  border-color: #b34646;
}

.field-error {
  margin: 0.3rem 0 0;
  color: var(--error);
  font-size: 0.9rem;
}

.alert-banner {
  margin-top: 0.85rem;
  border: 1px solid #d08f8f;
  background: #fff2f2;
  color: #7d1f1f;
  padding: 0.55rem 0.65rem;
}

.quiet-note {
  color: #7a7a7a;
  font-size: 0.95rem;
}

.scene.idv-hosted-scene {
  display: none;
  min-height: 100vh;
  background: #f3f4f8;
  padding: 1rem;
}

.scene.idv-hosted-scene.is-visible {
  display: grid;
  justify-content: center;
  align-content: start;
  overflow-y: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.idv-hosted-wrap {
  width: 380px;
  max-width: 100%;
}

.idv-hosted-card,
.idv-phone-frame {
  background: #fff;
  border: 1px solid #e4e5ea;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(30, 42, 56, 0.07);
}

.idv-hosted-card {
  overflow: hidden;
}

.idv-top-row {
  padding: 0.8rem 0.9rem 0;
}

.idv-language-btn {
  border: 1px solid #d9dbe2;
  border-radius: 8px;
  background: #fff;
  color: #585f69;
  font-size: 0.95rem;
  padding: 0.35rem 0.68rem;
  font-weight: 600;
}

.idv-brand-check {
  margin: 1rem auto 0;
  width: 116px;
  height: 116px;
  border: 1px solid #e2e4ea;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}

.idv-brand-check img {
  width: 70px;
}

.idv-check-badge {
  position: absolute;
  right: -2px;
  bottom: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0f1015;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  font-weight: 700;
}

.idv-hosted-card h1 {
  margin: 1.15rem 1.5rem 0;
  color: #272d37;
  text-align: center;
  font-size: 1.9rem;
  line-height: 1.18;
  font-weight: 500;
}

.idv-hosted-card h1 strong {
  font-weight: 700;
}

.idv-feature-list {
  margin: 1.25rem 1.45rem 0;
}

.idv-feature-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.62rem;
  align-items: start;
  margin: 0 0 1rem;
}

.idv-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #1d232d;
  font-size: 0.95rem;
  position: relative;
}

.idv-feature-icon-bolt::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 16px;
  height: 20px;
  background: #1f232d;
  clip-path: polygon(62% 0%, 30% 0%, 5% 54%, 42% 54%, 12% 100%, 95% 36%, 55% 36%);
}

.idv-feature-icon-lock::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 10px;
  height: 8px;
  border: 2px solid #1f232d;
  border-radius: 2px;
}

.idv-feature-icon-lock::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 6px;
  border: 2px solid #1f232d;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.idv-feature-list p {
  margin: 0;
  color: #5f6772;
  line-height: 1.45;
  text-align: left;
  font-size: 1.07rem;
}

.idv-feature-list strong {
  display: block;
  color: #1f2631;
  font-size: 1.1rem;
  margin-bottom: 0.18rem;
}

.idv-footer-terms {
  margin-top: 0.6rem;
  border-top: 1px solid #e4e5eb;
  padding: 1rem 1.2rem;
  color: #5d646f;
  text-align: center;
  font-size: 0.96rem;
  line-height: 1.4;
}

.idv-hosted-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.idv-hosted-actions > * {
  flex: 1;
}

.idv-primary-btn {
  border: 0;
  width: 100%;
  border-radius: 8px;
  min-height: 58px;
  background: #1f7a86;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.scene.idv-hosted-scene[data-scene="ENR-05A"] .idv-hosted-actions {
  margin-top: 0;
  padding: 1rem 1.2rem 1.35rem;
}

.scene.idv-hosted-scene[data-scene="ENR-05A"] .idv-primary-btn {
  min-height: 58px;
  border-radius: 10px;
  font-size: 1.1rem;
}

.idv-primary-btn.is-disabled {
  background: #85b4bc;
}

.idv-phone-frame {
  overflow: hidden;
}

.idv-step-title-bar {
  min-height: 52px;
  border-bottom: 1px solid #e4e6ec;
  text-align: center;
  font-size: 1.03rem;
  color: #2a2f38;
  font-weight: 600;
  position: relative;
  padding-top: 0.8rem;
}

.idv-progress-line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: #1f7a86;
  border-radius: 0 4px 4px 0;
}

.idv-progress-20 { width: 20%; }
.idv-progress-32 { width: 32%; }
.idv-progress-45 { width: 45%; }
.idv-progress-58 { width: 58%; }
.idv-progress-70 { width: 70%; }
.idv-progress-82 { width: 82%; }
.idv-progress-92 { width: 92%; }
.idv-progress-100 { width: 100%; }

.idv-phone-content {
  padding: 1.25rem 1.2rem 1.15rem;
  min-height: 410px;
}

.idv-centered-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.5rem;
}

.idv-phone-content h1 {
  margin: 0;
  color: #161d27;
  font-size: 1.45rem;
  line-height: 1.35;
}

.idv-muted {
  margin: 0.58rem 0 0;
  color: #7b838f;
  font-size: 1.05rem;
  line-height: 1.42;
  text-align: center;
}

.idv-muted-tight {
  margin: 0.95rem 0 0;
  color: #8b919a;
  font-size: 1rem;
}

.idv-link-text {
  margin: 0.5rem 0 0;
  color: #1f6f7a;
  font-size: 1.08rem;
  font-weight: 700;
}

.idv-phone-input {
  margin-top: 1rem;
  border: 1px solid #dde0e6;
  border-radius: 10px;
  min-height: 60px;
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.85rem;
  color: #444d59;
  font-size: 1.08rem;
}

.idv-placeholder {
  color: #b8bcc3;
}

.idv-placeholder.is-filled {
  color: #444d59;
}

.idv-bottom-pad {
  padding: 0.95rem 1.2rem 1.05rem;
}

.idv-powered {
  width: fit-content;
  margin: 0.85rem auto 0;
  border: 1px solid #eceef3;
  border-radius: 8px;
  background: #fff;
  color: #2e3440;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.42rem 0.9rem;
}

.idv-icon-circle {
  width: 66px;
  height: 66px;
  border: 1px solid #ced3dc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-top: 0.4rem;
}

.idv-centered-content .idv-icon-circle {
  margin-bottom: 1.5rem;
}

.idv-icon-circle.lg {
  width: 126px;
  height: 126px;
  font-size: 2rem;
  margin-top: 0.7rem;
}

.idv-centered-content .idv-icon-circle.lg {
  margin-bottom: 1.5rem;
}

.idv-code-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.9rem;
}

.idv-code-cell {
  min-height: 58px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: #9a9ea5;
}

.idv-code-cell.is-active {
  border-color: #1f7a86;
  box-shadow: inset 0 0 0 1px #1f7a86;
}

.idv-divider {
  margin: 1rem 0 0.9rem;
  width: 100%;
  border-bottom: 1px solid #eceff4;
}

.idv-inline-actions {
  width: 100%;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.idv-muted-tight + .idv-ghost-btn {
  margin-top: 1.25rem;
}

.idv-ghost-btn {
  border: 1px solid #d9dde4;
  border-radius: 10px;
  background: #fff;
  color: #1f7a86;
  min-height: 46px;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.idv-restart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  font-size: 1.1em;
  line-height: 1;
}

.idv-restart-icon::before {
  content: "\21BA";
  color: #1f7a86;
}

.idv-icon-card {
  width: 100px;
  height: 74px;
  border: 2px solid #207884;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-top: 1.1rem;
}

.idv-centered-content .idv-icon-card {
  margin-bottom: 1.5rem;
}

.idv-success-check {
  margin-top: 1.25rem;
  color: #1f7a86;
  font-size: 3rem;
  line-height: 1;
}

.idv-centered-content .idv-success-check {
  margin-bottom: 1.5rem;
}

.idv-fail-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1f7a86;
  color: #1f7a86;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-top: 1.3rem;
}

.idv-centered-content .idv-fail-icon {
  margin-bottom: 1.5rem;
}

.idv-qr-grid {
  margin-top: 0.95rem;
  width: 252px;
  height: 252px;
  border: 10px solid #1f7a86;
  border-radius: 4px;
  background:
    linear-gradient(90deg, #1f7a86 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(#1f7a86 10px, transparent 10px) 0 0 / 24px 24px,
    #fff;
}

.idv-symbol {
  position: relative;
  display: inline-block;
}

.idv-symbol-chat {
  width: 32px;
  height: 28px;
  border: 2px solid #1f7a86;
  border-radius: 14px 14px 14px 3px;
}

.idv-symbol-chat::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1f7a86;
  box-shadow: 9px 0 0 #1f7a86, 18px 0 0 #1f7a86;
}

.idv-symbol-chat::after {
  content: none;
}

.idv-symbol-phone {
  width: 18px;
  height: 30px;
  border: 2px solid #1f7a86;
  border-radius: 4px;
}

.idv-symbol-phone::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 8px;
  height: 2px;
  background: #1f7a86;
}

.idv-symbol-phone::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1f7a86;
}

.idv-symbol-id {
  width: 58px;
  height: 38px;
}

.idv-symbol-id::before,
.idv-symbol-id::after {
  content: "";
  position: absolute;
  background: #1f7a86;
}

.idv-symbol-id::before {
  left: 6px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.idv-symbol-id::after {
  right: 6px;
  top: 9px;
  width: 28px;
  height: 4px;
  box-shadow: 0 8px 0 #1f7a86;
}

.idv-symbol-fail {
  width: 26px;
  height: 26px;
  border: 3px solid #1f7a86;
  border-radius: 50%;
}

.idv-symbol-fail::before {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #1f7a86;
  font-size: 1rem;
  font-weight: 700;
}

.processing-shell {
  text-align: center;
}

.provisioning-checklist {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.provisioning-checklist li {
  margin: 0 0 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.provision-step-label {
  text-align: left;
}

.provision-status {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1px solid #b7c9cf;
  color: #2a5f68;
  background: #eef6f7;
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  white-space: nowrap;
}

.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #d8d8d8;
  border-top-color: var(--brand-teal);
  margin: 0 auto 0.9rem;
  animation: spin 1s linear infinite;
}

.email-pill {
  display: inline-block;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: #454545;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes secureMenuEnter {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .secure-menu-panel {
    animation: none;
  }

  .spinner {
    animation: none;
  }
}

@media (max-width: 920px) {
  .internal-grid,
  .home-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-card,
  .home-card--wide {
    grid-column: span 1;
    min-height: auto;
  }

  .utility-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .brand-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-bar nav ul {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .home-cards {
    grid-template-columns: 1fr;
  }

  .home-card,
  .home-card--wide {
    grid-column: span 1;
  }

  .hero-overlay h2 {
    font-size: 1.4rem;
  }
}
