.page {
  width: 100%;
  min-width: 0;
}

.post {
  width: 100%;
  max-width: 640px;
  min-width: 0;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
  color: var(--fg2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color var(--motion-short) var(--motion-standard);
}

.post-back:hover {
  color: var(--primary);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-tag {
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--primary-container);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.post-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--outline);
}

.post-date,
.post-read {
  color: var(--fg2);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.post-title {
  margin: 0 0 20px;
  color: var(--fg1);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.post-lede {
  margin: 0 0 32px;
  color: var(--fg1);
  font-size: 19px;
  line-height: 1.6;
  text-wrap: pretty;
}

.post-divider {
  margin: 0 0 40px;
  border: 0;
  border-top: 1px solid var(--outline-variant);
}

.post-body {
  color: var(--fg1);
  font-size: 18px;
  line-height: 1.7;
}

.post-body p {
  margin: 0 0 20px;
  font-size: inherit;
  line-height: inherit;
  text-wrap: pretty;
}

.post-body h2 {
  margin: 52px 0 16px;
  color: var(--fg1);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.post-body h3 {
  margin: 36px 0 10px;
  color: var(--fg1);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.post-body strong {
  color: var(--fg1);
  font-weight: 600;
}

.post-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--primary-container);
  text-underline-offset: 3px;
}

.post-body a:hover {
  text-decoration-color: var(--primary);
}

.post-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--primary);
  color: var(--fg1);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.post-body ol,
.post-body ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
  padding-left: 22px;
}

.post-body li::marker {
  color: var(--primary);
  font-weight: 600;
}

.answer-box {
  margin: 0 0 40px;
  padding: 24px 26px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background: var(--surface-container);
}

.answer-box__label {
  margin-bottom: 8px !important;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.answer-box p:last-child {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.job-boundary {
  display: grid;
  margin: 28px 0 36px;
  overflow: hidden;
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.job-boundary__step {
  padding: 20px;
  border-bottom: 1px solid var(--outline-variant);
}

.job-boundary__step:last-child {
  border-bottom: 0;
}

.job-boundary__step span {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1.35;
  text-transform: uppercase;
}

.job-boundary__step .job-boundary__value {
  margin: 0;
  color: var(--fg1);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}

.job-boundary__step--agent {
  background: var(--surface-container);
}

.job-boundary__step--result {
  background: var(--primary-container);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 28px 0 36px;
  overflow-x: auto;
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.decision-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.decision-table th,
.decision-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--outline-variant);
  vertical-align: top;
}

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

.decision-table th {
  background: var(--surface-container);
  color: var(--fg1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1.4;
  text-transform: uppercase;
}

.decision-table td {
  color: var(--fg1);
  font-size: 14px;
  line-height: 1.55;
}

.decision-table td:first-child {
  font-weight: 600;
}

.stop-note {
  margin: 26px 0 34px;
  padding: 20px 22px;
  border: 1px solid var(--outline);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  background: var(--surface-container);
}

.stop-note__label {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.stop-note p {
  margin: 0;
}

.trap-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 36px;
}

.trap {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  background: var(--surface-container);
}

.trap__number {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.trap p {
  margin: 0;
}

.article-cta {
  margin: 56px 0 0;
  padding: 32px 32px 36px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background: var(--surface-container);
}

.article-cta > p:first-child {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.article-cta h2 {
  margin: 0 0 8px;
  color: var(--fg1);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.article-cta > p:last-of-type {
  margin: 0 0 18px;
  color: var(--fg1);
  font-size: 16px;
  line-height: 1.6;
}

.article-cta a.btn {
  color: var(--on-primary);
  text-decoration: none;
}

@media (min-width: 640px) {
  .job-boundary {
    grid-template-columns: 1fr 1.18fr 1fr;
  }

  .job-boundary__step {
    min-height: 136px;
    border-right: 1px solid var(--outline-variant);
    border-bottom: 0;
  }

  .job-boundary__step:last-child {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .post {
    padding: 28px 0 60px;
  }

  .post-title {
    font-size: 30px;
  }

  .post-lede {
    font-size: 18px;
  }

  .post-body {
    font-size: 17px;
    line-height: 1.7;
  }

  .post-body h2 {
    margin-top: 40px;
    font-size: 23px;
  }

  .answer-box,
  .article-cta {
    padding: 20px;
  }

  .answer-box p:last-child {
    font-size: 17px;
  }

  .decision-table {
    min-width: 640px;
  }
}
