/* ==========================================================================
   YOUR STORY — the closing ask, ported from the home page
   ==========================================================================

   The home page builds this inside gsap-site.css, where it is a pinned scroll
   stage sitting between two blocks that are both flat #faf6fb. Three things
   there do not survive the trip and are deliberately NOT ported:

     .yourstory-stage background   an opaque #faf6fb with its own sealing
                                   gradients top and bottom. The feature pages
                                   are translucent washes over one continuous
                                   mesh; an opaque band would cut straight
                                   through it. Here the section is an ordinary
                                   .section and takes the same seam fade as
                                   every other band.
     padding-top: --safe-top       header clearance for a scroll landing. There
                                   is no landing here; .section owns the
                                   padding.
     scroll-snap-align             a stop on the home page's snap rail.

   Everything else — the two-column layout, the card, the ticks, the strip —
   is the home page's, so a reader who has seen one recognises the other.

   Loaded only by the pages that carry the section, after site.css. */

/* .section owns the vertical rhythm on a feature page; the home page's own
   56/120 would double it. */
.feature-page .yourstory .explore-final-cta {
  padding: 0;
  text-align: center;
}

.feature-page .yourstory .explore-final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  justify-items: stretch;
  gap: clamp(28px, 5vw, 76px);
  text-align: left;
}

.feature-page .yourstory-copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

/* The home page sets this to clamp(2.2rem, 4vw, 3.8rem) because it owns a
   whole viewport. Here every other h2 is clamp(1.5rem, 2.9vw, 2.15rem), and a
   3.8rem heading would read as a different page having been pasted in. Sized a
   step above the page's own h2 so the closing ask still leads. */
.feature-page .yourstory .explore-final-cta h2 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.06;
}

.feature-page .yourstory .explore-final-cta .lead {
  max-width: 48ch;
}

/* 44ch on the home page's wide copy column; here the column is ~545px and 44ch
   broke "…takes one / tap." with a one-word last line. */
.feature-page .pricing-note {
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- the card ------------------------------------------------------------ */
/* site.css gives .price-card the generic card wash; this is the home page's
   card, which is white and sits higher off the page. */
.feature-page .yourstory .price-card {
  display: grid;
  gap: 14px;
  justify-items: stretch;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 74px rgba(23, 35, 38, 0.11), 0 6px 18px rgba(16, 18, 38, 0.06);
}

.feature-page .price-name {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-page .price-figure {
  display: flex;
  align-items: baseline;
  color: var(--ink);
  font-size: clamp(2.8rem, 3.6vw, 4rem);
  font-weight: 930;
  line-height: 1;
  letter-spacing: -0.02em;
}

.feature-page .price-cur {
  font-size: 0.44em;
  font-weight: 900;
  align-self: flex-start;
  padding-top: 0.22em;
}

.feature-page .price-per {
  color: var(--muted);
  font-size: 0.3em;
  font-weight: 800;
}

.feature-page .price-trial {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-page .ticks {
  display: grid;
  gap: 11px;
  margin: 6px 0 4px;
  padding: 0;
  list-style: none;
}

.feature-page .ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.feature-page .ticks li::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.3 4.6-5' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat,
              var(--teal-deep);
}

.feature-page .price-card .store-button {
  justify-self: center;
  margin-top: 6px;
}

.feature-page .price-card .store-button img {
  height: 42px;
}

/* --- "Works with what you already use" ----------------------------------- */
/* A strip, not a section: it answers one objection at the moment the price
   lands, and answers it in a line. */
.feature-page .works-with {
  grid-column: 1 / -1;
  margin-top: clamp(26px, 4vw, 52px);
  padding-top: clamp(18px, 2.4vw, 28px);
  border-top: 1px solid rgba(16, 18, 38, 0.08);
  text-align: center;
}

.feature-page .works-with-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-page .works-with-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(20px, 3vw, 46px);
  margin: clamp(12px, 1.8vw, 18px) 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  font-weight: 700;
}

/* Defined once and never drawn. display:none would stop the <use> references
   resolving in some engines, so it is sized to nothing instead. */
.feature-page .works-with-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.feature-page .works-with-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.68;
  transition: opacity 180ms ease, color 180ms ease;
}

.feature-page .works-with-list li:hover {
  opacity: 1;
  color: var(--teal-deep);
}

/* One optical size for both kinds of mark, so Google Tasks' drawn glyph does
   not sit smaller than the vendor logos beside it. */
.feature-page .works-with-list img,
.feature-page .works-with-list .wi-drawn {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.feature-page .works-with-list img { object-fit: contain; }

.feature-page .works-with-list .wi-drawn {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

/* --- narrow ------------------------------------------------------------- */
@media (max-width: 1000px) {
  .feature-page .yourstory .explore-final-cta-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .feature-page .yourstory-copy { justify-items: center; }

  .feature-page .yourstory .explore-final-cta h2 { max-width: 18ch; }

  /* The column centres, the CARD does not: a tick list reads as a list only
     while its rows share a left edge. Both of these are the home page's own
     narrow rules. */
  .feature-page .yourstory .price-card {
    width: min(100%, 420px);
    text-align: left;
  }

  .feature-page .yourstory .price-figure { justify-content: flex-start; }

  .feature-page .yourstory .explore-final-cta .lead,
  .feature-page .pricing-note { margin-inline: auto; }
}

@media (max-width: 760px) {
  .feature-page .works-with-list { gap: 10px 16px; font-size: 0.86rem; }

  .feature-page .works-with-list img,
  .feature-page .works-with-list .wi-drawn { width: 17px; height: 17px; }
}
