:root {
  --bg: #071210;
  --surface: #0D1E1B;
  --surface-alt: #142B27;
  --border: #234740;
  --ink: #F2FAF8;
  --muted: #9DC1B9;
  --primary: #0F766E;
  --primary-hover: #115E59;
  --primary-soft: #5EEAD4;
  --accent: #FBBF24;
  --lane-sky: #38BDF8;

  --font-heading: 'Oswald', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --rad-sm: 6px;
  --rad-md: 8px;
  --rad-lg: 12px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: clip;
}

body.tfd-stadium {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 45% at 62% -6%, color-mix(in srgb, var(--primary) 26%, transparent), transparent 70%),
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 40%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-soft);
  text-underline-offset: 3px;
  transition: color 0.16s ease;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.16;
  margin-top: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}

code, kbd {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--surface-alt);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--border);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tfd-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  border-radius: var(--rad-sm);
  text-decoration: none;
}

.tfd-skip-link:focus {
  left: 14px;
}

.tfd-wrap {
  width: min(1220px, 100% - 32px);
  margin-inline: auto;
}

.tfd-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.tfd-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.tfd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.tfd-brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rad-md);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary-soft);
  flex-shrink: 0;
  overflow: hidden;
}

.tfd-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.tfd-brand-copy strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tfd-brand-copy small {
  font-size: 0.75rem;
  color: var(--muted);
}

.tfd-menu-btn {
  display: none;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: var(--rad-md);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.tfd-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.tfd-nav a {
  padding: 7px 11px;
  border-radius: var(--rad-sm);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tfd-nav a:nth-child(n+9) {
  display: none;
}

.tfd-nav a:hover {
  color: var(--ink);
  background: var(--surface-alt);
}

.tfd-hero {
  padding: 26px 0 32px;
  border-bottom: 1px solid var(--border);
}

.tfd-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  column-gap: 28px;
  row-gap: 18px;
  align-items: center;
}

.tfd-hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.tfd-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tfd-hero-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tfd-spec-line {
  display: flex;
  margin: 0 0 12px;
}

.tfd-spec-line span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--primary-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: normal;
  line-height: 1.4;
  max-width: 100%;
}

.tfd-hero-h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.tfd-hero-lead {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 54ch;
}

.tfd-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.tfd-btn-primary,
.tfd-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--rad-md);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.tfd-btn-primary {
  background: var(--primary);
  color: var(--ink);
  border: 1px solid var(--primary-soft);
}

.tfd-btn-primary:hover {
  background: var(--primary-hover);
  color: var(--ink);
}

.tfd-btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.tfd-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tfd-react-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tfd-react-divider {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.tfd-react-btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.tfd-react-btn:hover {
  border-color: var(--primary-soft);
  color: var(--ink);
}

.tfd-react-toast {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.tfd-hero-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.tfd-shot-box {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  overflow: hidden;
}

.tfd-shot-box img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tfd-shot-cap {
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}

.tfd-shot-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.shot-thumb {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: var(--rad-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.shot-thumb.is-active,
.shot-thumb:hover {
  border-color: var(--primary-soft);
  background: var(--surface-alt);
  color: var(--ink);
}

.tfd-code-rack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  overflow: hidden;
}

.tfd-rack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.tfd-rack-head strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.tfd-rack-head a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.tfd-rack-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tfd-rack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.tfd-rack-item:nth-child(1),
.tfd-rack-item:nth-child(2) {
  border-top: 0;
}

.tfd-rack-item:nth-child(odd):not(:last-child) {
  border-right: 1px solid var(--border);
}

.tfd-rack-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.tfd-rack-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.tfd-rack-meta code {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 2px 7px;
}

.tfd-rack-meta span {
  font-size: 0.81rem;
  line-height: 1.28;
  color: var(--ink);
  min-width: 0;
}

.tfd-copy-btn {
  min-height: 30px;
  padding: 4px 10px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--primary-soft);
  background: var(--primary);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
}

.tfd-copy-btn:hover {
  background: var(--primary-hover);
}

.tfd-copy-btn.is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.tfd-jump-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.tfd-jump-row {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
}

.tfd-jump-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 600;
}

.tfd-jump-row a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.tfd-jump-row a:hover {
  color: var(--ink);
  border-color: var(--primary-soft);
}

.tfd-spec-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary-soft);
  border-radius: var(--rad-md);
  padding: 10px 13px;
}

