/* ChartGPT homepage: product evidence, restrained green and an editorial rhythm. */
.tn-live-home { --tn-ink: #eff3ed; --tn-muted: #a5b0a9; --tn-rule: #2e3933; }
.tn-live-home .tn-live-wrap { width: min(1280px, calc(100% - 64px)); }
.tn-studio-hero { padding: 76px 0 0; background: #101613; color: var(--tn-ink); }
.tn-live-home .tn-studio-eyebrow { margin: 0 0 26px; color: var(--tn-muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.tn-studio-eyebrow > span { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #80c69b; }
.tn-studio-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.tn-live-home .tn-studio-intro h1 { font-size: clamp(42px, 5.6vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; margin: 0; color: var(--tn-ink); }
.tn-studio-summary p { max-width: 44ch; margin: 0 0 23px; color: #c7d1ca; font-size: 18px; line-height: 1.65; }
.tn-studio-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.tn-live-home .tn-studio-actions .tn-live-button { min-height: 48px; padding: 13px 21px; border-radius: 4px; background: #a8d8b5; color: #112319; border: 1px solid #a8d8b5; box-shadow: none; font-size: 14px; }
.tn-studio-actions .tn-live-button span { margin-left: 24px; }
.tn-studio-text-link { display: inline-flex; gap: 12px; align-items: center; font-size: 14px; color: inherit; text-decoration: none; padding: 8px 0; border-bottom: 1px solid #617369; }
.tn-studio-summary small { display: block; margin-top: 19px; color: var(--tn-muted); font-size: 12px; line-height: 1.7; }
.tn-studio-workspace { margin: 0; border: 1px solid #34483b; border-radius: 8px 8px 0 0; overflow: hidden; box-shadow: 0 18px 65px #040a063b; background: #1e2521; }
.tn-studio-window-label, .tn-studio-workspace figcaption { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 24px; font-size: 12px; line-height: 1.5; color: #bac6be; }
.tn-studio-window-label { border-bottom: 1px solid #34483b; letter-spacing: .04em; }
.tn-studio-workspace > img { display: block; width: 100%; height: auto; max-height: 580px; object-fit: cover; object-position: top; }
.tn-studio-workspace figcaption { border-top: 1px solid #34483b; }
.tn-studio-workspace figcaption a { color: #b7dec1; }
.tn-studio-provider-line { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--tn-rule); padding: 28px 0; }
.tn-studio-provider-line > span { color: var(--tn-muted); font-size: 13px; }
.tn-studio-provider-line p { margin: 0; font-size: 17px; color: #c7d1ca; }
.tn-studio-provider-line i { padding: 0 18px; font-style: normal; color: #56665c; }
.tn-live-home:has(.tn-studio-hero) { background: #101613; color: var(--tn-ink); }
.tn-studio-workflow { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; padding-top: 110px; padding-bottom: 100px; }
.tn-live-home .tn-studio-section-heading h2, .tn-live-home .tn-studio-demo h2, .tn-live-home .tn-studio-context h2 { font-size: clamp(30px,3.25vw,44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.13; margin: 0 0 24px; color: var(--tn-ink); }
.tn-studio-steps { list-style: none; padding: 0; margin: 0; }
.tn-studio-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid var(--tn-rule); }
.tn-studio-step-number { font-family: monospace; font-size: 12px; color: #a8d8b5; padding-top: 5px; }
.tn-live-home .tn-studio-steps h3 { font-size: 22px; line-height: 1.25; font-weight: 500; margin: 0 0 12px; }
.tn-studio-steps p { font-size: 15px; color: var(--tn-muted); line-height: 1.7; max-width: 50ch; margin: 0 0 12px; }
.tn-studio-steps a, .tn-studio-context-grid a { color: #b5d6bf; font-size: 13px; }
.tn-studio-demo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; padding: 44px; background: #19231d; border: 1px solid var(--tn-rule); border-radius: 6px; }
.tn-studio-demo p:not(.tn-studio-eyebrow) { color: var(--tn-muted); font-size: 16px; max-width: 38ch; line-height: 1.7; margin-bottom: 20px; }
.tn-studio-demo .tn-live-video-card { width: 100%; margin: 0; border-radius: 5px; box-shadow: none; }
.tn-studio-context { padding-top: 100px; padding-bottom: 80px; }
.tn-studio-context-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; margin-bottom: 36px; align-items: end; }
.tn-studio-context-heading > p { color: var(--tn-muted); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
.tn-studio-context-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--tn-rule); }
.tn-studio-context-grid article { padding: 32px; min-width: 0; display: flex; flex-direction: column; align-items: start; }
.tn-studio-context-grid article + article { border-left: 1px solid var(--tn-rule); }
.tn-studio-context-grid article > span { font-size: 12px; color: var(--tn-muted); }
.tn-live-home .tn-studio-context-grid h3 { margin: 14px 0; font-size: 25px; line-height: 1.2; font-weight: 500; }
.tn-studio-context-grid p { color: var(--tn-muted); line-height: 1.7; font-size: 15px; min-height: 78px; max-width: 52ch; }
.tn-studio-context-grid img { width: 100%; height: 240px; object-fit: contain; object-position: left center; margin: 25px 0; background: #202020; border: 1px solid #39433b; }
.tn-studio-context-grid a { margin-top: auto; }
.tn-studio-research-note { color: var(--tn-muted); font-size: 12px; margin: 24px 0 0; }
.tn-live-home:has(.tn-studio-hero) .tn-live-pricing { background: #19231d; }
.tn-live-home:has(.tn-studio-hero) .tn-live-pricing::after { display: none; }
.tn-live-home:has(.tn-studio-hero) .tn-live-license-card { border-radius: 6px; box-shadow: none; border-color: #516557; }
.tn-live-home:has(.tn-studio-hero) .tn-live-license-card ul { list-style: none; padding: 0; }
.tn-live-home:has(.tn-studio-hero) .tn-live-license-card li::before { content: "✓" / ""; }
.tn-live-home:has(.tn-studio-hero) a:focus-visible { outline: 2px solid #b2e9c2; outline-offset: 5px; }
.tn-studio-text-link:hover, .tn-studio-steps a:hover, .tn-studio-context-grid a:hover { color: #e5f4e9; }
/* Keep the new sections readable with the site's existing theme switch. */
[data-brand="trading-neural"][data-theme="light"] .tn-live-home {
  --tn-ink: #142b1c;
  --tn-muted: #496052;
  --tn-rule: #cbd8cf;
}
[data-brand="trading-neural"][data-theme="light"] .tn-studio-hero { background: var(--tn-light-canvas); }
[data-brand="trading-neural"][data-theme="light"] .tn-studio-demo { background: var(--tn-light-alt); }
[data-brand="trading-neural"][data-theme="light"] :is(.tn-studio-summary p, .tn-studio-provider-line p) { color: var(--tn-light-copy); }
[data-brand="trading-neural"][data-theme="light"] :is(.tn-studio-step-number, .tn-studio-steps a, .tn-studio-context-grid a, .tn-studio-text-link) { color: #21643a; }
[data-brand="trading-neural"][data-theme="light"] :is(.tn-studio-text-link, .tn-studio-steps a, .tn-studio-context-grid a):hover { color: #123920; }
[data-brand="trading-neural"][data-theme="light"] .tn-studio-workspace { box-shadow: 0 18px 65px #142b1c14; }
@media (max-width: 900px) {
  .tn-studio-intro, .tn-studio-workflow, .tn-studio-demo, .tn-studio-context-heading { grid-template-columns: 1fr; gap: 32px; }
  .tn-studio-workflow { padding-top: 70px; padding-bottom: 60px; }
  .tn-studio-summary p { max-width: 60ch; }
  .tn-studio-provider-line { align-items: start; flex-direction: column; gap: 10px; }
  .tn-studio-context-grid p { min-height: 0; }
}
@media (max-width: 600px) {
  .tn-live-home .tn-live-wrap { width: calc(100% - 36px); }
  .tn-studio-hero { padding-top: 40px; }
  .tn-live-home .tn-studio-intro h1 { font-size: clamp(35px, 9.7vw, 54px); }
  .tn-studio-intro { margin-bottom: 32px; }
  .tn-studio-summary p { font-size: 16px; }
  .tn-studio-window-label, .tn-studio-workspace figcaption { padding: 12px; font-size: 10px; }
  .tn-studio-workspace figcaption { align-items: start; flex-direction: column; gap: 8px; }
  .tn-studio-workspace > img { max-height: none; }
  .tn-studio-provider-line p { font-size: 12px; }
  .tn-studio-provider-line i { padding: 0 8px; }
  .tn-studio-demo { padding: 25px 20px; }
  .tn-studio-context-grid { grid-template-columns: 1fr; }
  .tn-studio-context-grid article { padding: 24px; }
  .tn-studio-context-grid article + article { border-left: 0; border-top: 1px solid var(--tn-rule); }
  .tn-studio-context-grid img { height: auto; max-height: 270px; }
  .tn-studio-context { padding-top: 70px; padding-bottom: 60px; }
}
