@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,600;0,8..60,700;1,8..60,600&display=swap");

.tm-page {
  --tm-deep-forest: #0b1b15;
  --tm-harvest-gold: #c89f37;
  --tm-surface: #f8faf8;
  --tm-off-white: #f9fbf9;
  --tm-pure-white: #ffffff;
  --tm-on-surface: #191c1b;
  --tm-on-surface-variant: #424845;
  --tm-surface-container: #eceeec;
  --tm-surface-container-low: #f2f4f2;
  --tm-surface-container-high: #e6e9e7;
  --tm-surface-container-highest: #e1e3e1;
  --tm-outline: #737875;
  --tm-shadow: 0 1px 8px rgba(11, 27, 21, 0.06);
  --tm-margin: 20px;
  --tm-max: 1100px;
  --tm-fail: #ba1a1a;
  --tm-pass: #1b5e3b;

  background: var(--tm-surface);
  color: var(--tm-on-surface);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 1024px) {
  .tm-page {
    --tm-margin: 64px;
  }
}

.tm-page h1,
.tm-page h2,
.tm-page h3,
.tm-page h4 {
  font-family: "Source Serif 4", "Times New Roman", serif;
  font-weight: 600;
  color: var(--tm-deep-forest);
  margin-top: 0;
}

.tm-page p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--tm-on-surface-variant);
  font-size: 18px;
  line-height: 28px;
}

.tm-page p:last-child {
  margin-bottom: 0;
}

.tm-page a:not(.tm-btn) {
  color: var(--tm-deep-forest);
  font-weight: 600;
}

.tm-page a:not(.tm-btn):hover {
  color: var(--tm-harvest-gold);
}

.tm-container {
  max-width: var(--tm-max);
  margin: 0 auto;
  padding: 0 var(--tm-margin);
}

.tm-label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm-harvest-gold);
  margin-bottom: 0.5rem;
}

.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(200, 159, 55, 0.15);
  color: var(--tm-deep-forest);
  border: 1px solid rgba(200, 159, 55, 0.2);
  margin-bottom: 1.5rem;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-page section.tm-hero,
.tm-page section.tm-section,
.tm-page section.tm-cta {
  padding: 4rem 0;
}

@media (min-width: 1280px) {
  .tm-page section.tm-hero,
  .tm-page section.tm-section,
  .tm-page section.tm-cta {
    padding: 6rem 0;
  }
}

.tm-hero {
  border-bottom: 1px solid rgba(194, 200, 195, 0.3);
  background: var(--tm-surface);
}

.tm-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .tm-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.tm-hero h1 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .tm-hero h1 {
    font-size: 44px;
    line-height: 52px;
  }
}

.tm-lede {
  font-size: 22px;
  line-height: 32px;
  color: var(--tm-on-surface) !important;
  margin-bottom: 1.5rem !important;
}

.tm-hero-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tm-hero-body p {
  color: var(--tm-on-surface);
  margin-bottom: 0;
}

.tm-hero-visual {
  margin: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(194, 200, 195, 0.35);
  box-shadow: var(--tm-shadow);
  overflow: hidden;
  background: var(--tm-pure-white);
}

.tm-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tm-micro {
  margin-top: 1.5rem !important;
  font-size: 14px !important;
  line-height: 22px !important;
  color: var(--tm-outline) !important;
}

.tm-emphasis {
  font-weight: 500;
  color: var(--tm-deep-forest) !important;
}

.tm-hero-actions,
.tm-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .tm-hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  text-align: center;
  transition: background 0.15s ease, transform 0.1s ease, color 0.15s ease, border-color 0.15s ease;
}

.tm-btn:active {
  transform: translateY(2px);
}

.tm-btn-primary {
  background: var(--tm-deep-forest);
  color: var(--tm-pure-white);
  box-shadow: 0 2px 6px rgba(11, 27, 21, 0.12);
}

.tm-btn-primary:hover {
  background: rgba(11, 27, 21, 0.9);
  color: var(--tm-pure-white);
}

.tm-btn-outline {
  background: transparent;
  color: var(--tm-deep-forest);
  border-color: var(--tm-deep-forest);
}

