/* /pricing plan cards. Uses the site theme tokens, so it follows the same dark (#0A0A0A) / light themes as every page. */
.pds-pricing { width: min(var(--wrap, 1180px), 100%); margin-inline: auto; padding: clamp(32px, 5vw, 64px) var(--gutter, 24px); }
.pds-pricing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(20px, 3vw, 32px); }
.pds-pricing-head h2 { margin: 0; font: 700 clamp(30px, 4.6vw, 52px)/1.06 var(--display); letter-spacing: -.045em; }
.pds-seg-toggle { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel, transparent); }
.pds-seg-toggle button { appearance: none; border: 0; background: transparent; color: var(--text-secondary, inherit); font: 600 13px/1 var(--body); padding: 11px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; transition: background .2s, color .2s; }
.pds-seg-toggle button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); }
.pds-seg-toggle button:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 2px; }
.pds-pricing-note { margin: 0 0 clamp(18px, 3vw, 28px); font-size: 13px; color: var(--text-tertiary); }

/* Reserved height: the grid keeps its size while loading and while switching, so nothing jumps. */
.pds-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 18px; min-height: 470px; align-items: stretch; transition: opacity .18s; }
#pdsPlans.is-loading .pds-plan-grid { opacity: .55; }
.pds-plan, .pds-plan-skel { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--border); border-radius: 18px; background: var(--panel, var(--surface-alt)); }
.pds-plan.is-featured { border-color: var(--text-primary); box-shadow: var(--shadow-sm); }
.pds-plan-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--btn-bg); color: var(--btn-text); font: 700 10px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.pds-plan.is-featured h3 { padding-right: 118px; }
@media (max-width: 420px) { .pds-plan.is-featured h3 { padding-right: 0; padding-top: 30px; } }
.pds-plan h3 { margin: 0; font: 700 24px/1.1 var(--display); letter-spacing: -.03em; }
.pds-plan-tag { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.5; min-height: 3em; }
.pds-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.pds-plan-price strong { font: 700 clamp(30px, 3.4vw, 40px)/1 var(--display); letter-spacing: -.04em; }
.pds-plan-price span { font-size: 13px; color: var(--text-tertiary); }
.pds-plan-features { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; flex: 1; font-size: 14px; }
.pds-plan-features li { position: relative; padding-left: 22px; line-height: 1.4; }
.pds-plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--ok, currentColor); }
.pds-plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.pds-plan-link { appearance: none; background: none; border: 0; padding: 8px 0; color: var(--text-primary); font: 600 13px/1 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pds-pricing-empty { grid-column: 1 / -1; padding: 40px 24px; text-align: center; border: 1px dashed var(--border); border-radius: 18px; color: var(--text-secondary); }

/* Skeleton shown until the server has resolved the segment: no currency is shown, so there is no flash. */
.pds-plan-skel i { display: block; height: 14px; border-radius: 7px; background: var(--border); animation: pdsSkel 1.3s ease-in-out infinite; }
.pds-plan-skel i:nth-child(1) { width: 40%; height: 22px; } .pds-plan-skel i:nth-child(2) { width: 75%; } .pds-plan-skel i:nth-child(3) { width: 55%; height: 34px; margin-block: 8px; }
.pds-plan-skel i:nth-child(n+4) { width: 85%; }
@keyframes pdsSkel { 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .pds-plan-skel i { animation: none; } .pds-plan-grid { transition: none; } }

/* Breakdown modal */
#pdsBreakdown { width: min(820px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--border); border-radius: 18px; background: var(--surface, #0A0A0A); color: var(--text-primary); }
#pdsBreakdown::backdrop { background: rgba(0, 0, 0, .7); }
.pds-bd-inner { padding: clamp(20px, 3vw, 32px); }
.pds-bd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.pds-bd-top h3 { margin: 0; font: 700 clamp(20px, 3vw, 26px)/1.2 var(--display); letter-spacing: -.03em; }
.pds-bd-close { appearance: none; border: 1px solid var(--border); background: transparent; color: var(--text-primary); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px; flex: none; }
.pds-bd-wrap { overflow-x: auto; }
.pds-bd-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.pds-bd-table th { text-align: left; font: 700 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-tertiary); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.pds-bd-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.pds-bd-table td:first-child { font-weight: 600; } .pds-bd-table td:nth-child(2) { color: var(--text-secondary); }
.pds-bd-table .pds-bd-price { text-align: right; white-space: nowrap; font-weight: 700; } .pds-bd-table th:last-child { text-align: right; }
.pds-bd-notes p { margin: 14px 0 0; font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.pds-bd-foot { margin-top: 20px; display: flex; justify-content: flex-end; }
@media (max-width: 640px) { .pds-seg-toggle { width: 100%; } .pds-seg-toggle button { flex: 1; } .pds-plan-grid { min-height: 0; } }

/* ── Plan tiers: Bronze / Silver / Gold / Diamond ───────────────────── */
.pds-plan, #pdsChoose.pds-co { --tier: var(--text-tertiary, #888); }
[data-tier="bronze"] { --tier: #cd7f32; } [data-tier="silver"] { --tier: #c9ced6; } [data-tier="gold"] { --tier: #e2b94a; } [data-tier="diamond"] { --tier: #74d4ff; }
.pds-plan { overflow: hidden; }
.pds-plan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--tier), transparent 85%); }
.pds-plan.is-featured { border-color: var(--tier); box-shadow: 0 0 0 1px var(--tier), var(--shadow-sm); }
.pds-plan h3 { display: flex; align-items: center; gap: 10px; }
.pds-plan h3::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--tier); }
.pds-plan[data-tier="diamond"] h3::before { border-radius: 2px; transform: rotate(45deg) scale(.85); }
.pds-plan-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ── Choose plan / checkout popup ───────────────────────────────────── */
#pdsChoose.pds-co { width: min(520px, calc(100vw - 20px)); max-height: calc(100dvh - 24px); padding: 0; margin: auto; border: 1px solid var(--border); border-radius: 22px; background: var(--surface, #0A0A0A); color: var(--text-primary); box-shadow: 0 30px 90px rgba(0,0,0,.55); overflow: auto; }
#pdsChoose.pds-co::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
#pdsChoose.pds-co [hidden] { display: none !important; }
#pdsChoose .pds-co-inner { padding: clamp(20px, 4vw, 30px); display: grid; gap: 22px; }
#pdsChoose .pds-co-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
#pdsChoose .pds-co-plan { display: flex; align-items: center; gap: 14px; min-width: 0; }
#pdsChoose .pds-co-medal { flex: none; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff8, transparent 45%), var(--tier); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
#pdsChoose[data-tier="diamond"] .pds-co-medal { border-radius: 10px; transform: rotate(45deg) scale(.8); }
#pdsChoose h3 { margin: 0; font: 700 clamp(22px, 5vw, 26px)/1.1 var(--display); letter-spacing: -.03em; }
#pdsChoose .pds-co-sub { margin: 4px 0 0; font-size: 13px; color: var(--text-tertiary); line-height: 1.4; }
#pdsChoose .pds-co-close { flex: none; appearance: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text-primary); font-size: 15px; cursor: pointer; }
#pdsChoose .pds-co-lead { margin: 0 0 14px; font-size: 14px; color: var(--text-secondary); }
#pdsChoose .pds-co-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
#pdsChoose .pds-co-opt { appearance: none; display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; align-items: center; gap: 14px; width: 100%; min-height: 76px; margin: 0; padding: 14px 16px; box-sizing: border-box; text-align: left; text-decoration: none; font: inherit; color: var(--text-primary); background: var(--panel, rgba(255,255,255,.03)); border: 1px solid var(--border); border-radius: 16px; cursor: pointer; transform: none; box-shadow: none; transition: border-color .2s, background .2s; }
#pdsChoose .pds-co-opt:hover, #pdsChoose .pds-co-opt:focus-visible { border-color: var(--text-primary); background: var(--panel, rgba(255,255,255,.06)); outline: none; transform: none; }
#pdsChoose .pds-co-ico { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 14px; }
#pdsChoose svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#pdsChoose .pds-co-ico svg { width: 24px; height: 24px; }
#pdsChoose .pds-co-txt { display: grid; gap: 3px; min-width: 0; }
#pdsChoose .pds-co-txt strong { font: 700 16px/1.2 var(--display); letter-spacing: -.01em; }
#pdsChoose .pds-co-txt small { font-size: 13px; line-height: 1.35; color: var(--text-secondary); overflow-wrap: anywhere; }
#pdsChoose .pds-co-go svg { width: 18px; height: 18px; color: var(--text-tertiary); transition: transform .2s; }
#pdsChoose .pds-co-opt:hover .pds-co-go svg { transform: translateX(3px); color: var(--text-primary); }
#pdsChoose .pds-co-note { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
#pdsChoose .pds-co-back { appearance: none; display: block; margin: 16px auto 0; padding: 8px 12px; border: 0; background: none; color: var(--text-secondary); font: 600 13px/1 var(--body); cursor: pointer; }
#pdsChoose .pds-co-back:hover { color: var(--text-primary); background: none; transform: none; box-shadow: none; }

