/* =============================================================================
   Peakzi — Page-level styles (sub-pages). Built on tokens.css + home.css.
   Reuses primitives: .pk-container, .pk-section, .pk-btn, .pk-link, cards.
   ============================================================================= */

/* ---- PAGE HERO (compact, reuses home hero backdrop) ---- */
.pk-page-seo .reveal { opacity: 1; transform: none; }
.pk-page-seo [hidden] { display: none !important; }
.pk-phero { position: relative; overflow: hidden; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(40px, 5vw, 72px); }
.pk-phero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pk-phero__inner { position: relative; z-index: 1; }
.pk-phero--split .pk-phero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pk-phero--center .pk-phero__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.pk-phero--center .pk-phero__cta { justify-content: center; }
.pk-phero .peakzi-eyebrow { display: block; margin-bottom: var(--space-4); }
.pk-phero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: var(--tracking-tightest); margin-bottom: var(--space-5); }
.pk-phero__lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); max-width: 560px; margin-bottom: var(--space-7); }
.pk-phero--center .pk-phero__lede { margin-inline: auto; }
.pk-phero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.pk-phero__visual { width: 100%; }

/* ---- Generic eyebrow-on-dark fix already from home; section head reuse ---- */
.pk-sec-head { max-width: 660px; margin-bottom: var(--space-10); }
.pk-sec-head--center { margin-inline: auto; text-align: center; }
.pk-sec-head .peakzi-eyebrow { display: block; margin-bottom: var(--space-4); }
.pk-sec-head h2 { margin-bottom: var(--space-4); }
.pk-sec-head p { font-size: var(--text-lg); color: var(--fg-2); }

/* ---- Breadcrumb ---- */
.pk-crumb { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--fg-3); margin-bottom: var(--space-5); }
.pk-crumb a { color: var(--fg-3); font-weight: var(--weight-medium); }
.pk-crumb a:hover { color: var(--peakzi-purple); }
.pk-crumb svg { width: 14px; height: 14px; opacity: 0.6; }

/* ---- Generic 3-up feature/value grid (reuses step card look) ---- */
.pk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.pk-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.pk-card { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: var(--space-8); transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base); }
.pk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.pk-card__ic { width: 52px; height: 52px; border-radius: var(--radius-lg); display: grid; place-items: center; margin-bottom: var(--space-5); background: linear-gradient(135deg, rgb(235 85 255 / 0.12), rgb(112 128 240 / 0.12)); color: var(--peakzi-purple); }
.pk-card__ic svg { width: 24px; height: 24px; }
.pk-card h3 { margin-bottom: var(--space-3); }
.pk-card p { font-size: var(--text-base); }
.pk-card__num { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--peakzi-purple); letter-spacing: var(--tracking-wide); display: block; margin-bottom: var(--space-3); }

/* =============================================================================
   FORMS (lead capture, contact, auth)
   ============================================================================= */
.pk-field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.pk-field label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--fg-1); }
.pk-field__hint { font-size: var(--text-xs); color: var(--fg-3); }
.pk-input, .pk-select, .pk-textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--text-base); color: var(--fg-1);
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 12px var(--space-4); transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.pk-input::placeholder, .pk-textarea::placeholder { color: var(--fg-4); }
.pk-input:focus, .pk-select:focus, .pk-textarea:focus { outline: none; border-color: var(--peakzi-purple); box-shadow: 0 0 0 3px var(--ring-focus); }
.pk-textarea { resize: vertical; min-height: 120px; line-height: var(--leading-normal); }
.pk-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.pk-formcard { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); padding: clamp(24px, 4vw, 40px); }
.pk-form-foot { font-size: var(--text-xs); color: var(--fg-3); margin-top: var(--space-4); text-align: center; }
.pk-claim-form-fallback { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-3); color: var(--fg-3); font-size: var(--text-sm); text-align: center; }
.pk-claim-form-fallback a { min-height: 44px; display: inline-flex; align-items: center; color: var(--fg-link); font-weight: var(--weight-semibold); }
.pk-claim-form-frame { width: 100%; min-height: 760px; border: 0; display: block; }

/* search/input combo for tools */
.pk-search { display: flex; gap: var(--space-3); align-items: stretch; flex-wrap: wrap; }
.pk-search .pk-input { flex: 1 1 220px; min-width: 0; }
.pk-search .pk-select { flex: 0 1 200px; }

