/* Pricing flow. Markup comes from pricing.js; tokens come from site.css. */
.pf { padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 30px 70px -40px var(--shadow); }
.pf-count { display: flex; justify-content: space-between; gap: 12px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pf-count span:last-child { color: var(--brand); }
.pf-bar { height: 3px; margin: 14px 0 18px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: var(--btn); border-radius: inherit; transform-origin: left; transition: transform .8s var(--ease); }
.pf-steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; list-style: none; }
.pf-steps li, .pf-steps button { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .8rem; font-weight: 500; color: var(--muted); }
.pf-steps button { padding: 0; border: 0; background: none; text-align: left; font-family: inherit; color: var(--ink); cursor: pointer; }
.pf-steps button:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.pf-steps .n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font: 500 .72rem/1 var(--f-mono); transition: background-color .4s, border-color .4s, color .4s; }
.pf-steps .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-steps .done .n { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.pf-steps .cur { color: var(--ink); }
.pf-steps .cur .n { background: var(--btn); border-color: var(--btn); color: #FFFFFF; box-shadow: 0 0 0 5px var(--spot); }
/* Phones and tablets: numbers only; the line above already names the current step. */
@media (max-width: 860px) { .pf-steps { grid-template-columns: repeat(var(--n), auto); justify-content: start; } .pf-steps .t { display: none; } }

.pf-stage.fwd > * { animation: pf-fwd .55s var(--ease) both; }
.pf-stage.back > * { animation: pf-back .55s var(--ease) both; }
.pf-stage > :nth-child(2) { animation-delay: .04s; } .pf-stage > :nth-child(3) { animation-delay: .08s; } .pf-stage > :nth-child(4) { animation-delay: .12s; }
@keyframes pf-fwd { from { opacity: 0; translate: 24px 0; } }
@keyframes pf-back { from { opacity: 0; translate: -24px 0; } }
@media (prefers-reduced-motion: reduce) { .pf-stage.fwd > *, .pf-stage.back > * { animation: none; } .pf-bar i { transition: none; } }
.pf-stage h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem); }
.pf-stage h2:focus { outline: none; }
.pf-sub { margin: 10px 0 26px; color: var(--muted); }

.pf-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pf-opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-opts.pills { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.pf-opt { position: relative; display: grid; gap: 6px; align-content: start; min-height: 60px; padding: 17px 44px 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, background-color .25s, translate .3s var(--ease); }
.pf-opt b { font-weight: 600; font-stretch: 106%; }
.pf-opt span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.pf-opt.big { min-height: 140px; padding: 24px 48px 24px 24px; }
.pf-opt.big b { font-size: 1.25rem; }
.pf-opt:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); translate: 0 -2px; }
.pf-opt:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pf-opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.pf-opt[aria-pressed="true"]::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pf-q { margin: 6px 0 12px; font-weight: 600; }
.pf-q ~ .pf-q { margin-top: 26px; }
.pf-label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; }
.pf-select { width: 100%; max-width: 420px; height: 54px; padding: 0 44px 0 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%237F93A5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.pf-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--spot); }
.pf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.pf-link { padding: 6px 0; border: 0; background: none; color: var(--muted); font: 600 .9rem/1.2 var(--f-sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pf-link:hover { color: var(--ink); }
.pf-recap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 24px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: .9rem; color: var(--muted); }

.pf-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pf-pack { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .3s, translate .5s var(--ease), box-shadow .5s var(--ease); }
.pf-pack:hover { translate: 0 -4px; box-shadow: 0 24px 50px -30px var(--shadow); }
.pf-pack.popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pf-badge { position: absolute; top: -11px; left: 22px; padding: 5px 9px; border-radius: 6px; background: var(--btn); color: #FFFFFF; font: 500 .7rem/1 var(--f-mono); letter-spacing: .06em; }
.pf-pack h3 { font-size: 1.3rem; }
.pf-blurb { min-height: 3.2em; color: var(--muted); font-size: .9rem; }
.pf-price { font: 400 clamp(2rem, 1.7rem + 1vw, 2.5rem)/1 var(--f-mono); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pf-price span { margin-left: 2px; font-size: .85rem; letter-spacing: 0; color: var(--muted); }
.pf-ob { font-size: .9rem; color: var(--muted); }
.pf-ob b { color: var(--ink); }
.pf-note { font-size: .8rem; color: var(--muted); }
.pf-pack ul { display: grid; gap: 8px; margin: 8px 0 14px; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pf-pack li { position: relative; padding-left: 22px; font-size: .9rem; line-height: 1.45; }
.pf-pack li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 5px; border-left: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); rotate: -45deg; }
.pf-pack .btn { justify-content: center; width: 100%; margin-top: auto; }
.pf-quote { display: grid; gap: 16px; justify-items: start; max-width: 640px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--brand); border-radius: 18px; background: var(--paper); }
.pf-quote h3 { font-size: 1.3rem; }
.pf-price.big { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); }
.pf-rows { display: grid; width: 100%; margin: 0; border-top: 1px solid var(--line); }
.pf-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.pf-rows dt { flex: none; color: var(--muted); }
.pf-rows dd { min-width: 0; margin: 0; font-weight: 600; text-align: right; }
.pf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pf-fine { max-width: 80ch; margin-top: 22px; font-size: .84rem; color: var(--muted); }
@media (max-width: 960px) { .pf-packs { grid-template-columns: minmax(0, 1fr); } .pf-blurb { min-height: 0; } }
@media (max-width: 640px) { .pf-opts.two { grid-template-columns: minmax(0, 1fr); } .pf { border-radius: 18px; } .pf-nav .btn { flex: 1; justify-content: center; } .pf-ctas .btn { flex: 1 1 100%; justify-content: center; } }
