/* Features uses the homepage's public type scale and spacing, scoped away from dashboards. */
.tg-feature-page {
  --feature-font-body: THICCCBOI, Arial, sans-serif;
  --feature-font-heading: "Space Grotesk", THICCCBOI, sans-serif;
  --feature-title-size: clamp(30px, 2.8vw, 44px);
  --feature-section-space: clamp(40px, 4.5vw, 64px);
  --feature-gutter: 32px;
  --feature-content-gap: 32px;
  font: 400 16px/1.6 var(--feature-font-body);
}
.tg-feature-page .tgh3 { --tgh-font: var(--feature-font-body); padding: var(--feature-section-space) 0; }
.tg-feature-page .tgm { font-family: var(--feature-font-body); }
.tg-feature-page :is(h1, h2, h3, h4),
.tg-feature-page .tgm :is(h2, h3, h4) { font-family: var(--feature-font-heading); font-weight: 700; }
.tg-feature-page .tgm :is(button, select, textarea) { font-family: var(--feature-font-body); }
.tg-feature-page .navbar-clone { background: #fff !important; }
.tg-feature-page .tg-site-nav .nav-link { font-size: 16px; }

.tg-feature-page main > section > .container,
.tg-feature-page main > .container,
.tg-feature-page .tgh3__inner,
.tg-feature-page .tgm__container,
.tg-feature-page .tg-marketing-footer > .container {
  width: min(calc(100% - var(--feature-gutter) * 2), 1280px);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 0;
}
.tg-feature-page .tg-home-section { padding-block: var(--feature-section-space); }
.tg-feature-page .tgm-rubric { padding-block: 32px var(--feature-section-space); }
.tg-feature-page #instructor-review-demo > .tg-home-section { padding-top: 32px; padding-bottom: 32px; }
.tg-feature-page :is(.display-4, .tgm .tgm__headline) {
  font-family: var(--feature-font-heading);
  font-size: var(--feature-title-size);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.tg-feature-page :is(.tg-eyebrow, .tgm__eyebrow, .tgh3__eyebrow) {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}
.tg-feature-page :is(.lead, .tgm .tgm__lead, .tgh3 .tgh3__intro) {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
}
.tg-feature-page :is(.tg-home-section-heading, .tg-feature-section-heading, .tg-supported-files__heading) {
  gap: 24px 40px;
  margin-bottom: var(--feature-content-gap);
}
.tg-feature-page .tg-feature-section-heading { max-width: 900px; }
.tg-feature-page .tg-feature-section-heading .display-4 { margin-bottom: 16px; }
.tg-feature-page :is(.tg-benefit-card, .tg-feature-detail, .tg-product-copy, .tg-reference-example) p {
  font-size: 16px;
  line-height: 1.6;
}
.tg-feature-page :is(.tg-feature-detail, .tg-product-copy, .tg-reference-example) .tg-eyebrow,
.tg-feature-page .tg-reference-example .tg-ui-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}
.tg-feature-page :is(.tg-benefit-card, .tg-feature-detail, .tg-reference-example) h3,
.tg-feature-page .tgm .tgm-rubric__demo-header h3 { font-size: 20px; line-height: 1.35; }

/* Keep both workflow routes legible while raising the primary actions. */
.tg-feature-page .tgh3__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; }
.tg-feature-page .tgh3__copy { max-width: none; width: 100%; padding: 0; }
.tg-feature-page .tgh3__visual { width: 100%; max-width: 680px; }
.tg-feature-page .tgh3 h1 { max-width: none; margin: 0 0 24px; font-family: var(--feature-font-heading); font-size: clamp(36px, 3.1vw, 48px); line-height: 1.12; }
.tg-feature-page .tgh3 h1 > span { display: inline; }
.tg-feature-page .tgh3 .tgh3__intro { max-width: none; }
.tg-feature-page .tgh3__actions { margin-top: 24px; gap: 12px; }
.tg-feature-page .tgh3__button { min-height: 48px; padding: 12px 18px; font-size: 16px; }
.tg-feature-page .tgh3__platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.tg-feature-page .tgh3__platforms li { padding: 6px 10px; border: 1px solid #d7e3e9; border-radius: 24px; color: #405466; font-size: 13px; }
.tg-feature-page .tgh3 .tgh3__note { max-width: none; margin-top: 16px; font-size: 13px; }
.tg-feature-page .tg-feature-jump { margin: 0; padding: 24px 0; gap: 8px; }
.tg-feature-page .tg-feature-jump a { padding: 8px 14px; font-size: 14px; }

/* A concise overview, followed by the platform comparison and worked examples. */
.tg-feature-page :is(.tg-benefit-grid, .tg-feature-detail-grid) { gap: 24px; }
.tg-feature-page :is(.tg-benefit-card, .tg-feature-detail, .tg-reference-example) { padding: 24px; }
.tg-feature-page .tg-benefit-card h3 { margin: 16px 0 8px; }
.tg-feature-page .tg-benefit-card p { margin: 0 0 16px; }
.tg-feature-page .tg-benefit-card .tg-inline-link { font-size: 14px; }
.tg-feature-page .tg-card-icon { width: 48px; height: 48px; font-size: 24px; }
.tg-feature-page .tg-feature-detail h3 { margin-bottom: 12px; }
.tg-feature-page .tg-feature-detail :is(p, li) { font-size: 16px; line-height: 1.6; }
.tg-feature-page .tg-feature-detail p { margin-bottom: 16px; }
.tg-feature-page .tg-feature-detail p:last-child { margin-bottom: 0; }
.tg-feature-page .tg-feature-detail li + li { margin-top: 8px; }
.tg-feature-page .tg-product-split { gap: 40px; }
.tg-feature-page .tg-product-copy .tg-check-list { margin-block: 24px; font-size: 16px; }
.tg-feature-page .tg-reference-files li { padding-block: 16px; }
.tg-feature-page .tg-reference-files strong { font-size: 16px; }
.tg-feature-page .tg-reference-files span { font-size: 14px; }
.tg-feature-page .tg-reference-example .tg-reference-example__note { font-size: 14px; }

.tg-feature-page .tg-demo-index { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; font-size: 14px; font-weight: 700; }
.tg-feature-page .tg-demo-index a { color: var(--tg-accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.tg-feature-page .tg-feature-detail a { color: var(--tg-accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.tg-feature-page .tg-grading-example--sequence { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.1fr); font-size: 15px; }
.tg-feature-page .tg-grading-example--sequence > div { min-width: 0; padding: 24px; }
.tg-feature-page .tg-grading-example--sequence > .tg-grading-example__inputs { display: block; }
.tg-feature-page .tg-grading-example__answer { background: #fff; border-left: 1px solid var(--tg-line); }
.tg-feature-page .tg-grading-example__answer blockquote { margin: 0; padding: 0; border: 0; font-size: inherit; line-height: 1.6; }
.tg-feature-page .tg-grading-example__answer blockquote::before,
.tg-feature-page .tg-grading-example__answer blockquote::after { content: none; }
.tg-feature-page .tg-grading-example h3 { margin-bottom: 16px; font-size: 18px; line-height: 1.4; }
.tg-feature-page .tg-example-result-heading { margin-bottom: 16px; }
.tg-feature-page .tg-example-result-heading h3 { margin: 0; }
.tg-feature-page .tg-example-score { padding: 16px; }
.tg-feature-page .tg-example-score strong { font-size: 36px; }
.tg-feature-page .tg-example-rubric { font-size: 14px; }
.tg-feature-page .tg-example-rubric :is(th, td) { padding-block: 10px; }
.tg-feature-page .tg-grading-example--sequence .tg-example-input__note { margin-top: 12px; font-size: 13px; line-height: 1.6; color: #526674; }
.tg-feature-page .tg-example-feedback { margin-top: 16px; }
.tg-feature-page .tg-example-feedback__tabs { gap: 12px; }
.tg-feature-page .tg-example-feedback__tabs button { font-size: 14px; padding-block: 10px; }
.tg-feature-page .tg-example-feedback .tab-content { min-height: 0; padding-top: 16px; }
.tg-feature-page .tg-example-guidance { margin-top: 24px; padding-top: 16px; }
.tg-feature-page .tg-example-guidance h4 { font-size: 16px; }
.tg-feature-page .tg-example-guidance p { font-size: 14px; }
.tg-feature-page .tgm-rubric__layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
.tg-feature-page .tgm-rubric__benefits { margin-block: 24px; gap: 12px; }
.tg-feature-page .tgm-rubric__benefits li { font-size: 16px; }

.tg-feature-page .tg-file-card { padding: 20px; gap: 12px; }
.tg-feature-page .tg-file-card__title { font-size: 18px; }
.tg-feature-page .tg-file-card__extensions li,
.tg-feature-page .tg-file-card__note { font-size: 14px; line-height: 1.6; }
.tg-feature-page .tg-supported-files__note { margin-top: 24px; font-size: 14px; }
.tg-feature-page .tg-evidence-details { margin-top: 24px; border: 1px solid var(--tg-line); border-radius: 12px; background: #fff; }
.tg-feature-page .tg-evidence-details summary { padding: 16px 20px; cursor: pointer; font-weight: 700; }
.tg-feature-page .tg-evidence-details__content { padding: 0 20px 20px; font-size: 16px; }
.tg-feature-page .tg-evidence-details__content ul { margin: 0 0 16px; padding-left: 20px; }
.tg-feature-page .tg-evidence-details__content li + li { margin-top: 12px; }
.tg-feature-page .tg-feature-note { margin-top: 24px; padding: 16px 20px; font-size: 14px; line-height: 1.6; }
.tg-feature-page .tg-lms-table { min-width: 640px; font-size: 15px; line-height: 1.6; }
.tg-feature-page .tg-lms-table :is(th, td) { padding: 16px 20px; }
.tg-feature-page .tg-lms-table caption { padding: 16px 20px; font-size: 14px; }
.tg-feature-page .tg-privacy-choices { margin-block: 16px; gap: 8px; }
.tg-feature-page .tg-privacy-choices li { font-size: 14px; }
.tg-feature-page .tg-history-preview { margin: 24px 0 0; overflow: hidden; border: 1px solid var(--tg-line); border-radius: 12px; }
.tg-feature-page .tg-history-preview figcaption { padding: 12px 16px; background: var(--tg-blue-soft); color: var(--tg-ink); font-size: 13px; font-weight: 700; }
.tg-feature-page .tg-history-preview .tg-history-preview__course { margin: 0; padding: 12px 16px; font-size: 14px; }
.tg-feature-page .tg-history-preview__table-wrap { height: auto; max-height: none; overflow-x: auto; overflow-y: hidden; }
.tg-feature-page .tg-history-preview table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
.tg-feature-page .tg-history-preview :is(th, td) { padding: 12px; border-top: 1px solid var(--tg-line); text-align: left; vertical-align: top; }
.tg-feature-page .tg-history-preview th { color: var(--tg-ink); }
.tg-feature-page .tg-history-preview td:nth-child(2) { white-space: nowrap; }
.tg-feature-page .tg-feature-detail .tg-history-preview__note { margin-top: 16px; font-size: 14px; color: #526674; }

.tg-feature-page .btn { min-height: 48px; font-family: var(--feature-font-body); font-size: 16px; }
.tg-feature-page .tg-cta-section { padding-top: 0; padding-bottom: var(--feature-section-space); }
.tg-feature-page .tg-cta-band { padding: 32px; gap: 32px; }
.tg-feature-page .tg-cta-band__copy { max-width: 760px; }
.tg-feature-page .tg-cta-band__copy .lead { font-size: 18px; }
.tg-feature-page .tg-cta-band__actions { gap: 12px; }
.tg-feature-page .tg-marketing-footer { font-size: 16px; }
.tg-feature-page .tg-marketing-footer > .container { padding-block: var(--feature-section-space) !important; }
.tg-feature-page .tg-marketing-footer .widget-title { font-size: 18px; }
.tg-feature-page .tg-footer-wordmark { font-size: 24px; }
.tg-feature-page #tg-marketing-preferences { min-height: 44px; max-width: calc(100% - 32px); padding: 10px 12px; font: 700 13px/1.4 var(--feature-font-body); }
.tg-feature-page :is(summary, .tg-history-preview__table-wrap):focus-visible { outline: 3px solid #174d8d; outline-offset: -3px; }

@media (max-width: 1050px) {
  .tg-feature-page .tgh3__inner { display: flex; flex-direction: column; }
  .tg-feature-page .tgh3__copy { max-width: 720px; }
  .tg-feature-page .tgh3__visual { max-width: 680px; }
  .tg-feature-page .tg-grading-example--sequence,
  .tg-feature-page .tgm-rubric__layout { grid-template-columns: minmax(0, 1fr); }
  .tg-feature-page .tg-grading-example__answer,
  .tg-feature-page .tg-grading-example__result { border-left: 0; border-top: 1px solid var(--tg-line); }
}
@media (max-width: 780px) {
  .tg-feature-page { --feature-gutter: 18px; --feature-content-gap: 24px; }
  .tg-feature-page .tg-home-section-heading,
  .tg-feature-page .tg-supported-files__heading { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tg-feature-page .tg-product-split { gap: 24px; }
  .tg-feature-page .tg-cta-band { padding: 24px; gap: 24px; }
}
@media (max-width: 600px) {
  .tg-feature-page :is(.tg-benefit-card, .tg-feature-detail, .tg-reference-example) { padding: 20px; }
  .tg-feature-page .tg-grading-example--sequence > div { padding: 20px; }
  .tg-feature-page .tgh3__actions { display: flex; }
  .tg-feature-page .tgh3__button { width: 100%; }
  .tg-feature-page .tg-cta-band__actions { width: 100%; }
  .tg-feature-page .tg-cta-band__actions .btn { width: 100%; }
}

/* Give the Arabic workflow diagram its own readable row. At 1080px its
   smallest 16-unit label is 16 CSS pixels instead of a reduced thumbnail. */
html[lang="ar"] .tg-feature-page .tgh3 { text-align:start; }
html[lang="ar"] .tg-feature-page .tgm { text-align:start; }
html[lang="ar"] .tg-feature-page .tgh3__inner { display:flex; flex-direction:column; align-items:stretch; gap:24px; }
html[lang="ar"] .tg-feature-page .tgh3__copy { width:100%; max-width:860px; }
html[lang="ar"] .tg-feature-page .tgh3__visual { width:100%; max-width:1080px; margin-inline:auto; }
html[lang="ar"] .tg-feature-page .tgh3__button .tgh3__icon { transform:scaleX(-1); }
html[lang="ar"] .tg-feature-page :is(.tg-example-feedback__tabs button, .tg-lms-table th, .tg-lms-table td, .tg-history-preview th, .tg-history-preview td) { text-align:start; }
html[lang="ar"] .tg-feature-page .tg-example-rubric th:first-child { padding-right:0; padding-inline-end:14px; }
html[lang="ar"] .tg-feature-page .tg-example-rubric tr > :last-child { text-align:center; }
html[lang="ar"] .tg-feature-page .tg-feature-note { border-left:0; border-inline-start:3px solid var(--tg-blue); }
html[lang="ar"] .tg-feature-page .tg-example-feedback__addition { border-left:0; border-inline-start:2px solid #32765a; }
html[lang="ar"] .tg-feature-page :is(.tg-feature-detail ul, .tg-evidence-details__content ul) { padding-left:0; padding-inline-start:20px; }
html[lang="ar"] .tg-feature-page .tg-grading-example--sequence { font-size:16px; line-height:1.75; }
html[lang="ar"] .tg-feature-page .tg-example-score > span { font-size:15px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tg-example-score p { font-size:16px; line-height:1.75; }
html[lang="ar"] .tg-feature-page .tg-example-rubric { font-size:15px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tg-example-rubric caption { font-size:15px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tg-example-rubric thead th { font-size:14px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tg-example-feedback__addition span { font-size:14px; line-height:1.6; }
html[lang="ar"] .tg-feature-page :is(.tgm-rubric__copy > .tgm__eyebrow, .tg-reference-example .tg-ui-label) { font-size:15px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tgm-rubric__demo-header { flex-wrap:wrap; }
html[lang="ar"] .tg-feature-page :is(.tgm-rubric__demo-overline, .tgm-rubric__draft-chip, .tgm-rubric__criteria h4 span) { font-size:14px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tgm-rubric__criteria { border-right:0; border-inline-end:1px solid #e5e7e8; }
html[lang="ar"] .tg-feature-page .tgm-rubric__criterion { gap:12px; padding-block:16px; }
html[lang="ar"] .tg-feature-page .tgm-rubric__criterion strong { font-size:16px; line-height:1.5; }
html[lang="ar"] .tg-feature-page .tgm-rubric__criterion small { font-size:14px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tgm-rubric__criterion select { min-height:44px; font-size:16px; line-height:1.5; direction:ltr; }
html[lang="ar"] .tg-feature-page .tgm-rubric__score span { font-size:15px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tgm-rubric__editor label { font-size:16px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tgm-rubric__editor textarea { min-height:220px; font-size:16px; line-height:1.75; }
html[lang="ar"] .tg-feature-page .tgm-rubric__reset { min-height:44px; font-size:16px; line-height:1.5; }
html[lang="ar"] .tg-feature-page .tgm-rubric__disclaimer { font-size:16px; line-height:1.75; }
html[lang="ar"] .tg-feature-page .tg-lms-table { font-size:16px; line-height:1.75; }
html[lang="ar"] .tg-feature-page .tg-lms-table caption { font-size:16px; line-height:1.75; }
html[lang="ar"] .tg-feature-page .tg-history-preview figcaption { font-size:15px; line-height:1.6; }
html[lang="ar"] .tg-feature-page .tg-file-card__extensions li { direction:ltr; unicode-bidi:isolate; }
html[lang="ar"] .tg-feature-page :is(.tg-history-preview table, .tg-history-preview .tg-history-preview__course, .tg-feature-detail .tg-history-preview__note) { font-size:16px; line-height:1.75; }
@media (min-width:1051px) {
  html[lang="ar"] .tg-feature-page .tg-grading-example__answer { border-left:0; border-inline-start:1px solid var(--tg-line); }
}
@media (max-width:991px) {
  html[lang="ar"] .tg-feature-page .tgh3__wide-workflow { display:none; }
  html[lang="ar"] .tg-feature-page .tgh3__visual { max-width:480px; }
  html[lang="ar"] .tg-feature-page .tgh3__mobile-platforms { display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin-bottom:16px; }
  html[lang="ar"] .tg-feature-page .tgh3__platform { display:flex; align-items:center; gap:8px; }
  html[lang="ar"] .tg-feature-page .tgh3__platform > svg { width:64px; height:auto; }
  html[lang="ar"] .tg-feature-page .tgh3__platform--bb > svg { width:32px; }
  html[lang="ar"] .tg-feature-page .tgh3__platform > span { font-size:14px; line-height:1.5; }
  html[lang="ar"] .tg-feature-page .tgh3__mobile-workflow { display:block; border-top:1px solid #d7e3ec; }
  html[lang="ar"] .tg-feature-page .tgh3__mobile-workflow > summary { min-height:48px; padding-block:12px; font-size:16px; line-height:1.5; }
  html[lang="ar"] .tg-feature-page .tgh3__mobile-workflow > .tgh3__diagram { max-width:440px; margin-inline:auto; }
}
@media (max-width:600px) {
  html[lang="ar"] .tg-feature-page .tgm-rubric__criteria { border-inline-end:0; }
}
