/* page */
.tr-main {
  line-height: normal;
}

/* hero */
.tr-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding-block: 56px 40px;
}

.tr-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 900px;
}

.tr-title {
  font-size: clamp(44px, 5.4vw, 76px);
}

.tr-lede {
  max-width: 720px;
  color: var(--ll-body);
  font-size: 19px;
  line-height: 1.55;
}

/* price */
.tr-price {
  padding-block: 56px;
}

.tr-price-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.tr-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.tr-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tr-card-title {
  font-size: 16px;
  font-weight: 600;
}

/* ticket */
.tr-ticket {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.tr-ticket-title {
  font-size: 20px;
  font-weight: 600;
}

.tr-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-field-label {
  color: var(--ll-body);
  font-size: 14px;
}

.tr-size {
  font-family: var(--ll-mono);
  font-size: 15px;
}

.tr-pills,
.tr-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tr-pills {
  position: relative;
}

.tr-pill-host {
  position: static;
  display: inline-flex;
}

.tr-pill-host .ll-tip {
  right: auto;
  width: max-content;
  max-width: 100%;
}

.tr-cond:not(.is-live) .ll-tip {
  display: none;
}

.ll-pill[aria-disabled="true"] {
  border-color: var(--ll-line);
  background: var(--ll-grid);
  color: var(--ll-stroke);
  cursor: not-allowed;
}

.tr-kind-host {
  display: flex;
  flex: 1 1 130px;
}

.tr-kind {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--ll-line);
  border-radius: 10px;
  background: transparent;
  color: var(--ll-ink);
  font-family: var(--ll-sans);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.tr-kind[aria-pressed="true"] {
  border-color: var(--ll-accent);
}

.tr-kind[aria-disabled="true"] {
  background: var(--ll-grid);
  color: var(--ll-stroke);
  cursor: not-allowed;
}

/* figures */
.tr-figs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--ll-line);
}

.tr-fig {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
}

.tr-fig dt {
  color: var(--ll-body);
  font-size: 14px;
}

.tr-fig dd {
  margin: 0;
  font-family: var(--ll-mono);
  font-size: 15px;
}

.tr-fig-main dd {
  font-size: 20px;
  font-weight: 500;
}

.tr-go {
  min-height: 52px;
  border-radius: 10px;
  font-size: 16px;
}

/* grid */
.tr-grid-card {
  display: flex;
  flex: 1.4 1 480px;
  flex-direction: column;
  min-width: 0;
  padding: 26px 28px;
}

.tr-grid-head {
  margin-bottom: 18px;
}

.tr-grid {
  display: grid;
  grid-template-columns: 40px repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
}

.tr-grid-top {
  align-items: stretch;
  margin-bottom: 8px;
}

.tr-grid-safe,
.tr-grid-liq {
  padding-bottom: 6px;
  color: var(--ll-body);
  font-size: 13px;
}

.tr-grid-safe {
  grid-column: span 5;
  border-bottom: 2px solid var(--ll-accent);
}

.tr-grid-liq {
  display: flex;
  justify-content: flex-end;
  margin-left: 10px;
  border-bottom: 2px solid #3A4558;
}

.tr-row-label,
.tr-col-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  color: var(--ll-body);
  font-family: var(--ll-mono);
  font-size: 13px;
}

.tr-row-label.is-on,
.tr-col-label.is-on {
  color: var(--ll-ink);
  font-weight: 600;
}

.tr-cell {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--ll-ink);
  font-family: var(--ll-mono);
  font-size: 13px;
  cursor: pointer;
}

.tr-cell[aria-pressed="true"] {
  outline: 3px solid var(--ll-ink);
  outline-offset: 2px;
}

.tr-cell-off {
  background: var(--ll-grid);
  cursor: not-allowed;
}

.tr-cell-host {
  display: block;
}

.tr-cell-host .ll-tip {
  left: auto;
  width: max-content;
  max-width: 180px;
}

.tr-gap {
  margin-left: 10px;
}

.tr-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--ll-body);
  font-size: 13px;
}

.tr-legend-bar {
  flex: 0 1 160px;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--ll-tint), #0B4F3A);
}

.tr-grid-note {
  margin-top: 14px;
}

/* books */
.tr-books {
  padding-block: 40px 88px;
}

.tr-books h2 {
  margin-bottom: 28px;
}

.tr-book-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tr-book {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 26px 28px;
}

.tr-kicker {
  color: var(--ll-accent);
  font-family: var(--ll-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.tr-book h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tr-book-text {
  color: var(--ll-body);
  font-size: 17px;
  line-height: 1.55;
}

/* hedge */
.tr-hedge {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  margin-top: 20px;
  padding: 26px 28px;
  border: 1px solid var(--ll-line);
  border-radius: 18px;
  background: var(--ll-surface);
  box-shadow: 0 28px 56px -40px rgba(15, 27, 45, 0.35);
}

.tr-hedge-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tr-hedge-title {
  color: var(--ll-ink);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tr-hedge-note {
  color: var(--ll-body);
  font-size: 16px;
}

.tr-hedge-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
}

/* phone */
@media (max-width: 804px) {
  .tr-hero {
    display: block;
    min-height: auto;
    padding-block: 36px 16px;
  }

  .tr-title {
    font-size: 40px;
  }

  .tr-lede {
    font-size: 17px;
  }

  .tr-price {
    padding-block: 40px;
  }

  .tr-grid-card {
    padding: 20px 16px;
  }

  .tr-books {
    padding-block: 32px 64px;
  }

  .tr-hedge {
    box-shadow: none;
  }
}
