:root {
  --bg: #f6f7f4;
  --ink: #2e2f2c;
  --muted: #8a8d87;
  --line: rgba(0, 0, 0, 0.08);
  --cta-bg: #4a503d;
  --cta-ink: #ffffff;
  --maxw: 820px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --hl-action: #1c5fd4;
  --hl-safety: #2e7d32;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px 120px;
}
.wide-section {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

.reveal {
  opacity: 1;
  transform: none;
}
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1.5s var(--ease),
    transform 1.5s var(--ease);
}
.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.load-immediate {
  opacity: 0;
  transform: translateY(20px);
  animation: revealIn 1.2s var(--ease) forwards;
}
@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs .sep {
  margin: 0 12px;
  opacity: 0.25;
}
.breadcrumbs span[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}

.qw-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.qw-chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
}
.qw-chip strong {
  color: var(--ink);
}

.qw-title {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 500;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.2;
}

.image-stage {
  width: 100%;
  max-width: var(--maxw);
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}
.image-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poem-stage {
  margin-top: 64px;
  max-width: 52ch;
  text-align: left;
}
.poem-stage p {
  font-size: 19px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.poem-stage .hl-a {
  color: var(--hl-action);
  font-weight: 600;
}
.poem-stage .hl-s {
  color: var(--hl-safety);
  font-weight: 600;
}

.cta-inner {
  background: var(--cta-bg);
  color: var(--cta-ink);
  border-radius: 20px;
  padding: 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-top: 80px;
}
.cta-text {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0;
  max-width: 50ch;
}
.cta-button {
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}
.cta-button:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.art-to-science {
  margin-top: 120px;
  width: 100%;
  max-width: var(--maxw);
}
.ats-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
}
.ats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ats-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.ats-card:hover {
  transform: translateY(-8px);
}
.ats-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ats-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ats-content {
  padding: 20px;
}
.ats-content h3 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--ink);
}
.ats-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.dojo-faq-section {
  width: 100%;
  max-width: var(--maxw);
  margin-top: 100px;
}
.faq-title {
  margin-bottom: 30px;
  font-size: 20px;
  text-align: center;
  font-weight: 500;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-question {
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  font-size: 16px;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 8px;
  color: var(--muted);
}
details[open] .faq-question::after {
  content: '−';
}
.faq-answer {
  padding: 12px 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.validation-seal {
  width: 100%;
  max-width: var(--maxw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}
.seal-icon {
  font-size: 32px;
}
.seal-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.seal-text strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

@media (max-width: 860px) {
  .ats-grid {
    grid-template-columns: 1fr;
  }
  .breadcrumbs {
    font-size: 11px;
  }
}
