/* Ticket Archive: plan comparison table with icons. */
/* Plan comparison */
.compare {
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare caption {
  padding: 16px 18px 6px;
  color: var(--text);
  font: 750 17px / 1.3 var(--font);
  text-align: left;
}

.compare th,
.compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  background: var(--surface-2);
  color: var(--text);
  font: 750 15px / 1.2 var(--font);
}

.compare thead th small {
  display: block;
  margin-top: 3px;
  color: var(--text-dim);
  font: 500 12.5px / 1.3 var(--font);
}

.compare th[scope="row"] {
  color: var(--text-2);
  font-weight: 550;
  text-align: left;
}

.compare .ci {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  vertical-align: middle;
}

.compare svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare .yes {
  color: var(--ok);
}

.compare .yes svg {
  width: 20px;
  height: 20px;
}

.compare .no {
  color: var(--text-dim);
}

.compare .col-best {
  background: color-mix(in srgb, var(--accent-soft) 60%, transparent);
}

.compare td b {
  color: var(--text);
}

.compare td .btn {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13.5px;
}

/* Swipe hint for the comparison table, shown on phones only. */
.swipe-hint {
  display: none;
  color: var(--text-dim);
  font: 500 12.5px / 1.3 var(--font);
}

@media (max-width: 760px) {
  .swipe-hint {
    display: block;
    margin-top: 2px;
  }
  .compare {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .compare table {
    min-width: 640px;
    font-size: 13.5px;
  }
  .compare caption {
    position: sticky;
    left: 0;
  }
  .compare thead th:first-child,
  .compare th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 148px;
    min-width: 148px;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--border);
  }
  .compare thead th:first-child {
    background: var(--surface-2);
  }
  .compare th,
  .compare td {
    padding: 11px 8px;
  }
  .compare th[scope="row"] {
    padding-left: 12px;
    font-size: 13px;
  }
  .compare .ci {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Real screens next to the steps and the PDF sample; each opens in the lightbox. */
.shot-frame {
  margin: 0;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.shot-frame figcaption {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.steps3.with-shots .shot-frame {
  margin-bottom: 14px;
}

.steps3.with-shots .shot-frame figcaption {
  display: none;
}

/* Pricing: what every plan gives you, beside the gallery; the buying path under each plan button. */
.price-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin: 8px 0 56px;
}

.price-intro h2 {
  margin: 0 0 16px;
}

.get-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.get-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.get-list strong {
  display: block;
  color: var(--text);
}

.plan-flow {
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.trust {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1000px) {
  .price-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
  }
  .trust li:last-child {
    grid-column: 1 / -1;
  }
}

/* Phones: the six feature cards become a compact list (icon beside the title). */
@media (max-width: 640px) {
  .features {
    gap: 10px;
  }
  .feature {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px 16px;
  }
  .feature .feature-icon {
    grid-row: span 2;
    margin: 0;
  }
  .feature p {
    margin: 2px 0 0;
    font-size: 0.875rem;
  }
}

/* Phones: step screens a little shorter (top of the real screen, where the action is). */
@media (max-width: 640px) {
  .steps3.with-shots .shot-frame img {
    max-height: 250px;
    object-fit: cover;
    object-position: top left;
  }
}

.shot-more {
  margin: 12px 0 0;
}

/* Phones: the free-plan pill stands alone, the audience line sits under it as plain text. */
@media (max-width: 640px) {
  .hero .eyebrow {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .hero .eyebrow .tag {
    display: table;
    margin-bottom: 6px;
  }
}

/* Pricing: who each plan is for, the one-line price summary, and the comparison folded on phones. */
.plan .fit {
  margin: -4px 0 8px;
  color: var(--accent-ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.price-sum {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  color: var(--text-2);
}

.price-sum span {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.m-fold {
  margin: 0 0 48px;
}

.m-fold > summary {
  display: none;
}

@media (max-width: 640px) {
  .m-fold > summary {
    display: block;
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    background: var(--surface);
    color: var(--text);
    font-weight: 650;
    cursor: pointer;
  }
  .m-fold[open] > summary {
    margin-bottom: 12px;
  }
}