.tfd-spec-cell dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

.tfd-spec-cell dd {
  margin: 3px 0 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.tfd-lanes-band {
  padding: 40px 0;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 63px,
    color-mix(in srgb, var(--border) 35%, transparent) 63px,
    color-mix(in srgb, var(--border) 35%, transparent) 64px
  );
  border-bottom: 1px solid var(--border);
}

.tfd-band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tfd-band-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  text-transform: uppercase;
  margin: 0;
}

.tfd-band-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--primary-soft);
  letter-spacing: 0.04em;
}

.tfd-band-sub {
  margin: -8px 0 20px;
  color: var(--muted);
  max-width: 68ch;
}

.tfd-lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tfd-lane-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--rad-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tfd-lane-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.tfd-lane-card h3,
.tfd-card h3,
.tfd-update-card h3 {
  font-size: 1.18rem;
  margin: 0;
}

.tfd-card-link {
  color: var(--ink);
  text-decoration: none;
}

.tfd-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.tfd-card-link:hover {
  color: var(--primary-soft);
}

.tfd-card-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.tfd-module-band {
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
}

.tfd-band--tier-grid,
.tfd-band--card-list,
.tfd-band--table {
  background: var(--bg);
}

.tfd-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  overflow-x: auto;
}

.tfd-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tfd-table th,
.tfd-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.tfd-table thead th {
  background: var(--surface-alt);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.tfd-table tbody tr:last-child td {
  border-bottom: 0;
}

.tfd-table tbody tr:hover {
  background: var(--surface-alt);
}

.tfd-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.tfd-band--step-by-step {
  background: var(--surface);
}

.tfd-band--step-by-step .tfd-cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tfd-card {
  position: relative;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tfd-band--code-cards .tfd-card,
.tfd-band--step-by-step .tfd-card {
  background: var(--bg);
}

.tfd-band--step-by-step .tfd-card {
  border-left: 3px solid var(--lane-sky);
}

.tfd-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tfd-card-more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
}

.tfd-pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-soft);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: var(--rad-sm);
}

.tfd-card-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--lane-sky);
}

.tfd-updates-band {
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
}

.tfd-updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tfd-update-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tfd-update-date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--primary-soft);
}

.tfd-editorial-band {
  padding: 44px 0 56px;
}

.tfd-editorial-measure,
.tfd-sub-measure {
  max-width: 820px;
}

.tfd-sub-head {
  padding: 30px 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.tfd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.tfd-sub-h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tfd-sub-lede {
  margin: 0 0 10px;
  color: var(--muted);
  max-width: 68ch;
}

.tfd-sub-stamp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--primary-soft);
}

.tfd-sub-body {
  padding: 34px 0 56px;
}

.tfd-tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.tfd-tool-card [data-tool-workbench] {
  border: 0;
  padding: 0;
  background: transparent;
}

.tfd-tool-card button {
  min-height: 38px;
  padding: 7px 14px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--primary-soft);
  background: var(--primary);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.tfd-tool-card button[data-reset] {
  background: var(--surface-alt);
  border-color: var(--border);
}

.tfd-tool-card input,
.tfd-tool-card select {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 16px;
}

.tfd-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--rad-lg);
  padding: 16px 20px;
  margin-bottom: 26px;
}

.tfd-toc-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 10px;
}

.tfd-toc-list {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.tfd-toc-sub {
  color: var(--muted);
}

.tfd-prose {
  max-width: 76ch;
}

.tfd-prose img {
  border-radius: var(--rad-lg);
  border: 1px solid var(--border);
  margin: 20px 0;
}

.tfd-prose td .tfd-copy-btn {
  min-height: 32px;
  padding: 4px 12px;
  white-space: nowrap;
}

.tfd-prose h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.tfd-prose h3 {
  font-size: 1.2rem;
  margin-top: 22px;
  font-family: var(--font-body);
  font-weight: 700;
}

.tfd-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}

