/* Biojrnl /pricing/ (2026-10-23), on top of site.20261023a.css. */
.page-hero { padding-block: 36px 20px; }
.page-hero h1 { max-width: 14ch; font-size: clamp(40px, 3.6vw + 20px, 64px); line-height: 1.04; letter-spacing: -.025em; }
.switches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.seg button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 600 15px/1 var(--f-body);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--card-shadow); }

.plans-sec { padding-block: 20px 76px; }
.plans { display: grid; gap: 16px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 24px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.plan--family, .plan--care { border-color: transparent; box-shadow: var(--lift-shadow); }
.plan--family { --g: linear-gradient(100deg, #E0707B 0%, #9C3D6A 100%); background: linear-gradient(180deg, #FCEFF2 0%, #FFFFFF 42%); }
.plan--care { --g: linear-gradient(100deg, #C98426 0%, #7A3E5A 100%); background: linear-gradient(180deg, #FAF1E4 0%, #FFFFFF 42%); }
.plan--family::before, .plan--care::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--g); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; }
.plan h2 { font-size: 29px; font-weight: 500; }
.plan h2 .tier { font-weight: 600; }
.for { margin-top: 4px; font-size: 16px; color: var(--muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 18px; color: var(--ink-2); }
.price b { font-family: var(--f-head); font-size: 44px; font-weight: 450; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-note { min-height: 1.5em; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--tide); }
.plan--family li svg { color: #B34E6E; }
.plan--care li svg { color: #9A5A2E; }
.trial { padding: 5px 11px; border-radius: 999px; background: var(--g); color: #FFFFFF; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.plans-fine { max-width: 46em; margin-top: 22px; font-size: 15px; color: var(--muted); }
.plans-sec .stores { margin-top: 24px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.sec-sub a { color: var(--tide-deep); font-weight: 600; }
.cmp-wrap {
  position: relative;
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--card-shadow);
  -webkit-overflow-scrolling: touch;
}
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); text-align: left; }
.cmp thead th { vertical-align: bottom; font-family: var(--f-head); font-size: 20px; font-weight: 500; color: var(--ink); }
.cmp thead th:first-child { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--muted); }
.cmp thead th span:not(.tier) { display: block; margin-top: 2px; font-family: var(--f-body); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.cmp tbody th { font-weight: 500; color: var(--ink); }
.cmp .grp th { padding-block: 9px; background: var(--paper); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.cmp td svg { width: 20px; height: 20px; vertical-align: middle; }
.cmp .yes { color: var(--tide); }
.cmp .no { color: rgba(15, 27, 34, .28); }
/* On a phone, one plan at a time (app.js sets data-cmp-plan from the picks
   and marks html.cmp-ready). */
.cmp-picks { display: none; }
@media (max-width: 639px) {
  .cmp-picks { display: inline-flex; margin-top: 26px; }
  .cmp-picks + .cmp-wrap { margin-top: 14px; }
  html.cmp-ready .cmp { min-width: 0; }
  html.cmp-ready .cmp th, html.cmp-ready .cmp td { padding-inline: 14px; }
  html.cmp-ready .cmp-card[data-cmp-plan="free"] .cmp :is(th, td):is(:nth-child(3), :nth-child(4), :nth-child(5)),
  html.cmp-ready .cmp-card[data-cmp-plan="pro"] .cmp :is(th, td):is(:nth-child(2), :nth-child(4), :nth-child(5)),
  html.cmp-ready .cmp-card[data-cmp-plan="family"] .cmp :is(th, td):is(:nth-child(2), :nth-child(3), :nth-child(5)),
  html.cmp-ready .cmp-card[data-cmp-plan="care"] .cmp :is(th, td):is(:nth-child(2), :nth-child(3), :nth-child(4)) { display: none; }
  html.cmp-ready .cmp .grp th { display: table-cell; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
