/* DVMReady support routes: resources, testimonials, and lightweight utility pages. */
@import url('/assets/css/tokens.css?visual-20260718');
@import url('/assets/css/site-chrome.css?visual-20260718');

body.support-page {
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.08) 0%, rgba(15, 118, 110, 0) 30%),
    linear-gradient(240deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 34%),
    linear-gradient(180deg, #f8fafc 0%, var(--dvm-cool-white) 38%, var(--dvm-surface-soft) 100%);
}

.support-page .site-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
}

.support-page .hero-section {
  padding: 72px 0 52px;
}

.support-page .hero-copy {
  max-width: 780px;
}

.support-page .eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 7px 13px;
  color: var(--brand-strong);
}

.support-page h1 {
  max-width: 17ch;
  color: var(--dvm-navy);
  letter-spacing: 0;
}

.support-page .hero-lede {
  max-width: 660px;
  color: var(--dvm-text-muted);
  font-size: 1.06rem;
}

.support-page .section-band {
  padding: 10px 0 76px;
}

.support-page .route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.support-page .route-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 118, 110, 0.14);
  background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
}

.support-page .route-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 1;
  transform: none;
}

.support-page .route-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, #2563eb, var(--brand));
}

.support-page .route-card:nth-child(3n + 3)::before {
  background: linear-gradient(90deg, var(--accent), #2563eb);
}

.support-page .route-card span {
  width: fit-content;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-strong);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-page .route-card:nth-child(3n + 2) span {
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.12);
  color: #8a5a1c;
}

.support-page .route-card:nth-child(3n + 3) span {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.testimonial-section {
  padding: 36px 0 76px;
}

.testimonial-section__title {
  margin: 0 auto 28px;
  max-width: 680px;
  color: #102A43;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.18;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
  box-shadow: var(--shadow-soft);
  padding: 26px;
  margin: 0;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.testimonial-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, #2563eb, var(--brand));
}

.testimonial-card:nth-child(3n + 3)::before {
  background: linear-gradient(90deg, var(--accent), #2563eb);
}

.testimonial-card__quote {
  margin: 0 0 18px;
  color: #3d4f53;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.65;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.10);
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.testimonial-card:nth-child(3n + 2) .testimonial-avatar {
  background: rgba(37, 99, 235, 0.12);
  color: #8a5a1c;
}

.testimonial-card:nth-child(3n + 3) .testimonial-avatar {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.testimonial-card strong {
  display: block;
  color: #102A43;
  font-size: 0.95rem;
}

.testimonial-card span {
  color: #52606D;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .support-page .hero-section {
    padding: 52px 0 36px;
  }

  .support-page .section-band,
  .testimonial-section {
    padding-bottom: 54px;
  }
}

body.error-page {
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.12) 0%, rgba(15, 118, 110, 0) 32%),
    linear-gradient(240deg, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 34%),
    linear-gradient(180deg, #EEF3F6 0%, #F6F8FA 45%, #F8FAFC 100%);
  color: #102A43;
  padding: 118px 24px 28px;
}

.error-skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 120;
  border-radius: 999px;
  background: #fff;
  color: #102A43;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.error-skip:focus {
  top: 16px;
}

.error-panel {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 56px rgba(20, 33, 47, 0.12);
  padding: 42px 32px 36px;
}

.error-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, #0f766e, #2563EB, #2563eb);
}

.error-page .brand {
  margin-bottom: 24px;
  justify-content: center;
}

.error-page h1 {
  color: #102A43;
  letter-spacing: 0;
}

.error-page h2 {
  color: #102A43;
  font-weight: 800;
}

.error-page .btn-primary {
  background: #102A43;
}

.error-page .btn-primary:hover {
  box-shadow: 0 8px 18px rgba(20, 33, 47, 0.16);
}

.error-page .btn-secondary {
  background: #fff;
}

.error-page .footer {
  width: min(100%, 760px);
}

@media (max-width: 640px) {
  body.error-page {
    padding: 138px 16px 22px;
  }

  .error-panel {
    border-radius: 22px;
    padding: 34px 20px 28px;
  }
}
