/* Pricing comparison and task cards, scoped to the residential pricing page. */
.residential-advanced-placeholder { grid-column: 1 / -1; padding: 60px 24px; border: 1px solid #eae4da; border-radius: 10px; background: #fff; color: #1b0d00; text-align: center; }
.residential-advanced-placeholder h2 { font-size: 24px; font-weight: 600; }
.residential-advanced-placeholder p { margin-top: 16px; color: #777; }
.residential-details { background: #fff; color: #1b0d00; padding: 58px 24px 80px; }
.residential-details__inner { max-width: 1440px; margin: auto; }
.residential-details h2 { font-size: 32px; font-weight: 600; line-height: 45px; text-align: center; }
.residential-details__table-scroll { margin-top: 60px; overflow-x: auto; border: 1px solid #eae4da; border-radius: 10px; }
.residential-details__pool-note { margin-top: 20px; color: #777; font-size: 14px; font-weight: 400; line-height: 20px; }
.residential-details table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 20px; text-align: left; }
/* Use one family for Chinese and Latin glyphs in mixed-language comparison cells. */
html[lang="zh-CN"] .residential-details table { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
.residential-details th, .residential-details td { box-sizing: border-box; height: 72px; padding: 0 24px; vertical-align: middle; border-bottom: 1px solid #eae4da; }
.residential-details tr > :not(:last-child) { border-right: 1px solid #eae4da; }
.residential-details thead th { height: 64px; background: #fff6e4; font-size: 16px; font-weight: 600; line-height: 24px; }
.residential-details tbody th { font-weight: 600; }
.residential-details tbody th { background: #fffcf6; }
.residential-details tbody td { background: #fff; }
.residential-details tr:last-child > * { border-bottom: 0; }
.residential-details__supported { display: flex; align-items: center; gap: 8px; }
.residential-details__tasks { margin-top: 160px; }
.residential-details__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 60px; }
.residential-details article { border: 1px solid #eae4da; border-radius: 15px; padding: 24px; min-height: 218px; }
/* Match the Figma task-card hover state without changing its geometry. */
.residential-details__cards > article { position: relative; background: #fff; transition: border-color 0.2s ease, filter 0.2s ease; }
.residential-details__card-link::after { position: absolute; inset: 0; border-radius: 15px; content: ""; }
.residential-details__card-link:focus-visible { outline: none; }
.residential-details__card-link:focus-visible::after { outline: 2px solid #eeb64e; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .residential-details__cards > article:hover {
    border-color: #eeb64e;
    filter: drop-shadow(0 4px 10px rgba(201, 145, 68, 0.15));
  }
}
@media (prefers-reduced-motion: reduce) {
  .residential-details__cards > article { transition: none; }
}
.residential-details__icon { width: 40px; height: 40px; border-radius: 10px; background: #fff6e4; display: flex; align-items: center; justify-content: center; }
.residential-details h3 { font-size: 18px; font-weight: 600; line-height: 26px; margin-top: 14px; }
.residential-details article p { color: #777; font-size: 14px; line-height: 20px; margin-top: 14px; }
.residential-details__more { display: block; width: fit-content; margin: 50px auto 0; font-size: 16px; line-height: 24px; }
.residential-details__more:hover, .residential-details__more:focus-visible { color: #eeb64e; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .residential-details__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .residential-details { padding: 48px 16px; }
  .residential-details h2 { font-size: 26px; line-height: 36px; }
  .residential-details__tasks { margin-top: 64px; }
  .residential-details__cards { grid-template-columns: 1fr; }
}
