.dynamic-featured-image {
  height: auto;
}

.tte-safety-notice,
.tte-disclosure {
  border-left: 5px solid #6f42c1;
  background: #f5f1fb;
  padding: 22px 24px;
  margin: 0 0 30px;
}

.tte-safety-notice h2,
.tte-disclosure h2 {
  margin-top: 0;
}

.tte-article-figure {
  margin: 32px 0;
}

.tte-article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.tte-article-figure figcaption {
  color: #555;
  font-size: 0.9rem;
  margin-top: 10px;
}

article.type-post .entry-content h2,
article.type-post .entry-content h3 {
  scroll-margin-top: 24px;
}

.tte-heading-anchor {
  display: inline-block;
  margin-left: 0.35em;
  color: #6f42c1;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  text-decoration: none;
  transform: translateY(-0.05em);
  transition: opacity 150ms ease;
}

article.type-post .entry-content h2:hover > .tte-heading-anchor,
article.type-post .entry-content h3:hover > .tte-heading-anchor,
.tte-heading-anchor:focus-visible {
  opacity: 1;
}

.tte-heading-anchor:hover,
.tte-heading-anchor:focus-visible {
  color: #47227d;
  text-decoration: underline;
}

@media (hover: none) {
  .tte-heading-anchor {
    opacity: 0.65;
  }
}

.tte-peptide-article h1,
.tte-peptide-article article.type-post .entry-content h2,
.tte-peptide-article article.type-post .entry-content h3,
.tte-spotify-agent-article h1,
.tte-spotify-agent-article article.type-post .entry-content h2,
.tte-spotify-agent-article article.type-post .entry-content h3,
.tte-deepseek-article h1,
.tte-deepseek-article article.type-post .entry-content h2,
.tte-deepseek-article article.type-post .entry-content h3 {
  text-transform: none !important;
}

.tte-model-table-wrap {
  margin: 30px 0 10px;
  overflow-x: auto;
}

.tte-model-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tte-model-table th,
.tte-model-table td {
  padding: 13px 14px;
  border: 1px solid #d9d3e5;
  text-align: left;
}

.tte-model-table thead th {
  background: #292330;
  color: #fff;
}

.tte-model-table tbody th {
  font-weight: 600;
}

.tte-model-table .tte-model-highlight {
  background: #f0eafb;
}

.tte-chart-note {
  color: #5d5863;
  font-size: 0.88rem;
}

.tte-agent-stack {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.tte-agent-stack > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid #d9d3e5;
  background: #faf8fd;
}

.tte-agent-stack span {
  color: #4e4a55;
}

.tte-agent-category-card {
  background: #f4f0fb;
  border-left: 6px solid #6f42c1;
}

@media (max-width: 560px) {
  .tte-agent-stack > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Standalone homepage */
.tte-home {
  --home-ink: #19191d;
  --home-paper: #f7f8fb;
  --home-white: #ffffff;
  --home-purple: #7049d8;
  --home-lavender: #e9e2ff;
  --home-cyan: #bdeef2;
  --home-line: #d9dce5;
  margin: 0;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

.tte-home *,
.tte-home *::before,
.tte-home *::after {
  box-sizing: border-box;
}

.tte-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tte-home a {
  color: inherit;
}

.tte-home h1,
.tte-home h2,
.tte-home h3,
.tte-home .home-brand,
.tte-home .home-nav,
.tte-home .home-kicker,
.tte-home .home-primary-link,
.tte-home .home-topic-board,
.tte-home .home-card-meta,
.tte-home .home-text-link,
.tte-home .home-section-heading > p,
.tte-home .home-section-heading-row > a,
.tte-home .home-principle > p,
.tte-home .home-principle > a,
.tte-home .home-footer nav {
  font-family: Inter, Arial, sans-serif;
}

.tte-home h1,
.tte-home h2,
.tte-home h3,
.tte-home p {
  margin-top: 0;
}

.tte-home h1,
.tte-home h2,
.tte-home h3 {
  text-transform: none;
}

.home-skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--home-white);
  border: 2px solid var(--home-ink);
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  transform: translateY(-150%);
}

