:root {
  --ink: #17151f;
  --ink-soft: #4d4858;
  --paper: #f4f0e8;
  --paper-deep: #e7e1d7;
  --white: #fffdf8;
  --violet: #6f4bf2;
  --violet-dark: #4e2fc3;
  --acid: #c9f45a;
  --coral: #ff8066;
  --blue: #a9d8ff;
  --line: rgba(23, 21, 31, 0.18);
  --shadow: 0 18px 50px rgba(23, 21, 31, 0.12);
  --shell: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --mono: SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(23, 21, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 31, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
  color: var(--ink);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code {
  padding: 0.15em 0.4em;
  border: 1px solid var(--line);
  border-radius: 0.35em;
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.88em;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--violet);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
  padding-block: clamp(74px, 10vw, 138px) clamp(84px, 10vw, 124px);
}

.eyebrow,
.section-number,
.note-kicker,
.route-type,
.project-category,
.project-activity,
.language-tag {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(201, 244, 90, 0.42);
}

.eyebrow-separator {
  color: var(--violet);
  font-weight: 900;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.1rem, 7.2vw, 7.2rem);
  font-weight: 850;
  letter-spacing: -0.068em;
  line-height: 0.92;
}

.hero-lede {
  max-width: 750px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--violet);
}

.button-primary:hover {
  box-shadow: 6px 6px 0 var(--violet);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  background: var(--white);
  box-shadow: 4px 4px 0 var(--acid);
}

.hero-note {
  position: relative;
  padding: 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 9px 9px 0 var(--acid);
}

.hero-note::before {
  position: absolute;
  top: -12px;
  right: 28px;
  width: 54px;
  height: 24px;
  background: rgba(111, 75, 242, 0.8);
  content: "";
  transform: rotate(2deg);
}