/* =============================================================================
   FREE AI SCORE — "what you get" + sample report
   ============================================================================= */
.pk-checks { display: flex; flex-direction: column; gap: var(--space-4); margin: var(--space-6) 0; }
.pk-checks li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-base); color: var(--fg-2); }
.pk-checks .pk-flist__ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success-strong); }
.pk-checks .pk-flist__ic svg { width: 14px; height: 14px; }
.pk-checks strong { color: var(--fg-1); display: block; }

/* Sample report visual (reuses scorecard tokens) */
.pk-report { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.pk-report__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border-subtle); background: var(--surface-2); }
.pk-report__head strong { font-family: var(--font-display); font-size: var(--text-md); color: var(--fg-1); }
.pk-report__body { padding: var(--space-6); display: grid; gap: var(--space-5); }
.pk-report__gaps { display: flex; flex-direction: column; gap: var(--space-3); }
.pk-gap { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-2); }
.pk-gap__dot { width: 10px; height: 10px; border-radius: 50%; }
.pk-gap__name { font-size: var(--text-sm); color: var(--fg-1); font-weight: var(--weight-medium); }
.pk-gap__tag { font-size: var(--text-2xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-wide); padding: 3px 9px; border-radius: var(--radius-full); }
.pk-gap__tag--bad { background: var(--danger-soft); color: var(--danger-strong); }
.pk-gap__tag--warn { background: var(--warning-soft); color: var(--warning-strong); }
.pk-gap__tag--ok { background: var(--success-soft); color: var(--success-strong); }

/* =============================================================================
   BLOG
   ============================================================================= */
.pk-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-10); }
.pk-filter { min-height: 44px; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--fg-2); padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface-1); transition: all var(--duration-fast) var(--ease-out); }
.pk-filter:hover { border-color: var(--peakzi-purple); color: var(--peakzi-purple); }
.pk-filter[data-active="true"] { background: var(--peakzi-navy-900); color: #fff; border-color: var(--peakzi-navy-900); }

.pk-featured { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: var(--space-12); }
.pk-featured__media { position: relative; min-height: 320px; align-self: stretch; }
.pk-featured__body { padding: clamp(28px, 4vw, 48px); }
.pk-featured__body h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; margin-bottom: var(--space-4); }
.pk-featured__body p { font-size: var(--text-md); margin-bottom: var(--space-6); }

.pk-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); align-items: stretch; }
.pk-postgrid > .reveal { display: flex; min-width: 0; }
.pk-post { display: flex; flex-direction: column; width: 100%; min-height: 100%; background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden; transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.pk-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pk-post__media { position: relative; aspect-ratio: 16 / 10; flex-shrink: 0; background: var(--surface-2); }
.pk-post__body { padding: var(--space-6); display: flex; flex-direction: column; flex-grow: 1; }
.pk-post__cat { font-size: var(--text-2xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--peakzi-purple); margin-bottom: var(--space-3); }
.pk-post__title { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-lg); line-height: 1.2; color: var(--fg-1); letter-spacing: var(--tracking-tight); margin-bottom: var(--space-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pk-post:hover .pk-post__title { color: var(--peakzi-purple); }
.pk-post__excerpt { font-size: var(--text-sm); color: var(--fg-2); line-height: var(--leading-normal); margin-bottom: var(--space-5); flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pk-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); font-size: var(--text-xs); color: var(--fg-3); border-top: 1px solid var(--border-subtle); padding-top: var(--space-4); margin-top: auto; }
.pk-post__meta .pk-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.pk-blog-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-blog-cover--contain { object-fit: contain; background: var(--surface-2); }
.pk-blog-status { margin-bottom: var(--space-6); padding: var(--space-4) var(--space-5); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-subtle); color: var(--fg-2); font-size: var(--text-sm); line-height: var(--leading-normal); }
.pk-blog-empty { max-width: 680px; margin: 0 auto; padding: clamp(32px, 6vw, 72px); text-align: center; border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); background: var(--surface-1); box-shadow: var(--shadow-md); }
.pk-blog-empty .peakzi-eyebrow { display: block; margin-bottom: var(--space-4); }
.pk-blog-empty h2 { margin-bottom: var(--space-4); }
.pk-blog-empty p { margin: 0 auto; max-width: 46ch; color: var(--fg-2); font-size: var(--text-lg); }

