/* Joined Proof — component styles that theme.json can't express. */
:root { --jp-radius: 20px; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { overflow-x: clip; }

.jp-mono, .jp-eyebrow { font-family: var(--wp--preset--font-family--geist-mono); text-transform: uppercase; letter-spacing: .12em; }
.jp-eyebrow { font-size: .8125rem; color: var(--wp--preset--color--accent); margin: 0; }
.jp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(200,240,74,.35); border-radius: 999px; }
.jp-pill::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--wp--preset--color--accent); }
.jp-accent { color: var(--wp--preset--color--accent); }
.jp-dim { color: var(--wp--preset--color--subtle); }
.jp-lead { font-size: 1.25rem; line-height: 1.5; color: var(--wp--preset--color--muted); max-width: 36em; }
.jp-muted { color: var(--wp--preset--color--muted); }
.jp-small { font-size: .875rem; color: var(--wp--preset--color--subtle); }

/* sections */
.jp-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); }
.jp-band { background: var(--wp--preset--color--base-2); border-top: 1px solid #1E2127; border-bottom: 1px solid #1E2127; }
.jp-hero { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); background: radial-gradient(900px 520px at 75% 0%, rgba(200,240,74,.09), transparent 70%); }
.jp-glow-bottom { background: radial-gradient(800px 420px at 50% 100%, rgba(200,240,74,.08), transparent 70%); }

/* cards */
.jp-card { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--jp-radius); padding: 28px; }
.jp-card > :first-child { margin-top: 0; }
.jp-card h3 { margin: 0; }
.jp-card p { margin: .6rem 0 0; color: var(--wp--preset--color--muted); }
.jp-card.is-highlight { border-color: rgba(200,240,74,.5); }
.jp-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.jp-grid-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }

/* numbered phases */
.jp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; counter-reset: step; }
.jp-steps > li { counter-increment: step; position: relative; padding-left: 82px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--jp-radius); padding-top: 26px; padding-bottom: 26px; padding-right: 26px; }
.jp-steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 26px; top: 26px; font-family: var(--wp--preset--font-family--geist-mono); font-size: 1.375rem; font-weight: 600; color: var(--wp--preset--color--accent); }
.jp-steps strong { display: block; font-size: 1.375rem; letter-spacing: -.01em; }
.jp-steps span { display: block; color: var(--wp--preset--color--muted); margin-top: .4rem; }
.jp-steps em { display: block; font-style: normal; font-weight: 600; margin-top: .75rem; }

/* check lists */
.jp-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.jp-checks li { position: relative; padding-left: 32px; }
.jp-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8F04A' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.jp-checks.is-inline { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; font-size: .9375rem; color: var(--wp--preset--color--muted); }

/* command centre + queue mocks */
.jp-console { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--jp-radius); padding: 22px; box-shadow: 0 40px 120px rgba(0,0,0,.55); }
.jp-console-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.jp-live { font-family: var(--wp--preset--font-family--geist-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--wp--preset--color--accent); display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.jp-live::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.jp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.jp-stat { background: var(--wp--preset--color--surface-2); border-radius: 14px; padding: 14px 16px; }
.jp-stat b { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.jp-label { font-family: var(--wp--preset--font-family--geist-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .6875rem; color: var(--wp--preset--color--subtle); }
.jp-flow { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.jp-flow-item { background: var(--wp--preset--color--surface-2); border-radius: 12px; padding: 12px 14px; font-size: .875rem; }
.jp-flow-item div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.jp-bar { height: 6px; background: var(--wp--preset--color--line); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.jp-bar i { display: block; height: 100%; background: var(--wp--preset--color--accent); border-radius: 3px; }
.jp-queue { display: flex; flex-direction: column; gap: 10px; }
.jp-qrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--wp--preset--color--surface-2); border-radius: 14px; padding: 16px; }
.jp-qrow.is-waiting { border: 1px solid rgba(255,181,71,.45); }
.jp-qrow b { display: block; font-weight: 600; }
.jp-qrow small { display: block; color: var(--wp--preset--color--subtle); font-size: .875rem; margin-top: 2px; }
.jp-tag { font-size: .875rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.jp-tag.is-ok { color: var(--wp--preset--color--accent); background: rgba(200,240,74,.14); }
.jp-tag.is-wait { color: var(--wp--preset--color--amber); background: rgba(255,181,71,.14); }

/* pipeline strip */
.jp-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 22px 0; margin: 0; font-family: var(--wp--preset--font-family--geist-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .875rem; color: var(--wp--preset--color--muted); list-style: none; }
.jp-strip li + li::before { content: "→"; margin-right: 22px; color: var(--wp--preset--color--subtle); }
.jp-strip li:first-child { color: var(--wp--preset--color--accent); }

/* departments + agents */
.jp-dept { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.jp-dept h3 { font-size: 1.125rem; }
.jp-count { font-family: var(--wp--preset--font-family--geist-mono); color: var(--wp--preset--color--subtle); font-size: .8125rem; }
.jp-agent { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; padding: 20px; }
.jp-agent.is-first { background: #1B2111; border-color: rgba(200,240,74,.45); }
.jp-agent-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.jp-agent h3 { font-size: 1.1875rem; margin: 10px 0 0; }
.jp-agent p { margin: 8px 0 0; font-size: .9375rem; color: var(--wp--preset--color--muted); }
.jp-badge { font-size: .75rem; font-weight: 700; color: var(--wp--preset--color--base); background: var(--wp--preset--color--accent); padding: 4px 10px; border-radius: 999px; }
.jp-jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.jp-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--contrast); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.jp-jump a:hover { border-color: var(--wp--preset--color--subtle); }

/* price card */
.jp-price { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: .5rem 0 0; }
.jp-full-btn .wp-block-button, .jp-full-btn .wp-block-button__link { width: 100%; }

/* FAQ (core/details) */
.jp-faq { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; margin: 0 0 12px; }
.jp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; min-height: 44px; font-size: 1.1875rem; font-weight: 600; }
.jp-faq summary::-webkit-details-marker { display: none; }
.jp-faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--wp--preset--color--accent); }
.jp-faq[open] summary::after { content: "−"; }
.jp-faq summary:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; border-radius: 14px; }
.jp-faq > p { margin: 0; padding: 0 24px 22px; color: var(--wp--preset--color--muted); }

/* compare table */
.jp-table-wrap { overflow-x: auto; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--jp-radius); }
.jp-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.jp-table th, .jp-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: top; }
.jp-table thead th { color: var(--wp--preset--color--subtle); font-weight: 600; font-size: .875rem; }
.jp-table thead th.is-us { color: var(--wp--preset--color--accent); }
.jp-table tbody tr:last-child > * { border-bottom: 0; }

