/* The pricing page (website redesign, Stage 5), on top of site.css and
   home.css: the same menu, founding bar, sections, cream paper, FAQ,
   closing and footer as the homepage. The pieces here are pricing's own:
   the monthly/yearly switch, the three plan cards, the founding strip, the
   comparison and the domain note. */

/* Heading and the monthly/yearly switch */
.price-head { padding-block: clamp(32px, 6vw, 72px) var(--s7); text-align: center; }
.price-head h1 { font-size: clamp(48px, 7vw, 88px); line-height: .95; max-width: 14ch; margin-inline: auto; }
.price-head .lead { margin-inline: auto; }
.period { display: inline-flex; gap: 4px; padding: 4px; margin-top: var(--s6); border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); }
.period button { min-height: 44px; padding: 0 var(--s5); border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: 700 16px var(--body); cursor: pointer; }
.period button[aria-checked="true"] { background: var(--gold); color: var(--ink); }
.period .save { font-weight: 500; font-size: 14px; margin-left: 6px; }

/* The three plans, on the cream band */
.plans-sec { padding-block: clamp(48px, 7vw, 88px); }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: var(--s6) var(--s5) var(--s5); background: #FFFDF6; border: 1px solid var(--paper-line); border-radius: var(--r-l); box-shadow: 0 24px 48px -36px rgba(30,25,18,.55); }
.plan.full { border: 2px solid var(--gold); }
.plan h2 { margin: 0; font: 700 20px/1.2 var(--body); }
.plan .amt { margin-top: var(--s3); font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; }
.plan .per { margin-top: 6px; font-size: 15px; color: var(--ink-2); min-height: 1.5em; }
.plan .for { margin-top: var(--s4); font-size: 17px; line-height: 1.45; color: var(--ink); }
.plan ul { list-style: none; margin: var(--s5) 0 var(--s6); padding: 0; border-top: 1.5px solid var(--ink); flex: 1; }
.plan li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--paper-line); font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 11px; height: 6px; border-left: 2px solid #2E7D4F; border-bottom: 2px solid #2E7D4F; transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan .btn-line { border-color: rgba(30,25,18,.3); color: var(--ink); }
.trial-line { margin-top: var(--s5); text-align: center; font-size: 16px; color: var(--ink-2); }
.trial-line a { color: var(--ink); font-weight: 600; }

/* Founding strip: dark, gold edge, only while spots remain */
.found { padding-block: clamp(48px, 7vw, 88px); background: var(--sunken); border-block: 1px solid rgba(232,160,32,.35); }
.found-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.found h2 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .96; margin: var(--s2) 0 0; }
.found .how { margin-top: var(--s4); font-size: 16px; color: var(--text-2); }
.found .fine { margin-top: var(--s3); font-size: 15px; }
.found-act .btn { width: 100%; }
.found-act .spots { margin: 0 0 var(--s3); text-align: center; }

/* Compare every feature. Desktop: a table, plan names held at the top.
   Phones (640px and narrower): each feature on its own full-width line and
   its three values on the line below, under the held plan names, so
   nothing is squeezed. Collapsed on phones until opened. */
.compare-sec { padding-block: clamp(56px, 8vw, 104px) 0; }
.compare > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 56px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.compare > summary::-webkit-details-marker { display: none; }
.compare > summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); margin-right: 6px; }
.compare[open] > summary::after { transform: rotate(-135deg); }
.cmp { width: 100%; margin-top: var(--s5); border-collapse: collapse; font-size: 16px; }
.cmp thead th { position: sticky; top: 0; z-index: 1; background: var(--stage); padding: var(--s4); text-align: left; border-bottom: 1.5px solid var(--text-3); font-weight: 700; font-size: 17px; }
.cmp thead th small { display: block; font-weight: 500; font-size: 14px; color: var(--text-3); }
.cmp tbody th, .cmp td { padding: 12px var(--s4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody th { font-weight: 500; color: var(--text); width: 40%; }
.cmp td { color: var(--text-2); width: 20%; }
.cmp .col-pp { background: rgba(232,160,32,.06); }
.cmp tr.grp th { padding-top: var(--s6); border-bottom: 1px solid var(--line-2); font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--gold); }
.cmp td.yes::before { content: ""; display: inline-block; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translate(1px, -3px); }
.cmp td.no::before { content: "—"; color: var(--text-3); }
.domain-note { margin-top: var(--s6); padding: var(--s5); border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--card); }
.domain-note h3 { margin: 0; font-size: 19px; font-weight: 700; }
.domain-note p { margin-top: var(--s2); font-size: 17px; color: var(--text-2); }

@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .found-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cmp, .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp thead { position: sticky; top: 0; z-index: 1; background: var(--stage); border-bottom: 1.5px solid var(--text-3); }
  .cmp thead th { position: static; padding: 10px 6px; border: 0; font-size: 15px; text-align: center; }
  .cmp thead th:first-child { display: none; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 14px 0 4px; border: 0; font-size: 16px; }
  .cmp tr.grp th { padding-top: var(--s5); font-size: 24px; }
  .cmp td { width: auto; padding: 0 6px 14px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--line); }
  .cmp .col-pp { background: none; }
}
/* Links inside a sentence still give a 44px target */
.trial-line a, .faq p a { display: inline-flex; align-items: center; min-height: 44px; }