/* media placeholder with gradient wash for blog imagery */
.pk-imgph { position: absolute; inset: 0; background: var(--gradient-brand); overflow: hidden; }
.pk-imgph::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / 0.08) 0, rgb(255 255 255 / 0.08) 12px, transparent 12px, transparent 24px); }
.pk-imgph--alt { background: var(--gradient-navy-fade); }
.pk-imgph--dawn { background: var(--gradient-dawn); }
.pk-imgph__label { position: absolute; left: var(--space-4); bottom: var(--space-4); z-index: 2; font-family: var(--font-mono); font-size: var(--text-2xs); color: rgb(255 255 255 / 0.92); background: rgb(12 11 46 / 0.4); border: 1px solid rgb(255 255 255 / 0.25); padding: 5px 9px; border-radius: var(--radius-sm); backdrop-filter: blur(4px); }

/* =============================================================================
   ARTICLE (blog post)
   ============================================================================= */
.pk-article { max-width: 760px; margin-inline: auto; }
.pk-article__head { max-width: 760px; margin: 0 auto var(--space-10); text-align: center; }
.pk-article__head .pk-post__cat { display: inline-block; }
.pk-article__head h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: var(--tracking-tighter); margin-bottom: var(--space-6); }
.pk-byline { display: inline-flex; align-items: center; gap: var(--space-3); justify-content: center; }
.pk-byline__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-xs);
}
.pk-byline__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-byline__name { font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--fg-1); text-align: left; }
.pk-byline__meta { font-size: var(--text-xs); color: var(--fg-3); text-align: left; }
.pk-article__cover { aspect-ratio: 21 / 9; border-radius: var(--radius-2xl); position: relative; overflow: hidden; margin-bottom: var(--space-12); box-shadow: var(--shadow-lg); }
.pk-article__cover--natural { aspect-ratio: auto; background: var(--surface-2); }
.pk-article__cover--natural .pk-blog-cover--natural { position: static; inset: auto; display: block; width: 100%; height: auto; object-fit: contain; }
.pk-prose { min-width: 0; font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--fg-2); overflow-wrap: anywhere; }
.pk-prose > * + * { margin-top: var(--space-5); }
.pk-prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: var(--space-12); margin-bottom: var(--space-2); color: var(--fg-1); }
.pk-prose h3 { font-size: var(--text-xl); margin-top: var(--space-8); color: var(--fg-1); }
.pk-prose strong { color: var(--fg-1); }
.pk-prose a { color: var(--fg-link); font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; word-break: break-word; }
.pk-prose a:hover { color: var(--peakzi-purple); }
.pk-prose ul { display: flex; flex-direction: column; gap: var(--space-3); padding-left: var(--space-5); list-style: none; }
.pk-prose ul li { position: relative; }
.pk-prose ul li::before { content: ""; position: absolute; left: calc(-1 * var(--space-5)); top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: var(--gradient-brand); }
.pk-prose blockquote { margin: var(--space-8) 0; padding: var(--space-2) 0 var(--space-2) var(--space-6); border-left: 3px solid var(--peakzi-purple); font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-xl); line-height: var(--leading-snug); color: var(--fg-1); letter-spacing: var(--tracking-tight); }
.pk-prose ol { display: flex; flex-direction: column; gap: var(--space-3); padding-left: var(--space-6); list-style: decimal; }
.pk-prose figure { margin: var(--space-8) 0; }
.pk-prose figure img, .pk-rich-gallery img { display: block; width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.pk-prose figcaption { margin-top: var(--space-3); text-align: center; font-size: var(--text-sm); color: var(--fg-3); }
.pk-prose hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-10) 0; }
.pk-rich-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-8) 0; }
.pk-rich-embed { margin: var(--space-8) 0; }
.pk-rich-embed iframe { width: 100%; max-width: 100%; border: 0; border-radius: var(--radius-xl); }
.pk-rich-table-wrap { max-width: 100%; margin: var(--space-8) 0; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface-1); -webkit-overflow-scrolling: touch; }
.pk-rich-table-wrap:focus-visible { outline: 3px solid var(--ring-focus); outline-offset: 3px; }
.pk-rich-table { width: max-content; min-width: 100%; border-collapse: collapse; color: var(--fg-2); font-size: var(--text-sm); }
.pk-rich-table th, .pk-rich-table td { min-width: 132px; padding: var(--space-3) var(--space-4); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.pk-rich-table tr:last-child > * { border-bottom: 0; }
.pk-rich-table tr > *:last-child { border-right: 0; }
.pk-rich-table th { color: var(--fg-1); background: var(--bg-subtle); font-weight: var(--weight-semibold); }
.pk-rich-table p { margin: 0; }
.pk-prose pre { max-width: 100%; padding: var(--space-5); overflow-x: auto; border-radius: var(--radius-lg); background: var(--peakzi-navy-950); color: #fff; -webkit-overflow-scrolling: touch; }
.pk-prose pre code { padding: 0; background: transparent; color: inherit; white-space: pre; }
.pk-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--space-8) 0; }
.pk-stat-row__item { padding: var(--space-5); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-2); }
.pk-stat-row__num { font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: var(--text-3xl); line-height: 1; background: var(--gradient-brand); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pk-stat-row__cap { font-size: var(--text-sm); color: var(--fg-2); margin-top: var(--space-2); }
.pk-article__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.pk-tag { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--fg-2); padding: 5px var(--space-3); border-radius: var(--radius-full); background: var(--bg-muted); }

