

/* ---------- icon helper ---------- */
.tc-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- page body ---------- */
.tc-body {
  padding-top: 24px;
  padding-bottom: 90px;
}

/* ---------- mobile section chips ---------- */
.tc-chips {
  position: sticky;
  top: 82px;
  z-index: 50;
  margin: 0 0 1.2rem;
  padding: 0.6rem 0;
  background: rgba(5, 5, 27, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.tc-chips__scroller {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tc-chips__scroller::-webkit-scrollbar {
  display: none;
}
.tc-chips__link {
  display: inline-block;
  white-space: nowrap;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(120, 90, 255, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  transition: 0.25s;
}
.tc-chips__link:hover {
  color: #fff;
  border-color: rgba(190, 140, 255, 0.6);
}
.tc-chips__link.is-active,
.tc-chips__link[aria-current] {
  color: #fff;
  background: var(--grad-v);
  border-color: transparent;
  box-shadow: 0 6px 22px -8px rgba(150, 80, 255, 0.8);
}

/* ---------- desktop rail ---------- */
.tc-rail {
  position: sticky;
  top: 104px;
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
}
.tc-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tc-rail__count {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgb(60 41 33 / 18%);
  color: var(--lav);
  letter-spacing: 0.04em;
}
.tc-rail__track {
  position: relative;
}
.tc-rail__track::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: #391e1338;
}
.tc-rail__fill {
  position: absolute;
  left: 6px;
  top: 14px;
  width: 2px;
  height: var(--tc-progress, 0%);
  max-height: calc(100% - 28px);
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(190, 80, 255, 0.7);
  transition: height 0.4s ease;
}
.tc-rail__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}
.tc-rail__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.42rem 0.4rem 0.42rem 0;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  transition: color 0.25s;
}
.tc-rail__link:hover {
  color: #4c4c4c;
}
.tc-rail__mark {
  position: relative;
  z-index: 1;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--card);
  transition: 0.3s;
}
.tc-rail__link:hover .tc-rail__mark {
  border-color: rgba(190, 140, 255, 0.8);
}
.tc-rail__link.is-active,
.tc-rail__link[aria-current] {
  color: #000000;
  font-weight: 500;
}
.tc-rail__link.is-active .tc-rail__mark,
.tc-rail__link[aria-current] .tc-rail__mark {
  border-color: transparent;
  background: #ff5a1f;
  box-shadow: 0 0 0 4px rgba(150, 90, 255, 0.2), 0 0 16px rgb(255 90 31);
}
.tc-rail__link.is-read .tc-rail__mark,
.tc-rail__link.is-done .tc-rail__mark,
.tc-rail__link.is-visited .tc-rail__mark {
  border-color: var(--v);
  background: var(--v);
}
.tc-rail__top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(120, 90, 255, 0.08);
  color: var(--lav);
  font-size: 0.84rem;
  font-weight: 500;
  transition: 0.25s;
}
.tc-rail__top:hover {
  color: #fff;
  background: rgba(140, 100, 255, 0.2);
}
.tc-rail__top .tc-icon {
  transition: transform 0.25s;
}
.tc-rail__top:hover .tc-icon {
  transform: translateY(-3px);
}

/* ---------- clauses ---------- */
.tc-stream {
  display: grid;
  gap: 1.2rem;
}
.tc-clause {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  scroll-margin-top: 110px;
  overflow: hidden;
  transition: border-color 0.35s;
}
.tc-clause::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 90 31 / 37%), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.tc-clause:hover,
.tc-clause:target {
  border-color: var(--line-2);
}
.tc-clause:hover::after,
.tc-clause:target::after {
  opacity: 1;
}
.tc-clause__num {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 2.1ch;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ff5a1f;
  opacity: 0.9;
}
.tc-clause__main {
  min-width: 0;
}
.tc-clause__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  color: #221713;
}
.tc-clause__main p {
  margin: 0 0 0.95rem;
  color: #8e7d6f;
  font-size: 0.98rem;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.tc-clause__main p:last-child {
  margin-bottom: 0;
}
.tc-clause__main strong {
  color: #ff5a1f;
  font-weight: 500;
}
.tc-lead {
  color: #555557 !important;
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
}
.tc-link {
  color: var(--lav);
  text-decoration: underline;
  text-decoration-color: rgba(201, 195, 255, 0.35);
  text-underline-offset: 3px;
  transition: 0.25s;
}
.tc-link:hover {
  color: var(--p);
  text-decoration-color: var(--p);
}
.tc-descriptor {
  display: inline-block;
  padding: 0.08rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgb(209 199 186);
  color: var(--lav);
  font-size: 0.9em;
  font-weight: 500;
}
.privacy-policy-tutorial {
  color: #eceaff;
}

/* ---------- party card ---------- */
.tc-party {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #221713;
}
.tc-party__name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
}
.tc-party__addr {
  margin: 0.35rem 0 0;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.tc-party__contacts {
  display: grid;
  gap: 0.5rem;
}
.tc-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgb(60 36 28);
  color: #fff;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
  transition: 0.25s;
}
.tc-contact:hover {
  color: #fff;
  background: rgb(76 43 32);
  border-color: rgba(190, 140, 255, 0.6);
}

/* ---------- definitions ---------- */
.tc-defs {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #221713;
}
.tc-defs__row {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.tc-defs__row:last-child {
  border-bottom: 0;
}
.tc-defs__row:hover {
  background: rgb(50 29 22);
}
.tc-defs dt {
  color: #fff;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.tc-defs dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
@media (max-width: 575px) {
  .tc-defs__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* ---------- refund facts ---------- */
.tc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}
.tc-fact {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(240px 120px at 50% 0%, rgb(255 90 31 / 31%), #00000005 70%), #221713;
  transition: 0.3s;
}
.tc-fact:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.tc-fact__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ff5a1f;
}
.tc-clause__main .tc-fact__label {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- support ---------- */
.tc-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}
.tc-support__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #211713;
  transition: border-color 0.3s;
}
.tc-support__item:hover {
  border-color: var(--line-2);
}
.tc-support__item--wide {
  grid-column: 1/-1;
}
.tc-support__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad-v);
  box-shadow: 0 8px 26px -8px rgb(255 90 31), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tc-support__label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tc-support__value {
  display: inline-block;
  color: #fff;
  font-weight: 500;
  overflow-wrap: anywhere;
  transition: color 0.25s;
}
a.tc-support__value:hover {
  color: #fff;
}
.tc-clause__main .tc-support__note {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
}
.tc-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.4rem;
  margin: 0.35rem 0 0;
}
.tc-hours dt {
  color: #eed8d0;
  font-weight: 500;
}
.tc-hours dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 767px) {
  .tc-support {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .tc-hours {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tc-hours dd {
    margin-bottom: 0.4rem;
  }
}

/* ---------- closing contact block ---------- */
.tc-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.4rem;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border: 1px solid var(--line-2);
  border-radius: 30px;
  overflow: hidden;
  background: #211713;
}
.tc-cta__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  color: #ffffff;
}
.tc-cta__mail {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ff5a1f;
  overflow-wrap: anywhere;
}
.tc-cta__meta {
  margin: 0.6rem 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.tc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.97rem;
  box-shadow: 0 10px 40px -8px rgb(255 90 31), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.tc-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 54px -6px rgb(255 90 31), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* ---------- small screens ---------- */
@media (max-width: 767px) {
  .tc-clause {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .tc-clause__num {
    font-size: 2.2rem;
  }
  .tc-party {
    align-items: flex-start;
  }
  .tc-cta .tc-btn {
    width: 100%;
    justify-content: center;
  }
}
