/* ── Legal pages ── */
.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  flex: 1;
}

.page-container h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

[data-theme="light"] .page-container h1 {
  color: #1d1d1f;
}

.legal-content {
  line-height: 1.8;
  color: var(--text);
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--primary);
}

.legal-content ul, .legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ── Detail page content ── */
.page-container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

[data-theme="light"] .page-container h2 {
  color: #1d1d1f;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: var(--text);
}

[data-theme="light"] .legal-content h1,
[data-theme="light"] .legal-content h2,
[data-theme="light"] .legal-content h3 {
  color: var(--text);
}

.page-container p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.page-container p:first-of-type {
  font-size: 1.15rem;
  color: var(--text);
}

.page-container a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.page-container a:hover {
  text-decoration: underline;
}

/* ── Hiring list ── */
.hiring-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.hiring-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hiring-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}


/* ── About Page ── */
.about-page {
  max-width: 900px;
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
}

[data-theme="light"] .about-hero h1 {
  color: #1d1d1f;
}

.about-lead {
  font-size: 1.2rem !important;
  color: var(--text-muted) !important;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s;
}

.about-card:hover {
  border-color: var(--primary);
}

[data-theme="light"] .about-card {
  background: rgba(0, 0, 0, 0.02);
}

.about-card-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #fff;
}

[data-theme="light"] .about-card h2 {
  color: #1d1d1f;
}

.about-card p {
  font-size: 1.05rem !important;
  color: var(--text-muted) !important;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

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

/* ── About Careers CTA ── */
.about-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-careers-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-careers-link:hover {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.about-careers-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.about-careers-link:hover svg {
  transform: translateX(3px);
}

