.dtf-page {
  --dtf-muted: #405651;
  margin-inline: auto;
  max-width: 1300px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(48px, 6vw, 84px);
}
.dtf-page a:not(.dtf-primary) { text-decoration: underline; text-underline-offset: 0.2em; }
.dtf-page a:hover { color: #426020; }
.dtf-page a:focus-visible { outline: 2px solid #45652c; outline-offset: 3px; }
.dtf-hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.82fr);
  padding-block: clamp(24px, 3.5vw, 54px);
}
.dtf-crumbs { color: var(--dtf-muted); font-size: 0.81rem; margin-bottom: 18px; }
.dtf-hero h1, .dtf-page h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.036em;
  line-height: 1.08;
  margin: 0;
}
.dtf-hero h1 { font-size: clamp(2.2rem, 4.1vw, 3.65rem); text-wrap: balance; }
.dtf-page h2 { font-size: clamp(1.8rem, 2.9vw, 2.65rem); }
.dtf-page p { color: var(--dtf-muted); line-height: 1.58; }
.dtf-hero p { font-size: 1.05rem; margin: 16px 0 20px; }
.dtf-hero-img { aspect-ratio: 1.45; display: block; height: auto; object-fit: cover; width: 100%; }
.dtf-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.dtf-actions a, .dtf-table a { font-weight: 600; }
.dtf-primary, .dtf-actions > a { align-items: center; display: inline-flex; gap: 8px; min-height: 44px; }
.dtf-page .dtf-primary { background: var(--ink); color: white; padding: 10px 16px; }
.dtf-page .dtf-primary:hover { background: #2c463d; color: white; }
.dtf-grades { border-top: 1px solid #bcc6bf; padding-top: clamp(25px, 3vw, 45px); scroll-margin-top: 86px; }
.dtf-grades > p { max-width: 86ch; }
.dtf-table { border-collapse: collapse; width: 100%; }
.dtf-table th, .dtf-table td { border-bottom: 1px solid #ccd4cd; padding: 14px 12px; text-align: left; vertical-align: middle; }
.dtf-table thead th { background: #e8ede6; font-size: .85rem; }
.dtf-table tbody th { font-weight: 600; }
.dtf-grade { display: inline-block; vertical-align: middle; }
.dtf-chip { background: var(--swatch); border: 1px solid #14272340; border-radius: 50%; display: inline-block; height: 14px; margin-right: 9px; vertical-align: middle; width: 14px; }
.grade-cyan { --swatch: #158fb9; }
.grade-magenta { --swatch: #bb3c77; }
.grade-yellow { --swatch: #efc529; }
.grade-black { --swatch: #292d30; }
.grade-white { --swatch: white; }
.dtf-table small { color: var(--dtf-muted); font-size: .85rem; font-weight: 400; }
.dtf-grade small, .dtf-size small { display: block; }
.dtf-size { font-variant-numeric: tabular-nums; }
.dtf-docs { display: flex; flex-wrap: wrap; gap: 0 14px; }
.dtf-table .dtf-docs a { font-size: .88rem; font-weight: 500; }
.dtf-sample { display: inline-block; margin-top: 5px; }
.dtf-mobile-label { display: none; }
.dtf-note { font-size: .89rem; }
.dtf-trials { border-top: 1px solid #bcc6bf; display: grid; gap: 24px clamp(30px, 5vw, 70px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(32px, 5vw, 64px); padding-top: clamp(24px, 3vw, 44px); }
.dtf-trials h2 { font-size: clamp(1.6rem, 2.2vw, 2rem); }
@media (max-width: 780px) {
  .dtf-hero { grid-template-columns: 1fr; }
  .dtf-hero-img { display: none; }
  .dtf-table, .dtf-table tbody, .dtf-table th, .dtf-table td { display: block; }
  .dtf-table thead { clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }
  .dtf-table tbody { display: grid; gap: 14px; }
  .dtf-table tr { border: 1px solid #ccd4cd; display: grid; gap: 10px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .dtf-table th, .dtf-table td { border: 0; padding: 0; }
  .dtf-table tbody th, .dtf-table td:last-child { grid-column: 1 / -1; }
  .dtf-table td:last-child { border-top: 1px solid #d9ddd7; padding-top: 5px; }
  .dtf-mobile-label { color: var(--dtf-muted); display: block; font-size: .79rem; font-weight: 600; }
  .dtf-sample, .dtf-docs a { align-items: center; display: inline-flex; gap: 6px; margin-top: 0; min-height: 44px; }
  .dtf-trials { grid-template-columns: 1fr; }
}