#pdsChoose .pds-co-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel, rgba(255,255,255,.03)); }
#pdsChoose .pds-co-summary > div:first-child { display: grid; gap: 4px; }
#pdsChoose .pds-co-k { font: 700 10px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-tertiary); }
#pdsChoose .pds-co-summary strong { font: 700 17px/1.2 var(--display); }
#pdsChoose .pds-co-total { display: grid; gap: 2px; text-align: right; }
#pdsChoose .pds-co-total strong { font: 700 clamp(24px, 6vw, 30px)/1 var(--display); letter-spacing: -.04em; }
#pdsChoose .pds-co-total span { font-size: 12px; color: var(--text-tertiary); }
#pdsChoose fieldset { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; min-width: 0; }
#pdsChoose legend { padding: 0; margin-bottom: 12px; font: 700 10px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-tertiary); }
#pdsChoose label { display: grid; gap: 7px; font: 600 13px/1.3 var(--body); color: var(--text-secondary); }
#pdsChoose label small { font-weight: 400; color: var(--text-tertiary); margin-left: 4px; }
#pdsChoose input { width: 100%; box-sizing: border-box; min-height: 50px; margin: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-alt, rgba(255,255,255,.04)); color: var(--text-primary); font: 400 16px/1.2 var(--body); }
#pdsChoose input::placeholder { color: var(--text-tertiary); opacity: .7; }
#pdsChoose input:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 1px; }
#pdsChoose .pds-co-error { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--bad, #ff8a8a); border-radius: 12px; color: var(--bad, #ff8a8a); font-size: 14px; line-height: 1.45; }
#pdsChoose .pds-co-pay { appearance: none; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin: 0; padding: 0 20px; border: 0; border-radius: 14px; background: var(--btn-bg, #f4f4f4); color: var(--btn-text, #111); font: 700 16px/1 var(--body); cursor: pointer; transform: none; }
#pdsChoose .pds-co-pay:hover:not(:disabled) { background: var(--btn-bg, #f4f4f4); color: var(--btn-text, #111); transform: translateY(-1px); }
#pdsChoose .pds-co-pay:disabled { opacity: .65; cursor: progress; }
#pdsChoose .pds-co-pay svg { width: 18px; height: 18px; }
#pdsChoose .pds-co-secure { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 12px; color: var(--text-tertiary); }
#pdsChoose .pds-ps-logo { display: block; height: 18px; width: auto; color: var(--text-primary); }
#pdsChoose .pds-ps-logo * { stroke: none; }
#pdsChoose .pds-co-methods { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#pdsChoose .pds-co-methods li { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--text-secondary); }
@media (max-width: 480px) { #pdsChoose.pds-co { border-radius: 18px; } #pdsChoose .pds-co-opt { grid-template-columns: 44px minmax(0, 1fr) 18px; padding: 12px; } #pdsChoose .pds-co-ico { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { #pdsChoose * { transition: none !important; } }

/* Service fields: web / graphic design / apps / full package */
.pds-cat-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 4px 0 14px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pds-cat-tabs[hidden], .pds-cat-blurb[hidden] { display: none; }
.pds-cat-tabs button { appearance: none; flex: none; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text-secondary); font: 600 14px/1 var(--body); cursor: pointer; white-space: nowrap; }
.pds-cat-tabs button[aria-selected="true"] { background: var(--text-primary); color: var(--surface, #000); border-color: var(--text-primary); }
.pds-cat-tabs button:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 2px; }
.pds-cat-blurb { margin: 0 0 16px; color: var(--text-secondary); font-size: 15px; line-height: 1.55; max-width: 62ch; }
.pds-fullpkg { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--text-primary); border-radius: 18px; background: var(--panel, var(--surface-alt)); max-width: 760px; }
.pds-fullpkg h3 { margin: 0; font: 700 clamp(22px, 3vw, 28px)/1.15 var(--display); letter-spacing: -.03em; }
.pds-fullpkg .pds-plan-tag { min-height: 0; }
.pds-fullpkg-note { margin: 0; font-size: 14px; color: var(--text-secondary); }