/* header + footer */
.jp-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1E2127; isolation: isolate; }
.jp-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,11,13,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; }
.admin-bar .jp-header { top: 32px; }
.jp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--wp--preset--color--contrast) !important; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; min-height: 44px; }
.jp-header .wp-block-navigation a { color: #C5CAD3; font-weight: 500; font-size: .9375rem; text-decoration: none; }
.jp-header .wp-block-navigation a:hover { color: #fff; }
.jp-header .wp-block-button__link { padding: .7rem 1.25rem; font-size: .9375rem; }
.jp-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; }
.jp-footer { border-top: 1px solid #1E2127; font-size: .875rem; color: var(--wp--preset--color--subtle); }
.jp-footer a { color: var(--wp--preset--color--muted); }

/* sticky buy bar on phones */
.jp-buybar { display: none; }
@media (max-width: 781px) {
  .jp-buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 12px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(10,11,13,.95); border-top: 1px solid var(--wp--preset--color--line); }
  .jp-buybar div { flex: 1; min-width: 0; font-size: .875rem; }
  .jp-buybar b { display: block; }
  .jp-buybar a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); font-weight: 700; text-decoration: none; }
  body { padding-bottom: 84px; }
  .jp-header-cta { display: none !important; }
  .jp-steps > li { padding-left: 70px; }
  .jp-steps > li::before { left: 20px; }
}

/* phone refinements */
.jp-checks.is-inline { margin-top: 24px; }
.jp-flow-item div:first-child span:last-child { white-space: nowrap; }
@media (max-width: 600px) {
  .jp-console { padding: 16px; }
  .jp-stats { gap: 8px; }
  .jp-stat { padding: 10px 12px; min-width: 0; }
  .jp-stat .jp-label { font-size: .625rem; letter-spacing: .06em; }
  .jp-stat b { font-size: 1.6rem; }
  .jp-qrow { flex-wrap: wrap; }
}

/* video tour */
.jp-video { margin: 0 auto; max-width: 340px; }
.jp-video video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 28px; border: 1px solid var(--wp--preset--color--line); background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.55); }

.jp-lead + .jp-checks { margin-top: 24px; }

/* ===== v2 components ===== */
.jp-logo .jp-accent { color: var(--wp--preset--color--accent); }
.jp-mono-inline { font-family: var(--wp--preset--font-family--geist-mono); font-size: .9em; color: var(--wp--preset--color--amber); }

/* hero run log */
.jp-run { list-style: none; margin: 16px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.jp-run li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; background: var(--wp--preset--color--surface-2); border-radius: 12px; padding: 12px 14px; }
.jp-run-n { font-family: var(--wp--preset--font-family--geist-mono); font-size: .8125rem; color: var(--wp--preset--color--subtle); }
.jp-run b { display: block; font-weight: 600; font-size: .9375rem; }
.jp-run small { display: block; font-family: var(--wp--preset--font-family--geist-mono); font-size: .6875rem; letter-spacing: .02em; color: var(--wp--preset--color--subtle); margin-top: 2px; overflow-wrap: anywhere; }
.jp-run i { font-style: normal; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--wp--preset--color--accent); background: rgba(200,240,74,.12); white-space: nowrap; }
.jp-run li.is-pass { border: 1px solid rgba(200,240,74,.45); }
.jp-run li.is-pass i { color: var(--wp--preset--color--base); background: var(--wp--preset--color--accent); }

/* platform strip */
.jp-platforms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; padding: 22px 0; }
.jp-platforms ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.jp-platforms li { font-weight: 600; font-size: .9375rem; padding: 8px 16px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--surface); }

