/* Plans & billing — builds on the portal's app.css tokens */
.pl-hero { text-align: center; max-width: 760px; margin: 2.5rem auto 1.5rem; padding: 0 1rem; }
.pl-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .6rem; letter-spacing: -.02em; }
.pl-hero h1 span { border-bottom: 4px solid var(--gold, #b88a2c); }
.pl-hero p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 1040px;
  margin: 1.5rem auto 1rem; padding: 0 1rem; align-items: stretch; }
.pl-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.pl-card.featured { border: 2px solid var(--brand); background: var(--brand-tint, #e5f2ee); transform: translateY(-6px); }
.pl-card.current { outline: 3px solid var(--gold, #b88a2c); outline-offset: 2px; }
.pl-name { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.05rem; }
.pl-badge { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .5rem;
  border-radius: 999px; background: var(--ink, #12263a); color: #fff; }
.pl-badge.alt { background: var(--brand); }
.pl-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; margin: .7rem 0 0; font-variant-numeric: tabular-nums; }
.pl-price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pl-price .cur { font-size: 1.1rem; font-weight: 700; vertical-align: .55em; margin-right: .15rem; }
.pl-year { font-size: .85rem; color: var(--muted); margin-top: .1rem; }
.pl-tag { color: var(--muted); font-size: .9rem; margin: .35rem 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.pl-list { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.pl-list li { padding: .3rem 0 .3rem 1.6rem; position: relative; font-size: .95rem; }
.pl-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.pl-list li.plus::before { content: "+"; color: var(--gold, #b88a2c); }
.pl-card .btn { justify-content: center; width: 100%; }
.pl-foot { text-align: center; color: var(--muted); font-size: .92rem; max-width: 760px; margin: .5rem auto 2.5rem; padding: 0 1rem; }
.pl-faq { max-width: 820px; margin: 0 auto 3rem; padding: 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pl-faq div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.pl-faq b { display: block; margin-bottom: .3rem; }
.su-wrap { max-width: 980px; margin: 2rem auto 3rem; padding: 0 1rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: start; }
.su-side { background: var(--ink, #12263a); color: #fff; border-radius: 14px; padding: 1.5rem; }
.su-side h2 { color: #fff; margin-top: 0; }
.su-side ul { padding-left: 1.1rem; line-height: 1.7; }
.su-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: .3rem 0 1rem; }
.su-plans label { border: 1px solid var(--line); border-radius: 10px; padding: .6rem; cursor: pointer; text-align: center; background: var(--card); }
.su-plans label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint, #e5f2ee); box-shadow: 0 0 0 2px rgba(13, 107, 88, .15); }
.su-plans input { display: block; margin: 0 auto .25rem; }
.su-plans b { display: block; }
.su-plans small { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bl-status { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.bl-pill { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-weight: 800; font-size: .8rem; }
.bl-pill.trial { background: #fff4d6; color: #8a5a00; }
.bl-pill.active { background: var(--brand-tint, #e5f2ee); color: var(--brand); }
.bl-pill.grace, .bl-pill.expired { background: var(--red-tint, #f9e6e4); color: var(--red, #b23b3b); }
.bl-pill.managed { background: #eef0f2; color: var(--ink-2, #2b4257); }
.bl-banner { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border-radius: 10px; padding: .7rem 1rem; margin-bottom: 1rem; font-size: .93rem;
  background: #fff4d6; border: 1px solid #f0d58a; }
.bl-banner.bad { background: var(--red-tint, #f9e6e4); border-color: #e9b4ae; }
.bl-choose .pl-grid { padding: 0; margin: .5rem 0 1rem; }
.bl-choose .pl-card { cursor: pointer; padding: 1.1rem; }
.bl-choose .pl-card:has(input:checked) { border: 2px solid var(--brand); background: var(--brand-tint, #e5f2ee); }
.bl-choose .pl-card input[type=radio] { position: absolute; top: 1rem; right: 1rem; }
.bl-choose .pl-price { font-size: 1.7rem; }
.bl-periods { display: flex; gap: .5rem; flex-wrap: wrap; }
.bl-periods label { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .8rem; cursor: pointer; background: var(--card); font-weight: 600; }
.bl-periods label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint, #e5f2ee); }
.bl-total { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.bl-momo { border: 1px dashed var(--line); border-radius: 12px; padding: 1rem; margin-top: 1rem; }
@media (max-width: 900px) {
  .pl-grid, .su-wrap, .pl-faq { grid-template-columns: 1fr; }
  .pl-card.featured { transform: none; }
  .su-plans { grid-template-columns: 1fr; }
}
.su-side a.su-link { color: #fff; text-decoration: underline; }
/* Branding page */
.br-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.25rem; align-items: start; }
.br-logo-now { padding: .75rem; border: 1px dashed var(--line); border-radius: 10px; margin-bottom: .75rem; display: inline-block; background: #fff; }
.br-logo { max-height: 70px; max-width: 220px; display: block; }
.br-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: .4rem 0 1rem; }
.br-sw { display: flex; align-items: center; gap: .45rem; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; cursor: pointer; font-size: .88rem; font-weight: 600; background: var(--card); }
.br-sw::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; }
.br-sw input { width: auto; margin: 0; }
.br-sw:has(input:checked) { box-shadow: 0 0 0 2px var(--ink, #12263a); }
.sw-1::before { background: #0d6b58; } .sw-2::before { background: #12263a; } .sw-3::before { background: #1d4ed8; } .sw-4::before { background: #b91c1c; }
.sw-5::before { background: #c2410c; } .sw-6::before { background: #a16207; } .sw-7::before { background: #6d28d9; } .sw-8::before { background: #be185d; }
@media (max-width: 900px) { .br-grid { grid-template-columns: 1fr; } .br-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
