/* ============================================================
   Seli website — Company page styles (css/company.css)
   Loaded AFTER seli.css + category.css. Used by careers.html,
   investors.html and contact.html. Reuses the design tokens and
   component styles defined there (cards, feature lists, etc.).
   ============================================================ */

/* ── SECTION EYEBROW BADGE (reusable) ──────────────────────── */
/* Small coloured pill that labels a section (e.g. "Open roles",
   "The opportunity"). Mirrors .merchant-badge from seli.css but
   generic so it works on any company page. */
.cmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: var(--seli-red-bg);
  color: var(--seli-red);
  border: 1px solid rgba(249, 41, 95, 0.25);
}

/* ── BENEFIT / VALUE CARDS (Why join Seli) ─────────────────── */
/* Icon card variant used for culture & benefits grids. Pairs
   with .cat-feature-card sizing but adds a tinted icon tile. */
.vc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* ── OPEN ROLES LIST ───────────────────────────────────────── */
/* Narrower cards so several roles fit the grid; each row shows
   the role title, its meta tags (team / location / type) and an
   apply action on the right. */
.role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.role-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.role-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  background: var(--seli-bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px 10px;
  text-transform: uppercase;
}
.role-apply {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--seli-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.role-apply:hover {
  color: var(--seli-red);
  text-decoration: underline;
}

/* ── CONTACT CHANNEL CARDS ─────────────────────────────────── */
/* Tinted icon tile + a breakdown of what that channel is for,
   with a clickable email address. */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: all 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.contact-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.contact-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.contact-mail {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--seli-red);
  text-decoration: none;
  word-break: break-all;
}
.contact-mail:hover {
  text-decoration: underline;
}

/* ── CONTACT FORM ──────────────────────────────────────────── */
/* The contact page's primary form. Inputs use the site tokens so
   the form matches the rest of the design system. */
.cmp-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 40px 34px;
}
.cmp-form-control {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--seli-bg);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cmp-form-control:focus {
  outline: none;
  border-color: var(--seli-red);
  box-shadow: 0 0 0 3px rgba(249, 41, 95, 0.12);
  background: #fff;
}
textarea.cmp-form-control {
  resize: vertical;
  min-height: 140px;
}
.cmp-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.cmp-form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ── FAQ (Bootstrap accordion overrides) ───────────────────── */
/* Tighten Bootstrap's default accordion typography/styling to
   match the site. */
.cmp-faq .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.cmp-faq .accordion-button {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px 22px;
  font-size: 1rem;
}
.cmp-faq .accordion-button:not(.collapsed) {
  color: var(--seli-red);
  background: rgba(249, 41, 95, 0.04);
  box-shadow: none;
}
.cmp-faq .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}
.cmp-faq .accordion-body {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 6px 22px 22px;
}

/* ── LEGAL / POLICY DOCUMENTS (privacy, terms, etc.) ───────── */
/* Long-form document styling for pages like privacy.html: a
   table of contents, tight legal typography and plain tables. */
.policy-toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px 36px;
}
.policy-toc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.policy-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 28px;
}
.policy-toc a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.policy-toc a:hover {
  color: var(--seli-red);
}
.policy-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legal-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 36px;
  margin-bottom: 20px;
}
.legal-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.legal-headrule {
  border: 0;
  border-top: 3px solid var(--seli-red);
  width: 48px;
  opacity: 1;
  margin: 12px 0 22px;
}
.legal-h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 26px 0 10px;
}
.legal-p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 12px;
}
.legal-p strong {
  color: var(--text-primary);
}
.legal-list {
  margin: 0 0 14px 0;
  padding-left: 22px;
  list-style: none;
}
.legal-list li {
  position: relative;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 4px;
  margin-bottom: 8px;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seli-red);
}
.legal-list li strong {
  color: var(--text-primary);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.legal-table th {
  background: var(--seli-bg);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.legal-table td strong {
  color: var(--text-primary);
}
.legal-callout {
  background: rgba(249, 41, 95, 0.05);
  border: 1px solid rgba(249, 41, 95, 0.18);
  border-left: 4px solid var(--seli-red);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 16px 0;
}
.legal-callout strong {
  color: var(--text-primary);
}
.back-to-top {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--seli-red);
  text-decoration: none;
}
.back-to-top:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .policy-toc,
  .legal-section {
    padding: 24px 20px;
  }
  .legal-table th,
  .legal-table td {
    white-space: normal;
  }
}

/* ── STATS BAND (big numbers) ──────────────────────────────── */
/* Dark band of headline stats used on careers/investors pages
   to give the hero numbers a home. */
.stats-band {
  background: var(--seli-dark);
  border-radius: 20px;
  padding: 48px 24px;
  color: #fff;
}
.stats-band .stat-n {
  color: var(--seli-lime);
}
.stats-band .stat-l {
  color: rgba(255, 255, 255, 0.7);
}