.note-kicker {
  margin: 0 0 18px;
  color: var(--violet-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.note-quote {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.signal-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.signal-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.signal-list dt {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 900;
}

.signal-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.route-section,
.standards-section {
  padding-block: 88px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(300px, 1.3fr) minmax(260px, 0.8fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 42px;
}

.section-number {
  margin: 8px 0 0;
  color: var(--violet-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.section-heading h2,
.trust-section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  margin: 6px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

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

.route-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 0 0 rgba(23, 21, 31, 0);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.route-card:hover {
  transform: translateY(-5px) rotate(-0.35deg);
  box-shadow: var(--shadow);
}

.route-cost {
  background: var(--acid);
}

.route-core {
  background: var(--blue);
}

.route-creative {
  background: var(--coral);
}

.route-index {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.route-type {
  margin-top: 22px;
  font-size: 0.68rem;
  font-weight: 800;
}

.route-card strong {
  max-width: 330px;
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.route-card > span:nth-of-type(3) {
  margin-top: 16px;
  color: rgba(23, 21, 31, 0.76);
  font-size: 0.94rem;
  line-height: 1.55;
}

.route-link {
  margin-top: auto;
  padding-top: 26px;
  border-bottom: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 800;
}

.catalog-section {
  padding-block: 92px 104px;
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.catalog-heading .section-number,
.catalog-heading > p:last-child {
  color: rgba(255, 253, 248, 0.66);
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.4fr);
  gap: 38px;
  align-items: end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.search-field label,
.filter-group legend {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
}

.search-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding-inline: 15px 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.search-input-wrap > span {
  color: var(--violet-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.search-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
}

.search-input-wrap input::placeholder {
  color: #756f7e;
}

.clear-button,
.reset-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clear-button {
  padding: 8px;
  color: var(--violet-dark);
}

.filter-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.filter-buttons button:hover {
  border-color: var(--acid);
}

.filter-buttons button[aria-pressed="true"] {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.results-bar {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.results-bar p {
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reset-button {
  color: var(--acid);
}

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

.project-card,
.loading-card {
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: #24212c;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.project-card:hover {
  border-color: rgba(201, 244, 90, 0.7);
  background: #292631;
  transform: translateY(-3px);
}

.project-card-header,
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-category,
.project-activity,
.language-tag {
  font-size: 0.62rem;
  font-weight: 800;
}

.project-category {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(201, 244, 90, 0.46);
  border-radius: 999px;
  color: var(--acid);
}

.project-activity {
  color: rgba(255, 253, 248, 0.48);
  text-align: right;
}

.project-name {
  margin: 34px 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 1.9vw, 1.48rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.project-repository {
  margin: 9px 0 0;
  overflow-wrap: anywhere;
  color: rgba(255, 253, 248, 0.48);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.project-summary {
  margin: 17px 0 0;
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.55;
}

.project-use-case {
  margin: 12px 0 0;
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.84rem;
  line-height: 1.55;
}

.project-card-footer {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.language-tag {
  color: rgba(255, 253, 248, 0.52);
}

.project-link {
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-link-arrow {
  display: inline-block;
  transition: transform 130ms ease;
}

.project-link:hover .project-link-arrow {
  transform: translate(2px, -2px);
}

.loading-card {
  position: relative;
  overflow: hidden;
}

.loading-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  content: "";
  transform: translateX(-100%);
  animation: loading 1.4s infinite;
}

.empty-state {
  padding: 54px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state[hidden],
.project-grid[hidden],
[hidden] {
  display: none !important;
}

.empty-mark {
  margin: 0;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 3rem;
}

.empty-state h3 {
  margin: 10px 0 0;
  font-size: 1.5rem;
}

.empty-state > p:not(.empty-mark) {
  margin: 10px auto 24px;
  color: rgba(255, 253, 248, 0.62);
}

.noscript-note {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--coral);
  border-radius: var(--radius-sm);
  color: var(--white);
}

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

.standards-grid article {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.65);
}

.standard-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 900;
}

.standard-yes {
  background: var(--acid);
}

.standard-no {
  background: var(--coral);
}

.standard-private {
  background: var(--blue);
}

.standards-grid h3 {
  margin: 42px 0 0;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.standards-grid p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.8fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  padding-block: 80px 110px;
}

.trust-section .section-number {
  margin: 0 0 20px;
}

.trust-copy {
  color: var(--ink-soft);
  line-height: 1.7;
}

.trust-copy p {
  margin: 0;
}

.trust-copy p + p {
  margin-top: 18px;
}

.site-footer {
  padding-block: 42px;
  background: var(--violet);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.footer-inner p {
  max-width: 560px;
  margin: 6px 0 0;
  color: rgba(255, 253, 248, 0.75);
}

.boundary-cta {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  padding-block: 84px;
  border-top: 1px solid var(--line);
}

.boundary-cta h2 {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.boundary-cta .button {
  margin-top: 18px;
}

.guide-page {
  overflow: hidden;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: end;
  padding-block: clamp(70px, 9vw, 120px);
}

.guide-hero h1 {
  max-width: 900px;
  margin: 20px 0 28px;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.guide-section {
  padding-block: 88px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.boundary-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 21, 31, 0.06);
}

.boundary-card > span,
.lifecycle-status {
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boundary-card h3,
.lifecycle-table h3 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
}

.boundary-card p,
.lifecycle-table p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.guide-section-dark {
  background: var(--ink);
  color: var(--white);
}

.guide-section-dark .section-heading > p,
.guide-section-dark .sequence-list {
  color: rgba(255, 253, 248, 0.78);
}

.sequence-list,
.adoption-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 0;
  padding: 0;
  list-style-position: inside;
}

.sequence-list li,
.adoption-list li {
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: var(--radius-sm);
  line-height: 1.65;
}

.adoption-list li {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink-soft);
}

.lifecycle-section {
  background: var(--paper-deep);
}

.lifecycle-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.lifecycle-table article {
  min-height: 220px;
  padding: 30px;
  background: var(--white);
}

.lifecycle-table .lifecycle-status {
  margin: 0;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.footer-inner .footer-name {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 850;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner nav a {
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.catalog-section :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--acid);
}

@keyframes loading {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .guide-hero,
  .boundary-cta {
    grid-template-columns: 1fr;
  }

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

  .hero-note {
    max-width: 560px;
  }

  .section-heading {
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.4fr);
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .route-grid,
  .project-grid,
  .standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-card:last-child,
  .standards-grid article:last-child {
    grid-column: 1 / -1;
  }

  .catalog-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .nav {
    align-items: flex-start;
    flex-wrap: wrap;
    min-height: 68px;
    padding-block: 12px;
  }

  .nav-links {
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    width: 100%;
  }

  .hero {
    padding-block: 64px 82px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .route-grid,
  .project-grid,
  .standards-grid,
  .trust-section,
  .boundary-grid,
  .sequence-list,
  .adoption-list,
  .lifecycle-table {
    grid-template-columns: 1fr;
  }

  .guide-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .route-card:last-child,
  .standards-grid article:last-child {
    grid-column: auto;
  }

  .route-card {
    min-height: 310px;
  }

  .catalog-section,
  .route-section,
  .standards-section {
    padding-block: 68px;
  }

  .catalog-controls {
    padding: 18px;
  }

  .filter-buttons {
    flex-wrap: nowrap;
    margin-inline: -18px;
    padding: 2px 18px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-buttons button {
    flex: 0 0 auto;
  }

  .project-card,
  .loading-card {
    min-height: 320px;
  }

  .trust-section {
    align-items: start;
    padding-block: 66px 82px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.workbench-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: end;
  padding-block: clamp(72px, 9vw, 126px) clamp(76px, 9vw, 118px);
}

.workbench-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.6rem, 8.4vw, 8rem);
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.workbench-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.workbench-proof span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.6);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.workbench-principle {
  position: relative;
  padding: 30px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--blue);
  box-shadow: 9px 9px 0 var(--ink);
}

.workbench-principle::before {
  position: absolute;
  top: -14px;
  left: 36px;
  width: 92px;
  height: 28px;
  background: rgba(231, 213, 166, 0.78);
  content: "";
  transform: rotate(-2deg);
}

.workbench-principle .note-quote {
  margin-bottom: 20px;
}

.workbench-principle > p:last-child {
  margin: 0;
  color: rgba(23, 21, 31, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

.decision-section {
  padding-block: 88px 100px;
  border-block: 1px solid var(--line);
  background: rgba(231, 225, 215, 0.78);
}

.decision-heading {
  margin-bottom: 42px;
}

.decision-form {
  display: grid;
  gap: 22px;
}

.decision-fieldset {
  min-width: 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 7px 7px 0 rgba(23, 21, 31, 0.16);
}

.decision-fieldset legend {
  padding: 0 10px;
  font-size: 1rem;
  font-weight: 850;
}

.decision-fieldset legend span {
  margin-right: 8px;
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.choice-card {
  position: relative;
  display: block;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.choice-card:hover {
  border-color: var(--violet);
  transform: translateY(-2px);
}

.choice-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
}

.choice-card input {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  accent-color: var(--violet-dark);
}

.choice-card > span {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 46px 18px 18px;
}

.choice-card strong,
.constraint-grid label > span {
  font-size: 0.9rem;
  line-height: 1.25;
}

.choice-card small,
.constraint-grid small {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.4;
}

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

.constraint-grid label {
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.constraint-grid label:has(input:checked) {
  border-color: var(--violet-dark);
  background: rgba(111, 75, 242, 0.09);
}

.constraint-grid input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--violet-dark);
}

.decision-actions {
  display: flex;
  min-height: 56px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-feedback {
  min-height: 1.3em;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.recommendation-section {
  padding-block: 96px 108px;
  background: var(--ink);
  color: var(--white);
}

.recommendation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.recommendation-section .section-heading {
  flex: 1;
}

.recommendation-section .section-number,
.recommendation-section .section-heading > p:last-child {
  color: rgba(255, 253, 248, 0.58);
}

.recommendation-status {
  max-width: 240px;
  margin: 0;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
}

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

.recommendation-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: #24212c;
}

.recommendation-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recommendation-rank {
  color: rgba(255, 253, 248, 0.42);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.recommendation-name {
  margin: 30px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.recommendation-copy {
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

.recommendation-reason {
  margin: 12px 0 0;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
}

.fit-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.fit-chip {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.58);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.fit-chip-match {
  border-color: rgba(201, 244, 90, 0.56);
  color: var(--acid);
}

.fit-chip-gap {
  border-color: rgba(255, 128, 102, 0.48);
  color: #ffb6a8;
}

.recommendation-pilot {
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.recommendation-pilot strong {
  color: var(--white);
}

.recommendation-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
}

.recommendation-actions .button {
  width: 100%;
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--white);
  font-size: 0.76rem;
}

.recommendation-actions .button-secondary:hover {
  border-color: var(--acid);
  background: transparent;
  box-shadow: none;
}

.compare-button {
  background: var(--acid);
  color: var(--ink) !important;
}

.compare-button[aria-pressed="true"] {
  background: var(--blue);
}

.comparison-section {
  padding-block: 96px;
}

.comparison-shell {
  margin-top: 40px;
  overflow-x: auto;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--violet);
}

.comparison-shell[hidden] {
  display: none;
}

.comparison-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--paper-deep);
  font-size: 0.88rem;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-table td {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.comparison-table .comparison-label {
  width: 170px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-empty {
  margin: 36px 0 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
}

.pilot-section {
  padding-block: 96px;
  background: var(--violet);
  color: var(--white);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.pilot-layout h2 {
  margin: 8px 0 22px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.pilot-layout > div > p:not(.section-number, .copy-feedback) {
  color: rgba(255, 253, 248, 0.7);
  line-height: 1.7;
}

.pilot-layout .button-primary {
  margin-top: 24px;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.pilot-layout .copy-feedback {
  margin-top: 16px;
  color: var(--acid);
}

.pilot-card {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

.pilot-kicker {
  margin: 0;
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pilot-card h3 {
  margin: 18px 0 26px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.pilot-card ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 24px;
}

.pilot-card li {
  padding-left: 8px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.pilot-card a {
  display: inline-block;
  margin-top: 28px;
  color: var(--violet-dark);
  font-weight: 850;
  text-underline-offset: 4px;
}

.pilot-evidence-link {
  display: block;
  width: fit-content;
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.method-section {
  padding-block: 96px 112px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.method-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.72);
}

.method-grid strong {
  font-size: 1rem;
}

.method-grid p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.workbench-noscript {
  margin-block: 0 80px;
}

@media (max-width: 1020px) {
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .workbench-hero,
  .pilot-layout {
    grid-template-columns: 1fr;
  }

  .workbench-principle {
    max-width: 560px;
  }

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

  .recommendation-heading {
    align-items: start;
    flex-direction: column;
  }

  .recommendation-status {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .workbench-hero {
    padding-block: 60px 78px;
  }

  .workbench-hero h1 {
    font-size: clamp(3.15rem, 16vw, 5rem);
  }

  .decision-section,
  .recommendation-section,
  .comparison-section,
  .pilot-section,
  .method-section {
    padding-block: 68px;
  }

  .outcome-grid,
  .constraint-grid,
  .recommendation-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 128px;
  }

  .decision-fieldset {
    padding: 18px;
  }

  .decision-actions,
  .decision-actions .button {
    width: 100%;
  }

  .recommendation-card {
    min-height: 480px;
  }

  .pilot-layout .button {
    width: 100%;
  }
}
