.ta-page { color: var(--q-ink); background: var(--q-canvas); overflow: clip; }
.ta-page [id] { scroll-margin-top: 30px; }
.ta-hero { padding: 72px 0 65px; background: white; }
.ta-hero__grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: 60px; }
.ta-hero h1 { margin: 0 0 28px; color: var(--q-ink); font-size: clamp(39px, 4.1vw, 59px); line-height: 1.1; font-weight: 600; letter-spacing: -.055em; }
.ta-hero__description { max-width: 440px; margin: 0; font-size: 15px; line-height: 1.85; }
.ta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.ta-actions .q-text-link { font-size: 12px; }
.ta-hero .ta-hero__note { max-width: 390px; margin: 24px 0 0; color: var(--q-muted); font-size: 11px; line-height: 1.8; }
.ta-explorer { min-width: 0; border: 1px solid #ccd8ec; border-radius: 14px; background: var(--q-blue-soft); box-shadow: 0 16px 45px #172b4608; }
.ta-explorer__bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 22px; border-bottom: 1px solid #d0dbed; }
.ta-explorer__bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--q-ink); font-size: 12px; font-weight: 650; }
.ta-explorer__bar > span:last-child { color: var(--q-muted); font-size: 10px; }
.ta-selector { padding: 20px; margin: 0; border: 0; min-width: 0; }
.ta-selector legend { float: none; width: auto; padding: 0; margin-bottom: 13px; color: var(--q-muted); font-size: 11px; }
.ta-selector__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.ta-selector__choices label { position: relative; margin: 0; cursor: pointer; }
.ta-selector__choices input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.ta-choice { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px; border: 1px solid #cfdaed; border-radius: 7px; background: #ffffff50; color: var(--q-muted); }
.ta-choice > span:last-child { min-width: 0; font-size: 12px; font-weight: 600; line-height: 1.5; }
.ta-choice small { display: block; margin-top: 3px; color: var(--q-muted); font-size: 10px; font-weight: 400; }
.ta-choice__icon { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; border-radius: 50%; color: var(--agent-color); font-size: 21px; background: white; }
.ta-selector__choices input:checked + .ta-choice { border-color: #8eaadb; background: white; color: var(--q-ink); }
.ta-selector__choices input:focus-visible + .ta-choice { outline: 3px solid var(--q-blue); outline-offset: 3px; }
.ta-explorer__panels { margin-top: 17px; border: 1px solid #d4deef; border-radius: 9px; background: white; }
.ta-explorer__panel { display: none; padding: 23px; }
.ta-explorer:has([value="momentum-falcon"]:checked) [data-agent-preview="momentum-falcon"],
.ta-explorer:has([value="value-forge"]:checked) [data-agent-preview="value-forge"],
.ta-explorer:has([value="news-sentinel"]:checked) [data-agent-preview="news-sentinel"],
.ta-explorer:has([value="reversion-lynx"]:checked) [data-agent-preview="reversion-lynx"] { display: block; }
.ta-explorer__agent { display: flex; align-items: flex-start; gap: 13px; }
.ta-agent-mark { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--agent-color) 30%, white); border-radius: 50%; color: var(--agent-color); font-size: 24px; line-height: 1; }
.ta-explorer__agent h2 { margin: 0 0 6px; font-size: 23px; font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
.ta-explorer__agent p { min-height: 34px; margin: 0; font-size: 11px; line-height: 1.6; }
.ta-explorer__inputs { margin-top: 22px; }
.ta-explorer__inputs h3 { margin: 0 0 11px; font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--q-muted); }
.ta-explorer__inputs ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.ta-explorer__inputs li { padding: 6px 9px; border: 1px solid var(--q-line); border-radius: 4px; background: #f6f8fb; font-size: 11px; line-height: 1.6; }
.ta-rules { display: grid; grid-template-columns: 1.15fr .9fr 1fr; gap: 18px; padding-top: 20px; margin: 23px 0 21px; border-top: 1px solid var(--q-line); }
.ta-rules dt { margin-bottom: 6px; color: var(--q-muted); font-size: 11px; font-weight: 400; line-height: 1.6; }
.ta-rules dd { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.4; font-variant-numeric: tabular-nums; }
.ta-explorer__link { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; }
.ta-explorer .ta-explorer__note { padding: 0 21px 20px; margin: 0; color: var(--q-muted); font-size: 10px; line-height: 1.75; }
.ta-context { padding-block: 23px; border-block: 1px solid var(--q-line); background: white; }
.ta-context__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ta-context p { margin: 0; color: var(--q-ink); font-size: 12px; font-weight: 600; }
.ta-context ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.ta-context li { color: var(--q-muted); font-size: 11px; }
.ta-context li::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 9px; border-radius: 50%; background: #9eb3d6; vertical-align: middle; }
.ta-section { padding-block: 65px; }
.ta-section-heading { max-width: 780px; margin-bottom: 36px; }
.ta-section-heading h2, .ta-workspace h2, .ta-faq h2, .ta-close h2 { margin: 0 0 17px; color: var(--q-ink); font-size: clamp(29px, 3vw, 36px); line-height: 1.2; font-weight: 600; letter-spacing: -.045em; }
.ta-section-heading p, .ta-workspace__intro > p { margin: 0; color: var(--q-muted); font-size: 14px; line-height: 1.9; }
.ta-agent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 70px; }
.ta-agent { min-width: 0; padding: 28px 0 0; border-top: 1px solid var(--q-line); }
.ta-agent__identity { display: flex; align-items: center; gap: 13px; }
.ta-agent__identity h3 { margin: 0 0 4px; font-size: 22px; font-weight: 650; letter-spacing: -.035em; }
.ta-agent__identity > div > span { color: var(--q-muted); font-size: 11px; }
.ta-agent .ta-agent__question { margin: 22px 0 12px; color: var(--q-ink); font-size: 16px; font-weight: 550; line-height: 1.55; }
.ta-agent__description { max-width: 500px; margin: 0; font-size: 13px; line-height: 1.85; }
.ta-agent__inputs { display: flex; flex-wrap: wrap; gap: 7px 18px; padding: 0; margin: 18px 0 24px; list-style: none; }
.ta-agent__inputs li { color: var(--q-muted); font-size: 10px; }
.ta-agent__inputs li::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 7px; vertical-align: middle; background: var(--agent-color); border-radius: 50%; }
.ta-agent > a { font-size: 11px; }
.ta-workspace { padding-block: 65px; background: white; border-block: 1px solid var(--q-line); }
.ta-workspace__grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 85px; }
.ta-workspace__intro > p { max-width: 400px; }
.ta-workspace__intro .q-button { margin-top: 28px; }
.ta-records { padding: 0; margin: 0; }
.ta-records > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 27px; padding: 21px 0; border-bottom: 1px solid var(--q-line); }
.ta-records > div:first-child { border-top: 1px solid var(--q-line); }
.ta-records dt { font-size: 13px; font-weight: 650; }
.ta-records dd { padding: 0; margin: 0; color: var(--q-muted); font-size: 12px; line-height: 1.9; }
.ta-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; padding: 0; margin: 0; list-style: none; counter-reset: research; }
.ta-process li { border-top: 1px solid var(--q-line); padding-top: 21px; }
.ta-process__number { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 18px; border: 1px solid #b8cae9; border-radius: 50%; color: var(--q-blue); font-size: 11px; }
.ta-process h3 { margin-bottom: 12px; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.ta-process p { margin: 0; font-size: 12px; line-height: 1.9; }
.ta-limitations { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 35px; padding: 28px 30px; margin-top: 44px; background: var(--q-blue-soft); border-radius: 8px; }
.ta-limitations h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.ta-limitations p { margin: 0; font-size: 12px; line-height: 1.9; }
.ta-faq { padding-block: 62px; border-block: 1px solid var(--q-line); background: white; }
.ta-faq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; }
.ta-faq__grid > div:first-child p { max-width: 320px; font-size: 13px; }
.ta-faq__item { border-bottom: 1px solid var(--q-line); }
.ta-faq__item:first-child { border-top: 1px solid var(--q-line); }
.ta-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; color: var(--q-ink); list-style: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.ta-faq__item summary::-webkit-details-marker { display: none; }
.ta-faq__item summary > span { color: var(--q-muted); font-size: 23px; font-weight: 400; }
.ta-faq__item[open] summary > span { transform: rotate(45deg); }
.ta-faq__item > p { margin: 0; padding: 0 20px 24px 0; color: var(--q-muted); font-size: 12px; line-height: 1.9; }
.ta-close { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 56px; }
.ta-close h2 { font-size: 29px; margin-bottom: 12px; }
.ta-close p { margin: 0; font-size: 13px; }
.ta-close > .q-button { flex-shrink: 0; }
@media (max-width: 1190px) {
  .ta-hero__grid { grid-template-columns: .9fr 1.1fr; gap: 35px; }
  .ta-hero h1 { font-size: 47px; }
  .ta-selector { padding: 16px; }
  .ta-explorer__panel { padding: 20px; }
  .ta-workspace__grid { gap: 48px; }
  .ta-agent-grid { gap: 35px 45px; }
  .ta-context__inner { align-items: flex-start; }
  .ta-context ul { gap: 15px; }
}
@media (max-width: 960px) {
  .ta-hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .ta-hero__copy { max-width: 600px; }
  .ta-hero h1 { font-size: 52px; }
  .ta-hero__description { max-width: 570px; }
  .ta-explorer { width: 100%; max-width: 640px; }
  .ta-context__inner { flex-direction: column; gap: 12px; }
  .ta-workspace__grid { grid-template-columns: 1fr; gap: 35px; }
  .ta-workspace__intro > p { max-width: 600px; }
  .ta-faq__grid { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 600px) {
  .ta-hero { padding-block: 42px; }
  .ta-hero h1 { font-size: 40px; }
  .ta-hero__description { font-size: 14px; }
  .ta-actions { gap: 22px; }
  .ta-explorer__bar { padding-inline: 17px; }
  .ta-choice { gap: 7px; padding: 10px 8px; }
  .ta-choice__icon { width: 22px; height: 22px; font-size: 19px; }
  .ta-choice > span:last-child { font-size: 11px; }
  .ta-choice small { font-size: 9px; }
  .ta-explorer__panel { padding: 18px; }
  .ta-explorer__agent h2 { font-size: 21px; }
  .ta-rules { grid-template-columns: 1fr 1fr; gap: 18px 15px; }
  .ta-explorer__agent p { min-height: 0; }
  .ta-context ul { flex-wrap: wrap; gap: 7px 15px; }
  .ta-context li { font-size: 10px; }
  .ta-section, .ta-workspace, .ta-faq { padding-block: 43px; }
  .ta-section-heading { margin-bottom: 28px; }
  .ta-section-heading h2, .ta-workspace h2, .ta-faq h2 { font-size: 29px; }
  .ta-agent-grid { grid-template-columns: 1fr; gap: 30px; }
  .ta-agent { padding-top: 23px; }
  .ta-records > div { grid-template-columns: 1fr; gap: 8px; }
  .ta-process { grid-template-columns: 1fr; gap: 27px; }
  .ta-process__number { margin-bottom: 12px; }
  .ta-limitations { grid-template-columns: 1fr; gap: 14px; padding: 23px; margin-top: 32px; }
  .ta-close { align-items: flex-start; flex-direction: column; gap: 23px; padding-block: 43px; }
}
@media (max-width: 359px) {
  .ta-hero h1 { font-size: 36px; }
  .ta-selector { padding: 12px; }
  .ta-choice__icon { display: none; }
  .ta-choice { padding: 9px; }
  .ta-explorer__panel { padding: 15px; }
  .ta-explorer__agent { gap: 10px; }
  .ta-agent-mark { width: 30px; height: 30px; font-size: 21px; }
}
