.tic-hero .hero-inner {
  max-width: 900px;
}

.tic-hero .hero-theme {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.tic-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.2;
  word-break: keep-all;
}


.tic-symptom-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 24px auto 0;
}

.tic-symptom-chips span {
  padding: 8px 13px;
  border: 1px solid rgba(107, 142, 35, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--text-main);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.35;
}

.tic-page-nav {
  position: sticky;
  top: 68px;
  z-index: 30;
  display: flex;
  gap: 8px;
  width: min(1060px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
  scrollbar-width: thin;
}

.tic-page-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--text-body, #504b42);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.tic-page-nav a:hover,
.tic-page-nav a:focus-visible {
  background: var(--accent-soft, #f1f2e8);
  color: var(--accent);
}

.tic-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tic-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.tic-summary,
.tic-page-section,
.tic-faq {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.tic-page-section {
  padding-top: 76px;
  scroll-margin-top: 92px;
}

.tic-copy {
  max-width: 850px;
}

.tic-copy p,
.tic-copy li {
  color: var(--text-body, #504b42);
  font-size: 1rem;
  line-height: 1.9;
  word-break: keep-all;
}

.tic-copy p {
  margin: 0 0 18px;
}

.tic-copy strong {
  color: var(--text-main);
}

.tic-checklist,
.tic-pattern-grid,
.tic-choice-grid,
.tic-reference-list ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

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

.tic-checklist li,
.tic-pattern-grid article,
.tic-choice-grid article,
.tic-reference-list li,
.tic-research-note,
.tic-alert {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
}

.tic-checklist li {
  position: relative;
  padding: 18px 20px 18px 42px;
}

.tic-checklist li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

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

.tic-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tic-pattern-grid article,
.tic-choice-grid article {
  padding: 22px 24px;
}

.tic-pattern-grid h3,
.tic-choice-grid h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.45;
}

.tic-pattern-grid p,
.tic-choice-grid p {
  margin: 0;
  color: var(--text-body, #504b42);
  font-size: .95rem;
  line-height: 1.75;
}

.tic-research-note,
.tic-alert {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft, #f1f2e8);
}

.tic-alert {
  border-left-color: #8a7a57;
  background: #f6f2e9;
}

.tic-research {
  margin-top: 76px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tic-reference-list {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(107, 142, 35, .22);
}

.tic-reference-list__title {
  margin: 0 0 12px;
  color: var(--text-main);
  font-size: .92rem;
  font-weight: 850;
}

.tic-reference-list li {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
}

.tic-reference-list a {
  color: var(--accent);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.tic-reference-list span {
  color: var(--text-body, #504b42);
  font-size: .86rem;
  line-height: 1.6;
}

.tic-faq {
  padding: 88px 0 40px;
}

.tic-faq h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.28;
  word-break: keep-all;
}

.tic-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.tic-faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.tic-faq-list summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.55;
  list-style: none;
}

.tic-faq-list summary::-webkit-details-marker {
  display: none;
}

.tic-faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--accent);
  content: "+";
  font-size: 1.45rem;
}

.tic-faq-list details[open] summary::after {
  content: "−";
}

.tic-faq-answer {
  padding: 0 22px 22px;
  color: var(--text-sub);
  line-height: 1.85;
}

@media (max-width: 960px) {
  .tic-type-grid,
  .tic-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tic-summary,
  .tic-page-section,
  .tic-faq,
  .tic-page-nav {
    width: min(100% - 28px, 1060px);
  }

  .tic-page-section {
    padding-top: 58px;
  }

  .tic-page-nav {
    position: static;
    margin-top: 20px;
    padding: 8px;
  }

  .tic-symptom-chips {
    gap: 7px;
    margin-top: 20px;
  }

  .tic-symptom-chips span {
    padding: 7px 10px;
    font-size: .8rem;
  }

  .tic-checklist,
  .tic-pattern-grid,
  .tic-type-grid,
  .tic-choice-grid {
    grid-template-columns: 1fr;
  }

  .tic-copy p,
  .tic-copy li {
    font-size: .98rem;
    line-height: 1.85;
  }

  .tic-hero-actions {
    flex-direction: column;
  }

  .tic-hero-actions .cta-button {
    width: 100%;
    justify-content: center;
  }
}