/* =============================================================================
   PODCAST
   ============================================================================= */
.pk-episode-feat { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--peakzi-navy-950); border-radius: var(--radius-2xl); overflow: hidden; padding: clamp(28px, 4vw, 48px); position: relative; }
.pk-episode-feat__glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(100px); opacity: 0.4; background: radial-gradient(circle, rgb(160 112 240 / 0.6), transparent 70%); top: -160px; right: -80px; }
.pk-episode-feat__art { position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.pk-episode-feat__body { position: relative; color: #fff; }
.pk-episode-feat__body .peakzi-eyebrow { color: var(--peakzi-pink-soft); display: block; margin-bottom: var(--space-3); }
.pk-episode-feat__body h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; margin-bottom: var(--space-4); }
.pk-episode-feat__body p { color: var(--peakzi-navy-300); margin-bottom: var(--space-6); }
.pk-player { display: flex; align-items: center; gap: var(--space-4); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius-full); padding: var(--space-3); }
.pk-player__play { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: grid; place-items: center; }
.pk-player__play svg { width: 20px; height: 20px; }
.pk-player__bar { flex-grow: 1; height: 5px; border-radius: var(--radius-full); background: rgb(255 255 255 / 0.16); position: relative; }
.pk-player__bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 34%; border-radius: var(--radius-full); background: var(--gradient-brand); }
.pk-player__time { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--peakzi-navy-300); flex-shrink: 0; }
.pk-audio { width: 100%; margin-bottom: var(--space-5); accent-color: var(--peakzi-purple); }
.pk-link--light { color: #fff; }
.pk-link--light:hover { color: var(--peakzi-pink-soft); }

.pk-eplist { display: flex; flex-direction: column; gap: var(--space-4); }
.pk-eprow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--space-5); align-items: start; padding: var(--space-5); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); background: var(--surface-1); transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.pk-eprow:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pk-eprow__art { width: 64px; height: 64px; border-radius: var(--radius-md); position: relative; overflow: hidden; }
.pk-eprow__content { min-width: 0; }
.pk-eprow__num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-3); }
.pk-eprow__title { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-md); color: var(--fg-1); margin: 2px 0; }
.pk-eprow__meta { font-size: var(--text-xs); color: var(--fg-3); }
.pk-eprow__summary { margin-top: var(--space-3); color: var(--fg-2); font-size: var(--text-sm); line-height: var(--leading-normal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-eprow__audio { width: 100%; margin-top: var(--space-4); accent-color: var(--peakzi-purple); }
.pk-eprow__link { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); color: var(--fg-link); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.pk-eprow__link:hover { color: var(--peakzi-purple); }
.pk-eprow__play { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--fg-1); transition: all var(--duration-fast) var(--ease-out); }
.pk-eprow__play:hover { background: var(--peakzi-purple); color: #fff; border-color: var(--peakzi-purple); }
.pk-eprow__play svg { width: 16px; height: 16px; }
.pk-subscribe { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.pk-subscribe a { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-radius: var(--radius-full); border: 1px solid var(--border); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--fg-1); background: var(--surface-1); transition: all var(--duration-fast) var(--ease-out); }
.pk-subscribe a:hover { border-color: var(--peakzi-purple); color: var(--peakzi-purple); transform: translateY(-2px); }
.pk-subscribe svg { width: 18px; height: 18px; }
.pk-showmore { display: flex; justify-content: center; margin-top: var(--space-8); }
.pk-showmore__button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: var(--space-4) var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--surface-1); color: var(--fg-1); font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); }
.pk-showmore__button:hover { transform: translateY(-2px); border-color: var(--peakzi-purple); color: var(--peakzi-purple); box-shadow: var(--shadow-md); }