/* grids */
.jp-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.jp-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.jp-card.is-mini { padding: 20px; }
.jp-card.is-mini h3 { font-size: 1.125rem; }
.jp-card .jp-label { display: block; margin-bottom: 10px; color: var(--wp--preset--color--accent); }

/* numbers band */
.jp-numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 36px 0 22px; }
.jp-numbers > div { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; padding: 22px 20px; }
.jp-numbers b { display: block; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.jp-numbers span { display: block; margin-top: 8px; color: var(--wp--preset--color--muted); font-size: .9375rem; }
@media (max-width: 781px) { .jp-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jp-numbers > div:last-child { grid-column: 1 / -1; } }

/* is / isn't */
.jp-scope { margin-top: 36px; }
.jp-scope h3 { margin-bottom: 18px !important; }
.jp-crosses { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; color: var(--wp--preset--color--muted); }
.jp-crosses li { position: relative; padding-left: 32px; }
.jp-crosses li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B93A1' stroke-width='2.5'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }

/* five stages */
.jp-steps-5 { margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); counter-reset: step -1; }
.jp-steps > li.is-prep::before { content: "IN"; }
.jp-steps > li.is-gate { border-color: rgba(200,240,74,.5); background: #151A10; }
.jp-steps em { font-family: var(--wp--preset--font-family--geist-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--accent); font-weight: 500; }

/* department cards (links) */
a.jp-dept-card { display: block; text-decoration: none; color: var(--wp--preset--color--contrast); transition: border-color .15s ease, transform .15s ease; }
a.jp-dept-card:hover { border-color: var(--wp--preset--color--subtle); transform: translateY(-2px); }
a.jp-dept-card h3 { margin-top: 8px; font-size: 1.1875rem; }
a.jp-dept-card p { font-size: .9375rem; }

/* roles directory */
.jp-dept-section { padding-top: var(--wp--preset--spacing--40); padding-bottom: var(--wp--preset--spacing--30); }
.jp-dept { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.jp-dept h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.jp-agent { display: flex; flex-direction: column; }
.jp-agent.is-exec { background: #151A10; border-color: rgba(200,240,74,.45); }
.jp-role-title { font-family: var(--wp--preset--font-family--geist-mono); font-size: .75rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--subtle) !important; margin-top: 6px !important; }
.jp-agent code { margin-top: 12px; align-self: flex-start; font-family: var(--wp--preset--font-family--geist-mono); font-size: .75rem; color: var(--wp--preset--color--accent); background: rgba(200,240,74,.1); padding: 4px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.jp-jump { margin-top: 28px; }

/* offer card */
.jp-price-card { padding: 32px; }
.jp-mini-list { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--wp--preset--color--line); }
.jp-mini-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--wp--preset--color--line); font-size: .9375rem; text-align: right; }
.jp-mini-list li span { font-family: var(--wp--preset--font-family--geist-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .6875rem; color: var(--wp--preset--color--subtle); text-align: left; padding-top: 3px; white-space: nowrap; }
.jp-secure-line { margin-top: 16px !important; text-align: center; }
@media (max-width: 781px) { .jp-offer-cols > .wp-block-column:last-child { order: -1; } }
.jp-final { max-width: 820px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) !important; }

/* video */
.jp-video figcaption { text-align: center; margin-top: 12px; }

