/* -- HERO -- */
.tc-hero {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  padding: 64px 6% 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tc-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00768e;
  background: rgba(0,194,238,0.1);
  border: 1px solid rgba(0,194,238,0.3);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.tc-hero h1 {
  font-family: var(--ff-font-display); font-weight: var(--ff-display-fw); text-transform: var(--ff-display-tt); letter-spacing: var(--ff-display-ls); text-transform: uppercase;
  font-size: 2.4rem;
  color: var(--ff-ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.tc-hero p {
  font-size: 0.88rem;
  color: var(--ff-muted-2);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.tc-hero-sub {
  font-size: 0.95rem !important;
  color: var(--ff-muted-2) !important;
  max-width: 560px;
  margin: 16px auto 0 !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
}

/* -- PAGE LAYOUT -- */
.tc-page {
  flex: 1;
  padding: 52px 6%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.tc-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  align-items: start;
}

/* -- LEFT NAV -- */
.tc-nav {
  position: sticky;
  top: 124px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  scrollbar-width: none;
}
.tc-nav::-webkit-scrollbar { display: none; }
.tc-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-muted-5);
  margin-bottom: 10px;
  padding-left: 14px;
}
.tc-nav-item {
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--ff-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: #777;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-nav-item:hover {
  background: var(--ff-surface-3);
  color: var(--ff-ink);
}
.tc-nav-item.active {
  background: var(--ff-brand-tint);
  color: var(--ff-brand);
  font-weight: 700;
  border-left-color: var(--ff-brand);
}

/* -- INTRO BANNER -- */
.tc-intro-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--ff-ink);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 8px;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.75;
}
.tc-intro-banner strong { color: #fff; }
.tc-intro-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,194,238,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ff-brand);
  flex-shrink: 0;
}

/* -- SECTIONS -- */
.tc-content {
  display: flex;
  flex-direction: column;
}
.tc-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--ff-line-faint);
  position: relative;
}
.tc-section:last-child { border-bottom: none; }
.tc-section-number {
  font-family: var(--ff-font-display); font-weight: var(--ff-display-fw); text-transform: var(--ff-display-tt); letter-spacing: var(--ff-display-ls);
  font-size: 0.72rem;
  color: var(--ff-brand);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.tc-section-icon {
  width: 40px;
  height: 40px;
  background: var(--ff-brand-tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ff-brand);
  margin-bottom: 14px;
}
.tc-section h2 {
  font-family: var(--ff-font-display); font-weight: var(--ff-display-fw); text-transform: var(--ff-display-tt); letter-spacing: var(--ff-display-ls);
  font-size: 1.2rem;
  color: var(--ff-ink);
  margin-bottom: 14px;
  line-height: 1.3;
}
.tc-section p {
  font-size: 0.92rem;
  color: var(--ff-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}
.tc-section p:last-child { margin-bottom: 0; }

/* Sub-headings within sections */
.tc-sub-heading {
  font-family: var(--ff-font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ff-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 20px 0 10px;
}

/* Lists */
.tc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.tc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ff-muted);
  line-height: 1.6;
}
.tc-list li i {
  color: var(--ff-brand);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Callouts */
.tc-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 18px;
}
.tc-callout i {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.tc-callout p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.65;
}

.tc-callout.info {
  background: var(--ff-brand-tint);
  border: 1.5px solid rgba(0,194,238,0.25);
}
.tc-callout.info i { color: var(--ff-brand); }
.tc-callout.info p { color: #0e4f6b; }

.tc-callout.warning {
  background: #fffbeb;
  border: 1.5px solid var(--ff-warn-soft);
}
.tc-callout.warning i { color: var(--ff-warn); }
.tc-callout.warning p { color: #78350f; }

.tc-callout.emergency {
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  align-items: center;
}
.tc-callout.emergency i { color: var(--ff-danger-2); font-size: 1.4rem; }
.tc-callout.emergency strong { color: var(--ff-danger-2); font-size: 1rem; display: block; margin-bottom: 2px; }
.tc-callout.emergency span { font-size: 0.83rem; color: #b91c1c; }
.tc-callout.emergency div { line-height: 1.5; }

/* Inline link */
.tc-link {
  color: var(--ff-brand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,194,238,0.3);
  transition: border-color 0.2s;
}
.tc-link:hover { border-color: var(--ff-brand); }

/* -- RESPONSIVE -- */
@media (max-width: 900px) {
  .tc-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tc-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 32px;
    max-height: none;
    overflow-y: visible;
  }
  .tc-nav-label { display: none; }
  .tc-nav-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 0.78rem;
    background: var(--ff-surface-3);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .tc-nav-item.active {
    border-radius: 50px;
    border-bottom-color: var(--ff-brand);
  }
}
@media (max-width: 600px) {
  .tc-hero h1 { font-size: 1.7rem; }
  .tc-page { padding: 36px 5%; }
  .tc-section h2 { font-size: 1.05rem; }
}
/* Anything still to be filled in before these Terms are published. Deliberately loud —
   a legal page must not go live with a bracketed placeholder reading as body copy. */
.tc-todo {
  background: #fff3cd;
  color: #7a5200;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px dashed #d9a441;
  white-space: nowrap;
}
