/* Feature stories share the established ForthTap palette and typography. */
.feature-stories {
  margin-top: 64px;
}
.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: min(880px, calc(100svh - 82px));
  padding: 80px 0;
  scroll-margin-top: 24px;
}
.story-media,
.story-copy {
  min-width: 0;
}
.story-copy h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.1;
  margin-bottom: 24px;
}
.story-copy > p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #354353;
}
.story-copy .story-detail {
  font-size: 15px;
  color: #586473;
}
.feature-video {
  margin: 0;
  border-radius: 14px;
}
.media-caption {
  margin: 16px 0 0;
  color: #586473;
  font-size: 13px;
}
.story-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  color: #17212e;
  background: #e3e9f0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.story-more:hover {
  background: #d6e0eb;
}
.exclusion-summary {
  margin: 24px 0;
  padding: 22px;
  background: #e9edf3;
  border-radius: 12px;
}
.exclusion-summary h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.exclusion-summary p {
  font-size: 14px;
  line-height: 1.5;
  color: #4a5664;
  margin: 0;
}
.exclusion-summary ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: #17212e;
}
.exclusion-summary li {
  font-weight: 600;
}
.feature-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #e9edf3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  text-align: center;
}
.feature-placeholder img {
  border-radius: 12px;
  margin-bottom: 22px;
}
.feature-placeholder strong {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 550;
}
.feature-placeholder span {
  color: #586473;
  font-size: 13px;
  margin-top: 12px;
}
.shortcut-story {
  min-height: 0;
  padding: 64px 0 100px;
}
.shortcut-story .feature-placeholder {
  aspect-ratio: 16 / 10;
}
.story-copy .free-forever {
  color: #086ed8;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.story-copy .download-caption {
  font-size: 12px;
  margin: 14px 0 0;
}
.feature-dialog {
  width: min(1080px, calc(100vw - 40px));
  max-width: none;
  max-height: 92dvh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #f6f7f9;
  color: #17212e;
  overscroll-behavior: contain;
}
.feature-dialog::backdrop {
  background: #15202ec2;
}
.feature-dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: #f6f7f9;
}
.feature-dialog-header h2 {
  font-size: 26px;
  margin: 0;
}
.feature-dialog-close {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: #e3e9f0;
  color: #17212e;
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
}
.feature-dialog-body {
  padding: 0 28px 30px;
}
.feature-dialog-body h3 {
  font-size: 24px;
  margin: 24px 0 12px;
}
.feature-dialog-body p {
  max-width: 720px;
  font-size: 16px;
  color: #4a5664;
}
.feature-dialog-intro {
  margin: 0 0 20px;
}
.scenario-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 22px;
}
.scenario-options button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #e3e9f0;
  color: #354353;
  cursor: pointer;
  font-size: 14px;
}
.scenario-options button[aria-pressed="true"] {
  background: #17212e;
  color: #fff;
}
.feature-dialog [hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .feature-story {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
    padding: 60px 0;
  }
  .story-copy {
    max-width: 560px;
  }
  .story-copy h2 {
    font-size: 36px;
    margin-bottom: 18px;
  }
  .story-copy > p {
    font-size: 17px;
  }
  .feature-stories {
    margin-top: 30px;
  }
  .shortcut-story {
    padding-bottom: 60px;
  }
  .feature-dialog {
    width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .feature-dialog-header {
    padding: 18px 20px;
  }
  .feature-dialog-header h2 {
    font-size: 23px;
  }
  .feature-dialog-body {
    padding: 0 20px 30px;
  }
}

/* Alternate the media side while keeping a consistent text measure. */
@media (min-width: 801px) {
  .feature-story:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  }
  .feature-story:nth-child(even) .story-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .feature-story:nth-child(even) .story-media {
    grid-column: 2;
    grid-row: 1;
  }
}
.workflow-comparison {
  padding: 80px 0 100px;
}
.comparison-heading {
  max-width: 740px;
  margin-bottom: 38px;
}
.comparison-heading p {
  margin: 0;
  color: #4a5664;
  font-size: 18px;
}
.comparison-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.comparison-card {
  padding: 34px;
  border-radius: 16px;
  background: #e9edf3;
}
.comparison-card h3 {
  font-size: 25px;
  line-height: 32px;
  margin: 0;
}
.comparison-product {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comparison-product img {
  border-radius: 7px;
}
.comparison-subtitle {
  font-size: 14px;
  color: #586473;
  margin: 8px 0 30px;
}
.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
}
.comparison-card li {
  position: relative;
  padding-left: 28px;
}
.comparison-card li::before {
  content: "−";
  position: absolute;
  left: 0;
  top: -1px;
  color: #687484;
  font-size: 20px;
}
.comparison-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.comparison-card li p {
  margin: 0;
  color: #4a5664;
  font-size: 15px;
  line-height: 1.6;
}
.forthtap-workflow {
  background: #e6effb;
}
.forthtap-workflow li::before {
  content: "✓";
  color: #086ed8;
}
.comparison-note {
  max-width: 850px;
  color: #586473;
  font-size: 13px;
  line-height: 1.6;
  margin: 24px 0 0;
}
@media (max-width: 800px) {
  .workflow-comparison {
    padding: 60px 0;
  }
  .comparison-columns {
    grid-template-columns: 1fr;
  }
  .comparison-card {
    padding: 26px;
  }
}

