/* ========================= */
/* VARIABLES */
/* ========================= */

:root {
  --or: #E8621A;
  --or-d: #C94F0E;
  --or-l: #FDF0E8;
  --or-b: rgba(232, 98, 26, 0.26);

  --blk: #111111;
  --blk-2: #1C1C1C;
  --blk-3: #252525;

  --warm: #F7F4F0;
  --warm-2: #EDE8E1;
  --warm-3: #D9D1C6;

  --txt: #3D3730;
  --txt-2: #6B6259;
  --txt-3: #9A9088;

  --wht: #FFFFFF;

  --rad: 14px;
  --rad-sm: 8px;
  --rad-lg: 22px;
}

/* ========================= */
/* RESET */
/* ========================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Georgia, 'Times New Roman', serif; background: var(--warm); color: var(--txt); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ========================= */
/* CONTAINER */
/* ========================= */

.tc-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ========================= */
/* HEADER */
/* ========================= */

.tc-header {
  background: var(--wht);
  border-bottom: 1px solid var(--warm-2);
  position: sticky;
  top: 0;
  z-index: 200;
}

.tc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}

.tc-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.tc-brand-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--blk);
  color: var(--wht);
  font-weight: 900;
  font-family: Arial, sans-serif;
  border-radius: 10px;
  font-size: 13px;
  border: 2px solid var(--or);
  flex-shrink: 0;
}

.tc-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.tc-brand-name {
  font-weight: 900;
  font-family: Arial, sans-serif;
  letter-spacing: 1.8px;
  font-size: 13px;
  color: var(--blk);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-brand-name span { color: var(--or); }

.tc-brand-sub {
  margin-top: 3px;
  font-size: 10px;
  color: var(--or);
  font-weight: 700;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-back-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--warm-2);
  background: var(--warm);
  color: var(--txt-2);
  font-size: 13px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tc-back-btn:hover {
  background: var(--blk);
  color: var(--wht);
  border-color: var(--blk);
}

@media (max-width: 520px) {
  .tc-brand-name { font-size: 11px; letter-spacing: 1px; }
  .tc-brand-sub { display: none; }
  .tc-back-btn { padding: 8px 13px; font-size: 12px; }
}

/* ========================= */
/* PROGRESS BAR */
/* ========================= */

.tc-progress-wrap {
  position: sticky;
  top: 68px;
  z-index: 190;
  height: 3px;
  background: var(--warm-2);
  width: 100%;
}

.tc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--or), var(--or-d));
  transition: width 0.1s linear;
}

/* ========================= */
/* HERO */
/* ========================= */

.tc-hero {
  background: var(--blk);
  padding: 70px 0 64px;
  position: relative;
  overflow: hidden;
}

.tc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(232, 98, 26, 0.30), transparent 50%);
  pointer-events: none;
}

.tc-hero::after {
  content: "T&C";
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 180px;
  font-weight: 900;
  font-family: Arial, sans-serif;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}

.tc-hero .tc-container { position: relative; z-index: 2; }

.tc-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 98, 26, 0.12);
  border: 1px solid rgba(232, 98, 26, 0.38);
  color: rgba(232, 98, 26, 0.95);
  font-size: 11px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.tc-hero-title {
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -2px;
  color: var(--wht);
  margin-bottom: 22px;
}

.tc-hero-title span { color: var(--or); }

.tc-hero-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: 28px;
}

.tc-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tc-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

@media (max-width: 640px) {
  .tc-hero { padding: 50px 0 44px; }
  .tc-hero-title { font-size: 42px; letter-spacing: -1.2px; }
  .tc-hero-desc { font-size: 15px; }
}

/* ========================= */
/* MAIN LAYOUT */
/* ========================= */

.tc-main {
  padding: 52px 0 80px;
}

.tc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* ========================= */
/* SIDEBAR */
/* ========================= */

.tc-sidebar {
  position: sticky;
  top: 80px;
}

.tc-sidebar-inner {
  background: var(--wht);
  border: 1px solid var(--warm-2);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.tc-sidebar-label {
  padding: 16px 20px 12px;
  font-size: 10px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--txt-3);
  border-bottom: 1px solid var(--warm-2);
}

.tc-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.tc-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: var(--txt-2);
  font-weight: 600;
  transition: all 0.18s ease;
  border-left: 3px solid transparent;
}

.tc-nav-link:hover {
  background: var(--warm);
  color: var(--blk);
  border-left-color: var(--warm-3);
}

.tc-nav-link.active {
  background: var(--or-l);
  color: var(--or-d);
  border-left-color: var(--or);
  font-weight: 900;
}

.tc-nav-num {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--txt-3);
  min-width: 20px;
  font-family: Arial, sans-serif;
}

.tc-nav-link.active .tc-nav-num { color: var(--or); }

.tc-sidebar-cta {
  padding: 18px 20px;
  background: var(--warm);
  border-top: 1px solid var(--warm-2);
}

.tc-sidebar-cta p {
  font-size: 12px;
  color: var(--txt-2);
  font-family: Arial, sans-serif;
  line-height: 1.5;
  margin-bottom: 10px;
}

