:root {
  --psk-primary: #2563eb;
  --psk-primary-hover: #1d4ed8;
  --psk-heading: #0f172a;
  --psk-text: #334155;
  --psk-muted: #64748b;
  --psk-border: #e2e8f0;
  --psk-light: #f8fafc;
  --psk-light-alt: #f1f5f9;
  --psk-warning: #b45309;
  --psk-warning-bg: #fff7ed;
  --psk-white: #fff;
  --psk-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

/* Hide the duplicate Blocksy page title/excerpt on plugin-managed pages. */
.psk-managed-page .hero-section,
.psk-managed-page .entry-header,
.psk-managed-page .page-header,
.psk-managed-page .page-title,
.psk-managed-page .ct-page-title,
.psk-managed-page article.page > header,
.psk-managed-page .entry-content > h1:first-child:is(.entry-title) {
  display: none !important;
}

.psk-managed-page .site-main,
.psk-managed-page .content-area,
.psk-managed-page .entry-content,
.psk-managed-page article.page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.psk-managed-page .entry-content {
  max-width: none !important;
}

.psk-custom-footer-enabled .ct-footer,
.psk-custom-footer-enabled #footer,
.psk-custom-footer-enabled footer.site-footer:not(.psk-site-footer) {
  display: none !important;
}

.psk-page,
.psk-site-footer,
.psk-mobile-cta {
  font-size: 16px;
  line-height: 1.65;
  color: var(--psk-text);
}

.psk-page *,
.psk-site-footer * {
  box-sizing: border-box;
}

.psk-container {
  width: min(1200px, calc(100% - 4vw));
  margin-inline: auto;
}

.psk-narrow {
  max-width: 760px;
}

.psk-section {
  padding: 64px 0;
}

.psk-section-light {
  background: var(--psk-light);
}

.psk-page-hero {
  padding-top: 72px;
  padding-bottom: 72px;
}

.psk-page h1,
.psk-page h2,
.psk-page h3,
.psk-site-footer h2,
.psk-site-footer h3 {
  color: var(--psk-heading);
  margin-top: 0;
}

.psk-page h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}

.psk-page h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}

.psk-page h3 {
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 14px;
}

.psk-eyebrow {
  color: var(--psk-primary);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.psk-lead {
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 24px;
  color: var(--psk-text);
}

.psk-section-intro {
  max-width: 760px;
  margin: -4px 0 30px;
}

.psk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 56px;
  align-items: center;
}

.psk-hero-copy > :last-child,
.psk-card-body > :last-child {
  margin-bottom: 0;
}

.psk-check-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.psk-check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.psk-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--psk-primary);
  font-weight: 700;
}

.psk-media-frame,
.psk-admin-placeholder,
.psk-media-empty {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--psk-border);
  background: var(--psk-light-alt);
}

.psk-ratio-43 { aspect-ratio: 4 / 3; }
.psk-ratio-169 { aspect-ratio: 16 / 9; }

.psk-media-frame img,
.psk-card-media img,
.psk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--psk-light-alt);
}

.psk-admin-placeholder {
  border-style: dashed;
  color: var(--psk-heading);
  text-align: center;
  font-weight: 600;
  padding: 24px;
}

.psk-media-empty {
  min-height: 220px;
}

.psk-product-grid,
.psk-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.psk-product-card,
.psk-comparison-card,
.psk-contact-card,
.psk-feature-section,
.psk-development-box,
.psk-legal-placeholder {
  background: var(--psk-white);
  border: 1px solid var(--psk-border);
  border-radius: 16px;
  box-shadow: var(--psk-shadow);
}

.psk-product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.psk-card-media {
  display: block;
  background: var(--psk-light-alt);
}

.psk-card-media .psk-media-frame,
.psk-card-media .psk-admin-placeholder,
.psk-card-media .psk-media-empty {
  border: 0;
  border-radius: 0;
}

