body[data-page="answers"] {
  --answer-navy: #183252;
  --answer-blue: #315f91;
  --answer-orange: #c46334;
  --answer-paper: rgba(255, 253, 248, 0.94);
  background:
    radial-gradient(760px 420px at 92% 2%, rgba(196, 99, 52, 0.11), transparent 66%),
    radial-gradient(880px 500px at -8% 8%, rgba(49, 95, 145, 0.1), transparent 64%),
    linear-gradient(180deg, #f8f4eb 0%, #f3eee5 62%, #f8f5ef 100%);
}

body[data-page="answers"] .site-header {
  background: rgba(250, 247, 240, 0.9);
}

body[data-page="answers"] .hero {
  padding: 4.6rem 0 2.5rem;
}

.answers-hero {
  max-width: 880px;
}

.answers-hero h1,
.answer-head h1,
.answer-content h2,
.answer-content h3,
.answers-group h2 {
  color: var(--answer-navy);
}

.answers-hero h1,
.answer-head h1 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: -0.025em;
}

.answers-hero h1 {
  margin: 1rem 0 0;
  max-width: 13ch;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.97;
}

.answers-hero .lead {
  margin-top: 1.4rem;
  max-width: 68ch;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #58665f;
}

.answers-intro-rule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  border-top: 1px solid rgba(24, 50, 82, 0.15);
  padding-top: 1rem;
  margin-top: 2rem;
  color: #67746d;
}

.answers-intro-rule strong {
  color: var(--answer-navy);
}

.answers-index {
  padding: 1rem 0 4.4rem;
}

.answers-group + .answers-group {
  margin-top: 3.2rem;
}

.answers-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.1rem;
}

.answers-group h2 {
  font-family: "Newsreader", Georgia, serif;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.answers-group-head p {
  margin: 0;
  color: #67746d;
  line-height: 1.65;
}

.answer-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.answer-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid rgba(24, 50, 82, 0.13);
  border-radius: 18px;
  background: var(--answer-paper);
  box-shadow: 0 15px 42px rgba(39, 48, 44, 0.07);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 95, 145, 0.34);
  box-shadow: 0 21px 48px rgba(39, 48, 44, 0.11);
}

.answer-card-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--answer-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-card-type span:last-child {
  color: #8a938d;
  letter-spacing: 0.03em;
}

.answer-card h3 {
  margin: 1.05rem 0 0;
  font-family: "Newsreader", Georgia, serif;
  color: var(--answer-navy);
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  line-height: 1.08;
}

.answer-card p {
  margin: 0.75rem 0 0;
  color: #67746d;
  line-height: 1.65;
}

.answer-card-link {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--answer-blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.answer-card-link::after {
  content: " \2192";
}

.answer-shell {
  width: min(1120px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.answer-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 2rem;
  color: #7a857f;
  font-size: 0.84rem;
}

.answer-breadcrumbs a {
  color: var(--answer-blue);
}

.answer-head {
  max-width: 900px;
  padding: 2.2rem 0 2rem;
}

.answer-head .badge {
  margin-bottom: 1rem;
}

.answer-head h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.99;
}

.answer-deck {
  max-width: 70ch;
  margin: 1.25rem 0 0;
  color: #5e6b64;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.answer-byline {
  margin: 1.15rem 0 0;
  color: #7a857f;
  font-size: 0.84rem;
}

.answer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 4.2rem;
}

.answer-main {
  min-width: 0;
}

.direct-answer {
  margin-bottom: 2.1rem;
  padding: 1.45rem 1.55rem;
  border-left: 5px solid var(--answer-orange);
  border-radius: 4px 16px 16px 4px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 42px rgba(39, 48, 44, 0.08);
}

.direct-answer-label {
  margin: 0;
  color: var(--answer-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.direct-answer p:last-child {
  margin: 0.6rem 0 0;
  color: var(--answer-navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.34;
}

.answer-content {
  color: #39463f;
}

.answer-content section + section {
  margin-top: 2.5rem;
}

.answer-content h2 {
  margin: 0 0 0.85rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.08;
}

.answer-content h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.08rem;
}

.answer-content p,
.answer-content li {
  font-size: 1.02rem;
  line-height: 1.86;
}

.answer-content p {
  margin: 0.8rem 0 0;
}

.answer-content ul,
.answer-content ol {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

.answer-content li + li {
  margin-top: 0.42rem;
}

.answer-content a {
  color: var(--answer-blue);
  text-decoration: underline;
  text-decoration-color: rgba(49, 95, 145, 0.35);
  text-underline-offset: 0.15em;
}

.answer-content strong {
  color: var(--answer-navy);
}

.answer-definition,
.answer-principle {
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(24, 50, 82, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.76);
}

.answer-principle {
  border-color: rgba(196, 99, 52, 0.22);
  background: rgba(255, 245, 236, 0.7);
}

.answer-definition p,
.answer-principle p {
  margin: 0;
}

.answer-toc {
  position: sticky;
  top: 96px;
  padding: 1.1rem;
  border: 1px solid rgba(24, 50, 82, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
}

.answer-toc h2 {
  margin: 0;
  color: var(--answer-navy);
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.answer-toc ol {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.answer-toc li + li {
  margin-top: 0.6rem;
}

.answer-toc a {
  color: #65726b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.answer-toc a:hover {
  color: var(--answer-blue);
}

.answer-product {
  padding: 1.35rem;
  border: 1px solid rgba(49, 95, 145, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(240, 246, 252, 0.95), rgba(255, 247, 239, 0.95));
}

.answer-product h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.answer-product .btn {
  margin-top: 1rem;
  text-decoration: none;
}

.answer-faq details {
  border-top: 1px solid rgba(24, 50, 82, 0.13);
  padding: 0.95rem 0;
}

.answer-faq details:last-child {
  border-bottom: 1px solid rgba(24, 50, 82, 0.13);
}

.answer-faq summary {
  cursor: pointer;
  color: var(--answer-navy);
  font-weight: 800;
  line-height: 1.5;
}

.answer-faq details p {
  margin-top: 0.55rem;
}

.answer-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.answer-related a {
  display: block;
  padding: 1rem;
  border: 1px solid rgba(24, 50, 82, 0.12);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--answer-navy);
  font-weight: 700;
  text-decoration: none;
}

.answer-related a:hover {
  border-color: rgba(49, 95, 145, 0.34);
}

@media (max-width: 900px) {
  .answer-layout,
  .answers-group-head {
    grid-template-columns: 1fr;
  }

  .answer-toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 700px) {
  body[data-page="answers"] .hero {
    padding-top: 3rem;
  }

  .answers-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .answers-intro-rule,
  .answer-card-grid,
  .answer-related {
    grid-template-columns: 1fr;
  }

  .answer-card {
    min-height: 0;
  }

  .answer-head {
    padding-top: 1.6rem;
    min-width: 0;
  }

  .answer-shell {
    width: calc(100% - 1.2rem);
    max-width: calc(100vw - 1.2rem);
  }

  .answer-head h1,
  .direct-answer p,
  .answer-content h2,
  .answer-content p,
  .answer-content li {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .answer-layout {
    gap: 1.2rem;
  }

  .direct-answer {
    padding: 1.2rem;
  }
}
