/* Verification Guide. Loaded only by templates/pages/verification_guide.html.

   COLOUR RULE, per the brief: the existing JoberTrust design system is the
   source of truth for colour; the reference design is the source of truth for
   layout. So no emerald-*, no blue-*, no new hex values. Everything below
   resolves to tokens already in jobertrust.css:

     green  --jt-secondary / --jt-success-soft   verified, completed, checks
     blue   --jt-info / --jt-info-soft           brand + verification identity
     navy   --jt-primary / --jt-primary-container  headings, dark band
     amber  --jt-warning-*                       "does not mean" caveats

   Blue and green are both used, neither dominates. */

.vg { padding-bottom: var(--jt-3xl); }

/* --- Breadcrumb --------------------------------------------------------- */

.vg-crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: var(--jt-md);
  font-size: 13px;
  color: var(--jt-on-surface-variant);
  min-width: 0;
}
.vg-crumbs a { color: inherit; text-decoration: none; }
.vg-crumbs a:hover { color: var(--jt-secondary); text-decoration: underline; }
.vg-crumbs .material-symbols-outlined { font-size: 16px; color: var(--jt-outline-variant); }
.vg-crumbs [aria-current] { color: var(--jt-on-surface); font-weight: 600; }

/* --- Hero --------------------------------------------------------------- */

.vg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--jt-xl);
  align-items: center;
  padding-block: var(--jt-xl) var(--jt-2xl);
}
@media (min-width: 1024px) {
  .vg-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--jt-2xl);
    padding-block: var(--jt-2xl) var(--jt-3xl);
  }
}

.vg-hero-copy { min-width: 0; }

.vg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--jt-md);
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e40af;
  background-color: var(--jt-info-soft);
  border: 1px solid var(--jt-info-line);
  border-radius: var(--jt-radius-full);
}
.vg-eyebrow .material-symbols-outlined { font-size: 14px; }

.vg-h1 {
  margin: 0 0 var(--jt-md);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--jt-primary);
}
@media (min-width: 768px)  { .vg-h1 { font-size: 42px; } }
@media (min-width: 1024px) { .vg-h1 { font-size: 50px; } }

.vg-lede {
  margin: 0 0 10px;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--jt-on-surface-variant);
}
@media (min-width: 768px) { .vg-lede { font-size: 17px; } }

.vg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jt-sm);
  margin-top: var(--jt-lg);
}
.vg-hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .vg-hero-actions .btn { flex: 0 0 auto; } }

/* Capped height: the artwork is 1024x1536 portrait and would otherwise
   render ~840px tall in a 480px column and swallow the viewport. */
.vg-hero-media { min-width: 0; }
.vg-hero-img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1024 / 1536;
  max-height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--jt-radius-2xl);
}
@media (min-width: 640px)  { .vg-hero-img { max-height: 440px; } }
@media (min-width: 1024px) { .vg-hero-img { max-height: 520px; } }
@media (min-width: 1280px) { .vg-hero-img { max-height: 560px; } }

/* --- Section furniture -------------------------------------------------- */

.vg-section { margin-bottom: var(--jt-2xl); min-width: 0; }
@media (min-width: 768px) { .vg-section { margin-bottom: var(--jt-3xl); } }

.vg-head { margin-bottom: var(--jt-lg); max-width: 46rem; }
.vg-h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--jt-primary);
}
@media (min-width: 768px) { .vg-h2 { font-size: 30px; } }
.vg-sub { margin: 0; font-size: 15px; line-height: 1.6; color: var(--jt-on-surface-variant); }

/* --- Why verification matters ------------------------------------------- */

.vg-why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px)  { .vg-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vg-why { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--jt-md); } }

.vg-why-card {
  padding: var(--jt-md);
  min-width: 0;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius-lg);
  box-shadow: var(--jt-shadow-sm);
}
@media (min-width: 768px) { .vg-why-card { padding: var(--jt-lg); } }
.vg-why-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--jt-on-surface-variant); }

.vg-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--jt-secondary);
  background-color: var(--jt-success-soft);
  border-radius: var(--jt-radius);
}
.vg-why-icon .material-symbols-outlined { font-size: 22px; }
.vg-why-title { margin: 0 0 5px; font-size: 15px; font-weight: 700; color: var(--jt-primary); }

/* --- Profile statuses --------------------------------------------------- */

.vg-statuses { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .vg-statuses { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--jt-md); } }

