/**
 * Plans & pricing (Shop page) — markup from lib/pack-pricing.php.
 * The billing-term switch is radio inputs + sibling selectors, so it works
 * without JavaScript; add a term here if you add one to the products.
 */

.a1p { --a1p-gold: #D6A23A; --a1p-card: #1c3050; --a1p-line: rgba(255, 255, 255, .12); --a1p-muted: rgba(255, 255, 255, .68); color: #fff; }
.a1p *, .a1p *::before, .a1p *::after { box-sizing: border-box; }

/* Hero */
.a1p-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 2.5rem; }
.a1p-hero > div { max-width: 38rem; }
.a1p-eyebrow { margin: 0 0 .5rem; color: var(--a1p-gold); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.a1p h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; }
.a1p-lead { margin: 1rem 0 0; color: var(--a1p-muted); font-size: 1.125rem; line-height: 1.55; }
.a1p .a1p-teaser { display: inline-flex; flex-direction: column; gap: .25rem; color: #fff !important; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--a1p-gold); padding-bottom: .25rem; }
.a1p .a1p-teaser-label { color: var(--a1p-gold); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Billing-term switch */
.a1p-term-input { position: absolute; opacity: 0; pointer-events: none; }
.a1p-controls { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.a1p-term-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.25rem; margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--a1p-gold); border-radius: 1rem; background: var(--a1p-card); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.a1p-term-card legend { float: left; margin: 0; padding: 0; font-weight: 600; }
.a1p-terms { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.a1p-terms label { padding: .5rem 1rem; border-radius: 999px; color: var(--a1p-muted); font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease; }
.a1p-terms label:hover { color: #fff; }
.a1p-save { padding: .3rem .7rem; border-radius: 999px; background: rgba(214, 162, 58, .16); color: var(--a1p-gold); font-size: .85rem; font-weight: 600; }

#a1p-term-1:checked ~ .a1p-controls label[for="a1p-term-1"],
#a1p-term-3:checked ~ .a1p-controls label[for="a1p-term-3"],
#a1p-term-6:checked ~ .a1p-controls label[for="a1p-term-6"],
#a1p-term-12:checked ~ .a1p-controls label[for="a1p-term-12"] { background: var(--a1p-gold); color: #1f1f1f; }
#a1p-term-1:focus-visible ~ .a1p-controls label[for="a1p-term-1"],
#a1p-term-3:focus-visible ~ .a1p-controls label[for="a1p-term-3"],
#a1p-term-6:focus-visible ~ .a1p-controls label[for="a1p-term-6"],
#a1p-term-12:focus-visible ~ .a1p-controls label[for="a1p-term-12"] { outline: 2px solid #fff; outline-offset: 2px; }

.a1p-term { display: none; }
#a1p-term-1:checked ~ .a1p-plans .a1p-term[data-term="1"],
#a1p-term-3:checked ~ .a1p-plans .a1p-term[data-term="3"],
#a1p-term-6:checked ~ .a1p-plans .a1p-term[data-term="6"],
#a1p-term-12:checked ~ .a1p-plans .a1p-term[data-term="12"] { display: block; }

/* Plan columns */
.a1p-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; align-items: stretch; }
.a1p-plan { position: relative; padding: 2rem 1.5rem 1.75rem; border: 1px solid var(--a1p-gold); border-radius: 1.25rem; background: var(--a1p-card); text-align: center; }
.a1p-plan--featured { box-shadow: 0 0 0 2px var(--a1p-gold), 0 0 28px rgba(214, 162, 58, .35), 0 18px 40px rgba(0, 0, 0, .3); }
.a1p-badge { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); margin: 0; padding: .2rem .75rem; border-radius: .35rem; background: var(--a1p-gold); color: #1f1f1f; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.a1p-plan h2 { margin: 0; font-size: 1.4rem; }
.a1p-tagline { min-height: 2.8em; margin: .5rem 0 1.25rem; color: var(--a1p-muted); font-size: .95rem; line-height: 1.4; }
.a1p-price { display: flex; align-items: baseline; justify-content: center; gap: .25rem; }
.a1p-price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.a1p-price span { color: var(--a1p-muted); }
.a1p-billed { margin: .35rem 0 0; color: var(--a1p-muted); font-size: .9rem; }
.a1p-saving { min-height: 1.4em; margin: .25rem 0 1.25rem; color: var(--a1p-gold); font-size: .9rem; font-weight: 600; }
.a1p-plan--free .a1p-billed { margin-bottom: 2.65rem; }

.a1p .a1p-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3rem; padding: .75rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.a1p .a1p-cta.btn-gold { color: #1f1f1f !important; }
.a1p .a1p-cta--outline { border: 1px solid rgba(255, 255, 255, .5); color: #fff !important; }
.a1p .a1p-cta--outline:hover { border-color: #fff; }
.a1p-cta--muted { border: 1px dashed var(--a1p-line); color: var(--a1p-muted); font-weight: 600 !important; }
.a1p-note { margin: .6rem 0 0; color: var(--a1p-muted); font-size: .8rem; }
.a1p-paypal { min-height: 3rem; }
.a1p-paypal-status { margin: .5rem 0 0; font-size: .85rem; color: var(--a1p-muted); }
.a1p-paypal-status.is-error { color: #fca5a5; }
.a1p-current { margin: .5rem 0 0; color: var(--a1p-gold); font-size: .9rem; font-weight: 600; }
.a1p .a1p-link { padding: 0; border: 0; background: none; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.a1p-notice { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--a1p-gold); border-radius: 1rem; background: rgba(214, 162, 58, .12); font-weight: 600; }

/* What's included */
.a1p-intro { margin: 1.75rem 0 0; font-weight: 700; text-align: left; }
.a1p-group { margin: 1.5rem 0 .25rem; color: var(--a1p-gold); font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.a1p-intro + .a1p-group { margin-top: .75rem; }
.a1p-features { margin: .5rem 0 0; padding: 0; list-style: none; text-align: left; }
.a1p-features li { position: relative; padding: .45rem 0 .45rem 1.6rem; font-size: .95rem; line-height: 1.4; }
.a1p-features li::before { content: ""; position: absolute; left: .2rem; top: .75rem; width: .7rem; height: .4rem; border-left: 2px solid var(--a1p-gold); border-bottom: 2px solid var(--a1p-gold); transform: rotate(-45deg); }

/* Explanations: dotted underline, shown on hover, keyboard focus or tap */
.a1p-tip { position: relative; border-bottom: 1px dashed rgba(255, 255, 255, .45); cursor: help; outline: none; }
.a1p-tip:focus-visible { border-bottom-style: solid; border-bottom-color: var(--a1p-gold); }
.a1p-tip-body { position: absolute; z-index: 20; left: 0; bottom: calc(100% + .5rem); width: min(16rem, 70vw); padding: .65rem .8rem; border-radius: .6rem; background: #fff; color: #1f1f1f; font-size: .85rem; font-weight: 400; line-height: 1.4; box-shadow: 0 10px 25px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; pointer-events: none; }
.a1p-tip:hover .a1p-tip-body,
.a1p-tip:focus .a1p-tip-body,
.a1p-tip:focus-within .a1p-tip-body { opacity: 1; visibility: visible; transform: none; }

/* How it works — the accordion from the Join pages (.join-faq-*), scoped here */
.a1p-faq { margin-top: 4rem; }
.a1p-faq > h2 { margin: 0 0 2rem; font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -.5px; text-align: center; }
.a1p-faq-list { display: flex; flex-direction: column; gap: 7px; }
.a1p-faq-item { position: relative; overflow: hidden; border: 1px solid #ffffff1a; border-radius: 6px; box-shadow: inset 0 0 14px #ffffff12; -webkit-backdrop-filter: blur(100px); backdrop-filter: blur(100px); }
.a1p-faq-item::after { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: linear-gradient(135deg, #ffffff8c, #ffffff12 30%, transparent 50%, #ffffff05 70%, #fff6); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.a1p-faq-item:first-child { border-radius: 32px 32px 6px 6px; }
.a1p-faq-item:last-child { border-radius: 6px 6px 32px 32px; }
.a1p-faq-item:only-child { border-radius: 32px; }
.a1p-faq-item:not([open]) { background: linear-gradient(175.783deg, #09090926, #0b255e33); }
.a1p-faq-item[open] { background: linear-gradient(168.215deg, #ffffff26, #fff3); }
.a1p-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 80px; padding: 23px; font-size: 18px; font-weight: 700; line-height: 1.6; letter-spacing: -.5px; text-align: left; text-transform: uppercase; list-style: none; cursor: pointer; }
.a1p-faq-item summary::-webkit-details-marker { display: none; }
.a1p-faq-item summary:focus-visible { outline: 3px solid var(--a1p-gold); outline-offset: -5px; border-radius: inherit; }
.a1p-faq-item summary img { flex-shrink: 0; width: 21px; height: 21px; }
.a1p-faq-item .a1p-faq-minus,
.a1p-faq-item[open] .a1p-faq-plus { display: none; }
.a1p-faq-item[open] .a1p-faq-minus { display: block; }
.a1p-faq-answer { margin: 0 23px; padding: 20px 0 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.a1p-faq-answer p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 18px; line-height: 1.7; letter-spacing: .32px; }
.a1p-faq-answer a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Non-plan products */
.a1p-others { margin-top: 3rem; }
.a1p-others-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.a1p-others-grid li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--a1p-line); border-radius: .75rem; }

/* Touch screens have no hover: show each explanation under its feature. */
@media (hover: none) {
	.a1p-tip { border-bottom: 0; cursor: auto; }
	.a1p-tip-body { position: static; display: block; width: auto; margin-top: .15rem; padding: 0; background: none; box-shadow: none; color: var(--a1p-muted); font-size: .85rem; opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 767px) {
	.a1p-faq-item summary { min-height: 76px; gap: 16px; padding: 18px; font-size: 14px; line-height: 22px; letter-spacing: -.25px; }
	.a1p-faq-answer { margin: 0 18px; padding: 18px 0 24px; }
	.a1p-faq-answer p { font-size: 15px; line-height: 25px; }
}

@media (max-width: 640px) {
	.a1p-hero { margin-bottom: 1.75rem; }
	.a1p-term-card { width: 100%; }
	.a1p-term-card legend { float: none; width: 100%; text-align: center; }
	.a1p-terms label { padding: .45rem .75rem; font-size: .9rem; }
	.a1p-tagline { min-height: 0; }
	.a1p-plan--free .a1p-billed { margin-bottom: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	.a1p-tip-body, .a1p-terms label { transition: none; }
}