.psk-card-body {
  padding: 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.psk-card-body h3 a {
  color: var(--psk-heading);
  text-decoration: none;
}

.psk-card-price,
.psk-product-price {
  font-weight: 700;
  color: var(--psk-heading);
  font-size: 20px;
}

.psk-card-actions,
.psk-cta-row,
.psk-badge-row,
.psk-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.psk-card-actions {
  margin-top: auto;
  padding-top: 12px;
}

.psk-button,
.psk-button-secondary,
.psk-button-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.psk-button {
  color: var(--psk-white) !important;
  background: var(--psk-primary);
  border: 1px solid var(--psk-primary);
}

.psk-button:hover,
.psk-button:focus {
  color: var(--psk-white) !important;
  background: var(--psk-primary-hover);
  border-color: var(--psk-primary-hover);
  transform: translateY(-1px);
}

.psk-button-secondary {
  color: var(--psk-heading) !important;
  background: var(--psk-white);
  border: 1px solid var(--psk-border);
}

.psk-button-secondary:hover,
.psk-button-secondary:focus {
  color: var(--psk-primary) !important;
  border-color: var(--psk-primary);
}

.psk-button-disabled {
  color: var(--psk-white) !important;
  background: #94a3b8;
  border: 1px solid #94a3b8;
}

.psk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.psk-badge-warning,
.psk-roadmap-label {
  background: var(--psk-warning-bg);
  color: var(--psk-warning);
}

.psk-meta-pills {
  margin-bottom: 18px;
}

.psk-meta-pills span {
  padding: 6px 10px;
  border: 1px solid var(--psk-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--psk-muted);
}

.psk-version-line {
  color: var(--psk-muted);
  font-size: 15px;
  margin-top: -12px;
}

.psk-development-box {
  background: var(--psk-warning-bg);
  border-color: #fed7aa;
  padding: 18px;
  margin: 22px 0;
  box-shadow: none;
}

.psk-development-box p {
  margin: 6px 0 0;
}

.psk-feature-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-block: 1px solid var(--psk-border);
  backdrop-filter: blur(10px);
}

.admin-bar .psk-feature-nav { top: 32px; }

.psk-feature-nav .psk-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 10px;
  scrollbar-width: thin;
}

.psk-feature-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--psk-light-alt);
  color: var(--psk-heading);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.psk-feature-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.psk-feature-section {
  padding: 26px;
  scroll-margin-top: 80px;
}

.psk-feature-section ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.psk-feature-section li {
  margin-bottom: 8px;
}

.psk-feature-category {
  color: var(--psk-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 8px;
}

.psk-roadmap-section {
  background: var(--psk-warning-bg);
  border-color: #fed7aa;
}

.psk-roadmap-label {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.psk-gallery-group-public {
  margin-top: 44px;
}

.psk-gallery-group-public:first-of-type {
  margin-top: 28px;
}

.psk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.psk-gallery-item {
  margin: 0;
}

.psk-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--psk-border);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--psk-light-alt);
}

.psk-gallery-43 .psk-lightbox-trigger { aspect-ratio: 4 / 3; }
.psk-gallery-169 .psk-lightbox-trigger { aspect-ratio: 16 / 9; }

.psk-gallery-item figcaption {
  padding: 9px 2px 0;
  color: var(--psk-muted);
  font-size: 14px;
}

.psk-lightbox[hidden] { display: none; }

.psk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(2, 6, 23, .94);
}

.psk-lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
}

.psk-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: white;
  font-size: 34px;
  cursor: pointer;
}

.psk-step-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  counter-reset: psk-step;
}

.psk-step-list li {
  counter-increment: psk-step;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.psk-step-list li::before {
  content: counter(psk-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--psk-primary);
  color: white;
  font-weight: 700;
  grid-row: 1 / span 2;
}

.psk-step-list strong,
.psk-step-list span {
  display: block;
}

.psk-step-list span {
  color: var(--psk-muted);
}

.psk-note,
.psk-contact-card,
.psk-legal-placeholder {
  padding: 20px;
}

.psk-note {
  border-left: 4px solid var(--psk-primary);
  background: var(--psk-light-alt);
  border-radius: 0 12px 12px 0;
}

.psk-faq details {
  border: 1px solid var(--psk-border);
  border-radius: 12px;
  padding: 17px 18px;
  margin-bottom: 12px;
  background: var(--psk-white);
}

.psk-faq summary {
  cursor: pointer;
  color: var(--psk-heading);
  font-weight: 600;
}

.psk-faq details p {
  margin: 12px 0 0;
}

.psk-center-cta {
  margin-top: 24px;
  text-align: center;
}

.psk-comparison-card {
  padding: 26px;
}

.psk-comparison-card dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 12px;
  margin: 22px 0;
}