.vg-status {
  padding: var(--jt-md);
  min-width: 0;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius-lg);
  box-shadow: var(--jt-shadow-sm);
}
@media (min-width: 768px) { .vg-status { padding: var(--jt-lg); } }
.vg-status p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: var(--jt-on-surface-variant); }
.vg-status p:last-child { margin-bottom: 0; }
.vg-status-verified { border-color: var(--jt-success-line); }

.vg-status-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--jt-radius-full);
}
.vg-status-label .material-symbols-outlined { font-size: 14px; }
.vg-status-label-none    { color: var(--jt-on-surface-variant);     background-color: var(--jt-surface-container-low); border-color: var(--jt-outline-variant); }
.vg-status-label-claimed { color: #1e40af;                          background-color: var(--jt-info-soft);    border-color: var(--jt-info-line); }
.vg-status-label-verified{ color: var(--jt-on-secondary-container);  background-color: var(--jt-success-soft); border-color: var(--jt-success-line); }

.vg-status-title { margin: 0 0 8px; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--jt-primary); }
.vg-status-note {
  font-size: 13px !important;
  color: var(--jt-outline) !important;
}
.vg-status-warn {
  padding-left: 11px;
  border-left: 3px solid var(--jt-warning-line);
  font-size: 13px !important;
  color: var(--jt-on-surface) !important;
  font-weight: 600;
}

/* --- Verification tiers ------------------------------------------------- */

.vg-tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: var(--jt-lg); }
@media (min-width: 900px) { .vg-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--jt-md); } }

.vg-tier {
  display: flex;
  flex-direction: column;
  padding: var(--jt-md);
  min-width: 0;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius-lg);
  box-shadow: var(--jt-shadow-sm);
}
@media (min-width: 768px) { .vg-tier { padding: var(--jt-lg); } }
.vg-tier-lead { border-color: var(--jt-secondary); box-shadow: var(--jt-shadow); }

.vg-tier-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--jt-radius-full);
}
.vg-tier-label-1 { color: var(--jt-on-surface-variant);     background-color: var(--jt-surface-container-low); border-color: var(--jt-outline-variant); }
.vg-tier-label-2 { color: #1e40af;                          background-color: var(--jt-info-soft);    border-color: var(--jt-info-line); }
.vg-tier-label-3 { color: var(--jt-on-secondary-container);  background-color: var(--jt-success-soft); border-color: var(--jt-success-line); }

.vg-tier-title { margin: 0 0 5px; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--jt-primary); }
.vg-tier-desc { margin: 0 0 var(--jt-md); font-size: 14px; line-height: 1.55; color: var(--jt-on-surface-variant); }

.vg-verified-list { margin: 0 0 var(--jt-md); padding: 0; list-style: none; display: grid; gap: 8px; }
.vg-verified-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--jt-on-surface);
}
.vg-verified-list .material-symbols-outlined { flex: 0 0 auto; font-size: 17px; color: var(--jt-secondary); }

.vg-tier-note {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--jt-outline-variant);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--jt-outline);
}

/* --- Progression -------------------------------------------------------- */

.vg-progress {
  padding: var(--jt-md);
  min-width: 0;
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius-lg);
}
@media (min-width: 768px) { .vg-progress { padding: var(--jt-lg); } }
.vg-progress-lead { margin: 0 0 var(--jt-md); font-size: 14px; font-weight: 600; color: var(--jt-on-surface); }

.vg-progress-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 var(--jt-md);
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media (min-width: 640px) { .vg-progress-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.vg-progress-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px var(--jt-md);
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius);
}
.vg-progress-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 700;
  color: var(--jt-on-secondary);
  background-color: var(--jt-secondary);
  border-radius: var(--jt-radius-full);
}
.vg-progress-body { display: block; min-width: 0; font-size: 13px; color: var(--jt-on-surface-variant); }
.vg-progress-body strong { display: block; font-size: 13px; font-weight: 700; color: var(--jt-on-surface); }
.vg-progress-note { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--jt-outline); }

/* --- "Does not mean" band ----------------------------------------------- */

.vg-band {
  padding-block: var(--jt-2xl);
  margin-bottom: var(--jt-2xl);
  background-color: var(--jt-surface-container);
  border-block: 1px solid var(--jt-outline-variant);
}
@media (min-width: 768px) { .vg-band { padding-block: var(--jt-3xl); } }
.vg-band-inner { max-width: 50rem; min-width: 0; }

