/* Feature library additions to the shared Becoming Pools story stylesheet. */
.features-shell {
  --ink: #101010;
  color: #191a22;
}
.features-shell [hidden] {
  display: none !important;
}
.features-shell h1,
.features-shell h2,
.features-shell h3 {
  letter-spacing: -0.035em;
}
.features-shell h1 {
  margin-top: 0;
  font-size: clamp(34px, 4.6vw, 57px);
  line-height: 1.08;
}
.features-shell h2 {
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.features-shell p {
  line-height: 1.5;
}
.features-shell .storyIntro {
  max-width: 42rem;
}
.features-shell .storyHero__card {
  align-self: stretch;
}
.features-shell .storyButton {
  color: #101010;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
}
.features-shell .storyButton:hover {
  background: #ddebee;
}
.features-shell .storyButton--primary {
  background: var(--mint);
}
.features-shell :is(button, input, select, summary, a):focus-visible {
  outline: 3px solid #126e82;
  outline-offset: 4px;
}
.features-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: #fff;
  color: #101010;
  padding: 12px;
}
.features-skip:focus {
  top: 12px;
}
.features-banner {
  min-height: 170px;
  max-height: 300px;
}
.features-banner .storyBanner__image {
  min-height: 170px;
}
.features-shell .features-back-nav {
  display: flex;
  justify-content: flex-start;
  padding: 24px 0 6px;
}
.features-shell .features-back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 22px 8px 10px;
  border: 2px solid #101010;
  border-radius: 999px;
  background: #beefd8;
  box-shadow: 4px 4px 0 #101010;
  color: #101010;
  font:
    800 16px/1.3 "Manrope",
    sans-serif;
  text-decoration: none;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}