.psk-comparison-card dt {
  font-weight: 700;
  color: var(--psk-heading);
}

.psk-comparison-card dd {
  margin: 0;
}

.psk-site-footer {
  padding: 56px 0 0;
  background: var(--psk-heading);
  color: #cbd5e1;
}

.psk-site-footer h2,
.psk-site-footer h3 {
  color: white;
}

.psk-site-footer h2 { font-size: 26px; }
.psk-site-footer h3 { font-size: 18px; }

.psk-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.psk-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.psk-site-footer li { margin-bottom: 9px; }

.psk-site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.psk-site-footer a:hover { color: white; }

.psk-footer-note {
  font-size: 14px;
  color: #94a3b8;
}

.psk-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  margin-top: 36px;
  border-top: 1px solid #334155;
  font-size: 14px;
}

.psk-mobile-cta { display: none; }

@media (max-width: 1024px) {
  .psk-container { width: min(1200px, calc(100% - 6vw)); }
  .psk-section { padding: 48px 0; }
  .psk-page-hero { padding-block: 54px; }
  .psk-hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .psk-button, .psk-button-secondary, .psk-button-disabled { min-height: 46px; padding-inline: 22px; }
  .psk-feature-sections { grid-template-columns: 1fr; }
  .psk-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .psk-footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 781px) {
  .psk-page, .psk-site-footer, .psk-mobile-cta { font-size: 17px; }
  .psk-container { width: calc(100% - 10vw); }
  .psk-section { padding: 32px 0; }
  .psk-page-hero { padding-block: 38px; }
  .psk-page h1 { font-size: 34px; }
  .psk-page h2 { font-size: 28px; }
  .psk-page h3 { font-size: 24px; }
  .psk-lead { font-size: 18px; }
  .psk-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .psk-product-grid, .psk-comparison-grid, .psk-gallery-grid { grid-template-columns: 1fr; }
  .psk-card-body, .psk-feature-section, .psk-comparison-card { padding: 20px; }
  .psk-button, .psk-button-secondary, .psk-button-disabled { min-height: 48px; padding: 12px 20px; }
  .psk-cta-row, .psk-card-actions { flex-direction: column; align-items: stretch; }
  .psk-cta-row .psk-button, .psk-card-actions .psk-button, .psk-card-actions .psk-button-secondary { width: 100%; }
  .psk-feature-nav { top: 0; }
  .admin-bar .psk-feature-nav { top: 46px; }
  .psk-feature-nav .psk-container { width: 100%; padding-inline: 5vw; }
  .psk-feature-sections { gap: 18px; }
  .psk-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .psk-footer-grid > :last-child { grid-column: auto; }
  .psk-footer-bottom { flex-direction: column; align-items: flex-start; }
  .psk-product-page { padding-bottom: 82px; }
  .psk-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98);
    border-top: 1px solid var(--psk-border);
  }
  .psk-mobile-cta a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }
  .psk-mobile-buy { background: var(--psk-primary); color: white !important; }
  .psk-mobile-wa { background: white; color: var(--psk-heading) !important; border: 1px solid var(--psk-border); }
}

@media (max-width: 480px) {
  .psk-container { width: calc(100% - 40px); }
  .psk-feature-nav .psk-container { width: 100%; padding-inline: 20px; }
  .psk-comparison-card dl { grid-template-columns: 1fr; gap: 2px; }
  .psk-comparison-card dd { margin-bottom: 10px; }
}
