/* ═══════════════════════════════════════════════════════
   PAGE-SPECIFIC COMPONENTS — timeline, forms, compare, faq
   Built on the existing design tokens.
   ═══════════════════════════════════════════════════════ */

/* ── GCI Timeline (path.html) ──────────────────────────── */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 860px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
}
.tl-item {
  position: relative;
  padding-left: var(--space-12);
  padding-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--gold);
}
.tl-phase {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}
.tl-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.tl-gci {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--navy-600);
  margin-bottom: var(--space-4);
}
.tl-item p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 60ch;
}

/* ── Support grid (path.html) ──────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  border: 1px solid rgba(255,255,255,0.14);
}
.support-card {
  background: rgba(255,255,255,0.04);
  padding: var(--space-8);
  border-right: 1px solid rgba(255,255,255,0.14);
}
.support-card:last-child { border-right: none; }
.support-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: var(--space-3);
}
.support-card p { font-size: var(--text-sm); color: rgba(255,255,255,0.72); line-height: 1.65; }

/* ── Apply: dual cards ─────────────────────────────────── */
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.path-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
}
.path-card--feature {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.path-card .tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}
.path-card--feature .tag { color: var(--gold-light); }
.path-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.path-card--feature h2 { color: #fff; }
.path-card > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 50ch;
}
.path-card--feature > p { color: rgba(255,255,255,0.8); }
.webinar-date {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-divider);
  margin-bottom: var(--space-4);
}
.webinar-date em { font-family: var(--font-display); font-style: italic; color: var(--navy); }

/* ── Forms ─────────────────────────────────────────────── */
.form-wrap { max-width: 820px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.field .req { color: var(--gold-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  border-radius: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%2300245D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,36,93,0.08);
}
.field-error {
  display: none;
  font-size: var(--text-xs);
  color: #b3261e;
  margin-top: var(--space-2);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b3261e; }
.field.invalid .field-error { display: block; }

.form-foot { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 56ch; }
.form-status { font-size: var(--text-sm); color: var(--color-text-muted); }
.form-status.error { color: #b3261e; }

.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Confirmation panels (hidden until success) */
.confirm { display: none; }
.confirm.show { display: block; text-align: center; padding: var(--space-8) 0; }
.confirm__mark { color: var(--gold); margin: 0 auto var(--space-6); }
.confirm h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.confirm p { font-size: var(--text-base); color: var(--color-text-muted); max-width: 48ch; margin-inline: auto; }
.confirm .sla { margin-top: var(--space-3); color: var(--gold-dark); font-style: italic; font-family: var(--font-display); font-size: var(--text-lg); }

/* Btn outline variant for webinar */
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ── Compare table ─────────────────────────────────────── */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--color-border); }
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--color-surface);
}
.compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  vertical-align: middle;
}
.compare-table thead th.a2col { background: var(--navy-800); color: var(--gold-light); }
.compare-table tbody th[scope="row"] {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  padding: var(--space-5) var(--space-6);
  width: 200px;
  background: var(--navy-50);
}
.compare-table tbody td {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text);
  vertical-align: top;
  border-left: 1px solid var(--color-divider);
}
.compare-table tbody td.a2col {
  background: var(--gold-50);
  color: var(--color-text);
  position: relative;
  padding-left: calc(var(--space-6) + 22px);
}
.compare-table tbody td.a2col::before {
  content: '';
  position: absolute;
  left: var(--space-6);
  top: var(--space-5);
  width: 14px; height: 14px;
  background: var(--gold-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.compare-table tbody td.muted {
  color: var(--color-text-muted);
  position: relative;
  padding-left: calc(var(--space-6) + 22px);
}
.compare-table tbody td.muted::before {
  content: '';
  position: absolute;
  left: var(--space-6);
  top: var(--space-5);
  width: 13px; height: 13px;
  background: var(--color-text-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6L6 18M6 6l12 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6L6 18M6 6l12 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.compare-table tbody tr:nth-child(even) th[scope="row"] { background: var(--navy-100); }
.compare-table tbody tr:nth-child(even) td { background: var(--cream); }
.compare-table tbody tr:nth-child(even) td.a2col { background: var(--gold-50); }

/* ── FAQ accordion ─────────────────────────────────────── */
.faq-list { max-width: 820px; border-top: 1px solid var(--color-divider); }
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold-dark); }
.faq-q .icon {
  position: relative;
  flex-shrink: 0;
  width: 20px; height: 20px;
}
.faq-q .icon::before,
.faq-q .icon::after {
  content: '';
  position: absolute;
  background: var(--gold-dark);
  transition: transform var(--transition);
}
.faq-q .icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-q .icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a__inner { padding-bottom: var(--space-6); }
.faq-a__inner p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 70ch;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .support-card:nth-child(2) { border-right: none; }
  .support-card { border-bottom: 1px solid rgba(255,255,255,0.14); }
}
@media (max-width: 768px) {
  .path-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { border-right: none; }
  .faq-q { font-size: var(--text-base); }
}

/* ── Values Grid ─────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.value-card {
  background: #fff;
  border: 1px solid rgba(0,36,93,0.08);
  padding: var(--space-8) var(--space-7);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.value-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(191,169,128,0.1);
}
.value-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.value-card p {
  font-size: 0.875rem;
  color: rgba(0,36,93,0.65);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============ AS SEEN IN — press band (site-wide, above footer) ============ */
.press-band {
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  padding: var(--space-12) 0;
  text-align: center;
}
.press-band__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 auto var(--space-8);
  width: 100%;
  text-align: center;
}
.press-band__logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3.2vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.press-band__logo {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  color: var(--navy-100, #9aa4b2);
  color: rgba(31, 45, 74, 0.5);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.press-band__logo:hover { color: rgba(31, 45, 74, 0.75); }
@media (max-width: 720px) {
  .press-band__logos { flex-wrap: wrap; gap: 1rem 1.75rem; }
}
