/*
 * The plans page (pricing.html), after Acrobat's (owner, 23 Oct 2026): wider
 * than the policy pages, in Executive Navy (the app's theme.css values).
 * Light and dark as legal.css chooses them.
 */
.pricing-page {
  --navy: #29292f;
  --navy-hover: #414149;
  --on-navy: #ffffff;
  --save: #067647;
  --save-bg: #ecfdf3;
  --ribbon: var(--tint);
  --on-ribbon: var(--text);
  --muted: #62626c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pricing-page {
    --navy: #e5e5eb;
    --navy-hover: #ffffff;
    --on-navy: #202024;
    --save: #7dd3a8;
    --save-bg: #12301f;
    --muted: #a0a0ab;
  }
}
:root[data-theme='dark'] .pricing-page {
  --navy: #e5e5eb;
  --navy-hover: #ffffff;
  --on-navy: #202024;
  --save: #7dd3a8;
  --save-bg: #12301f;
  --muted: #a0a0ab;
}

.pricing-page header a,
.pricing-page footer {
  max-width: 1120px;
}
main.pricing {
  max-width: 1120px;
  padding: 44px 48px 52px;
}
.pricing .center {
  text-align: center;
}
.pricing-hero {
  text-align: center;
}
.pricing-hero h1 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 36px;
  line-height: 44px;
}
.pricing-hero h1 img {
  width: 40px;
  height: 40px;
}
.pricing-hero p {
  margin: 10px auto 0;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 18px;
}
.pricing-hero .updated {
  margin-top: 6px;
  font-size: 13px;
}

/* The three plans. */
.plan-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 24px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
}
.plan-featured {
  border: 2px solid var(--navy);
  padding-top: 52px;
  box-shadow: 0 10px 30px rgba(15, 30, 80, 0.12);
}
.plan-ribbon {
  position: absolute;
  inset: 0 0 auto;
  margin: 0;
  padding: 6px;
  border-radius: 9px 9px 0 0;
  background: var(--ribbon);
  color: var(--on-ribbon);
  font-size: 14px;
  font-weight: 700;
}
.plan h2 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
}
.plan-big {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 44px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -0.02em;
}
.plan-big span {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}
.plan-sub {
  margin: 6px 0 0;
  font-size: 15px;
}
.plan-was {
  margin: 10px 0 0;
}
.plan-was s {
  margin-right: 6px;
  color: var(--muted);
  text-decoration-thickness: 2px;
}
.plan-save {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--save-bg);
  color: var(--save);
  font-size: 14px;
  font-weight: 700;
}
.plan-fine {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
/* Every plan's button on one line, whatever is above it. */
.plan > .plan-button {
  margin-top: auto;
}
.plan > :nth-last-child(3) {
  margin-bottom: 22px;
}
.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.plan-button:hover {
  background: var(--tint);
}
.plan-button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-navy);
}
.plan-button.primary:hover {
  border-color: var(--navy-hover);
  background: var(--navy-hover);
}
.plan-button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.plan-foot {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

/* The week pass, below the plans. */
.week-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--tint);
}
.week-strip > div {
  flex: 1;
}
.week-strip h2 {
  margin: 0;
  font-size: 18px;
}
.week-strip p {
  margin: 4px 0 8px;
  color: var(--text-secondary);
  font-size: 15px;
}
.week-strip .month-three-ways {
  max-width: 420px;
  font-size: 14px;
}
.week-strip .month-three-ways th,
.week-strip .month-three-ways td {
  padding: 4px 0;
}

/* How the trial works: three steps on a dotted line. */
.trial-steps {
  margin-top: 56px;
  text-align: center;
}
.trial-steps h2,
.pricing section > h2.center {
  font-size: 28px;
  line-height: 36px;
}
.trial-steps ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.trial-steps ol::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed var(--border);
}
.trial-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.step-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--save);
  color: var(--surface);
  font-weight: 700;
}
.trial-steps li strong {
  margin-top: 6px;
  font-size: 18px;
}
.trial-steps li span:last-child {
  max-width: 260px;
  color: var(--text-secondary);
  font-size: 15px;
}
.steps-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 0;
  font-size: 20px;
  font-weight: 600;
}

/* What Professional includes: icon and words, two columns. */
.pricing section > h2.center {
  margin-top: 64px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 48px;
  max-width: 960px;
  margin: 28px auto 0;
}
.feature {
  display: flex;
  gap: 18px;
}
.feature svg {
  flex: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 12px;
  background: var(--tint);
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
}
.feature p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Free or Professional. */
.plan-table {
  max-width: 860px;
  margin: 24px auto 8px;
  font-size: 15px;
}
.plan-table thead th {
  font-size: 14px;
}
.plan-table thead th:last-child {
  color: var(--navy);
}
.plan-table th[scope='row'] {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.plan-table td {
  width: 22%;
  text-align: center;
}
.plan-table thead th + th {
  text-align: center;
}
.plan-table td.yes {
  color: var(--save);
  font-weight: 600;
}
.plan-table td.yes::before {
  content: '✓ ';
}
.plan-table td.no {
  color: var(--muted);
}
.pricing .prose {
  max-width: 860px;
  margin: 24px auto 0;
}
.pricing .prose h2 {
  margin-top: 44px;
}

/* A tablet: plans stack two and one; a phone: one column, no sideways scroll. */
@media (max-width: 900px) {
  main.pricing {
    padding: 32px 24px 40px;
  }
  .plan-row {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-featured {
    order: -1;
  }
}
@media (max-width: 640px) {
  main.pricing {
    padding: 24px 16px 32px;
  }
  .pricing-hero h1 {
    font-size: 26px;
    line-height: 34px;
  }
  .pricing-hero h1 img {
    width: 30px;
    height: 30px;
  }
  .week-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
  }
  .trial-steps ol {
    grid-template-columns: 1fr;
  }
  .trial-steps ol::before {
    display: none;
  }
  .steps-cta {
    flex-direction: column;
    gap: 10px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .plan-table th,
  .plan-table td {
    padding: 8px 4px;
    font-size: 13.5px;
  }
}