/* =============================================================================
   PRICING
   ============================================================================= */
.pk-toggle { display: inline-flex; align-items: center; gap: var(--space-3); background: var(--bg-muted); padding: 5px; border-radius: var(--radius-full); margin: 0 auto var(--space-10); }
.pk-toggle button { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--fg-2); padding: var(--space-2) var(--space-5); border-radius: var(--radius-full); transition: all var(--duration-fast) var(--ease-out); }
.pk-toggle button[data-active="true"] { background: var(--surface-1); color: var(--fg-1); box-shadow: var(--shadow-sm); }
.pk-toggle__save { font-size: var(--text-2xs); font-weight: var(--weight-bold); color: var(--success-strong); background: var(--success-soft); padding: 2px 8px; border-radius: var(--radius-full); }

.pk-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: start; }
.pk-tier { display: flex; flex-direction: column; background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); padding: var(--space-8); position: relative; }
.pk-tier--feat { border-color: transparent; box-shadow: var(--shadow-xl); outline: 2px solid var(--peakzi-purple); }
.pk-tier__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: var(--text-2xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: #fff; background: var(--gradient-brand); padding: 5px var(--space-4); border-radius: var(--radius-full); box-shadow: var(--shadow-glow-brand); }
.pk-tier__name { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xl); color: var(--fg-1); }
.pk-tier__desc { font-size: var(--text-sm); color: var(--fg-2); margin: var(--space-2) 0 var(--space-6); min-height: 40px; }
.pk-tier__price { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-6); }
.pk-tier__amt { font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: var(--text-4xl); letter-spacing: var(--tracking-tighter); color: var(--fg-1); }
.pk-tier__per { font-size: var(--text-sm); color: var(--fg-3); }
.pk-tier__cta { margin-bottom: var(--space-6); }
.pk-tier__cta .pk-btn { width: 100%; }
.pk-tier__feats { display: flex; flex-direction: column; gap: var(--space-3); }
.pk-tier__feats li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--fg-2); }
.pk-tier__feats svg { width: 18px; height: 18px; color: var(--success-strong); flex-shrink: 0; margin-top: 1px; }

/* =============================================================================
   TOOL RESULT CARDS (price check / coupons)
   ============================================================================= */
.pk-toolcard { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.pk-price-result { padding: var(--space-8); }
.pk-price-result__job { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.pk-price-result__job h3 { font-size: var(--text-xl); }
.pk-price-result__loc { font-size: var(--text-sm); color: var(--fg-3); }
.pk-pricebar { position: relative; height: 14px; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--success) 0%, var(--warning) 55%, var(--danger) 100%); margin: var(--space-8) 0 var(--space-6); }
.pk-pricebar__pin { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--peakzi-navy-900); box-shadow: var(--shadow-md); }
.pk-pricebar__label { position: absolute; top: -28px; transform: translateX(-50%); font-family: var(--font-mono); font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--fg-1); white-space: nowrap; }
.pk-pricerange { display: flex; justify-content: space-between; font-size: var(--text-sm); }
.pk-pricerange__item { text-align: center; }
.pk-pricerange__item span { display: block; font-size: var(--text-xs); color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.pk-pricerange__item strong { font-family: var(--font-display); font-size: var(--text-lg); color: var(--fg-1); }
.pk-pricerange__item--mid strong { color: var(--peakzi-purple); }

.pk-coupons { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.pk-coupon { display: grid; grid-template-columns: 1fr auto; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-1); transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.pk-coupon:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pk-coupon__body { padding: var(--space-6); }
.pk-coupon__amt { font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: var(--text-3xl); letter-spacing: var(--tracking-tighter); background: var(--gradient-brand); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pk-coupon__for { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--fg-1); margin: var(--space-1) 0; }
.pk-coupon__co { font-size: var(--text-xs); color: var(--fg-3); }
.pk-coupon__verified { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-2xs); font-weight: var(--weight-bold); color: var(--success-strong); margin-top: var(--space-3); }
.pk-coupon__verified svg { width: 13px; height: 13px; }
.pk-coupon__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-5); background: var(--surface-3); border-left: 2px dashed var(--border-strong); position: relative; }
.pk-coupon__code { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--fg-1); letter-spacing: var(--tracking-wide); }