.home-skip-link:focus {
  transform: translateY(0);
}

.home-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--home-line);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--home-ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.home-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-nav a {
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  border-color: var(--home-purple);
}

.tte-home main {
  overflow: hidden;
}

.home-hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 92px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

.home-hero-copy {
  min-width: 0;
}

.home-kicker {
  margin-bottom: 22px;
  color: var(--home-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(54px, 6.8vw, 104px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.home-hero h1 span {
  display: block;
  color: var(--home-purple);
}

.home-intro {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.38;
}

.home-primary-link,
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.home-primary-link span,
.home-text-link span {
  color: var(--home-purple);
  font-size: 20px;
  transition: transform 160ms ease;
}

.home-primary-link:hover span,
.home-primary-link:focus-visible span {
  transform: translateY(4px);
}

.home-text-link:hover span,
.home-text-link:focus-visible span {
  transform: translateX(4px);
}

.home-topic-board {
  position: relative;
  background: var(--home-ink);
  color: var(--home-white);
  border-top: 9px solid var(--home-purple);
  box-shadow: 18px 18px 0 var(--home-cyan);
}

.home-topic-board > p {
  padding: 23px 28px 18px;
  margin: 0;
  color: #c9c9d1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-topic-board > a {
  min-height: 106px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  border-top: 1px solid #3d3d45;
  text-decoration: none;
}

.home-topic-board > a span {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.home-topic-board > a small {
  grid-column: 1;
  margin-top: 3px;
  color: #bcbcc6;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 16px;
}

.home-topic-board > a b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--home-cyan);
  font-size: 24px;
  transition: transform 160ms ease;
}

.home-topic-board > a:hover,
.home-topic-board > a:focus-visible {
  background: #28282f;
}

.home-topic-board > a:hover b,
.home-topic-board > a:focus-visible b {
  transform: translate(4px, -4px);
}

.home-feature,
.home-guides {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.home-feature {
  padding: 94px 0 118px;
  border-top: 1px solid var(--home-line);
}

.home-section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.home-section-heading > p {
  margin-bottom: 12px;
  color: var(--home-purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.home-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  background: var(--home-white);
  border: 1px solid var(--home-line);
}

.home-feature-image {
  min-height: 540px;
  padding: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f1eff7;
}

.home-feature-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 250ms ease;
}

.home-feature-image:hover img,
.home-feature-image:focus-visible img {
  transform: scale(1.018);
}

.home-feature-copy {
  padding: clamp(38px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-card-meta {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  color: #656572;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-card-meta a {
  padding: 5px 8px;
  color: #44248e;
  background: var(--home-lavender);
  text-decoration: none;
}

.home-card-meta time {
  white-space: nowrap;
}

.home-feature-copy h3 {
  margin-bottom: 24px;
  font-size: clamp(31px, 3.4vw, 50px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.home-feature-copy h3 a,
.home-guide-card h3 a {
  text-decoration: none;
}

.home-feature-copy h3 a:hover,
.home-feature-copy h3 a:focus-visible,
.home-guide-card h3 a:hover,
.home-guide-card h3 a:focus-visible {
  color: var(--home-purple);
}

.home-feature-copy > p:not(.home-card-meta) {
  margin-bottom: 28px;
  color: #414149;
  font-size: 19px;
}

.home-guides {
  padding: 110px 0;
  border-top: 1px solid var(--home-line);
}

.home-section-heading-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.home-section-heading-row > div {
  max-width: 790px;
}

.home-section-heading-row > a {
  flex: 0 0 auto;
  padding-bottom: 7px;
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 5px;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.home-guide-card {
  overflow: hidden;
  background: var(--home-white);
  border: 1px solid var(--home-line);
}

.home-guide-card > div {
  padding: 28px 30px 32px;
}

.home-guide-image {
  display: block;
  overflow: hidden;
  background: #e8e9ee;
}

.home-guide-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 240ms ease;
}

.home-guide-image:hover img,
.home-guide-image:focus-visible img {
  transform: scale(1.025);
}

.home-guide-card h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.home-guide-card > div > p:last-child {
  margin-bottom: 0;
  color: #51515b;
}

.home-guide-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
}

.home-guide-card-wide .home-guide-image img {
  height: 100%;
  min-height: 340px;
}

.home-guide-card-wide > div {
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-principle {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 110px;
  padding: clamp(42px, 6vw, 82px);
  color: var(--home-ink);
  background: var(--home-cyan);
}

.home-principle > p {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-principle blockquote {
  max-width: 920px;
  margin: 0 0 30px;
  font-size: clamp(36px, 5.2vw, 74px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-principle > a {
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.home-footer {
  padding: 56px max(24px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  color: var(--home-white);
  background: var(--home-ink);
}

.home-brand-footer {
  color: var(--home-white);
}

.home-brand-footer img {
  filter: grayscale(1) brightness(2.4);
}

.home-footer p {
  margin: 0;
  color: #bfbfc8;
  font-size: 16px;
}

.home-footer nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
}

.home-footer nav a {
  color: var(--home-white);
}

.tte-home a:focus-visible {
  outline: 3px solid var(--home-purple);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .home-header {
    padding: 18px 0;
    align-items: flex-start;
  }

  .home-nav {
    max-width: 440px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 20px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 74px 0 95px;
  }

  .home-topic-board {
    width: calc(100% - 18px);
  }

  .home-feature-card,
  .home-guide-card-wide {
    grid-template-columns: 1fr;
  }

  .home-feature-image {
    min-height: 0;
  }

  .home-guide-card-wide .home-guide-image img {
    min-height: 0;
  }

  .home-footer {
    grid-template-columns: 1fr auto;
  }

  .home-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .tte-home {
    font-size: 17px;
  }

  .home-header,
  .home-hero,
  .home-feature,
  .home-guides,
  .home-principle {
    width: min(100% - 32px, 1240px);
  }

  .home-header {
    min-height: 76px;
  }

  .home-brand span {
    display: none;
  }

  .home-brand img {
    width: 42px;
    height: 42px;
  }

  .home-nav {
    gap: 4px 14px;
    font-size: 11px;
    min-width: 0;
  }

  .home-nav a {
    white-space: nowrap;
  }

  .home-nav a:nth-child(2),
  .home-nav a:nth-child(3),
  .home-nav a:nth-child(4) {
    display: none;
  }

  .home-hero {
    min-height: 0;
    padding: 62px 0 82px;
    gap: 56px;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 12vw, 52px);
    letter-spacing: -0.065em;
  }

  .home-intro {
    font-size: 20px;
  }

  .home-topic-board {
    box-shadow: 10px 10px 0 var(--home-cyan);
  }

  .home-topic-board > a {
    min-height: 92px;
    padding: 18px 22px;
  }

  .home-feature {
    padding: 74px 0 88px;
  }

  .home-feature-image {
    padding: 22px;
  }

  .home-feature-copy {
    padding: 32px 24px 38px;
  }

  .home-guides {
    padding: 84px 0;
  }

  .home-section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .home-guide-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-guide-card,
  .home-guide-card-wide {
    grid-column: auto;
    display: block;
  }

  .home-guide-card > div,
  .home-guide-card-wide > div {
    padding: 26px 22px 30px;
  }

  .home-principle {
    margin-bottom: 74px;
    padding: 42px 24px;
  }

  .home-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-footer .home-brand span {
    display: inline;
  }

  .home-footer p {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tte-home *,
  .tte-home *::before,
  .tte-home *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
