/*
 * THE PRICING PAGE (docs/design/06-public-corrections.md, items 6 to 8): the
 * currency the plans are shown in, the plan cards and the plan rules. Loaded
 * by that page alone, so site.css carries none of it.
 */

/* The currency: one quiet line under the answer, not a labelled field. */
.currency-form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-4); }
.currency-form .searchable-select { display: inline-flex; align-items: center; gap: var(--space-2); font-size: .875rem; }
.currency-form .searchable-select > span:first-child { font-weight: 400; color: var(--muted); }
.currency-form .select-button { width: auto; min-height: 2rem; padding: 0 var(--space-3); border-radius: 999px; font-size: .875rem; }
.currency-form .select-panel { min-width: 16rem; }
.currency-note { margin: var(--space-2) 0 0; font-size: .875rem; color: var(--muted); }

/* The plans: three across from 840px (the grid had four columns for three
   cards), each card as tall as its own content, so opening one moves no
   other. Closed, the price, the range and a line; opened, in place. */
.plan-grid { align-items: start; }
@media (min-width: 840px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan-details > summary { display: grid; gap: var(--space-2); cursor: pointer; list-style: none; }
.plan-details > summary::-webkit-details-marker { display: none; }
.plan-details > summary::marker { content: ""; }
.plan-details h2 { margin: 0; }
.plan-price, .plan-orders, .plan-line { display: block; }
.plan-more { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-2); font-weight: 600; color: var(--gold-2); }
.plan-details[open] .plan-more svg { transform: rotate(180deg); }
.plan-body { display: grid; gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.plan-body h3 { margin: 0; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan-body p { margin: 0; }
.plan > .button { margin-top: var(--space-4); }

/* The plan rules: one question per pill, as the questions page draws them,
   the question a heading under the section's own. */
.rules { margin-top: var(--space-5); }
.rules .faq-item { border-radius: var(--glass-radius); }
.rules .faq-item summary h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.rules .faq-item p { margin: 0; }
