/* TrustEdge content blocks. All rules stay inside these two page roots. */
#te-agent,
#te-about {
  --te-ink: #082139;
  --te-deep: #061726;
  --te-blue: #0879b9;
  --te-ice: #eaf4fa;
  --te-silver: #c8dce9;
  --te-muted: #4c6374;
  --te-white: #fff;
  color: var(--te-ink);
  background: var(--te-white);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow-wrap: break-word;
  container-type: inline-size;
  container-name: te-content;
}
:is(#te-agent, #te-about) *,
:is(#te-agent, #te-about) *::before,
:is(#te-agent, #te-about) *::after { box-sizing: border-box; }
:is(#te-agent, #te-about) h2,
:is(#te-agent, #te-about) h3 {
  font-family: Raleway, Arial, sans-serif;
  color: var(--te-ink);
  font-weight: 750;
  letter-spacing: -.025em;
  text-transform: none;
  line-height: 1.16;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
}
:is(#te-agent, #te-about) h2 { font-size: clamp(28px, 3.2vw, 40px); }
:is(#te-agent, #te-about) h3 { font-size: 24px; }
:is(#te-agent, #te-about) p { margin: 0 0 18px; padding: 0; font-size: inherit; line-height: inherit; text-align: left; }
:is(#te-agent, #te-about) p:last-child { margin-bottom: 0; }
:is(#te-agent, #te-about) a { color: #006ca8; text-decoration: underline; text-underline-offset: .18em; }
:is(#te-agent, #te-about) a:hover { color: #034977; }
:is(#te-agent, #te-about) a:focus-visible { outline: 3px solid #0879b9; outline-offset: 5px; }
:is(#te-agent, #te-about) .te-section { padding: clamp(30px, 5vw, 62px) clamp(20px, 4.2vw, 54px); }
:is(#te-agent, #te-about) .te-lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.6; max-width: 38em; }
:is(#te-agent, #te-about) .te-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
:is(#te-agent, #te-about) a.te-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  color: #fff;
  background: #076fa9;
  border: 1px solid #076fa9;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
}
:is(#te-agent, #te-about) a.te-button:hover { background: #045583; color: #fff; }
:is(#te-agent, #te-about) .te-textlink { font-size: 16px; font-weight: 650; }
:is(#te-agent, #te-about) .te-close { border-top: 1px solid var(--te-silver); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
:is(#te-agent, #te-about) .te-close h2 { font-size: 31px; margin-bottom: 10px; }
:is(#te-agent, #te-about) .te-close p { max-width: 40em; }
:is(#te-agent, #te-about) .te-close .te-actions { margin: 0; }

/* Agent: a real work brief, not a fabricated chat result. */
#te-agent .te-agent-hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 44px; padding-top: 42px; padding-bottom: 52px; border-bottom: 1px solid var(--te-silver); }
#te-agent .te-agent-hero h2 { font-size: clamp(37px, 4.6vw, 57px); max-width: 12em; }
#te-agent .te-agent-hero .te-lead { font-size: 20px; }
#te-agent .te-task {
  background: var(--te-deep);
  color: #e9f3fa;
  padding: 30px 28px 32px;
  border-radius: 8px 8px 44px 8px;
  border-top: 4px solid #279dd5;
  box-shadow: 0 20px 36px -24px rgba(8, 33, 57, .65);
}
#te-agent .te-task h3 { color: #c0ddeb; font-size: 17px; font-weight: 600; letter-spacing: 0; margin-bottom: 24px; }
#te-agent .te-task blockquote { margin: 0; border: 0; background: #fff; color: var(--te-ink); padding: 24px; font-size: 22px; font-weight: 550; line-height: 1.5; border-radius: 3px; }
#te-agent .te-task blockquote::before,
#te-agent .te-task blockquote::after { display: none; }
#te-agent .te-task p { margin: 22px 0 0; font-size: 15px; color: #bdd0dc; }
#te-agent .te-work-intro { max-width: 42em; margin-bottom: 32px; }
#te-agent .te-work-list { padding: 0; margin: 0; list-style: none; }
#te-agent .te-work-list li { display: grid; grid-template-columns: minmax(155px, .65fr) 1.35fr; gap: 26px; border-top: 1px solid var(--te-silver); padding: 25px 0; margin: 0; list-style: none; }
#te-agent .te-work-list li:last-child { border-bottom: 1px solid var(--te-silver); }
#te-agent .te-work-list h3 { font-size: 24px; margin: 0; }
#te-agent .te-work-list p { margin: 0; color: #354f62; }
#te-agent .te-context { background: var(--te-ice); display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; border-left: 5px solid var(--te-blue); }
#te-agent .te-context h2 { font-size: 32px; max-width: 12em; }
#te-agent .te-options-intro { max-width: 40em; }
#te-agent .te-options { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border: 1px solid var(--te-silver); border-radius: 8px; overflow: hidden; }
#te-agent .te-option { padding: 32px; min-width: 0; }
#te-agent .te-option + .te-option { border-left: 1px solid var(--te-silver); }
#te-agent .te-option h3 { font-size: 30px; margin-bottom: 8px; }
#te-agent .te-option .te-option-route { color: #006da8; font-weight: 650; margin-bottom: 18px; }
#te-agent .te-option p { font-size: 16px; }
#te-agent .te-option a { font-size: 15px; font-weight: 650; }
#te-agent .te-setup-note { font-size: 15px; color: var(--te-muted); margin: 22px 0 0; max-width: 60em; }

/* About: the founder portrait is the one dominant visual. */
#te-about .te-about-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); background: var(--te-deep); color: #e9f3fa; overflow: hidden; border-radius: 7px; }
#te-about .te-about-intro { padding: clamp(24px, 4cqw, 48px); align-self: center; min-width: 0; }
#te-about .te-about-hero h2 { color: #fff; font-size: clamp(34px, 4.6cqw, 52px); max-width: 10.5em; }
#te-about .te-about-hero .te-lead { font-size: 21px; color: #e6f1f7; }
#te-about .te-about-hero p { color: #c9dce8; }
#te-about .te-about-hero a.te-button { color: var(--te-ink); background: #fff; border-color: #fff; }
#te-about .te-about-hero a.te-button:hover { background: #d9effa; }
#te-about .te-about-hero a:focus-visible { outline-color: #fff; }
#te-about .te-founder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin: 0; padding: clamp(20px, 2.8cqw, 32px); background: #000; min-width: 0; }
#te-about .te-founder img { display: block; width: 100%; max-width: 340px; height: auto; min-height: 0; max-height: none; aspect-ratio: 1; object-fit: contain; object-position: center; flex: 0 0 auto; border: 0; border-radius: 0; padding: 0; margin: 0; }
#te-about .te-founder figcaption { position: static; width: 100%; max-width: 340px; padding: 0; background: none; color: #e6f1f7; font-size: 15px; }
#te-about .te-founder strong { display: block; font-size: 22px; color: #fff; }
#te-about .te-about-purpose { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
#te-about .te-about-purpose h2 { max-width: 11em; }
#te-about .te-region-title { font-size: 24px; margin-top: 30px; }
#te-about .te-offers { margin: 30px 0 0; padding: 0; }
#te-about .te-offer { display: grid; grid-template-columns: .65fr 1.35fr; gap: 26px; border-top: 1px solid var(--te-silver); padding: 24px 0; }
#te-about .te-offer:last-child { border-bottom: 1px solid var(--te-silver); }
#te-about .te-offer dt { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.25; }
#te-about .te-offer dd { padding: 0; margin: 0; color: #354f62; }

#te-about .te-road-ahead { margin: 30px 0 0; border-left: 4px solid #0879b9; padding: 8px 0 8px 24px; }
#te-about .te-road-ahead h3 { font-size: 22px; margin-bottom: 10px; }
#te-about .te-road-ahead p { color: var(--te-muted); font-size: 16px; }
#te-about .te-support { background: var(--te-ice); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
#te-about .te-support h2 { max-width: 10em; }
#te-about .te-support p { font-size: 17px; }
#te-about .te-support-note { border-top: 1px solid #abc9db; margin-top: 25px; padding-top: 20px; font-weight: 650; }
#te-about .te-close { border-top: 0; }

@media (max-width: 760px) {
  :is(#te-agent, #te-about) { font-size: 16px; }
  :is(#te-agent, #te-about) .te-section { padding: 34px 24px; }
  :is(#te-agent, #te-about) .te-close { grid-template-columns: 1fr; }
  #te-agent .te-agent-hero,
  #te-agent .te-context,
  #te-about .te-about-purpose,
  #te-about .te-support { grid-template-columns: 1fr; gap: 24px; }
  #te-agent .te-agent-hero h2 { max-width: 14em; }
  #te-agent .te-context h2,
  #te-about .te-about-purpose h2,
  #te-about .te-support h2 { max-width: none; }
  #te-agent .te-task { max-width: 520px; padding: 25px; }
  #te-agent .te-options { grid-template-columns: 1fr; }
  #te-agent .te-option + .te-option { border-left: 0; border-top: 1px solid var(--te-silver); }
  #te-about .te-about-hero { grid-template-columns: 1fr; }
  #te-about .te-about-intro { padding: 34px 24px; }
  #te-about .te-founder { max-width: none; }

  #te-about .te-about-hero h2 { max-width: 14em; }
  
}
@media (max-width: 480px) {
  :is(#te-agent, #te-about) .te-section { padding-left: 18px; padding-right: 18px; }
  #te-agent .te-agent-hero h2,
  #te-about .te-about-hero h2 { font-size: 35px; }
  #te-agent .te-task { padding: 21px; }
  #te-agent .te-task blockquote { font-size: 20px; padding: 20px; }
  #te-agent .te-work-list li,
  #te-about .te-offer { grid-template-columns: 1fr; gap: 10px; }
  #te-agent .te-option { padding: 26px 22px; }
  #te-about .te-about-intro { padding-left: 22px; padding-right: 22px; }

}

/* WiseCP may retain a sidebar on a wide browser: respond to block width too. */
@container te-content (max-width: 760px) {
  :is(#te-agent, #te-about) .te-section { padding: 34px 24px; }
  :is(#te-agent, #te-about) .te-close,
  #te-agent .te-agent-hero,
  #te-agent .te-context,
  #te-about .te-about-purpose,
  #te-about .te-support { grid-template-columns: 1fr; gap: 24px; }
  #te-agent .te-agent-hero h2,
  #te-about .te-about-hero h2 { font-size: 40px; max-width: 14em; }
  #te-agent .te-context h2,
  #te-about .te-about-purpose h2,
  #te-about .te-support h2 { max-width: none; }
  #te-agent .te-task { max-width: 520px; padding: 25px; }
  #te-agent .te-options { grid-template-columns: 1fr; }
  #te-agent .te-option + .te-option { border-left: 0; border-top: 1px solid var(--te-silver); }
  #te-about .te-about-hero { grid-template-columns: 1fr; }
  #te-about .te-about-intro { padding: 34px 24px; }

}
@container te-content (max-width: 480px) {
  :is(#te-agent, #te-about) .te-section { padding-left: 18px; padding-right: 18px; }
  #te-agent .te-agent-hero h2,
  #te-about .te-about-hero h2 { font-size: 35px; }
  #te-agent .te-work-list li,
  #te-about .te-offer { grid-template-columns: 1fr; gap: 10px; }
  #te-agent .te-task { padding: 21px; }
  #te-agent .te-task blockquote { font-size: 20px; padding: 20px; }
  #te-agent .te-option { padding: 26px 22px; }
  #te-about .te-about-intro { padding-left: 22px; padding-right: 22px; }

}