/* footer */
.jp-footer .jp-small { margin-top: 10px; max-width: 34em; }
.jp-footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.jp-footer-links a { color: var(--wp--preset--color--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.jp-footer-links a:hover { color: #fff; }
.jp-legal-line { margin-top: 28px !important; padding-top: 20px; border-top: 1px solid #1E2127; max-width: none !important; }

/* checkout header */
.jp-checkout-header { position: relative; }
.jp-secure { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--wp--preset--color--muted); }

/* screen reader */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* ===== WooCommerce (blocks + classic), dark ===== */
body.woocommerce-checkout .jp-buybar, body.woocommerce-cart .jp-buybar, body.woocommerce-account .jp-buybar, body.woocommerce-order-received .jp-buybar { display: none !important; }
body.woocommerce-checkout, body.woocommerce-cart, body.woocommerce-account { padding-bottom: 0 !important; }
.woocommerce, .wc-block-checkout, .wc-block-cart, .wp-block-woocommerce-checkout, .wp-block-woocommerce-cart { color: var(--wp--preset--color--contrast); }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page form .form-row input.input-text {
  background: var(--wp--preset--color--surface) !important; color: var(--wp--preset--color--contrast) !important; border: 1px solid #3A3F47 !important; border-radius: 12px !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--wp--preset--color--subtle) !important; }
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 0 0 1px var(--wp--preset--color--accent) !important; outline: none !important; }
.wc-block-checkout__sidebar, .wc-block-components-sidebar, .wp-block-woocommerce-checkout-order-summary-block { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: 8px 20px !important; }
.wc-block-components-order-summary-item__quantity { background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--base) !important; border-color: var(--wp--preset--color--accent) !important; box-shadow: none !important; }
.wc-block-components-order-summary-item__image img { border-radius: 10px; background: var(--wp--preset--color--surface-2); }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-components-panel, .wc-block-components-totals-item { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title { color: var(--wp--preset--color--contrast) !important; font-weight: 700 !important; letter-spacing: -.01em; }
.wc-block-components-checkout-step__description, .wc-block-components-checkout-step__heading-content, .wc-block-components-product-metadata { color: var(--wp--preset--color--muted) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option, .wc-block-checkout__payment-method .wc-block-components-radio-control__option { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-radio-control-accordion-content, .wc-block-components-notice-banner { color: var(--wp--preset--color--contrast); }
.wc-block-components-radio-control__input, .wc-block-components-checkbox__input { background: var(--wp--preset--color--surface) !important; border-color: #5A606B !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--accent) !important; }
.wc-block-components-checkbox__input:checked { background: var(--wp--preset--color--accent) !important; border-color: var(--wp--preset--color--accent) !important; }
.wc-block-components-checkbox__mark { fill: var(--wp--preset--color--base) !important; }
.wc-block-components-button:not(.is-link), .wc-block-components-checkout-place-order-button, .woocommerce button.button, .woocommerce a.button, .woocommerce .button.alt, .woocommerce-page .button {
  background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--base) !important; border: 0 !important; border-radius: 999px !important; font-weight: 700 !important; min-height: 52px;
}
.wc-block-components-button:not(.is-link):hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: #DAFF6E !important; }
.wc-block-components-checkout-return-to-cart-button { color: var(--wp--preset--color--muted) !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 1.25rem; font-weight: 800; }
.wc-block-components-notice-banner { border-radius: 14px !important; background: var(--wp--preset--color--surface) !important; border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-notice-banner.is-error { border-color: var(--wp--preset--color--amber) !important; }
.wc-block-components-notice-banner > svg { background: var(--wp--preset--color--amber) !important; fill: var(--wp--preset--color--base) !important; }
.wc-block-checkout__terms, .wc-block-components-checkout-policies, .wc-block-checkout__guest-checkout-notice { color: var(--wp--preset--color--muted) !important; }
.wc-block-components-validation-error p { color: var(--wp--preset--color--amber) !important; }
/* account + downloads + order received */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--wp--preset--color--muted); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); }
.woocommerce table.shop_table, .woocommerce-table, .wc-block-order-confirmation-downloads table, .wc-block-order-confirmation-totals table { border-color: var(--wp--preset--color--line) !important; border-radius: 14px; background: var(--wp--preset--color--surface); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td, .wc-block-order-confirmation-downloads td, .wc-block-order-confirmation-downloads th, .wc-block-order-confirmation-totals td, .wc-block-order-confirmation-totals th { border-color: var(--wp--preset--color--line) !important; color: var(--wp--preset--color--contrast); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-notice { background: var(--wp--preset--color--surface) !important; color: var(--wp--preset--color--contrast) !important; border-top-color: var(--wp--preset--color--accent) !important; border-radius: 12px; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--wp--preset--color--accent) !important; }
.wc-block-order-confirmation-status { font-weight: 700; }
.wc-block-order-confirmation-summary { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; }
.woocommerce-Button.download, .woocommerce-MyAccount-downloads-file, .wc-block-order-confirmation-downloads a { font-weight: 700; }

/* v2 polish */
.jp-hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.6rem); }
.jp-inside, .jp-depts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.jp-checkout > * { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.jp-console-top { flex-wrap: wrap; }
.wc-block-order-confirmation-downloads a, .woocommerce-MyAccount-downloads-file { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base) !important; text-decoration: none; }
.jp-checkout-title { font-size: clamp(2rem, 4vw, 2.75rem) !important; margin-bottom: 8px; }
.wc-block-components-checkout-return-to-cart-button { display: none !important; }
.wc-block-checkout__actions_row { justify-content: flex-end !important; }

/* Sample run page */
.jp-run-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 36px; }
.jp-run-grid .jp-card p { color: var(--wp--preset--color--muted); }
.jp-run-list { margin: 0; padding-left: 1.2em; color: var(--wp--preset--color--muted); display: grid; gap: 8px; }
.jp-run-findings { margin-top: 20px; }
.jp-run-split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.jp-table td.jp-nv { color: var(--wp--preset--color--subtle); font-style: italic; }
.jp-qa-rounds { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.jp-qa-rounds li { display: flex; gap: 22px; align-items: center; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--jp-radius); padding: 22px 24px; }
.jp-qa-rounds strong { display: block; font-size: 1.25rem; letter-spacing: -.01em; }
.jp-qa-rounds span:not(.jp-qa-score) { display: block; margin-top: 4px; color: var(--wp--preset--color--muted); }
.jp-qa-score { flex: 0 0 auto; min-width: 4.2em; font-family: var(--wp--preset--font-family--geist-mono); font-size: 1.75rem; font-weight: 600; color: var(--wp--preset--color--subtle); }
.jp-qa-rounds li.is-fail { border-style: dashed; }
.jp-qa-rounds li.is-pass { border-color: rgba(200,240,74,.5); }
.jp-qa-rounds li.is-pass .jp-qa-score, .jp-qa-rounds li.is-pass strong { color: var(--wp--preset--color--accent); }
.jp-tree, .jp-tree ul { list-style: none; margin: 0; padding: 0; }
.jp-tree { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--jp-radius); padding: 24px; }
.jp-tree ul { margin-left: 10px; padding-left: 18px; border-left: 1px solid var(--wp--preset--color--line); }
.jp-tree li { padding: 6px 0; }
.jp-tree code { font-family: var(--wp--preset--font-family--geist-mono); font-size: .8125rem; color: var(--wp--preset--color--subtle); overflow-wrap: anywhere; }
.jp-code { margin: 0; background: #0D0F12; border: 1px solid var(--wp--preset--color--line); border-radius: var(--jp-radius); padding: 22px; overflow-x: auto; font-family: var(--wp--preset--font-family--geist-mono); font-size: .8125rem; line-height: 1.6; color: var(--wp--preset--color--muted); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--line); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
@media (max-width: 600px) { .jp-qa-rounds li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; } }