.tm-btn-outline:hover {
  background: var(--tm-deep-forest);
  color: var(--tm-pure-white);
}

.tm-btn-gold {
  background: var(--tm-harvest-gold);
  color: var(--tm-deep-forest);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(11, 27, 21, 0.18);
}

.tm-btn-gold:hover {
  background: #ffd165;
  color: var(--tm-deep-forest);
}

.tm-btn-outline-light {
  background: transparent;
  color: var(--tm-pure-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.tm-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tm-pure-white);
}

.tm-section {
  border-bottom: 1px solid rgba(194, 200, 195, 0.3);
  background: var(--tm-surface);
}

.tm-section-white {
  background: var(--tm-pure-white);
}

.tm-section-header {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.tm-section-header h2 {
  font-size: 28px;
  line-height: 36px;
  margin: 0.5rem 0 1rem;
}

@media (min-width: 768px) {
  .tm-section-header h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

.tm-section-header p {
  margin-bottom: 0.75rem;
}

.tm-section-header p:last-child {
  margin-bottom: 0;
}

.tm-page h3 {
  font-size: 22px;
  line-height: 30px;
  margin: 0 0 0.75rem;
}

.tm-card-grid,
.tm-stage-grid,
.tm-persona-grid,
.tm-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .tm-card-grid,
  .tm-stage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tm-compare {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tm-persona-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tm-card {
  padding: 1.75rem;
  border-radius: 0.75rem;
  background: var(--tm-off-white);
  border: 1px solid rgba(194, 200, 195, 0.2);
}

.tm-section-white .tm-card {
  background: var(--tm-surface);
}

.tm-card h3 {
  margin: 0 0 0.75rem;
}

.tm-card p {
  font-size: 16px;
  line-height: 26px;
}

.tm-card p:last-child,
.tm-card .tm-list {
  margin-bottom: 0;
}

.tm-card-accent {
  background: var(--tm-deep-forest);
  border-color: transparent;
}

.tm-card-accent h3,
.tm-card-accent .tm-trace li {
  color: var(--tm-pure-white);
}

.tm-card-accent .tm-trace li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.tm-quote {
  margin: 0;
  max-width: 48rem;
  padding: 1.5rem 1.75rem;
  border-radius: 0.75rem;
  background: var(--tm-deep-forest);
  color: var(--tm-pure-white);
}

.tm-section-white .tm-quote {
  background: var(--tm-deep-forest);
}

.tm-quote p {
  margin: 0;
  color: var(--tm-pure-white);
  font-family: "Source Serif 4", "Times New Roman", serif;
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
}

.tm-diagram {
  border-radius: 0.75rem;
  border: 1px solid var(--tm-outline);
  box-shadow: var(--tm-shadow);
  overflow: hidden;
  background: var(--tm-pure-white);
  margin-bottom: 2rem;
}

.tm-diagram img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tm-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.tm-feature:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .tm-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }

  .tm-feature-reverse .tm-feature-copy {
    order: 2;
  }

  .tm-feature-reverse .tm-mock {
    order: 1;
  }
}

.tm-feature-copy p {
  font-size: 17px;
  line-height: 27px;
}

.tm-inline-link {
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 27, 21, 0.25);
}

.tm-mock {
  border-radius: 0.75rem;
  border: 1px solid rgba(194, 200, 195, 0.35);
  background: var(--tm-pure-white);
  box-shadow: var(--tm-shadow);
  overflow: hidden;
}

.tm-section .tm-mock {
  background: var(--tm-pure-white);
}

.tm-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--tm-deep-forest);
  color: var(--tm-pure-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tm-mock-fields {
  margin: 0;
  padding: 0.5rem 0;
}

.tm-mock-fields > div {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.55rem 1.1rem;
  border-top: 1px solid var(--tm-surface-container-highest);
}

.tm-mock-fields > div:first-child {
  border-top: 0;
}

.tm-mock-fields dt {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tm-outline);
  font-weight: 600;
}

.tm-mock-fields dd {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--tm-on-surface);
  font-weight: 600;
}

