/* Guides and SEO pages. Loaded after /static/legal.css, which sets type, colour and layout. */

.lede {
  font-size: 18px; line-height: 1.65; color: var(--ink); margin-bottom: 32px;
}

.ba {
  display: grid; grid-template-columns: 1fr auto 1.35fr; gap: 16px; align-items: center;
  margin: 8px 0 12px;
}
.ba img { width: 100%; height: auto; display: block; }
.ba .arrow { font-family: var(--serif); font-size: 28px; color: var(--dim); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 12px; }
.pair img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #f3f3f3; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 12px; }
.trio figure { margin: 0; }
.trio img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #f3f3f3; }
.trio figcaption { font-size: 12px; color: var(--dim); margin-top: 6px; }
.caption { font-size: 12px; color: var(--dim); margin-bottom: 40px; }

ol.steps { margin: 0 0 16px 20px; }
ol.steps li { margin-bottom: 10px; }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin: 24px 0 32px;
}
.facts div { padding: 20px 16px 20px 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.facts .num { font-family: var(--serif); font-size: 34px; line-height: 1.1; display: block; }
.facts .lbl { font-size: 12px; color: var(--dim); line-height: 1.5; display: block; margin-top: 6px; }

.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary {
  cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--dim); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }

.cta {
  margin: 64px 0 0; padding: 40px 32px; background: var(--ink); color: var(--white);
}
.cta h2 { border: 0; margin: 0 0 10px; padding: 0; color: var(--white); }
.cta p { color: rgba(255,255,255,.72); margin-bottom: 24px; }
.cta a.btn {
  display: inline-block; text-decoration: none; background: var(--white); color: var(--ink);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 26px;
}
.cta a.btn:hover { opacity: .88; }
.cta a.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.sources { font-size: 12px; color: var(--dim); margin-top: 48px; }
.sources p { margin-bottom: 6px; }

/* Pricing page */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); margin: 8px 0 16px; }
.plans .plan { padding: 28px 24px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.plans .plan:nth-child(odd) { border-right: 1px solid var(--rule); }
.plans .plan:nth-last-child(-n+2) { border-bottom: 0; }
.plans .plan.pop { background: var(--ink); color: var(--white); }
.plans .tier { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.plans .badge { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: .7; margin-left: 8px; font-weight: 400; }
.plans .price { font-family: var(--serif); font-size: 46px; line-height: 1; margin-bottom: 4px; }
.plans .price sup { font-size: 18px; vertical-align: top; margin-right: 2px; }
.plans .per { font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.plans .pop .per, .plans .plan.pop .per { color: rgba(255,255,255,.65); }
.plans .unit { font-size: 13px; margin-bottom: 16px; }
.plans ul { list-style: none; margin: 0 0 20px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; }
.plans .pop ul, .plans .plan.pop ul { border-top-color: rgba(255,255,255,.15); }
.plans li { margin-bottom: 6px; }
.plans .btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.plans a.btn {
  display: inline-block; text-decoration: none; background: var(--ink); color: var(--white);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 20px;
}
.plans .pop a.btn, .plans .plan.pop a.btn { background: var(--white); color: var(--ink); }
.plans a.alt { font-size: 12px; color: inherit; opacity: .75; }
.trial { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--rule); padding: 20px 24px; margin: 0 0 12px; }
.trial p { margin: 0; }
.trial a { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .plans .plan:nth-child(odd) { border-right: 0; }
  .plans .plan:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 640px) {
  .ba { grid-template-columns: 1fr; }
  .ba .arrow { transform: rotate(90deg); justify-self: center; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .cta { padding: 32px 22px; }
}