/* Checkout legal line */
.jp-checkout-legal { margin-top: 28px; }
.jp-checkout-legal a { margin-right: 14px; }

/* ===== v2.6: mobile menu ===== */
.jp-header .wp-block-navigation__responsive-container-open, .jp-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--wp--preset--color--contrast); border-radius: 12px; }
@media (max-width: 1023px) {
  .jp-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex !important; }
  .jp-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
.jp-header .wp-block-navigation__responsive-container-open svg, .jp-header .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.jp-header .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; z-index: 100000; padding: 0 !important; background: #0A0B0D !important; overflow-y: auto; animation: jp-menu-in .18s ease-out; }
.admin-bar .jp-header .wp-block-navigation__responsive-container.is-menu-open { top: 46px; }
@media (min-width: 783px) { .admin-bar .jp-header .wp-block-navigation__responsive-container.is-menu-open { top: 32px; } }
.jp-header .is-menu-open .wp-block-navigation__responsive-close { max-width: none; padding: 14px 16px calc(32px + env(safe-area-inset-bottom)); }
.jp-header .is-menu-open .wp-block-navigation__responsive-dialog { margin: 0 !important; }
.jp-header .is-menu-open .wp-block-navigation__responsive-container-close { position: static; margin-left: auto; display: flex; border: 1px solid var(--wp--preset--color--line); }
.jp-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 28px !important; align-items: stretch !important; }
.jp-header .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.jp-header .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); }
.jp-header .is-menu-open .wp-block-navigation-item__content { display: flex !important; align-items: center; justify-content: space-between; width: 100%; min-height: 64px; padding: 0 4px !important; font-size: 1.5rem !important; font-weight: 700 !important; letter-spacing: -.02em; color: var(--wp--preset--color--contrast) !important; }
.jp-header .is-menu-open .wp-block-navigation-item__content::after { content: "→"; font-weight: 500; color: var(--wp--preset--color--subtle); }
.jp-header .is-menu-open .wp-block-navigation-item__content:hover::after { color: var(--wp--preset--color--accent); }
.jp-header .jp-nav-cta { display: none !important; }
.jp-header .is-menu-open .jp-nav-cta { display: block !important; border-bottom: 0 !important; margin-top: 28px; }
.jp-header .is-menu-open .jp-nav-cta .wp-block-navigation-item__content { justify-content: center !important; min-height: 58px; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base) !important; font-size: 1.125rem !important; font-weight: 800 !important; }
.jp-header .is-menu-open .jp-nav-cta .wp-block-navigation-item__content::after { content: none; }
html.has-modal-open .jp-buybar { display: none !important; }
@keyframes jp-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .jp-header .wp-block-navigation__responsive-container.is-menu-open { animation: none; } }

