/* The account page; the rest comes from /assets/site.css. */
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.small { font-size: .9rem; }
.error { color: var(--danger); }
.gsi { margin-top: 28px; min-height: 44px; }
.banner {
  background: var(--brand-soft); color: var(--fg); border-radius: 14px; padding: 12px 16px; margin: 16px 0 8px;
  font-size: .95rem;
}
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.plan.best { border-color: var(--brand); }
.plan h3 { margin: 0; text-transform: none; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; letter-spacing: -.02em; line-height: 1.1; margin: 6px 0 0; }
.plan .price small { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.plan .note { color: var(--muted); font-size: .9rem; margin: 0; }
.plan .btn { margin-top: 12px; cursor: pointer; }
.btn[disabled] { opacity: .6; cursor: progress; }
button.btn { font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: .95rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--brand); }

/* The Pro pitch (benefits, Free vs Pro, trust row, FAQ). */
.grad { background: linear-gradient(90deg, var(--brand), #FF8A5C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.pitch { margin-top: 44px; }
.pitch-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.02em; margin: 12px 0 8px; }
.pill-pro { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 5px 12px; }
.pill-pro svg, .trust svg { width: 16px; height: 16px; flex: none; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 24px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.benefit .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.benefit .ic svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.05rem; margin: 12px 0 6px; text-transform: none; }
.benefit p { margin: 0; color: var(--muted); font-size: .93rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.soon { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; vertical-align: middle; background: var(--soon-soft, #FBEBDB); color: var(--soon, #C9650F); white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .soon { background: #3A2713; color: #FFA44D; } }
:root[data-theme="dark"] .soon { background: #3A2713; color: #FFA44D; }
/* Free and Pro, line by line: the same table as the landing's pricing section. */
.cmp-wrap { margin-top: 32px; }
.cmp-title { font-size: 1.25rem; margin: 0 0 14px; text-transform: none; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); font-size: .93rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font-family: var(--font-display); font-size: 1rem; }
.cmp thead th:first-child { width: 26%; }
.cmp tbody th { font-weight: 600; }
.cmp td { color: var(--muted); width: 32%; }
.cmp .pro { background: color-mix(in srgb, var(--brand) 9%, var(--surface)); color: var(--fg); }
.cmp thead .pro { background: linear-gradient(100deg, var(--brand), #FF8A5C); color: #fff; }
.cmp .pro b { color: var(--brand); }
.cmp .grp th { background: var(--surface-alt); font-family: var(--font-data); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 9px 16px; }
.cmp .yes svg { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 720px) {
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tr { border-top: 1px solid var(--line); padding: 12px 14px; }
  .cmp tr.grp { padding: 0; }
  .cmp th, .cmp td { border: 0; padding: 4px 0; }
  .cmp .grp th { padding: 9px 14px; }
  .cmp td::before { content: attr(data-l); display: block; font-family: var(--font-data); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .cmp td.pro { margin-top: 6px; padding: 8px 10px; border-radius: 10px; }
  .cmp td.yes { display: inline-block; margin-right: 18px; background: none; }
}
#buy { margin-top: 44px; }
.plan { position: relative; }
.plan.best { border-width: 2px; box-shadow: 0 10px 30px -14px var(--brand); }
.plan .badge { position: absolute; top: -12px; right: 18px; background: var(--brand); color: var(--on-brand); font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.plan .save { align-self: flex-start; background: #FFE9E0; color: #9A3412; font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.trust { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 18px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.trust svg { color: var(--brand); margin-top: 3px; }
.trust b { color: var(--fg); }
.faq { margin-top: 44px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 0; color: var(--muted); }
@media (prefers-color-scheme: dark) { .plan .save { background: #3A2118; color: #FFB79A; } }
.status { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 18px 0 4px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; max-width: 640px; }
.status dt { color: var(--muted); }
.status dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .status { grid-template-columns: 1fr; gap: 2px; } .status dd { margin-bottom: 8px; } }
