﻿﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ===== Companion Energy brand tokens =====
   Font: Poppins
   Primary: #5f0bb7  Hover: #39076e
   Ink: #0c001c  Muted: #726682  Faint: #b8b2c0
   Border: #d0ccd5  Card bg: #f6f5f7  Accent band: #f5ecfe
*/

.tdu {
  background: transparent;
  padding: 0;
}

.tdu__inner {
  max-width: 1394px;
  margin: 0 auto;
  padding: 0 41px;
  box-sizing: border-box;
}

.tdu__title {
  margin: 0 0 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
  font-size: clamp(32px, 4.6vw, 52px);
  color: #0c001c;
}

.tdu__intro {
  font-family: 'Poppins', sans-serif;
  color: #0c001c;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 24px;
}

.tdu__intro p { margin: 0 0 16px; }
.tdu__intro p:last-child { margin-bottom: 0; }

/* ===== Tabs ===== */
.tdu__tabs {
  display: flex;
  width: 100%;
  margin: 0 0 32px;
  font-family: 'Poppins', sans-serif;
}

.tdu__tab {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: -1px;
  padding: 32px;
  border: 1px solid #d0ccd5;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.tdu__tab:first-child { margin-left: 0; }
.tdu__tab:hover { background: #f6f5f7; border: 1px solid #d0ccd5; }
.tdu__tab:focus,
.tdu__tab:active {
  background: transparent;
  border: 1px solid #d0ccd5;
  outline: none;
  box-shadow: none;
}
.tdu__tab:focus-visible { outline: 3px solid #5f0bb7; outline-offset: 2px; }

.tdu__tab-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: none;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: #b8b2c0;
  transition: color 0.15s ease;
}

.tdu__tab-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #726682;
  transition: color 0.15s ease;
}

.tdu__tab-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: #5f0bb7;
  transform: scaleX(0);
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.tdu__tab.is-active { z-index: 1; }
.tdu__tab.is-active .tdu__tab-title { color: #0c001c; }
.tdu__tab.is-active .tdu__tab-sub { color: #0c001c; }
.tdu__tab.is-active .tdu__tab-bar { transform: scaleX(1); }

/* ===== Panels ===== */
.tdu__panel { display: none; }
.tdu__panel.is-active { display: block; }

/* ===== Section title ===== */
.tdu__section-title {
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #0c001c;
  scroll-margin-top: 120px;
}

/* ===== Card ===== */
.tdu__card {
  background: #f6f5f7;
  border-radius: 12px;
  padding: 26px;
  box-sizing: border-box;
}

.tdu__caption {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #0c001c;
  line-height: 1.6;
  margin: 0 0 16px;
}

.tdu__subhead {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0c001c;
  margin: 0 0 10px;
}

.tdu__subhead--gap { margin-top: 24px; }

.tdu__scroll {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

/* ===== Table ===== */
.tdu__table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #d0ccd5;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #0c001c;
  table-layout: auto;
}

.tdu__table th,
.tdu__table td {
  border-right: 1px solid #e7e2ee;
  border-bottom: 1px solid #e7e2ee;
  padding: 9px 12px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

/* Header row: corner + TDU names (light purple band, white gridlines) */
.tdu__headrow .tdu__corner,
.tdu__headrow .tdu__tdu {
  background: #f5ecfe;
  color: #0c001c;
  font-weight: 600;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

.tdu__headrow .tdu__corner {
  text-align: left;
  padding-left: 12px;
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 240px;
}

/* Row labels (white sticky bold) */
.tdu__datarow .tdu__label {
  background: #ffffff;
  color: #0c001c;
  font-weight: 600;
  text-align: left;
  padding-left: 12px;
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 240px;
}

.tdu__datarow .tdu__val {
  background: #ffffff;
  color: #0c001c;
  font-weight: 400;
  min-width: 90px;
}

/* Alternating (light purple) value COLUMNS with white gridlines */
.tdu__datarow td:nth-child(2n) {
  background: #f5ecfe;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ===== Footnote ===== */
.tdu__footnote {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #0c001c;
  line-height: 1.6;
  margin: 24px 0 0;
}

.tdu__footnote p { margin: 0 0 16px; }
.tdu__footnote p:last-child { margin-bottom: 0; }

/* ===== Button (Companion Energy CTA) ===== */
.tdu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  min-height: 56px;
  padding: 15px 32px;
  border: 1px solid #5f0bb7;
  border-radius: 12px;
  background: #5f0bb7;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s linear;
}

.tdu__btn:hover,
.tdu__btn:focus,
.tdu__btn:active {
  background: #39076e;
  border-color: #39076e;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.tdu__btn:focus-visible { outline: 3px solid #5f0bb7; outline-offset: 2px; }

.tdu__arrow { font-size: 18px; line-height: 1; }

.tdu__note {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #726682;
  margin: 18px 0 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .tdu__inner { padding-left: 0; padding-right: 0; }
  .tdu__tab { padding: 18px; }
  .tdu__tab-title { font-size: 24px; }
  .tdu__card { padding: 16px; }
  .tdu__scroll { padding: 12px; }
  .tdu__headrow .tdu__corner,
  .tdu__datarow .tdu__label { min-width: 180px; }
  .tdu__intro { font-size: 16px; }
  .tdu__btn { padding: 14px 24px; font-size: 15px; }
}