/* ===== v2.6: My account ===== */
.jp-account .jp-account-title { font-size: clamp(2.25rem, 5vw, 3.25rem) !important; letter-spacing: -.035em; margin-bottom: 28px !important; }
.jp-account .woocommerce { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.jp-account .woocommerce::before, .jp-account .woocommerce::after { content: none !important; display: none !important; }
.jp-account .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; }
.jp-account .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; grid-row: 1; }
.jp-account .woocommerce > .woocommerce-notices-wrapper, .jp-account .woocommerce > .woocommerce-info, .jp-account .woocommerce > .woocommerce-message, .jp-account .woocommerce > .woocommerce-error { grid-column: 1 / -1; margin: 0; }
.jp-account .woocommerce-MyAccount-navigation, .jp-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; margin: 0 !important; }
.jp-account .woocommerce-MyAccount-navigation { position: sticky; top: 96px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; padding: 10px; }
.jp-account .woocommerce-MyAccount-navigation ul { gap: 2px; }
.jp-account .woocommerce-MyAccount-navigation a { padding: 11px 14px; font-size: .9375rem; font-weight: 500; }
.jp-account .woocommerce-MyAccount-navigation a:hover { color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface-2); }
.jp-account .woocommerce-MyAccount-navigation .is-active a { background: var(--wp--preset--color--surface-2); color: var(--wp--preset--color--contrast); box-shadow: inset 3px 0 0 var(--wp--preset--color--accent); text-decoration: none; }
.jp-account .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--wp--preset--color--line); }
.jp-account .woocommerce-MyAccount-content > p:first-child { margin-top: 0; color: var(--wp--preset--color--muted); }
.jp-account .woocommerce-MyAccount-content mark { background: none; color: var(--wp--preset--color--contrast); font-weight: 700; }
.jp-account table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--wp--preset--color--line) !important; }
.jp-account table.shop_table th { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-family: var(--wp--preset--font-family--geist-mono); color: var(--wp--preset--color--subtle) !important; background: var(--wp--preset--color--surface-2); white-space: nowrap; }
.jp-account table.shop_table th, .jp-account table.shop_table td { padding: 16px 18px !important; vertical-align: middle; }
.jp-account .woocommerce-MyAccount-downloads-file, .jp-account .woocommerce-orders-table .button { white-space: nowrap; min-height: 44px !important; padding: 0 20px !important; font-size: .9375rem; }
.jp-account .woocommerce-MyAccount-downloads-file::before { content: "↓ "; margin-right: 4px; }
.jp-account-home { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: 28px; margin-bottom: 24px; }
.jp-account-home h2 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: -.02em; }
.jp-account-home p { margin: 0 0 20px; color: var(--wp--preset--color--muted); }
.jp-account-home .jp-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base) !important; font-weight: 800; text-decoration: none; }
.jp-account-home ul { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--wp--preset--color--line); list-style: none; display: grid; gap: 8px; color: var(--wp--preset--color--muted); font-size: .9375rem; }
/* logged out: one centred card */
.jp-account .woocommerce:has(> form.login), .jp-account .woocommerce:has(.u-columns), .jp-account .woocommerce:has(form.lost_reset_password) { display: block; max-width: 520px; }
.jp-account form.login, .jp-account form.lost_reset_password, .jp-account form.woocommerce-ResetPassword { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line) !important; border-radius: 20px !important; padding: 28px !important; margin: 0 !important; }
.jp-account .woocommerce > h2 { font-size: 1.375rem; margin: 28px 0 14px; }
.jp-account form .form-row { margin-bottom: 16px; }
.jp-account form label { color: var(--wp--preset--color--muted); font-size: .9375rem; }
.jp-account form .form-row input.input-text { min-height: 52px; padding: 0 16px !important; font-size: 1rem; }
.jp-account form.login .form-row:has(button[name="login"]) { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.jp-account form.login .woocommerce-form-login__rememberme { order: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.jp-account form.login button { order: 1; min-width: 140px; }
.jp-account .lost_password a { color: var(--wp--preset--color--muted); }
.jp-account .jp-buyer-note { margin: 0 0 20px !important; padding: 18px 20px 18px 52px !important; line-height: 1.55; font-size: .9375rem; }
.jp-account .woocommerce .required { color: var(--wp--preset--color--amber); text-decoration: none; }
@media (max-width: 860px) {
  .jp-account .woocommerce { grid-template-columns: 1fr; gap: 20px; }
  .jp-account .woocommerce > .woocommerce-MyAccount-navigation, .jp-account .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; grid-row: auto; }
  .jp-account .woocommerce-MyAccount-navigation { position: static; padding: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .jp-account .woocommerce-MyAccount-navigation ul { flex-direction: row; gap: 4px; width: max-content; }
  .jp-account .woocommerce-MyAccount-navigation a { padding: 10px 14px; white-space: nowrap; }
  .jp-account .woocommerce-MyAccount-navigation .is-active a { box-shadow: inset 0 -2px 0 var(--wp--preset--color--accent); }
  .jp-account .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
  .jp-account table.shop_table_responsive tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
  .jp-account table.shop_table_responsive tr:last-child { border-bottom: 0; }
  .jp-account table.shop_table_responsive td { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px !important; border: 0 !important; text-align: right !important; }
  .jp-account table.shop_table_responsive td::before { font-family: var(--wp--preset--font-family--geist-mono); font-size: .75rem; font-weight: 500 !important; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--subtle); text-align: left; }
  .jp-account .woocommerce-MyAccount-downloads-file { width: 100%; justify-content: center; }
  .jp-account td.download-file { flex-wrap: wrap; }
  .jp-account td.download-file::before { width: 100%; }
}

.jp-account .woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; line-height: 1.3; }
.jp-account .jp-account-title { padding-left: 0 !important; padding-right: 0 !important; }
.jp-account .woocommerce-info.jp-buyer-note::before { display: none !important; }
.jp-account .jp-buyer-note { padding: 18px 20px !important; }
.jp-account .password-input { display: block; position: relative; width: 100%; }
.jp-account .password-input input { width: 100%; padding-right: 52px !important; }
.jp-account .show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none !important; border: 0 !important; min-height: 0 !important; color: var(--wp--preset--color--subtle) !important; }
.jp-account .show-password-input::after { color: var(--wp--preset--color--subtle) !important; }
.jp-account .woocommerce-MyAccount-navigation ul { margin: 0 !important; padding: 0 !important; }
.jp-account .woocommerce-MyAccount-navigation ul::before, .jp-account .woocommerce-MyAccount-navigation ul::after { content: none !important; }
.jp-account form.login .form-row:has(button[name="login"]) { padding: 0 !important; margin: 4px 0 8px !important; }
.jp-account form.login button[name="login"] { margin: 0 !important; }
.jp-account form.login .lost_password { margin: 8px 0 0 !important; padding: 0 !important; }
.jp-account form .form-row::before, .jp-account form .form-row::after { content: none !important; display: none !important; }

