.tw-main { overflow: hidden; }

.tw-container,
.tw-section {
  margin: 0 auto;
  max-width: 1248px;
  padding-left: 24px;
  padding-right: 24px;
}

.tw-hero {
  align-items: center;
  display: grid;
  gap: clamp(50px, 8vw, 112px);
  grid-template-columns: minmax(0, 1.04fr) minmax(370px, .76fr);
  padding-bottom: 82px;
  padding-top: 78px;
}

.tw-hero-copy { max-width: 760px; }

.tw-hero h1,
.tw-heading h2,
.tw-final h2 {
  font-weight: 600;
  letter-spacing: -.074em;
  line-height: .94;
  margin: 0;
}

.tw-hero h1 { font-size: clamp(62px, 7.4vw, 104px); }
.tw-heading h2,
.tw-final h2 { font-size: clamp(46px, 5.5vw, 72px); }

.tw-hero h1 em,
.tw-heading h2 em,
.tw-final h2 em {
  font-family: "Source Serif 4", "Source Serif 4 Fallback", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.078em;
}

.tw-lede {
  color: var(--tp-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 690px;
}

.tw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

.tw-route-card {
  background: #050505;
  border: 7px solid #f8f8f8;
  border-radius: 25px;
  box-shadow: var(--tp-shadow);
  color: #fff;
  min-height: 580px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.tw-route-card::before {
  background: radial-gradient(circle at 84% 12%, rgba(255,255,255,.14), transparent 28%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.tw-route-head,
.tw-route-foot {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.tw-route-head { border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 22px; }
.tw-route-head strong { font-size: 15px; letter-spacing: -.03em; }
.tw-route-head span,
.tw-route-foot span { color: #858585; font-family: monospace; font-size: 10px; text-transform: uppercase; }
.tw-route-head i { background: #bdbdbd; border-radius: 50%; height: 8px; width: 8px; }

.tw-route-list { display: grid; gap: 9px; margin: 42px 0; position: relative; z-index: 1; }
.tw-route-step {
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  display: grid;
  gap: 5px 15px;
  grid-template-columns: 38px 1fr;
  padding: 18px;
}
.tw-route-step > span { color: #797979; font-family: monospace; font-size: 10px; grid-row: 1 / 3; }
.tw-route-step strong { font-size: 17px; letter-spacing: -.035em; }
.tw-route-step small { color: #929292; font-size: 11px; }
.tw-route-step--active { background: var(--tp-accent-raised); border-color: var(--tp-accent-border); color: #fff; }
.tw-route-step--active > span,
.tw-route-step--active small { color: var(--tp-on-accent-muted); }
.tw-route-foot { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
.tw-route-foot strong { color: #dcdcdc; font-size: 12px; }

.tw-section { padding-bottom: 112px; padding-top: 112px; }
.tw-section--dark { background: #050505; color: #fff; max-width: none; padding-left: max(24px, calc((100vw - 1200px) / 2)); padding-right: max(24px, calc((100vw - 1200px) / 2)); }
.tw-heading { max-width: 830px; }
.tw-heading p { color: var(--tp-muted); font-size: 17px; line-height: 1.55; margin: 24px 0 0; max-width: 680px; }

.tw-process-grid { display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 58px; }
.tw-process-step { border-left: 1px solid var(--tp-line); min-height: 330px; padding: 0 28px 24px; }
.tw-process-step:first-child { border-left: 0; padding-left: 0; }
.tw-process-step > span { color: var(--tp-muted); font-family: monospace; font-size: 11px; }
.tw-process-step h3 { font-size: 25px; letter-spacing: -.05em; line-height: 1.05; margin: 104px 0 14px; }
.tw-process-step p { color: var(--tp-muted); font-size: 13px; line-height: 1.6; margin: 0; }

.tw-split {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  margin-top: 54px;
}

.tw-panel {
  background: #fff;
  border: 6px solid #f8f8f8;
  border-radius: 20px;
  box-shadow: var(--tp-shadow);
  padding: clamp(30px, 4vw, 50px);
}

.tw-panel--green { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-on-accent); }
.tw-panel > span { color: var(--tp-muted); font-family: monospace; font-size: 10px; text-transform: uppercase; }
.tw-panel--green > span { color: var(--tp-on-accent-muted); }
.tw-panel h3 { font-size: clamp(31px, 3.3vw, 45px); letter-spacing: -.06em; line-height: 1; margin: 70px 0 18px; }
.tw-panel p { color: var(--tp-muted); font-size: 15px; line-height: 1.6; margin: 0; }
.tw-panel--green p { color: var(--tp-on-accent-muted); }
.tw-panel ul { border-top: 1px solid var(--tp-line); list-style: none; margin: 28px 0 0; padding: 10px 0 0; }
.tw-panel li { border-bottom: 1px solid var(--tp-line); font-size: 14px; line-height: 1.45; padding: 15px 0; }
.tw-panel--green ul { border-color: rgba(255,255,255,.16); }
.tw-panel--green li { border-color: rgba(255,255,255,.16); }
.tw-panel--green .tp-button--dark { background: #fff; border-color: #fff; color: var(--tp-ink); }
.tw-panel--green .tp-button--dark:hover { background: #f0f0f0; }

.tw-model-grid,
.tw-principles-grid { display: grid; gap: 16px; margin-top: 54px; }
.tw-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tw-principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tw-model,
.tw-principle {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 17px;
  min-height: 300px;
  padding: 30px;
}
.tw-model > span,
.tw-principle > span { color: #dcdcdc; font-family: monospace; font-size: 10px; text-transform: uppercase; }
.tw-model h3,
.tw-principle h3 { font-size: 28px; letter-spacing: -.05em; line-height: 1.05; margin: 82px 0 14px; }
.tw-model p,
.tw-principle p { color: #999; font-size: 14px; line-height: 1.58; margin: 0; }
.tw-model a { color: #fff; display: inline-flex; font-size: 13px; font-weight: 600; gap: 8px; margin-top: 26px; text-decoration: none; }

.tw-path-list { border-top: 1px solid var(--tp-line); margin-top: 52px; }
.tw-path {
  align-items: center;
  border-bottom: 1px solid var(--tp-line);
  display: grid;
  gap: 24px;
  grid-template-columns: 54px minmax(0, .75fr) minmax(0, 1.25fr) auto;
  padding: 28px 0;
  text-decoration: none;
}
.tw-path > span { color: var(--tp-muted); font-family: monospace; font-size: 10px; }
.tw-path strong { font-size: 23px; letter-spacing: -.045em; }
.tw-path p { color: var(--tp-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.tw-path i { font-size: 22px; font-style: normal; transition: transform .2s ease; }
.tw-path:hover i { transform: translateX(4px); }

.tw-faqs { border-top: 1px solid var(--tp-line); margin-top: 50px; }
.tw-faqs details { border-bottom: 1px solid var(--tp-line); }
.tw-faqs summary { cursor: pointer; font-size: 20px; font-weight: 600; letter-spacing: -.035em; list-style: none; padding: 26px 52px 26px 0; position: relative; }
.tw-faqs summary::-webkit-details-marker { display: none; }
.tw-faqs summary::after { content: "+"; font-size: 26px; font-weight: 400; position: absolute; right: 8px; top: 21px; }
.tw-faqs details[open] summary::after { content: "−"; }
.tw-faqs p { color: var(--tp-muted); font-size: 15px; line-height: 1.65; margin: -6px 0 28px; max-width: 850px; }

.tw-final {
  align-items: end;
  background: var(--tp-accent);
  color: var(--tp-on-accent);
  border-radius: 24px;
  display: flex;
  gap: 50px;
  justify-content: space-between;
  margin: 70px auto 24px;
  max-width: 1200px;
  padding: clamp(42px, 6vw, 76px);
}
.tw-final > div { max-width: 760px; }
.tw-final p { color: var(--tp-on-accent-muted); font-size: 16px; line-height: 1.5; margin: 22px 0 0; max-width: 620px; }
.tw-final .tp-button { flex: none; }
.tw-final .tp-button--dark { background: #fff; border-color: #fff; color: var(--tp-ink); }
.tw-final .tp-button--dark:hover { background: #f0f0f0; }

@media (max-width: 940px) {
  .tw-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 82px; }
  .tw-route-card { margin: 0 auto; max-width: 680px; width: 100%; }
  .tw-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-process-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .tw-principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-principle:last-child { grid-column: 1 / -1; }
  .tw-final { align-items: start; flex-direction: column; }
}

@media (max-width: 680px) {
  .tw-container, .tw-section { padding-left: 20px; padding-right: 20px; }
  .tw-hero { gap: 54px; padding-bottom: 78px; padding-top: 70px; }
  .tw-hero h1 { font-size: clamp(54px, 16vw, 72px); }
  .tw-actions { display: grid; }
  .tw-actions .tp-button { width: 100%; }
  .tw-route-card { min-height: 530px; padding: 20px; }
  .tw-route-list { margin: 30px 0; }
  .tw-route-step { padding: 15px; }
  .tw-section { padding-bottom: 82px; padding-top: 82px; }
  .tw-section--dark { padding-left: 20px; padding-right: 20px; }
  .tw-heading h2, .tw-final h2 { font-size: clamp(42px, 12vw, 54px); }
  .tw-heading p { font-size: 15px; }
  .tw-process-grid { grid-template-columns: 1fr; }
  .tw-process-step,
  .tw-process-step:first-child,
  .tw-process-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--tp-line); min-height: 0; padding: 25px 0 30px; }
  .tw-process-step h3 { margin: 38px 0 12px; }
  .tw-split, .tw-model-grid, .tw-principles-grid { grid-template-columns: 1fr; }
  .tw-principle:last-child { grid-column: auto; }
  .tw-panel h3 { margin-top: 50px; }
  .tw-model, .tw-principle { min-height: 270px; padding: 25px; }
  .tw-model h3, .tw-principle h3 { margin-top: 62px; }
  .tw-path { gap: 12px; grid-template-columns: 35px 1fr auto; }
  .tw-path p { grid-column: 2 / 4; }
  .tw-faqs summary { font-size: 17px; }
  .tw-final { border-radius: 0; margin: 40px 0 0; padding: 60px 20px; }
  .tw-final .tp-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tw-path i { transition: none; }
}