.features-shell .features-back-link:hover {
  background: #d7f7e7;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #101010;
}
.features-shell .features-back-link:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #101010;
}
.features-back-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #101010;
  color: #fffdf7;
  font-size: 23px;
  line-height: 1;
}
.features-detail-hero {
  margin-top: 14px;
}
.features-try-steps {
  padding-left: 21px;
  font-size: 15px;
  margin: 20px 0 0;
}
.features-try-steps li {
  margin: 10px 0;
  padding-left: 4px;
}
.features-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.features-spotlight {
  margin: 0;
  padding: 24px;
}
.features-spotlight h2 {
  font-size: 27px;
}
.features-spotlight .storyFeatureTile__copy {
  min-height: 123px;
}
.features-spotlight .storyButton {
  justify-self: start;
  align-self: end;
}
.features-product-image {
  display: block;
  border: 3px solid #101010;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 0 #101010;
}
.features-product-image img {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
  display: block;
}
.features-spotlight .features-product-image {
  height: 290px;
}
.features-spotlight .features-product-image img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.features-directory {
  padding: 28px;
  scroll-margin-top: 110px;
}
.features-directory .storyStatus__header h2 {
  font-size: clamp(26px, 3vw, 38px);
}
.features-filters {
  margin: 24px 0 32px;
}
.features-search {
  display: block;
  max-width: 620px;
}
.features-search span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}
.features-search input {
  border: 2px solid #101010;
  border-radius: 12px;
  background: #fff;
  padding: 12px 15px;
  margin: 0;
  width: 100%;
  color: #101010;
  font-size: 15px;
  box-shadow: none;
}
.features-filter-buttons {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.features-shell .features-filter-buttons button {
  flex: 0 1 auto;
  margin: 0;
  border: 2px solid #101010;
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 2px 2px 0 #101010;
  background: #fbfaf7;
  color: #101010;
  font:
    800 12px "Manrope",
    sans-serif;
  min-height: 38px;
}
.features-shell .features-filter-buttons button[aria-pressed="true"] {
  background: var(--mint);
}
.features-result-count {
  font-size: 12px;
  margin: 16px 0 0;
}
.features-group + .features-group {
  margin-top: 35px;
}
.features-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid #101010;
  margin-bottom: 16px;
}
.features-group-heading h3 {
  font-size: 23px;
  margin: 0 0 12px;
}
.features-group-heading p {
  font-size: 13px;
  margin: 0 0 12px;
}
.features-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.features-card {
  position: relative;
  padding: 22px;
  margin: 0;
  background: #fff;
  border: 2px solid #101010;
  border-radius: 17px;
  box-shadow: 3px 3px 0 #101010;
}
.features-card h3,
.features-card h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}
.features-shell .features-card a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #101010;
  text-decoration: none;
}
.features-card h3 a::after,
.features-card h4 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 17px;
}
.features-card p {
  font-size: 13px;
  margin: 14px 0 0;
}
.features-card:hover {
  background: #e2eef0;
}
.features-empty {
  padding: 32px;
  background: #e2eef0;
  border-radius: 12px;
}
.features-playground {
  scroll-margin-top: 110px;
  padding: 28px;
  gap: 15px;
}
.features-playground-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.features-playground-header h2 {
  max-width: 730px;
  margin-bottom: 0;
}
.features-playground > p {
  margin: 0;
  font-size: 16px;
}
.features-example-label {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid #101010;
  border-radius: 999px;
  font-size: 10px;
  margin-top: 4px;
  background: #e1edef;
}
.features-preview-frame {
  border: 3px solid #101010;
  border-radius: 18px;
  overflow: hidden;
  background: #c8bdfc;
  box-shadow: 4px 4px 0 #101010;
}
.features-preview-frame iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: #c8bdfc;
}
.features-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.features-preview-footer p {
  font-size: 11px;
  max-width: 670px;
  margin: 0;
}
.features-shell .features-reset {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 11px;
  box-shadow: 2px 2px 0 #101010;
  border-width: 2px;
  width: auto;
  flex-shrink: 0;
}
.features-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}
.features-detail-card {
  padding: 28px;
  margin: 0;
  align-content: start;
}
.features-detail-card h2 {
  font-size: 28px;
}
.features-detail-card p {
  font-size: 16px;
}
.features-check-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
}
.features-check-list li {
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid #d3d9dc;
  position: relative;
  line-height: 1.5;
  font-size: 15px;
}
.features-check-list li::before {
  content: "✓";
  font-weight: 900;
  position: absolute;
  left: 0;
}
.features-check-list li:last-child {
  border: 0;
}
.features-image-card {
  margin: 0;
  padding: 24px;
}
.features-image-card figcaption {
  font-size: 12px;
  padding-top: 8px;
}
.features-faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}
.features-faq details {
  border-bottom: 1px solid #101010;
  margin: 0;
  padding: 0;
}
.features-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.5;
  list-style: none;
}
.features-faq summary::-webkit-details-marker {
  display: none;
}
.features-faq details[open] summary span {
  transform: rotate(45deg);
}
.features-faq details p {
  margin: 0 0 22px;
  font-size: 14px;
}
.features-related {
  padding: 28px;
}
.features-related .features-card-grid {
  margin-top: 23px;
}
.features-cta h2 {
  margin-top: 15px;
}
.features-cta .storyClosing__card {
  justify-content: center;
}
.features-cta .storyActions {
  margin-top: 0;
}
.features-footer {
  padding: 35px 5px 0;
}
.features-shell .features-wordmark {
  font:
    900 29px "Manrope",
    sans-serif;
  letter-spacing: -0.08em;
  color: #101010;
  text-decoration: none;
}
.features-footer p {
  font-size: 13px;
}
.features-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
}
.features-inventory-header,
.features-review-notes,
.features-inventory-item {
  padding: 28px;
  background: #fbfaf7;
  border: 3px solid #101010;
  border-radius: 24px;
  box-shadow: 4px 4px 0 #101010;
  margin-top: 20px;
}
.features-review-notes {
  background: #d1e2e4;
}
.features-review-notes article {
  padding: 0;
  margin: 20px 0 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
.features-inventory-header p,
.features-review-notes p,
.features-inventory-item p,
.features-inventory-item li {
  font-size: 15px;
}
.features-inventory-item h4 {
  margin: 22px 0 8px;
}
.features-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 1000px) {
  .features-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-playground-header {
    flex-direction: column;
    gap: 10px;
  }
  .features-group-heading {
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 760px) {
  .features-spotlight-grid,
  .features-detail-grid,
  .features-faq {
    grid-template-columns: 1fr;
  }
  .features-spotlight .storyFeatureTile__copy {
    min-height: 0;
  }
  .features-playground,
  .features-directory,
  .features-related {
    padding: 18px;
  }
  .features-preview-frame {
    border-radius: 13px;
  }
  .features-preview-footer {
    align-items: start;
  }
  .features-example-label {
    font-size: 9px;
  }
  .features-shell h1 {
    font-size: 38px;
  }
  .features-detail-card {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .features-card-grid {
    grid-template-columns: 1fr;
  }
  .features-preview-footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  .features-shell h1 {
    font-size: 34px;
  }
  .features-spotlight .features-product-image {
    height: 230px;
  }
  .features-shell .storyHero {
    padding: 23px;
  }
  .features-shell .storyIntro {
    font-size: 18px;
  }
  .features-shell .storyHero__card {
    padding: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .features-shell * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .features-playground {
    padding: 18px 10px;
  }
  .features-preview-frame {
    margin: 0 -5px;
  }
}