.tm-status-rail,
.tm-trace,
.tm-chip-list,
.tm-list,
.tm-trust-list,
.tm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tm-status-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.1rem;
}

.tm-status-rail li,
.tm-trace li {
  position: relative;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: var(--tm-surface-container-low);
  border: 1px solid rgba(194, 200, 195, 0.3);
  color: var(--tm-deep-forest);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.tm-status-rail li.is-current {
  background: rgba(200, 159, 55, 0.18);
  border-color: rgba(200, 159, 55, 0.45);
}

.tm-trace {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem;
}

.tm-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.1rem;
}

.tm-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--tm-surface-container);
  border: 1px solid rgba(194, 200, 195, 0.4);
  color: var(--tm-deep-forest);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tm-chip-review {
  background: rgba(200, 159, 55, 0.18);
  border-color: rgba(200, 159, 55, 0.4);
}

.tm-chip-change {
  background: rgba(186, 26, 26, 0.08);
  border-color: rgba(186, 26, 26, 0.25);
  color: var(--tm-fail);
}

.tm-chip-approved,
.tm-chip-ready,
.tm-chip-pass {
  background: rgba(27, 94, 59, 0.12);
  border-color: rgba(27, 94, 59, 0.3);
  color: var(--tm-pass);
}

.tm-chip-fail {
  background: rgba(186, 26, 26, 0.1);
  border-color: rgba(186, 26, 26, 0.3);
  color: var(--tm-fail);
}

.tm-chip-blocked {
  background: var(--tm-surface-container-highest);
  color: var(--tm-on-surface-variant);
}

.tm-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tm-steps {
    grid-template-columns: 1fr 1fr;
  }
}

.tm-steps li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--tm-pure-white);
  border: 1px solid rgba(194, 200, 195, 0.25);
}

.tm-step-num {
  flex-shrink: 0;
  font-family: "Source Serif 4", "Times New Roman", serif;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: var(--tm-harvest-gold);
}

.tm-steps h3 {
  margin-bottom: 0.4rem;
}

.tm-steps p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.tm-list,
.tm-trust-list {
  padding-left: 1.2rem;
  list-style: disc;
}

.tm-list li,
.tm-trust-list li {
  margin-bottom: 0.4rem;
  color: var(--tm-on-surface-variant);
  font-size: 16px;
  line-height: 24px;
}

.tm-trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .tm-trust-list {
    grid-template-columns: 1fr 1fr;
  }
}

.tm-trust-list li {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  background: var(--tm-surface);
  border: 1px solid rgba(194, 200, 195, 0.25);
  color: var(--tm-deep-forest);
  font-weight: 600;
}

.tm-cta {
  background: var(--tm-deep-forest);
  color: var(--tm-pure-white);
}

.tm-cta-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tm-cta h2 {
  color: var(--tm-pure-white);
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .tm-cta h2 {
    font-size: 40px;
    line-height: 48px;
  }
}

.tm-cta p {
  font-size: 18px;
  line-height: 28px;
  color: var(--tm-surface-container-high);
  margin-bottom: 0;
}

.tm-cta-actions {
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .tm-cta-actions {
    flex-direction: row;
    align-items: center;
  }
}

.tm-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
}

.tm-faq details {
  border-radius: 0.75rem;
  border: 1px solid rgba(194, 200, 195, 0.3);
  background: var(--tm-surface);
  padding: 0 1.25rem;
}

.tm-faq summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--tm-deep-forest);
  font-size: 17px;
  line-height: 26px;
  list-style: none;
}

.tm-faq summary::-webkit-details-marker {
  display: none;
}

.tm-faq details p {
  margin: 0 0 1.15rem;
  font-size: 16px;
  line-height: 26px;
}

@media (max-width: 639px) {
  .tm-hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .tm-lede {
    font-size: 18px;
    line-height: 28px;
  }

  .tm-section-header h2,
  .tm-cta h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .tm-page h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .tm-mock-fields > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .tm-quote p {
    font-size: 18px;
    line-height: 28px;
  }
}
