/* The Plans page and the Partner with us form (Kasey's approved mocks,
   2026-11-29: static/_mock_plans.html, static/_mock_partner_with_us.html).
   Loaded after partners.css and signin.css; the form reuses the door fields. */
.topnav { display: flex; align-items: center; gap: 26px; padding: 20px 24px; font-size: 14px; font-weight: 500; }   /* no rule under the bar (Kasey 2026-11-30) */
.topnav .word { color: var(--bone); letter-spacing: 0.24em; margin-right: auto; }
.topnav a { color: rgba(255,254,251,0.7); white-space: nowrap; }
.topnav a.on { color: var(--bone); border-bottom: 1px solid var(--champagne); padding-bottom: 3px; }
.topnav a.cta { color: var(--champagne); }
.topnav a:focus-visible, .plan .btn:focus-visible, .form .btn:focus-visible, .hint a:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sec-h { font-weight: 300; font-size: clamp(32px,4vw,52px); letter-spacing: -0.03em; line-height: 1.05; color: var(--bone); margin: 72px 0 10px; }
.sec-h.center { text-align: center; }
.sec-p { color: var(--grey); margin: 0 0 32px; max-width: 60ch; }
/* How the company uses Tripp: three ways, each with its own three cards.
   The toggle sits centered at the very top of the page, and the cards stand
   apart, raised off the page (Kasey 2026-11-30: "nothing pops out about
   them"). Master, the fullest plan, wears the champagne edge. */
.plans-page { text-align: center; padding-top: 34px; }
.plans-page .sec-h { margin-top: 40px; }
.plans-page .sec-p { margin-left: auto; margin-right: auto; }
/* No box: plain words, and a champagne line under the one being looked at. */
.how { display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }   /* three equal columns */
.how button { font: inherit; font-size: 15px; font-weight: 500; padding: 8px 10px; text-align: center; white-space: nowrap; background: transparent; color: rgba(255,254,251,0.6);
  border: 0; border-bottom: 2px solid transparent; cursor: pointer; border-radius: 0; }
.how button[aria-selected="true"] { color: var(--bone); border-bottom-color: var(--champagne); }
.how button:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.plans[hidden] { display: none; }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 96px; text-align: left; }
.plan { padding: 28px 26px 30px; display: flex; flex-direction: column; background: var(--ink-raised);
  border: 1px solid var(--hairline-strong); box-shadow: 0 1px 0 rgba(255,254,251,0.06) inset, 0 24px 48px -18px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.4); }
/* The champagne edge and the gold button mark the card being looked at, and
   move to whichever card is tapped (plans.js). Master to begin with. */
.plan { cursor: pointer; transition: border-color .18s ease; }
.plan.picked { border-color: var(--champagne); }
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } }
.plan h2 { margin: 0; font-weight: 400; font-size: 26px; color: var(--bone); letter-spacing: -0.02em; }
.plan .one { color: var(--champagne); font-size: 15px; margin: 6px 0 18px; min-height: 48px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
/* Every plan lists the same rows, each with a check or an x (Kasey
   2026-11-30), so the three columns line up and compare across. */
.plan li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--bone-dim); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.plan li.yes { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.plan li.yes::before { color: var(--champagne); }
.plan li.no { color: var(--grey-dim); --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3l8 8M11 3l-8 8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plan .btn { text-align: center; border-radius: 0; }
.hint { text-align: center; font-size: 14px; color: var(--grey); margin: 0 0 22px; }
.hint a { color: var(--champagne); text-decoration: underline; }
.count { font-size: 13px; color: var(--grey); margin: 0 0 18px; text-align: center; }
.form { max-width: 560px; margin: 0 auto 96px; display: flex; flex-direction: column; gap: 6px; }
.form .door-field { border-radius: 0; background-color: var(--ink-raised); border: 1px solid var(--hairline-strong); width: 100%; }
.form select.door-field { height: 48px; }
.form .btn { border: 0; cursor: pointer; margin-top: 22px; border-radius: 0; font: inherit; font-weight: 500; font-size: 14px; letter-spacing: 0.06em; padding: 16px 24px; }
.form .door-err { margin: 0 0 8px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; }
  .how { gap: 0 6px; }
  .how button { padding: 8px 6px; font-size: 14px; }
  .plan .one { min-height: 0; }
  .topnav { gap: 18px; padding: 16px; }
  .topnav a.hide { display: none; }
}

/* On a desktop the whole Plans page fits one screen: the toggle, the heading
   and all three cards down to their buttons, with no scrolling (Kasey
   2026-11-30: "rn i have to scroll"). Wider cards so fewer rows wrap, and
   tighter air everywhere. A phone still stacks and scrolls. */
@media (min-width: 821px) {
  .plans-page.wrap { max-width: 1280px; }
  .plans-page { padding-top: 8px; }
  .plans-page .sec-h { font-size: clamp(32px, 3.2vw, 42px); margin: 18px 0 8px; }
  .plans-page .sec-p { margin-bottom: 20px; max-width: none; }
  .plans { margin-bottom: 24px; }
  .plan { padding: 20px 24px 22px; }
  .plan .one { margin: 4px 0 12px; min-height: 2lh; }   /* two lines, so the rows line up across the cards */
  .plan ul { margin-bottom: 14px; }
  .plan li { padding: 7px 0 7px 28px; }
  .plan li::before { top: 11px; }
  .plan .btn { padding-top: 12px; padding-bottom: 12px; }
}

/* Kasey 2026-11-30, "get rid of these lines": the heading and the line under
   it are gone from the screen. The page keeps one heading for a screen reader,
   and the cards take the room. */
.plans-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plans-page .plans { margin-top: 36px; }
