/* Shared components for About / How It Works / FAQ / Contact */

.page-hero { padding: 60px 0 20px; text-align: center; }
.page-hero .h1 { margin: 16px auto 14px; max-width: 760px; }
.page-hero .lead { max-width: 620px; margin: 0 auto; }

/* Timeline */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 34px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: 8px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-raised); border: 2px solid var(--blue-600); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: var(--blue-600); z-index: 1; }
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--blue-600); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: minmax(0, 1fr); } }
.value-card { padding: 28px 24px; text-align: left; }
.value-card .icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Comparison table (us vs traditional) */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: center; font-size: .92rem; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { font-family: var(--font-head); background: var(--surface-alt); font-size: .8rem; }
.compare-table thead th.brand-col { background: var(--navy-900); color: #fff; }
.compare-table tbody tr { border-top: 1px solid var(--border); }
.compare-table td.brand-col { background: var(--blue-100); font-weight: 700; color: var(--blue-600); }
.compare-table .yes { color: var(--emerald-500); font-weight: 700; }
.compare-table .no { color: var(--text-400); }

/* Team */
.team-section { position: relative; overflow: hidden; }
.team-section::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.14), transparent 70%);
  pointer-events: none; z-index: 0;
}
.team-section::after {
  content: ""; position: absolute; bottom: -140px; left: -140px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.12), transparent 70%);
  pointer-events: none; z-index: 0;
}
.team-section .container { position: relative; z-index: 1; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
@media (max-width: 560px) { .team-grid { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin: 0 auto; } }

.team-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  padding: 0;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }

.team-photo-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-alt); }
.team-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--ease);
}
.team-card:hover .team-photo-wrap img { transform: scale(1.09) rotate(0.3deg); }
.team-photo-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,11,24,.65) 100%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.team-card:hover .team-photo-wrap::after { opacity: 1; }

.team-info { padding: 20px 22px 24px; position: relative; }
.team-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
  color: var(--text-900); transition: color .35s var(--ease);
}
.team-card:hover .team-name { color: var(--blue-600); }
.team-role { font-size: .86rem; color: var(--text-400); margin-top: 4px; }
.team-bar {
  height: 3px; width: 34px; margin-top: 16px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--emerald-500));
  transition: width .45s var(--ease);
}
.team-card:hover .team-bar { width: 68px; }

@media (max-width: 900px) {
  .team-section::before, .team-section::after { display: none; }
}

/* Licensing strip */
.license-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.license-chip { display: flex; align-items: center; gap: 10px; background: var(--surface-raised); border: 1px solid var(--border); padding: 12px 20px; border-radius: var(--radius-pill); font-size: .86rem; font-weight: 600; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-info-card { display: flex; gap: 16px; padding: 22px; align-items: flex-start; }
.contact-info-card .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card > div:last-child { min-width: 0; overflow-wrap: break-word; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }

/* FAQ categories */
.faq-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.faq-tab { padding: 10px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); background: var(--surface); font-weight: 600; font-size: .88rem; color: var(--text-600); }
.faq-tab.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.faq-category { display: none; }
.faq-category.active { display: block; }

/* Legal pages */
.legal-shell { padding: 56px 0 100px; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 50px; align-items: start; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } }
.legal-toc { position: sticky; top: 96px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.legal-toc h4 { font-size: .78rem; text-transform: uppercase; color: var(--text-400); letter-spacing: .05em; margin-bottom: 12px; }
.legal-toc ul { display: flex; flex-direction: column; gap: 9px; }
.legal-toc a { font-size: .86rem; color: var(--text-600); }
.legal-toc a:hover { color: var(--blue-600); }
.legal-content h2 { margin: 40px 0 14px; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-600); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; list-style: disc; }
.legal-updated { font-size: .84rem; color: var(--text-400); margin-bottom: 30px; }
