/* ── Inner Page Styles ── */

/* Page Hero (shorter banner for inner pages) */
.page-hero {
  padding: 80px 0 48px;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Section (prose-friendly for long-form text) */
.content-section {
  padding: 64px 0;
}

.content-section h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  margin: 0 0 16px 24px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.content-section li {
  margin-bottom: 8px;
}

.content-section a {
  color: var(--accent);
  text-decoration: underline;
}

.content-section a:hover {
  color: var(--accent-hover);
}

/* Two-column layout for About story, Contact, etc. */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 16px;
}

.team-card__name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.contact-form__textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 2px;
}

.contact-info__label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-info__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-info__text a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info__text a:hover {
  text-decoration: underline;
}

/* Timeline (Roadmap) */
.timeline {
  position: relative;
  padding: 32px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__quarter {
  margin-bottom: 48px;
}

.timeline__quarter:last-child {
  margin-bottom: 0;
}

.timeline__quarter-label {
  position: relative;
  padding-left: 56px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.timeline__quarter-label::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline__items {
  padding-left: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.timeline__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.timeline__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.timeline__card-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

.timeline__card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge--shipped {
  background: var(--success-light);
  color: var(--success);
}

.badge--in-progress {
  background: var(--accent-light);
  color: var(--accent);
}

.badge--planned {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Status legend */
.status-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 0 48px;
}

/* Legal content specifics */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Values grid (reuses feature-card but 3-col) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* About story decorative element */
.story-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.story-visual__inner {
  text-align: center;
  color: var(--text-muted);
}

.story-visual__icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin-bottom: 16px;
}

.story-visual__text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

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

@media (max-width: 768px) {
  .page-hero {
    padding: 60px 0 36px;
  }
  .page-hero__title {
    font-size: 2rem;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 16px;
  }
  .timeline__quarter-label {
    padding-left: 44px;
  }
  .timeline__quarter-label::before {
    left: 9px;
  }
  .timeline__items {
    padding-left: 44px;
  }
  .status-legend {
    flex-wrap: wrap;
    gap: 12px;
  }
  .content-section {
    padding: 40px 0;
  }
}