/* =============================================================================
   ABOUT
   ============================================================================= */
.pk-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.pk-member__av { aspect-ratio: 1; border-radius: var(--radius-xl); position: relative; overflow: hidden; margin-bottom: var(--space-4); }
.pk-member__name { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-md); color: var(--fg-1); }
.pk-member__role { font-size: var(--text-sm); color: var(--fg-3); }
.pk-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.pk-bigstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.pk-bigstats__num { font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: var(--tracking-tighter); color: var(--fg-1); }
.pk-bigstats__num em { font-style: normal; background: var(--gradient-brand); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pk-bigstats__cap { font-size: var(--text-base); color: var(--fg-2); margin-top: var(--space-2); }

/* =============================================================================
   CONTACT / SPLIT LAYOUTS (auth, contact)
   ============================================================================= */
.pk-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pk-contact-aside { display: flex; flex-direction: column; gap: var(--space-6); }
.pk-contact-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.pk-contact-item__ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--peakzi-navy-100); color: var(--peakzi-purple); }
.pk-contact-item__ic svg { width: 20px; height: 20px; }
.pk-contact-item h4 { font-family: var(--font-display); margin-bottom: 2px; }
.pk-contact-item p, .pk-contact-item a { font-size: var(--text-sm); color: var(--fg-2); }
.pk-contact-item a:hover { color: var(--peakzi-purple); }

/* AUTH split full-height */
.pk-auth { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.pk-auth__form { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 80px) var(--space-6); }
.pk-auth__inner { width: 100%; max-width: 400px; }
.pk-auth__inner h1 { font-size: var(--text-3xl); margin-bottom: var(--space-2); }
.pk-auth__inner > p { margin-bottom: var(--space-8); }
.pk-auth__brand { position: relative; overflow: hidden; background: var(--gradient-dawn); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 80px); color: #fff; }
.pk-auth__brand-noise { position: absolute; inset: 0; opacity: 0.5; background: radial-gradient(circle at 20% 20%, rgb(255 255 255 / 0.18), transparent 40%), radial-gradient(circle at 80% 80%, rgb(235 85 255 / 0.4), transparent 45%); }
.pk-auth__brand-inner { position: relative; z-index: 1; max-width: 420px; }
.pk-auth__brand h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: var(--space-5); }
.pk-auth__brand p { color: rgb(255 255 255 / 0.85); font-size: var(--text-lg); margin-bottom: var(--space-8); }
.pk-auth__brand-quote { border-left: 3px solid rgb(255 255 255 / 0.5); padding-left: var(--space-5); }
.pk-auth__brand-quote p { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-xl); color: #fff; margin-bottom: var(--space-3); }
.pk-auth__brand-quote span { font-size: var(--text-sm); color: rgb(255 255 255 / 0.75); }
.pk-divider { display: flex; align-items: center; gap: var(--space-4); margin: var(--space-6) 0; color: var(--fg-4); font-size: var(--text-xs); }
.pk-divider::before, .pk-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pk-oauth { display: flex; flex-direction: column; gap: var(--space-3); }
.pk-oauth button { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 12px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-1); font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--fg-1); transition: all var(--duration-fast) var(--ease-out); }
.pk-oauth button:hover { border-color: var(--border-strong); background: var(--surface-2); }
.pk-oauth button svg { width: 18px; height: 18px; flex-shrink: 0; }
.pk-oauth__mark { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; background: var(--bg-muted); color: var(--fg-1); flex-shrink: 0; }
.pk-auth__switch { font-size: var(--text-sm); color: var(--fg-3); text-align: center; margin-top: var(--space-6); }
.pk-auth__switch button { color: var(--peakzi-purple); font-weight: var(--weight-semibold); }