.tc-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: var(--blk);
  color: var(--wht);
  border-radius: var(--rad-sm);
  font-size: 12px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.tc-sidebar-btn:hover { background: var(--or); }

@media (max-width: 1024px) {
  .tc-layout { grid-template-columns: 1fr; }
  .tc-sidebar { position: relative; top: 0; }
  .tc-sidebar-inner { display: grid; grid-template-columns: 1fr auto; }
  .tc-nav { display: none; }
  .tc-sidebar-label { border-bottom: none; display: flex; align-items: center; padding: 14px 20px; }
  .tc-sidebar-cta { border-top: none; border-left: 1px solid var(--warm-2); display: flex; align-items: center; gap: 12px; }
  .tc-sidebar-cta p { margin-bottom: 0; white-space: nowrap; }
  .tc-sidebar-btn { width: auto; white-space: nowrap; }
}

@media (max-width: 640px) {
  .tc-sidebar-inner { grid-template-columns: 1fr; }
  .tc-sidebar-cta { border-left: none; border-top: 1px solid var(--warm-2); flex-direction: column; align-items: flex-start; }
  .tc-sidebar-btn { width: 100%; }
}

/* ========================= */
/* CLAUSES */
/* ========================= */

.tc-clauses {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tc-clause {
  background: var(--wht);
  border: 1px solid var(--warm-2);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  opacity: 0;
  transform: translateY(22px);
}

.tc-clause.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tc-clause:hover {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  border-color: var(--warm-3);
}

/* Clause Header */
.tc-clause-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 30px 22px;
  border-bottom: 1px solid var(--warm-2);
  background: var(--warm);
}

.tc-clause-num {
  font-size: 11px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--or);
  background: var(--or-l);
  border: 1px solid var(--or-b);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.tc-clause-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.tc-clause-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  color: var(--blk);
  letter-spacing: -0.3px;
  line-height: 1.15;
}

/* Clause Body */
.tc-clause-body {
  padding: 26px 30px 28px;
}

.tc-clause-body p {
  color: var(--txt-2);
  font-size: 15px;
  line-height: 1.88;
  margin-bottom: 16px;
}

.tc-clause-body p:last-child { margin-bottom: 0; }

.tc-clause-body p strong {
  color: var(--blk);
  font-weight: 700;
}

/* Highlight Box */
.tc-clause-highlight {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--or-l);
  border-left: 3px solid var(--or);
  border-radius: 10px;
  color: var(--txt);
  font-size: 14px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.65;
}

/* Note Box */
.tc-clause-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--warm);
  border: 1px solid var(--warm-2);
  border-radius: 12px;
  font-size: 13.5px;
  font-family: Arial, sans-serif;
  color: var(--txt-2);
  line-height: 1.7;
}

.tc-note-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* List */
.tc-list {
  list-style: none;
  margin: 14px 0 16px;
  display: grid;
  gap: 10px;
}

.tc-list li {
  position: relative;
  padding-left: 30px;
  color: var(--txt);
  font-size: 15px;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

.tc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--or-l);
  border: 1px solid var(--or-b);
  color: var(--or);
  font-size: 10px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* Contact Grid (Clause 10) */
.tc-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.tc-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  background: var(--warm);
  border: 1px solid var(--warm-2);
  border-radius: var(--rad);
  text-align: center;
  transition: all 0.22s ease;
}

.tc-contact-card:hover {
  background: var(--or-l);
  border-color: var(--or-b);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(232, 98, 26, 0.12);
}

.tc-contact-icon { font-size: 28px; }

.tc-contact-label {
  font-size: 11px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--txt-3);
}

.tc-contact-val {
  font-size: 13px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: var(--blk);
}

@media (max-width: 640px) {
  .tc-clause-header { padding: 20px 22px 18px; gap: 12px; }
  .tc-clause-icon { font-size: 22px; }
  .tc-clause-title { font-size: 18px; }
  .tc-clause-body { padding: 20px 22px 22px; }
  .tc-clause-body p { font-size: 14px; }
  .tc-contact-grid { grid-template-columns: 1fr; }
}

/* ========================= */
/* FOOTER */
/* ========================= */

.tc-footer {
  background: var(--wht);
  border-top: 3px solid var(--or);
  padding: 28px 0;
}

.tc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tc-footer-copy {
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: var(--txt-3);
}

.tc-footer-copy span { color: var(--or); font-weight: 900; }

.tc-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tc-footer-links a {
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: var(--txt-2);
  font-weight: 600;
  transition: color 0.18s ease;
}

.tc-footer-links a:hover { color: var(--or); }

@media (max-width: 520px) {
  .tc-footer-inner { flex-direction: column; align-items: flex-start; }
  .tc-footer-links { gap: 14px; flex-wrap: wrap; }
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tc-hero .tc-container > * {
  animation: fadeSlideIn 0.55s ease both;
}

.tc-hero-tag  { animation-delay: 0.05s; }
.tc-hero-title { animation-delay: 0.15s; }
.tc-hero-desc  { animation-delay: 0.25s; }
.tc-hero-meta  { animation-delay: 0.35s; }
