/* ==========================================================================
   Skill Library — Legal & Info Pages Shared Styles
   Imports all variables and base styles from styles.css
   ========================================================================== */

/* ── Page Hero Banner ── */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
    rgba(16,185,129,0.07) 0%,
    rgba(245,158,11,0.03) 50%,
    transparent 100%);
  pointer-events: none;
}

.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-decoration: none;
}

.page-hero .breadcrumb a {
  color: var(--accent-emerald);
  text-decoration: none;
}

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

.page-hero .breadcrumb span {
  color: var(--text-dark);
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.08);
  color: var(--accent-emerald);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  border: 1px solid rgba(16,185,129,0.15);
}

.page-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-hero h1 span {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p.page-hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.page-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-dark);
  flex-wrap: wrap;
}

.page-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-hero-meta svg {
  color: var(--accent-emerald);
}

/* ── Prose Content Layout ── */
.prose-section {
  padding: 60px 0 100px;
}

.prose-container {
  max-width: 820px;
  margin: 0 auto;
}

.prose-container h2 {
  font-family: var(--font-title);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  margin-top: 52px;
  margin-bottom: 16px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prose-container h2 .h2-icon {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.prose-container h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.prose-container p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.prose-container strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose-container a {
  color: var(--accent-emerald);
  text-decoration: none;
  border-bottom: 1px solid rgba(16,185,129,0.3);
  transition: border-color 0.2s;
}

.prose-container a:hover {
  border-color: var(--accent-emerald);
}

.prose-container ul,
.prose-container ol {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 18px;
  padding-left: 0;
  list-style: none;
}

.prose-container ul li,
.prose-container ol li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.prose-container ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-size: 11px;
  top: 4px;
}

.prose-container ol {
  counter-reset: prose-counter;
}

.prose-container ol li {
  counter-increment: prose-counter;
}

.prose-container ol li::before {
  content: counter(prose-counter) ".";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 14px;
}

/* ── Highlight Callout Box ── */
.prose-callout {
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(245,158,11,0.04));
  border: 1px solid rgba(16,185,129,0.15);
  border-left: 4px solid var(--accent-emerald);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.prose-callout p {
  margin-bottom: 0;
  font-size: 15px;
}

.prose-callout.gold {
  border-left-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(16,185,129,0.03));
  border-color: rgba(245,158,11,0.15);
}

/* ── Info Cards Grid ── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(16,185,129,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16,185,129,0.1);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.info-card.gold-icon .info-card-icon {
  background: rgba(245,158,11,0.1);
  color: var(--accent-gold);
}

.info-card h3 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.info-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ── FAQ Section (Legal Pages) ── */
.legal-faq {
  margin-top: 52px;
}

.legal-faq-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text-primary);
}

/* ── Last Updated Badge ── */
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-dark);
  margin-bottom: 36px;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  text-decoration: none;
  transition: var(--transition);
}

.contact-channel-card:hover {
  border-color: rgba(16,185,129,0.25);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16,185,129,0.1);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.gold {
  background: rgba(245,158,11,0.1);
  color: var(--accent-gold);
}

.channel-icon.purple {
  background: rgba(139,92,246,0.1);
  color: #8b5cf6;
}

.channel-icon.blue {
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
}

.channel-info h3 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.channel-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
  line-height: 1.4;
}

.channel-info .channel-link {
  font-size: 13px;
  color: var(--accent-emerald);
  font-weight: 600;
  border: none;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold));
}

.contact-form-wrapper h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-form-wrapper p.form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 2px;
}

.form-group select option {
  background: var(--bg-card);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.response-time-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.response-time-box svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ── About Page — Mission/Vision Cards ── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.mission-card h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission-card h3 svg {
  color: var(--accent-emerald);
}

.mission-card.gold h3 svg {
  color: var(--accent-gold);
}

.mission-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Stats row inside about ── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.about-stat .as-value {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat .as-label {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ── CTA Block at bottom ── */
.prose-cta-block {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(245,158,11,0.05));
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 64px;
}

.prose-cta-block h2 {
  font-family: var(--font-title);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 14px;
  border: none;
  margin-top: 0;
  padding: 0;
  display: block;
}

.prose-cta-block h2 .h2-icon {
  display: none;
}

.prose-cta-block p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 16px;
}

.prose-cta-block .btn {
  font-size: 15px;
  padding: 16px 32px;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 52px 0 40px;
  }

  .prose-section {
    padding: 40px 0 72px;
  }

  .info-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .prose-cta-block {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 28px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .prose-container h2 {
    font-size: 19px;
  }

  .prose-container p,
  .prose-container ul li,
  .prose-container ol li {
    font-size: 15px;
  }
}