/* ===== v2.8: consent before download ===== */
.jp-checkout-note { max-width: 1200px; margin: 0 auto 18px !important; padding: 14px 18px; border: 1px solid var(--wp--preset--color--line); border-left: 3px solid var(--wp--preset--color--accent); border-radius: 12px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--muted); font-size: .9375rem; line-height: 1.5; }
.jp-checkout-note a { color: var(--wp--preset--color--contrast); }
.jp-consent { padding: 56px 16px 80px; }
.jp-consent-card { max-width: 560px; margin: 0 auto; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 22px; padding: 32px; }
.jp-consent-card h1 { margin: 6px 0 8px; font-size: clamp(2rem, 6vw, 2.6rem); letter-spacing: -.035em; line-height: 1.05; }
.jp-consent-lead { margin: 0 0 22px; color: var(--wp--preset--color--muted); }
.jp-consent-check { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; background: var(--wp--preset--color--surface-2); cursor: pointer; line-height: 1.5; }
.jp-consent-check input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: #C8F04A; }
.jp-consent-btn { margin-top: 18px; width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); font: inherit; font-weight: 800; font-size: 1.0625rem; cursor: pointer; }
.jp-consent-btn:hover { background: #DAFF6E; }
.jp-consent-small { margin: 18px 0 0; font-size: .8125rem; color: var(--wp--preset--color--subtle); line-height: 1.55; }
.jp-consent-small a { color: var(--wp--preset--color--muted); }
.jp-consent-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--wp--preset--color--amber); color: var(--wp--preset--color--amber); }
body.jp-consent-page .jp-buybar { display: none !important; }

/* ===== v2.9: thank-you page ===== */
.jp-ty-main { padding: 40px 16px 72px; }
.jp-ty { display: grid; gap: 16px; }
.jp-ty-card { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 22px; padding: 30px; }
.jp-ty-card h1 { margin: 6px 0 8px; font-size: clamp(2rem, 6vw, 2.75rem); letter-spacing: -.035em; line-height: 1.05; }
.jp-ty-lead { margin: 0 0 8px; color: var(--wp--preset--color--muted); }
.jp-ty-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--wp--preset--color--line); }
.jp-ty-num { margin: 2px 0 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--wp--preset--font-family--geist-mono); font-size: .875rem; font-weight: 600; background: var(--wp--preset--color--surface-2); border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--accent); }
.jp-ty-body h2 { margin: 0 0 6px; font-size: 1.375rem; letter-spacing: -.02em; }
.jp-ty-body p { margin: 0 0 14px; color: var(--wp--preset--color--muted); }
.jp-ty-body p strong { color: var(--wp--preset--color--contrast); }
.jp-ty-body a:not(.jp-ty-btn) { color: var(--wp--preset--color--contrast); }
.jp-ty-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 14px; border: 0; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base) !important; font: inherit; font-weight: 800; font-size: 1.0625rem; text-decoration: none; cursor: pointer; }
.jp-ty-btn:hover { background: #DAFF6E; }
.jp-ty-btn.is-secondary { background: transparent; color: var(--wp--preset--color--contrast) !important; border: 1px solid #3A3F47; }
.jp-ty-btn.is-secondary:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent) !important; background: transparent; }
.jp-ty-small { margin: 12px 0 0 !important; font-size: .8125rem; color: var(--wp--preset--color--subtle) !important; line-height: 1.55; }
.jp-ty-small a { color: var(--wp--preset--color--muted) !important; }
.jp-ty-form { display: grid; gap: 12px; }
.jp-ty-form label { display: grid; gap: 6px; font-size: .875rem; color: var(--wp--preset--color--muted); }
.jp-ty-form input { min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid #3A3F47; background: #0D0F12; color: var(--wp--preset--color--contrast); font: inherit; font-size: 1rem; }
.jp-ty-form input[readonly] { color: var(--wp--preset--color--subtle); }
.jp-ty-form input:focus { outline: none; border-color: var(--wp--preset--color--accent); box-shadow: 0 0 0 1px var(--wp--preset--color--accent); }
.jp-ty-receipt { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; padding: 22px 24px; }
.jp-ty-receipt dl { margin: 10px 0 0; display: grid; gap: 0; }
.jp-ty-receipt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--wp--preset--color--line); }
.jp-ty-receipt dl div:first-child { border-top: 0; }
.jp-ty-receipt dt { color: var(--wp--preset--color--muted); }
.jp-ty-receipt dd { margin: 0; text-align: right; }
.jp-ty-receipt .is-total dt, .jp-ty-receipt .is-total dd { color: var(--wp--preset--color--contrast); font-weight: 800; }
.jp-consent-link { margin-top: 18px; text-decoration: none; display: flex; align-items: center; justify-content: center; }
@media (max-width: 480px) { .jp-ty-card { padding: 22px; } .jp-ty-step { grid-template-columns: 1fr; gap: 8px; } }