.vg-band-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--jt-md);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--jt-primary);
}
@media (min-width: 768px) { .vg-band-title { font-size: 28px; } }
.vg-band-title .material-symbols-outlined { flex: 0 0 auto; font-size: 26px; color: var(--jt-warning); }

.vg-band-lead { margin: 0 0 var(--jt-lg); font-size: 15px; line-height: 1.7; color: var(--jt-on-surface-variant); }
@media (min-width: 768px) { .vg-band-lead { font-size: 16px; } }
.vg-band-sub { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jt-on-surface); }

.vg-band-list {
  margin: 0;
  padding: var(--jt-md);
  list-style: none;
  display: grid;
  gap: 9px;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-left: 3px solid var(--jt-warning);
  border-radius: var(--jt-radius);
}
.vg-band-list li {
  position: relative;
  padding-left: 20px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--jt-on-surface-variant);
}
.vg-band-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 2px;
  background-color: var(--jt-outline);
  border-radius: 1px;
}

/* --- Trust flow --------------------------------------------------------- */

.vg-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--jt-lg);
  padding: 0;
  list-style: none;
  min-width: 0;
}
.vg-flow li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jt-on-surface-variant);
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius);
}
.vg-flow .material-symbols-outlined { flex: 0 0 auto; font-size: 18px; color: var(--jt-info); }
.vg-flow-end {
  color: var(--jt-on-secondary-container) !important;
  background-color: var(--jt-success-soft) !important;
  border-color: var(--jt-success-line) !important;
}
.vg-flow-end .material-symbols-outlined { color: var(--jt-secondary); }

.vg-consider {
  padding: var(--jt-md);
  min-width: 0;
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius-lg);
}
@media (min-width: 768px) { .vg-consider { padding: var(--jt-lg); } }
.vg-consider-lead { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--jt-on-surface); }

.vg-consider-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  margin: 0 0 var(--jt-md);
  padding: 0;
  list-style: none;
}
@media (min-width: 640px)  { .vg-consider-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vg-consider-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vg-consider-list li {
  position: relative;
  padding-left: 22px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--jt-on-surface-variant);
}
.vg-consider-list li::before {
  content: "check";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Material Symbols Outlined";
  font-size: 15px;
  color: var(--jt-secondary);
}
.vg-consider-note { margin: 0; font-size: 13px; line-height: 1.6; font-weight: 600; color: var(--jt-on-surface); }

/* --- FAQ ---------------------------------------------------------------- */

.vg-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; }
@media (min-width: 768px) { .vg-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.vg-faq-item {
  padding: 14px var(--jt-md);
  min-width: 0;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius-lg);
  transition: border-color var(--jt-transition), box-shadow var(--jt-transition);
}
.vg-faq-item[open] { border-color: var(--jt-secondary); box-shadow: var(--jt-shadow-sm); }

.vg-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--jt-on-surface);
  cursor: pointer;
  list-style: none;
}
.vg-faq-item summary::-webkit-details-marker { display: none; }
.vg-faq-item summary::after {
  content: "add";
  flex: 0 0 auto;
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  font-weight: 400;
  color: var(--jt-outline);
}
.vg-faq-item[open] summary::after { content: "remove"; color: var(--jt-secondary); }
.vg-faq-item summary:focus-visible { outline: 2px solid var(--jt-secondary); outline-offset: 3px; border-radius: var(--jt-radius-sm); }

.vg-faq-item p {
  margin: 10px 0 0;
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--jt-on-surface-variant);
  border-top: 1px solid var(--jt-outline-variant);
}

/* --- CTA ---------------------------------------------------------------- */

.vg-cta { padding-block: var(--jt-xl); background-color: var(--jt-surface-container); }
.vg-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--jt-md);
  text-align: center;
  min-width: 0;
}
@media (min-width: 900px) {
  .vg-cta-inner { flex-direction: row; align-items: center; text-align: left; gap: var(--jt-lg); }
  .vg-cta-copy { flex: 1 1 auto; min-width: 0; }
}

.vg-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  color: var(--jt-secondary);
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-success-line);
  border-radius: var(--jt-radius-full);
}
.vg-cta-icon .material-symbols-outlined { font-size: 26px; }
.vg-cta-title { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--jt-primary); }
@media (min-width: 768px) { .vg-cta-title { font-size: 24px; } }
.vg-cta-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--jt-on-surface-variant); }
.vg-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--jt-sm); flex: 0 0 auto; }
.vg-cta-actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .vg-cta-actions .btn { flex: 0 0 auto; } }
