/* Time Control product page */
.tc-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86vh;
  overflow: hidden;
  padding: 5rem max(5%, calc((100% - 1280px)/2));
  background: #0b0f19;
  color: #fff;
}
.tc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .72;
}
.tc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,9,16,.76), rgba(7,9,16,.43) 62%, rgba(7,9,16,.14));
  pointer-events: none;
}
.tc-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 720px; padding: 2rem 0; }
.tc-hero .eyebrow { color: #c4b5fd; }
.tc-hero h1 { max-width: 13ch; margin: 1rem 0 1.4rem; color: #fff; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.06; letter-spacing: -.045em; }
.tc-hero h1 em { color: #c4b5fd; font-style: normal; }
.tc-lead { max-width: 650px; color: rgba(255,255,255,.85); font-size: 1.08rem; line-height: 1.68; }
.tc-badges, .tc-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.tc-badges { margin: 2rem 0; }
.tc-badges span { padding: .5rem .75rem; border: 1px solid rgba(196,181,253,.34); border-radius: 999px; background: rgba(124,58,237,.19); color: #eee8ff; font: 700 .72rem/1 ui-monospace, monospace; }
.tc-actions .button { min-width: 190px; text-align: center; }
.tc-actions .button.secondary { background: rgba(255,255,255,.94); color: var(--ink); }

.tc-section { padding: 5.5rem max(5%, calc((100% - 1280px)/2)); scroll-margin-top: 5rem; }
.tc-section.dark { background: #0f1015; color: #fff; }
.tc-copy { max-width: 800px; margin: 0 auto 3rem; text-align: center; }
.tc-copy h2 { max-width: none; margin: .8rem auto 1rem; color: var(--ink); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.14; }
.tc-copy p:not(.eyebrow) { max-width: 65ch; margin-inline: auto; color: var(--muted); line-height: 1.65; }
.tc-section.dark > .tc-copy h2 { color: #fff; }
.tc-section.dark > .tc-copy p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.tc-section.dark > .tc-copy .eyebrow { color: #a78bfa; }

.tc-challenge {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  background: #f7f6fb;
}
.tc-challenge-copy h2 { max-width: 18ch; margin: .75rem 0 0; color: var(--ink); font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.12; letter-spacing: -.04em; }
.tc-challenge-detail { padding: 2rem 0 2rem 2rem; border-left: 2px solid #8b5cf6; }
.tc-challenge-detail > p { margin: 0 0 1.5rem; color: #475569; font-size: 1.08rem; line-height: 1.7; }
.tc-challenge-questions { display: flex; flex-wrap: wrap; gap: .6rem; }
.tc-challenge-questions span { padding: .6rem .85rem; border: 1px solid #ddd6fe; border-radius: 999px; background: #fff; color: #4c1d95; font-size: .82rem; font-weight: 700; }

.tc-ba { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.tc-ba-card { min-width: 0; padding: 2rem; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.tc-ba-card.before { background: linear-gradient(180deg, #1a1b23, #12131a); border-color: rgba(239,68,68,.28); }
.tc-ba-card.after { background: linear-gradient(180deg, #1c182d, #12111e); border-color: rgba(167,139,250,.45); box-shadow: 0 20px 50px rgba(124,58,237,.16); }
.tc-ba-card h3 { margin: .8rem 0 1.3rem; color: #fff; }
.tc-ba-card ul { margin: 0; padding: 0; list-style: none; }
.tc-ba-card li { display: flex; gap: .8rem; padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.83); line-height: 1.5; }
.tc-ba-card li span:first-child { flex: 0 0 1.25rem; color: #f87171; font-weight: 900; }
.tc-ba-card.after li span:first-child { color: #34d399; }
.tc-status { display: inline-block; padding: .35rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.tc-status.red { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.tc-status.green { background: rgba(124,58,237,.2); color: #c4b5fd; border: 1px solid rgba(167,139,250,.4); }

.tc-process-grid, .tc-related { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.tc-process-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(20,15,45,.07); }
.tc-process-image { overflow: hidden; aspect-ratio: 16 / 10; background: #e9e7f3; }
.tc-process-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tc-process-body { padding: 1.6rem; }
.tc-process-card h3 { margin: .7rem 0 .5rem; color: var(--ink); font-size: 1.2rem; }
.tc-process-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.tc-index { color: var(--purple); font: 800 .75rem ui-monospace, monospace; }
.tc-image-disclaimer { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; text-align: right; }

.tc-feature-video-frame { max-width: 1040px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(196,181,253,.22); border-radius: 20px; background: #08090e; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.tc-feature-video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.tc-feature-video-note { max-width: 1040px; margin: .85rem auto 0; color: rgba(255,255,255,.58); font-size: .78rem; text-align: right; }

.tc-related a { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 170px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(20,15,45,.05); color: inherit; text-decoration: none; }
.tc-related a:hover { transform: translateY(-3px); border-color: rgba(124,58,237,.35); }
.tc-related h3 { margin: 0 0 .5rem; color: var(--ink); }
.tc-related p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.tc-related .link { margin-top: 1.5rem; color: var(--purple); font-weight: 800; }

@media (max-width: 850px) {
  .tc-challenge, .tc-ba { grid-template-columns: 1fr; }
  .tc-process-grid, .tc-related { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tc-process-card:last-child { grid-column: 1 / -1; }
  .tc-challenge-detail { padding-top: .5rem; padding-bottom: .5rem; }
}
@media (max-width: 580px) {
  .tc-hero { min-height: 0; }
  .tc-hero-inner { padding: 6rem 0 4rem; }
  .tc-hero h1 { font-size: clamp(2.35rem, 9vw, 3.25rem); }
  .tc-hero-video { object-position: 62% center; }
  .tc-section { padding: 4rem 5%; }
  .tc-process-grid, .tc-related { grid-template-columns: 1fr; }
  .tc-process-card:last-child { grid-column: auto; }
  .tc-ba-card, .tc-process-body { padding: 1.4rem; }
  .tc-actions .button { width: 100%; }
  .tc-challenge-detail { padding-left: 1.25rem; }
}
