/* Pricing uses the shared DS palette and shell. */
.pricing-page { --pricing-width: 1056px; }
.pricing-wrap { width: min(var(--pricing-width), calc(100% - 64px)); margin-inline: auto; }
.plans-section { max-width: 1020px; padding: 80px 32px 0; margin: auto; }
.pricing-intro { text-align: center; }
.pricing-kicker { color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .035em; }
.pricing-intro h1 { max-width: 760px; margin: 19px auto 22px; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.06; letter-spacing: -.045em; font-weight: 780; text-wrap: balance; }
.pricing-intro h1 em { display: block; }
.pricing-intro > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.7; }
.period-picker { display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 5px; margin: 34px auto 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; }
.period-picker button { padding: 10px 20px; border-radius: 100px; color: var(--muted); font-size: 13px; font-weight: 650; transition: background .2s, color .2s; }
.period-picker button[aria-pressed="true"] { color: var(--text); background: var(--surface-2); box-shadow: 0 2px 8px #0003; }
.period-picker button:hover { color: var(--text); }
.period-picker span { color: var(--accent); margin-left: 6px; font-size: 10px; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.plan-panel { display: flex; flex-direction: column; padding: 34px 36px 23px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.premium-panel { border-color: #a855f76b; background: linear-gradient(160deg, #23132e 0%, var(--surface) 65%); box-shadow: 0 10px 60px #a855f70a; }
.plan-heading { position: relative; padding-right: 35px; }
.plan-symbol { position: absolute; right: 0; top: -5px; color: var(--accent); font-size: 33px; font-weight: 400; }
.free-panel .plan-symbol { color: var(--muted); }
.plan-heading h2 { font-size: 23px; letter-spacing: -.03em; }
.plan-heading p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.plan-price { display: flex; align-items: baseline; gap: 9px; margin-top: 25px; min-height: 62px; }
.plan-price strong { font-size: clamp(38px, 4vw, 52px); line-height: 1.2; letter-spacing: -.055em; font-weight: 750; font-variant-numeric: tabular-nums; }
.plan-price > span { color: var(--muted); font-size: 14px; }
.plan-billing { font-size: 11px; line-height: 1.7; min-height: 38px; color: var(--muted); }
.plan-features { border-top: 1px solid var(--line); padding-top: 26px; margin: 18px 0 32px; display: flex; flex-direction: column; gap: 20px; }
.plan-features li { display: flex; align-items: flex-start; gap: 12px; }
.plan-check { color: var(--accent); font-size: 13px; margin-top: 1px; }
.free-panel .plan-check { color: var(--muted); }
.plan-features h3 { font-size: 14px; font-weight: 650; line-height: 1.5; }
.plan-features p { margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.plan-action { width: 100%; justify-content: space-between; margin-top: auto; border-radius: 12px; padding: 13px 20px; font-size: 14px; }
.plan-footnote { text-align: center; font-size: 11px; margin-top: 12px; color: var(--muted); }
.currency-note { margin: 23px auto 0; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.9; }
.connection-section, .extras-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; margin-top: 130px; }
.section-copy h2, .faq-heading h2 { margin: 17px 0 23px; font-size: clamp(32px, 3.5vw, 46px); letter-spacing: -.04em; line-height: 1.15; font-weight: 750; }
.section-copy > p:not(.pricing-kicker) { color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 15px; }
.text-action { display: inline-flex; align-items: center; gap: 16px; margin-top: 25px; font-size: 13px; font-weight: 650; border-bottom: 1px solid #ff4d8d66; padding-bottom: 5px; }
.text-action:hover { color: var(--accent); }
.connection-art { position: relative; height: 426px; isolation: isolate; }
.connection-art::before { content: ''; position: absolute; inset: 50px 0 0; background: radial-gradient(ellipse, #a855f721, transparent 70%); z-index: -1; }
.portrait { position: absolute; width: 56%; border-radius: 17px; overflow: hidden; border: 5px solid var(--surface-2); box-shadow: 0 20px 40px #0005; }
.portrait img { width: 100%; height: 310px; object-fit: cover; }
.portrait-back { top: 10px; left: 5%; transform: rotate(-9deg); }
.portrait-front { right: 3%; top: 72px; transform: rotate(8deg); }
.portrait-front > span { position: absolute; inset: auto 0 0; padding: 36px 18px 16px; background: linear-gradient(transparent, #0a0710d9); font-size: 17px; font-weight: 650; display: flex; justify-content: space-between; }
.art-tag { position: absolute; left: 9%; bottom: 10px; padding: 10px 18px; background: var(--surface-2); border: 1px solid #a855f73d; border-radius: 50px; font-size: 11px; }
.extras-section { gap: 100px; }
.media-composition { position: relative; width: 83%; margin: 0 auto; }
.media-composition > img { width: 100%; height: 370px; object-fit: cover; border-radius: 22px; }
.media-caption { position: absolute; bottom: 20px; left: -28px; right: 28px; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #ffffff24; border-radius: 14px; background: #140e1de8; backdrop-filter: blur(14px); }
.media-icon { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #ff4d8d66; color: var(--accent); border-radius: 50%; font-size: 23px; flex: 0 0 auto; }
.media-caption strong { font-size: 13px; display: block; }
.media-caption div > span { display: block; color: var(--muted); margin-top: 3px; font-size: 10px; }
.token-stamp { position: absolute; top: -20px; right: -30px; width: 104px; height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid #a855f75e; border-radius: 50%; font-size: 9px; color: var(--muted); transform: rotate(10deg); }
.token-stamp strong { color: var(--text); font-size: 31px; letter-spacing: -.04em; line-height: 1.2; }
.billing-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 110px; padding: 38px 0; border-block: 1px solid var(--line); }
.billing-strip > div { text-align: center; }
.billing-strip > div > span { color: var(--accent); font-size: 25px; }
.billing-strip h2 { margin-top: 12px; font-size: 14px; font-weight: 650; }
.billing-strip p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.pricing-faq { display: grid; grid-template-columns: .9fr 1.3fr; gap: 85px; margin-top: 110px; scroll-margin-top: 95px; }
.faq-heading h2 { font-size: 37px; }
.faq-heading > p:last-of-type { font-size: 14px; color: var(--muted); }
.pricing-answers details { border-bottom: 1px solid var(--line); }
.pricing-answers details:first-child { border-top: 1px solid var(--line); }
.pricing-answers summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 21px 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.pricing-answers summary::-webkit-details-marker { display: none; }
.pricing-answers summary > span, .pricing-answers summary h3 > span { color: var(--accent); font-size: 20px; font-weight: 400; }
.pricing-answers details[open] summary > span, .pricing-answers details[open] summary h3 > span { transform: rotate(45deg); }
.pricing-answers details p { color: var(--muted); font-size: 13px; line-height: 1.9; padding: 0 24px 22px 0; }
.pricing-close { text-align: center; margin-top: 110px; padding: 62px 24px 70px; border-top: 1px solid var(--line); }
.pricing-close > img { margin-inline: auto; }
.pricing-close h2 { margin: 22px 0 14px; font-size: clamp(36px, 5vw, 56px); line-height: 1.12; letter-spacing: -.045em; }
.pricing-close p { color: var(--muted); font-size: 15px; }
.pricing-close .btn { margin-top: 26px; }
.closing-note { display: block; margin-top: 18px; color: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .connection-section, .extras-section { gap: 42px; } .pricing-faq { gap: 42px; grid-template-columns: .85fr 1.2fr; } .faq-heading h2 { font-size: 31px; } .plan-panel { padding-inline: 25px; } }
@media (max-width: 640px) {
 .pricing-wrap { width: calc(100% - 40px); }
 .plans-section { padding: 48px 20px 0; }
 .pricing-intro h1 { font-size: 42px; }
 .pricing-kicker { font-size: 10px; }
 .pricing-intro > p:last-child { font-size: 15px; }
 .period-picker { margin-top: 28px; gap: 0; width: 100%; justify-content: center; }
 .period-picker button { padding: 10px 13px; font-size: 12px; }
 .period-picker span { font-size: 9px; margin-left: 3px; }
 .plans-grid { grid-template-columns: 1fr; gap: 18px; }
 .plan-panel { padding: 28px 26px 22px; }
 .plan-price strong { font-size: 47px; }
 .plan-price { margin-top: 19px; }
 .plan-features { gap: 17px; margin-bottom: 26px; }
 .connection-section, .extras-section { margin-top: 76px; grid-template-columns: 1fr; gap: 36px; }
 .connection-art { max-width: 400px; width: 100%; margin: auto; height: 390px; }
 .portrait img { height: 282px; }
 .section-copy h2 { font-size: 37px; }
 .section-copy > p:not(.pricing-kicker) { font-size: 14px; }
 .extras-section .section-copy { order: 2; }
 .media-composition { width: 77%; margin-top: 8px; }
 .media-composition > img { height: 320px; }
 .media-caption { left: -20px; right: 10px; padding: 13px; }
 .token-stamp { width: 90px; height: 90px; right: -25px; }
 .billing-strip { margin-top: 65px; gap: 27px; grid-template-columns: 1fr; padding-block: 30px; }
 .billing-strip > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 15px; text-align: left; }
 .billing-strip > div > span { grid-row: span 2; align-self: center; }
 .billing-strip h2 { margin-top: 0; }
 .pricing-faq { grid-template-columns: 1fr; gap: 30px; margin-top: 66px; }
 .faq-heading h2 { font-size: 36px; }
 .pricing-answers summary { font-size: 13px; }
 .pricing-close { margin-top: 65px; padding: 46px 0 52px; }
}
@media (max-width: 360px) { .period-picker button { padding-inline: 9px; } .pricing-intro h1 { font-size: 36px; } .plan-panel { padding-inline: 21px; } }

/* Preserve the existing FAQ row appearance while exposing question headings. */
.pricing-answers summary h3 { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; margin: 0; font: inherit; }