.impact-section {
  padding: 70px 0;
}
.impact-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.impact-heading h2 {
  margin: 0;
}
.example-label {
  max-width: 210px;
  font-size: 13px;
  color: #7a5426;
  background: #f5ebd9;
  padding: 10px 14px;
  border-radius: 8px;
  margin: 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.impact-number {
  display: block;
  font-size: clamp(60px, 6vw, 88px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.055em;
  color: #086ed8;
  margin-bottom: 16px;
}
.impact-number span {
  font-size: .6em;
  letter-spacing: -.03em;
}
.impact-item h3 {
  font-size: 19px;
  line-height: 1.4;
  min-height: 54px;
  margin: 0 0 20px;
}
.impact-item > p {
  margin: 20px 0 0;
  color: #586473;
  font-size: 13px;
}
.click-chart {
  display: grid;
  gap: 12px;
  height: 66px;
  align-content: center;
}
.click-chart > div {
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #586473;
}
.click-chart i {
  display: block;
  height: 12px;
  border-radius: 3px;
}
.bar-before {
  width: 100%;
  background: #c5ced9;
}
.bar-after {
  width: 50%;
  background: #086ed8;
}
.click-chart b {
  font-weight: 500;
}
.time-chart {
  height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.time-segments {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}
.time-segments i {
  height: 24px;
  background: #c5ced9;
  border-radius: 3px;
}
.time-segments i:nth-last-child(-n+2) {
  background: #086ed8;
}
.time-labels {
  display: flex;
  justify-content: space-between;
  color: #586473;
  font-size: 12px;
}
.time-labels span:last-child {
  color: #086ed8;
}
.free-chart {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 66px;
  font-size: 13px;
  color: #354353;
}
.impact-disclosure {
  max-width: 900px;
  font-size: 13px;
  line-height: 1.6;
  color: #586473;
  margin: 30px 0 0;
}
.function-catalog {
  padding: 80px 0;
}
.catalog-heading {
  max-width: 670px;
  margin-bottom: 52px;
}
.catalog-heading > p {
  color: #4a5664;
  font-size: 18px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 72px;
}
.catalog-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.catalog-item > img {
  opacity: .75;
  margin-top: 2px;
}
.catalog-item h3 {
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: -.015em;
}
.catalog-item ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #4a5664;
  font-size: 14px;
  line-height: 1.6;
}
.catalog-item li + li {
  margin-top: 7px;
}
@media (max-width: 800px) {
  .impact-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .impact-item {
    max-width: 360px;
  }
  .impact-item h3 {
    min-height: 0;
  }
  .impact-number {
    font-size: 72px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .function-catalog,
  .impact-section {
    padding: 60px 0;
  }
}

/* under the prices: what every plan has that the stories above do not show */
.includes { margin-top: 44px; }
.includes h3 { margin: 0 0 18px; font-size: 21px; }
.includes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; color: #4a5664; }
.includes li { position: relative; padding-left: 24px; }
.includes li::before { content: '✓'; position: absolute; left: 0; color: #0872d6; }
.includes b { color: #17212e; font-weight: 600; }
@media (max-width: 760px) { .includes ul { grid-template-columns: 1fr; } }
