/* Brilliant Tech Inc. — ship additions only (append / link after css/styles.css)
   Scope: How We Build method detail + workflow table; About What We Operate cards.
   Does not rewrite the base stylesheet. Yellow accent: #f3e34c / var(--color-primary). */

/* --------------------------------------------------------------------------
   Method steps — For / Without it / Owner gains
   -------------------------------------------------------------------------- */
.method-steps-expanded {
  max-width: 36rem;
}

.method-detail {
  margin: 0.5rem 0 0;
  padding: 0;
}

.method-detail-item {
  margin: 0 0 0.65rem;
}

.method-detail-item:last-child {
  margin-bottom: 0;
}

.method-detail-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.2rem;
}

.method-detail dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Workflow table + horizontal flow strip
   -------------------------------------------------------------------------- */
.workflow-intro {
  font-size: var(--font-caption);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: -0.5rem 0 1rem;
}

.workflow-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.workflow-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-border);
}

.workflow-table th,
.workflow-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.workflow-table thead th {
  background: var(--band-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: none;
}

.workflow-table tbody th {
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  width: 11rem;
}

.workflow-table tbody tr:last-child th,
.workflow-table tbody tr:last-child td {
  border-bottom: none;
}

.workflow-table tbody tr:nth-child(even) {
  background: rgba(243, 227, 76, 0.08);
}

.workflow-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.workflow-flow li {
  display: inline-flex;
  align-items: center;
  background: var(--band-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
}

.workflow-flow li:not(:last-child)::after {
  content: "→";
  display: inline-block;
  margin-left: 0.65rem;
  margin-right: -0.15rem;
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 640px) {
  .workflow-table tbody th {
    white-space: normal;
    width: auto;
  }

  .workflow-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .workflow-flow li {
    justify-content: space-between;
  }

  .workflow-flow li:not(:last-child)::after {
    content: "↓";
    margin-left: 0.75rem;
    margin-right: 0;
  }
}

/* --------------------------------------------------------------------------
   About — What We Operate cards + status chips
   -------------------------------------------------------------------------- */
.operate-section .operate-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.operate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 800px) {
  .operate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .operate-grid .operate-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.625rem);
  }
}

.operate-card {
  background: var(--band-soft);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--color-primary);
}

.operate-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.operate-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.operate-card-meta {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.operate-card p {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.status-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--band-dark);
  color: #fff;
  white-space: nowrap;
}

.status-live {
  background: #15803d;
}

.status-building {
  background: var(--band-dark);
  color: var(--color-primary);
}

.status-operating {
  background: #1e3a5f;
}

.status-dev {
  background: #4b5563;
}

.status-rd {
  background: #5b21b6;
}

.operate-closer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.operate-closer h3 {
  margin-bottom: 0.65rem;
}

.operate-links {
  margin-top: 1rem;
  font-weight: 600;
}

.operate-links-sep {
  margin: 0 0.5rem;
  color: var(--color-text-light);
}