/* ===== v2.9: checkout polish ===== */
/* One box, not two: the sidebar frame only on wide screens; on phones WooCommerce's own summary panel is the box. */
.wc-block-checkout.is-mobile .wc-block-checkout__sidebar, .wc-block-checkout.is-small .wc-block-checkout__sidebar, .wc-block-checkout.is-medium .wc-block-checkout__sidebar { background: transparent !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.wc-block-components-checkout-order-summary__title, .wc-block-components-checkout-order-summary__content { border-color: var(--wp--preset--color--line) !important; }
.wc-block-checkout.is-mobile .wc-block-components-checkout-order-summary, .wc-block-checkout.is-small .wc-block-components-checkout-order-summary { background: var(--wp--preset--color--surface) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 16px !important; }
/* Dropdowns: no white frame. */
.wc-blocks-components-select__container { background: transparent !important; }
.wc-blocks-components-select .wc-blocks-components-select__select { min-height: 52px; }
.wc-blocks-components-select__expand { fill: var(--wp--preset--color--subtle) !important; }
/* Place order: full width and easy to tap. */
.wc-block-checkout__actions_row { justify-content: stretch !important; }
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { width: 100% !important; min-height: 56px !important; font-size: 1.0625rem !important; }
/* One box on every screen size: drop the outer frame, keep WooCommerce's summary panel. */
.wc-block-checkout__sidebar, .wc-block-components-sidebar.wc-block-checkout__sidebar { background: transparent !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.wp-block-woocommerce-checkout-order-summary-block { background: var(--wp--preset--color--surface) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 20px !important; padding: 8px 20px !important; }
.wc-block-components-checkout-order-summary__title { border: 0 !important; }
/* Title and note line up with the form. */
.jp-checkout > .jp-checkout-title, .jp-checkout > .jp-checkout-note, .jp-checkout > .jp-checkout-legal { max-width: 1200px !important; width: auto !important; box-sizing: border-box; margin-left: auto !important; margin-right: auto !important; }

/* --- 2.11: thank-you account step ------------------------------------- */
.jp-ty-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .jp-ty-row { grid-template-columns: 1fr; } }
.jp-ty-inline { margin: 0; }
.jp-ty-actions { display: grid; gap: 0; }
.jp-ty-files .jp-ty-btn + .jp-ty-btn { margin-top: 10px; }

/* --- 2.11: product pages (built like /buy/) and Freebies ------------- */
.jp-back { display: inline-block; margin: 0 0 18px; font-size: .9375rem; color: var(--wp--preset--color--muted); text-decoration: none; }
.jp-back:hover { color: var(--wp--preset--color--accent); }
.jp-product-hero .jp-back { display: block; }
.jp-product-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; margin-top: 18px; }
.jp-product-hero .jp-lead p { margin: 0 0 .6em; }
.jp-product-hero .jp-lead p:last-child { margin-bottom: 0; }
.jp-product-visual { border-radius: var(--jp-radius); overflow: hidden; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); }
.jp-product-visual.has-image img { display: block; width: 100%; height: auto; }
.jp-product-visual.is-tile { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 32px; background: radial-gradient(520px 320px at 85% 0%, rgba(200,240,74,.12), transparent 70%), var(--wp--preset--color--surface); }
.jp-product-tile-name { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; color: var(--wp--preset--color--contrast); }
.jp-product-desc { margin-top: 32px; color: var(--wp--preset--color--muted); font-size: 1.0625rem; line-height: 1.65; }
.jp-product-desc h2, .jp-product-desc h3, .jp-product-desc strong { color: var(--wp--preset--color--contrast); }
.jp-product-desc ul { padding-left: 1.2em; }
.jp-product-desc a { color: var(--wp--preset--color--accent); }
.jp-freebies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.jp-freebie { display: flex; flex-direction: column; }
.jp-freebie-visual { display: block; margin: -8px -8px 18px; text-decoration: none; }
.jp-freebie-visual .jp-product-visual.is-tile { padding: 22px; aspect-ratio: 16 / 9; }
.jp-freebie-visual .jp-product-tile-name { font-size: 1.35rem; }
.jp-freebie .jp-label { color: var(--wp--preset--color--accent); }
.jp-freebie h3 { margin: 8px 0 0; font-size: 1.375rem; letter-spacing: -.02em; }
.jp-freebie h3 a { color: inherit; text-decoration: none; }
.jp-freebie h3 a:hover { color: var(--wp--preset--color--accent); }
.jp-freebie > p:not(.jp-label) { flex: 1; }
.jp-freebie-btn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; margin-top: 20px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base) !important; font-weight: 800; text-decoration: none; }
.jp-freebie-btn:hover { background: #DAFF6E; }
.jp-freebies-empty { text-align: center; max-width: 560px; margin: 0 auto; }
.woocommerce span.onsale, .wc-block-components-product-sale-badge { display: none !important; }

/* Hero alignment: pill, back link and intro line up with the heading's left edge. */
.jp-hero > :is(.jp-pill, .jp-lead, .jp-back) { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 820px)) / 2)) !important; margin-right: auto !important; }
.jp-hero > .jp-pill { display: flex; width: fit-content; }
.jp-hero > .jp-back { width: fit-content; }
/* No "Buy Joined Proof" bar on freebies. */
body.jp-no-buybar .jp-buybar { display: none !important; }
