/* Price, Our story, Support and legal pages. */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px; border-radius: 28px; background: var(--bg); }
.plan h2 { font-weight: 600; font-size: 28px; line-height: 36px; letter-spacing: -.28px; color: var(--ink); }
.plan-price { font-weight: 600; font-size: 48px; line-height: 52px; letter-spacing: -.96px; color: var(--ink); }
.plan-price small { font-size: 20px; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.plan-sub { margin-top: 6px; font-size: 20px; line-height: 29px; color: var(--muted); }
.plan-head { display: flex; flex-direction: column; gap: 10px; }
.plan > p { font-size: 20px; line-height: 29px; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 18px; line-height: 24px; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: #232323 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.4 11.3l3.1 3.1 6-6.6' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan-head--offer { gap: 14px; }
.plan-head--offer .plan-sub { margin-top: 12px; }
.plan-price mark { padding: 0 .14em; margin-inline: -.14em; border-radius: 10px; background: var(--note); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Solo sits under the one plan as a banner, so it reads as the free option, not a second plan. */
.solo { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 24px; border-radius: 24px; background: var(--cream); }
.solo h2 { font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: -.28px; color: var(--ink); }
.solo p { font-size: 17px; line-height: 25px; color: var(--muted); }

@media (min-width: 761px) {
  /* The plan's height comes from even padding on all four sides, and Solo shares its text edge. */
  .plans { --plan-pad: clamp(56px, 7vw, 80px); }
  .plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 56px; align-items: start; padding: var(--plan-pad); }
  .plan-head, .plan > p { grid-column: 1; }
  .ticks { grid-column: 2; grid-row: 1 / -1; align-self: center; gap: 16px; }

  .solo { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 24px var(--plan-pad); border-radius: 28px; }
  .solo h2 { font-size: 28px; line-height: 36px; }
  .solo p { font-size: 20px; line-height: 29px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .plan { column-gap: 32px; }
}

.compare { max-width: 900px; margin-inline: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 18px; line-height: 24px; }
.compare th, .compare td { padding: 12px 0; text-align: center; font-weight: 400; }
.compare thead th { font-weight: 600; font-size: 18px; color: var(--ink); border-bottom: 1px solid rgba(0, 0, 0, .1); padding-bottom: 16px; width: 22%; }
.compare thead td { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.compare tbody th { text-align: left; color: var(--ink); }
.compare .group th { padding-top: 32px; font-weight: 600; font-size: 20px; }
.compare td { color: var(--ink); font-weight: 600; }
.compare td.no { color: rgba(0, 0, 0, .3); }

/* Our story: a plain letter in the site's type, signed in pen. It sits at the top until
   the window outgrows the page, then the spare height is shared above and below it. */
.story-main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.story-main .hero-sec { width: 100%; }
.story { max-width: 680px; margin-inline: auto; padding-top: 136px; color: rgba(0, 0, 0, .6); font-size: 20px; line-height: 32px; }
.story h1 { text-align: center; margin-bottom: 36px; font-weight: 600; font-size: 48px; line-height: 52px; letter-spacing: -.96px; color: var(--ink); }
.story p + p { margin-top: 26px; }
.story .pen { font-family: "Reenie Beanie", "Bradley Hand", cursive; font-size: 40px; line-height: 44px; color: #3f63d6; rotate: -1.5deg; transform-origin: 0 50%; }
.story p + .pen { margin-top: 36px; }
.story a:not(.btn) { white-space: nowrap; padding-bottom: 5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.2C38 2.6 71 6.4 108 3.9S172 2.8 198 4.6' fill='none' stroke='%233f63d6' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 100% / 100% 8px no-repeat; }

/* Support and the legal documents: the Our story letter, set a little smaller for long reading,
   with the same drawn underline on links. These pages have no links to other sections, so the
   nav is just the icon and the way back, in both the bar and the pill. */
.nav-back { padding: 10px; font-weight: 500; font-size: 16px; color: #222; opacity: .7; transition: opacity .2s; }
.nav-back:hover { opacity: 1; }
.nav.pill .nav-back { padding-right: 14px; }
.doc { font-size: 18px; line-height: 30px; }
.doc a:not(.btn) { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color .2s; }
.doc a:not(.btn):hover { color: var(--ink); }
.doc .updated { margin-top: -20px; text-align: center; font-size: 16px; color: var(--muted); }
.doc .updated strong { font-weight: inherit; color: inherit; }
.doc .updated + p { margin-top: 48px; }
.doc h2 { margin-top: 56px; font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -.24px; color: var(--ink); }
.doc h3 { margin: 32px 0 0; font-weight: 600; font-size: 18px; line-height: 26px; color: var(--ink); }
.doc :is(h2, h3) + :is(p, ul, address) { margin-top: 10px; }
.doc :is(h2, h3) + h3 { margin-top: 20px; }
.doc ul { margin: 14px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 10px; }
.doc ul + p { margin-top: 26px; }
.doc strong { font-weight: 600; color: var(--ink); }
.doc address { margin-top: 10px; font-style: normal; }
.doc .btn { font-size: 16px; padding: 8px 14px; } /* The same size as Get the app in the nav. */
.doc .center { text-align: center; text-wrap: balance; }

@media (max-width: 760px) {
  .plans { gap: 12px; margin-top: 12px; }
  .plan { padding: 28px 24px; border-radius: 24px; gap: 16px; }
  .plan h2 { font-size: 24px; line-height: 30px; }
  .plan-price { font-size: 40px; line-height: 44px; }
  .plan > p, .plan-sub { font-size: 17px; line-height: 25px; }
  .ticks li { font-size: 16px; line-height: 22px; }
  .compare table { font-size: 16px; line-height: 21px; }
  .compare thead th { font-size: 13px; line-height: 17px; width: 24%; }
  .compare th, .compare td { padding: 10px 0; }
  .compare .group th { font-size: 18px; padding-top: 24px; }
  .story { padding: 96px 8px 0; font-size: 18px; line-height: 28px; }
  .story h1 { margin-bottom: 24px; font-size: clamp(30px, 9.2vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
  .story p + p { margin-top: 20px; }
  .story .pen { font-size: clamp(24px, 7.6vw, 34px); line-height: 38px; white-space: nowrap; }
  .story p + .pen { margin-top: 28px; }
  .doc { font-size: 17px; line-height: 27px; }
  .doc .updated { margin-top: -10px; font-size: 15px; }
  .doc .updated + p { margin-top: 32px; }
  .doc h2 { margin-top: 44px; font-size: 22px; line-height: 29px; }
  .doc h3 { margin-top: 28px; font-size: 17px; }
  .doc ul { padding-left: 20px; }
  .doc ul + p { margin-top: 20px; }
}
