/* Phase 2 GTMS — raise room, not book column. Do not edit book.css. */

.gtms-page .raise-doc {
  max-width: none;
  width: 100%;
}

.gtms-page.book-page .page-hero .raise-shell,
.gtms-page.book-page .raise-doc > .raise-shell {
  width: min(calc(100% - 2.5rem), 1200px);
  max-width: 1200px;
}

.gtms-page .raise-doc > .raise-shell > p,
.gtms-page .raise-doc > .raise-shell > ul,
.gtms-page .raise-doc > .raise-shell > ol {
  max-width: none;
}

.gtms-page.book-page .raise-doc > .parallax-divider {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.gtms-page .page-hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
}

.gtms-page .page-hero .lede {
  max-width: 40ch;
  font-size: 1.35rem;
  line-height: 1.4;
}

.gtms-page .raise-doc h2 {
  max-width: 28ch;
  font-size: clamp(2rem, 3.6vw, 2.7rem);
}

.gtms-page .raise-doc h2[data-num="01"] + p,
.gtms-page .raise-doc h2[data-num="02"] + p,
.gtms-page .raise-doc h2[data-num="03"] + p {
  font-size: 1.22rem;
  line-height: 1.7;
  color: rgba(232, 232, 237, 0.86);
}

.gtms-page .raise-doc h2[data-num="05"] + p,
.gtms-page .raise-doc h2[data-num="06"] + p {
  font-size: 1.18rem;
  line-height: 1.65;
}

.gtms-page .raise-doc h2[data-num="07"] + p,
.gtms-page .raise-doc h2[data-num="08"] + p,
.gtms-page .raise-doc h2[data-num="09"] + p {
  font-size: 1.16rem;
  line-height: 1.7;
}

.gtms-page .raise-doc h2[data-num="10"] + p,
.gtms-page .raise-doc h2[data-num="11"] + p {
  font-size: 1.2rem;
  line-height: 1.65;
}

.gtms-page .raise-doc h2[data-num="04"] + p {
  font-size: 1.2rem;
  line-height: 1.65;
}

.gtms-page .comparison-table,
.gtms-page .raise-kv {
  font-size: 0.98rem;
}

.gtms-page h2[data-num="10"] ~ .comparison__wrapper .comparison-table td,
.gtms-page h2[data-num="10"] ~ .comparison__wrapper .comparison-table th {
  font-size: 1.02rem;
  padding: 16px 18px;
}

.gtms-factory {
  list-style: none;
  margin: 40px 0 64px;
  padding: 0;
  max-width: none !important;
  border-top: 1px solid rgba(139, 124, 246, 0.22);
}

.gtms-factory > li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 28px 36px;
  padding: 32px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gtms-factory__n {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #8b7cf6;
  padding-top: 8px;
}

.gtms-factory__body h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: none;
}

.gtms-factory__body h3 em {
  display: inline-block;
  margin-left: 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 232, 237, 0.42);
  vertical-align: middle;
}

.gtms-factory__body p {
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 12px;
}

.gtms-factory__gate {
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  color: rgba(232, 232, 237, 0.62) !important;
}

.gtms-factory .book-cta {
  margin: 8px 0 0;
}

@media (max-width: 720px) {
  .gtms-factory > li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0 28px;
  }
}