/* =============================================================================
   DEMO
   ============================================================================= */
.pk-demo { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pk-demo__list { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-6); }
.pk-demo__li { display: flex; gap: var(--space-4); }
.pk-demo__li-ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--success-soft); color: var(--success-strong); display: grid; place-items: center; }
.pk-demo__li-ic svg { width: 16px; height: 16px; }
.pk-demo__li strong { display: block; color: var(--fg-1); margin-bottom: 2px; }
.pk-demo__li span { font-size: var(--text-sm); color: var(--fg-2); }
.pk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.pk-slot { text-align: center; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--fg-1); padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); transition: all var(--duration-fast) var(--ease-out); }
.pk-slot:hover, .pk-slot[data-active="true"] { border-color: var(--peakzi-purple); color: var(--peakzi-purple); background: rgb(160 112 240 / 0.06); }

/* =============================================================================
   LEGAL
   ============================================================================= */
.pk-legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pk-legal__nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--space-1); }
.pk-legal__nav button, .pk-legal__nav a { display: block; text-align: left; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--fg-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); transition: all var(--duration-fast) var(--ease-out); }
.pk-legal__nav button:hover, .pk-legal__nav a:hover { background: var(--bg-subtle); color: var(--fg-1); }
.pk-legal__nav button[data-active="true"], .pk-legal__nav a[data-active="true"] { background: var(--peakzi-navy-100); color: var(--peakzi-purple); }
.pk-legal__doc h2 { margin-bottom: var(--space-2); }
.pk-legal__updated { font-size: var(--text-sm); color: var(--fg-3); margin-bottom: var(--space-8); }
.pk-legal__doc h3 { margin: var(--space-8) 0 var(--space-3); color: var(--fg-1); }
.pk-legal__doc p { margin-bottom: var(--space-4); font-size: var(--text-base); }
.pk-legal__doc ul { display: flex; flex-direction: column; gap: var(--space-2); padding-left: var(--space-5); margin-bottom: var(--space-4); list-style: disc; color: var(--fg-2); }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 980px) {
  .pk-phero--split .pk-phero__inner { grid-template-columns: 1fr; }
  .pk-grid-3, .pk-team, .pk-values, .pk-bigstats, .pk-tiers, .pk-postgrid, .pk-stat-row { grid-template-columns: 1fr 1fr; }
  .pk-featured, .pk-episode-feat, .pk-demo, .pk-split, .pk-grid-2, .pk-coupons { grid-template-columns: 1fr; }
  .pk-legal { grid-template-columns: 1fr; }
  .pk-legal__nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .pk-auth { grid-template-columns: 1fr; }
  .pk-auth__brand { display: none; }
}
@media (max-width: 620px) {
  .pk-grid-3, .pk-team, .pk-values, .pk-bigstats, .pk-tiers, .pk-postgrid, .pk-stat-row, .pk-coupons { grid-template-columns: 1fr; }
  .pk-field-row { grid-template-columns: 1fr; }
  .pk-claim-form-frame { min-height: 980px !important; }
  .pk-eprow { grid-template-columns: 48px 1fr; }
  .pk-eprow__art { width: 48px; height: 48px; }
  .pk-eprow__play { display: none; }
  .pk-slots { grid-template-columns: repeat(2, 1fr); }
  .pk-problem__inner { padding: 28px 22px; }
  .pk-problem { border-radius: var(--radius-2xl); }
  .pk-report__head { align-items: flex-start; flex-wrap: wrap; gap: var(--space-3); }
  .pk-report__body { padding: var(--space-5); }
  .pk-report .pk-ring-wrap { align-items: flex-start; flex-direction: column; gap: var(--space-4); }
  .pk-rich-gallery { grid-template-columns: 1fr; }
  .pk-coupon { grid-template-columns: 1fr; }
  .pk-coupon__side { flex-direction: row; border-top: 2px dashed var(--border-strong); border-left: 0; }
  .pk-contact-item > div { min-width: 0; }
  .pk-contact-item a { overflow-wrap: anywhere; }
  .pk-card, .pk-step { padding: var(--space-6); }
}