.tfd-prose th,
.tfd-prose td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.tfd-prose th {
  background: var(--surface-alt);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tfd-faq-block {
  margin-top: 36px;
}

.tfd-sub-section {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.tfd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tfd-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 14px 18px;
}

.tfd-faq-item summary {
  font-weight: 700;
  cursor: pointer;
}

.tfd-faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.tfd-faq-link a {
  font-weight: 600;
}

.tfd-footer {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.tfd-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.tfd-footer-heading {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 10px;
}

.tfd-footer-copy,
.tfd-footer-meta {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.tfd-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tfd-footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.tfd-footer-col a:hover {
  color: var(--ink);
}

@media (max-width: 960px) {
  .tfd-hero {
    padding: 10px 0 20px;
  }

  .tfd-hero-split,
  .tfd-lane-grid,
  .tfd-band--step-by-step .tfd-cards-grid,
  .tfd-footer-grid {
    grid-template-columns: 1fr;
  }

  .tfd-hero-left {
    display: contents;
  }

  .tfd-table-wrap {
    overflow-x: visible;
    background: transparent;
    border: 0;
  }

  .tfd-table,
  .tfd-prose table.tfd-stack-table {
    position: relative;
    min-width: 0;
    width: 100%;
    display: block;
    overflow-x: visible;
  }

  .tfd-table thead,
  .tfd-prose table.tfd-stack-table thead {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .tfd-table tbody,
  .tfd-prose table.tfd-stack-table tbody {
    display: grid;
    gap: 10px;
  }

  .tfd-table tr,
  .tfd-prose table.tfd-stack-table tr {
    display: block;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--rad-lg);
    padding: 6px 12px;
  }

  .tfd-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
    text-align: right;
  }

  .tfd-prose table.tfd-stack-table td {
    display: block;
    width: 100%;
    padding: 7px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
    text-align: left;
    overflow-wrap: anywhere;
  }

  .tfd-prose table.tfd-stack-table td code {
    display: inline-block;
    margin: 1px 2px;
    white-space: nowrap;
  }

  .tfd-table td:last-child,
  .tfd-prose table.tfd-stack-table td:last-child {
    border-bottom: 0;
  }

  .tfd-table td::before,
  .tfd-prose table.tfd-stack-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-align: left;
    flex-shrink: 0;
  }

  .tfd-table td::before {
    max-width: 44%;
  }

  .tfd-prose table.tfd-stack-table td::before {
    display: block;
    margin-bottom: 3px;
  }

  .tfd-table td:first-child,
  .tfd-prose table.tfd-stack-table td:first-child {
    border-bottom: 1px solid var(--border);
  }

  .tfd-table td:first-child strong,
  .tfd-prose table.tfd-stack-table td:first-child strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent);
  }

  .tfd-updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfd-topbar-row {
    flex-wrap: nowrap;
    min-height: 50px;
    gap: 10px;
  }

  .tfd-brand {
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
  }

  .tfd-brand-mark {
    width: 30px;
    height: 30px;
  }

  .tfd-brand-copy {
    min-width: 0;
  }

  .tfd-brand-copy strong {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tfd-brand-copy small {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tfd-menu-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 36px;
    padding: 6px 12px;
  }

  .tfd-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 8px 16px 12px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .tfd-nav.is-open {
    display: flex;
  }

  .tfd-hero-split {
    row-gap: 10px;
  }

  .tfd-hero-copy {
    order: 1;
  }

  .tfd-hero-stage {
    order: 2;
    gap: 8px;
  }

  .tfd-hero-stats {
    order: 3;
    align-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tfd-code-rack {
    order: -1;
  }

  .tfd-rack-list {
    grid-template-columns: 1fr;
  }

  .tfd-rack-item {
    padding: 5px 10px;
    border-right: 0;
  }

  .tfd-rack-item:nth-child(2) {
    border-top: 1px solid var(--border);
  }

  .tfd-rack-meta span {
    font-size: 0.78rem;
  }

  .tfd-spec-line {
    margin-bottom: 6px;
  }

  .tfd-spec-line span {
    font-size: 0.75rem;
    padding: 3px 9px;
    line-height: 1.3;
  }

  .tfd-hero-h1 {
    font-size: 1.65rem;
    line-height: 1.08;
    margin-bottom: 6px;
  }

  .tfd-hero-lead {
    font-size: 0.88rem;
    line-height: 1.38;
    margin-bottom: 10px;
  }

  .tfd-cta-group {
    gap: 6px;
    margin-bottom: 0;
  }

  .tfd-btn-primary,
  .tfd-btn-ghost {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .tfd-shot-cap {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .tfd-toc-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tfd-updates-grid,
  .tfd-toc-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
