/* ============================================================================
   pack-pages.css
   Shared styles for the two product landing pages:
     /practice-tests   (body.pk-tests)
     /interview-prep     (body.pk-interview)
   Loaded after style.css and relies on its design tokens (--navy, --gold,
   --green, --border, --ground, --font-head). Every rule is prefixed pk- so it
   cannot collide with the app, blog or CTA (pcta-) styles.
   ========================================================================== */

body.pk-page { background: #fff; overflow-y: auto !important; display: block; color: #1B2430; font-family: 'Inter', sans-serif; }
body.pk-tests     { --pk-accent: #0F7B55; --pk-accent-dark: #0B5E41; --pk-accent-soft: #E8F7F1; }
body.pk-interview { --pk-accent: #AA4600; --pk-accent-dark: #843600; --pk-accent-soft: #FBEEE3; }

.pk-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.pk-page h1, .pk-page h2, .pk-page h3 { font-family: var(--font-head, 'Bricolage Grotesque', 'Inter', sans-serif); color: var(--navy, #0D2347); letter-spacing: -0.01em; }
.pk-page p { font-family: 'Inter', sans-serif; }

/* ---- Top bar ------------------------------------------------------------ */
.pk-topbar { background: #0D2347; }
.pk-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: 1080px; margin: 0 auto; }
.pk-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--font-head, 'Inter', sans-serif); font-weight: 700; font-size: 15px; }
.pk-brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.pk-topbar nav { display: flex; gap: 20px; }
.pk-topbar nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 13px; font-weight: 500; }
.pk-topbar nav a:hover { color: #fff; }
@media (max-width: 640px) { .pk-topbar nav { display: none; } }

/* ---- Hero --------------------------------------------------------------- */
.pk-hero { background: #0D2347; color: #fff; padding: 48px 0 0; border-bottom: 4px solid var(--pk-accent); }
.pk-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.pk-hero-text { padding-bottom: 48px; }
.pk-eyebrow { display: inline-block; color: #D4AF37; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 12px; margin-bottom: 14px; }
.pk-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; margin: 0 0 16px; }
.pk-hero-sub { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.6; margin: 0 0 26px; max-width: 540px; }
.pk-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pk-btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 50px; font-family: 'Inter', sans-serif; border: 2px solid transparent; cursor: pointer; transition: transform 0.12s, background 0.12s; }
.pk-btn:hover { transform: translateY(-1px); }
.pk-btn-primary { background: #D4AF37; color: #0D2347; }
.pk-btn-primary:hover { background: #E0BC4A; }
.pk-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.pk-btn-ghost:hover { border-color: #fff; }
.pk-btn-accent { background: var(--pk-accent); color: #fff; }
.pk-btn-accent:hover { background: var(--pk-accent-dark); }
.pk-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgba(255,255,255,0.7); font-size: 13px; }
.pk-trust li::before { content: "\2713"; color: #D4AF37; font-weight: 700; margin-right: 7px; }
.pk-hero-shot { align-self: end; }
.pk-hero-shot img { display: block; width: 100%; height: auto; max-width: 400px; margin: 0 auto; border-radius: 14px 14px 0 0; box-shadow: 0 -4px 40px rgba(0,0,0,0.35); }
@media (max-width: 820px) {
    .pk-hero { padding-top: 36px; }
    .pk-hero-grid { grid-template-columns: 1fr; gap: 0; }
    .pk-hero-text { padding-bottom: 32px; }
    .pk-hero-shot img { max-width: 300px; }
}

/* ---- Breadcrumb --------------------------------------------------------- */
.pk-crumbs { font-size: 12.5px; color: #94a3b8; padding: 18px 0 0; }
.pk-crumbs a { color: #64748b; text-decoration: none; }
.pk-crumbs a:hover { color: var(--navy, #0D2347); }

/* ---- Sections ----------------------------------------------------------- */
.pk-section { padding: 56px 0; }
.pk-section-tint { background: #F4F5F7; }
.pk-section-head { max-width: 680px; margin: 0 0 32px; }
.pk-section-head.pk-center { margin-left: auto; margin-right: auto; text-align: center; }
.pk-section h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 10px; }
.pk-section-head p { color: #5A6472; font-size: 16px; line-height: 1.65; margin: 0; }
.pk-kicker { display: block; color: var(--pk-accent); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; font-size: 12px; margin-bottom: 8px; }

/* ---- Stat tiles --------------------------------------------------------- */
.pk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pk-stat { background: #fff; border: 1px solid var(--border, #E4E7EE); border-top: 3px solid var(--pk-accent); border-radius: 12px; padding: 20px 18px; }
.pk-stat b { display: block; font-family: var(--font-head, 'Inter', sans-serif); font-size: 36px; line-height: 1; color: var(--navy, #0D2347); margin-bottom: 8px; }
.pk-stat span { font-size: 14px; color: #5A6472; line-height: 1.45; display: block; }
@media (max-width: 820px) { .pk-stats { grid-template-columns: 1fr 1fr; } }

/* ---- Steps -------------------------------------------------------------- */
.pk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: pkstep; }
.pk-step { background: #fff; border: 1px solid var(--border, #E4E7EE); border-radius: 14px; padding: 22px 20px; counter-increment: pkstep; }
.pk-step::before { content: counter(pkstep); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pk-accent); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.pk-step h3 { font-size: 18px; margin: 0 0 8px; }
.pk-step p { font-size: 14.5px; line-height: 1.6; color: #5A6472; margin: 0; }
@media (max-width: 820px) { .pk-steps { grid-template-columns: 1fr; } }

/* ---- Feature rows (text + screenshot) ----------------------------------- */
.pk-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 28px 0; }
.pk-feature + .pk-feature { border-top: 1px solid var(--border, #E4E7EE); }
.pk-feature.pk-flip .pk-feature-shot { order: -1; }
.pk-feature h3 { font-size: 24px; line-height: 1.2; margin: 0 0 12px; }
.pk-feature p { font-size: 15.5px; line-height: 1.7; color: #3d4756; margin: 0 0 12px; }
.pk-feature ul { padding-left: 18px; margin: 0; color: #3d4756; font-size: 15px; line-height: 1.7; }
.pk-feature li { margin-bottom: 4px; }
.pk-feature-shot { text-align: center; margin: 0; }
.pk-feature-shot img { width: 100%; max-width: 400px; height: auto; border-radius: 14px; border: 1px solid var(--border, #E4E7EE); box-shadow: 0 8px 30px rgba(13,35,71,0.12); background: #fff; }
.pk-feature-shot figcaption { font-size: 12.5px; color: #8590a0; margin-top: 10px; }
@media (max-width: 820px) {
    .pk-feature { grid-template-columns: 1fr; gap: 22px; padding: 24px 0; }
    .pk-feature.pk-flip .pk-feature-shot { order: 0; }
}

/* ---- Free sample -------------------------------------------------------- */
.pk-sample { background: #fff; border: 2px solid var(--pk-accent); border-radius: 16px; padding: 28px 24px; }
.pk-sample-badge { display: inline-block; background: var(--pk-accent-soft); color: var(--pk-accent-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 11px; border-radius: 20px; margin-bottom: 10px; }
.pk-sample h3 { font-size: 21px; margin: 0 0 6px; }
.pk-sample-intro { font-size: 14.5px; color: #5A6472; line-height: 1.6; margin: 0 0 20px; }
.pk-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pk-tab { border: 1.5px solid var(--border-mid, #C8CDD8); background: #fff; color: #3d4756; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 50px; cursor: pointer; }
.pk-tab[aria-selected="true"] { background: #0D2347; border-color: #0D2347; color: #fff; }
.pk-panel[hidden] { display: none; }
.pk-box { background: #EEF1F7; border-radius: 10px; padding: 16px 18px; font-size: 15px; line-height: 1.65; color: #1B2430; margin-bottom: 16px; }
.pk-tag { display: inline-block; background: #FDF5DC; border: 1px solid #F0D98C; color: #7a5a00; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.pk-table-wrap { overflow-x: auto; margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.pk-table { border-collapse: collapse; width: 100%; min-width: 340px; font-size: 14px; }
.pk-table th { background: #0D2347; color: #fff; text-align: left; padding: 9px 12px; font-size: 13px; font-weight: 600; }
.pk-table td { padding: 8px 12px; border-bottom: 1px solid var(--border, #E4E7EE); color: #334155; }
.pk-table tbody tr:nth-child(even) { background: #F8FAFC; }
.pk-q { border-top: 1px solid var(--border, #E4E7EE); padding: 16px 0 6px; }
.pk-q-text { font-size: 15px; line-height: 1.55; margin: 0 0 12px; color: #1B2430; }
.pk-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-opt { border: 2px solid var(--border-mid, #C8CDD8); background: #fff; color: #1B2430; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 8px; cursor: pointer; }
.pk-opt:hover:not(:disabled) { border-color: var(--pk-accent); }
.pk-opt:disabled { cursor: default; }
.pk-opt.pk-right { background: #D1FAE5; border-color: #059669; color: #065f46; }
.pk-opt.pk-wrong { background: #FEE2E2; border-color: #DC2626; color: #991B1B; }
.pk-opt.pk-reveal { border-color: #059669; color: #065f46; }
.pk-opt.pk-picked { background: #0D2347; border-color: #0D2347; color: #fff; }
.pk-fb { display: none; margin-top: 10px; padding: 11px 14px; border-radius: 8px; font-size: 14px; line-height: 1.55; }
.pk-fb.pk-show { display: block; }
.pk-fb.pk-right { background: #D1FAE5; color: #065f46; border-left: 3px solid #059669; }
.pk-fb.pk-wrong { background: #FEE2E2; color: #991B1B; border-left: 3px solid #DC2626; }
.pk-sjt-opt { border: 1px solid var(--border, #E4E7EE); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.pk-sjt-opt p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; color: #1B2430; }
.pk-sjt-opt p b { color: var(--navy, #0D2347); margin-right: 4px; }
.pk-check { margin-top: 4px; }
.pk-sample-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border, #E4E7EE); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.pk-sample-foot p { margin: 0; font-size: 14px; color: #5A6472; max-width: 520px; line-height: 1.55; }

/* interview sample */
.pk-field { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.pk-field label { font-size: 12px; font-weight: 700; color: #5A6472; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 6px; }
.pk-select { font-family: 'Inter', sans-serif; font-size: 15px; padding: 10px 12px; border: 1.5px solid var(--border-mid, #C8CDD8); border-radius: 8px; background: #fff; color: #1B2430; min-width: 200px; max-width: 100%; }
.pk-quote { border-left: 4px solid #D4AF37; padding: 4px 0 4px 16px; margin: 0 0 16px; font-style: italic; font-size: 16px; line-height: 1.6; color: #1B2430; }
.pk-checklist { list-style: none; padding: 0; margin: 0; border: 1px solid var(--border, #E4E7EE); border-radius: 10px; overflow: hidden; }
.pk-checklist li { padding: 11px 14px 11px 44px; position: relative; font-size: 14.5px; line-height: 1.55; border-bottom: 1px dashed var(--border, #E4E7EE); cursor: pointer; }
.pk-checklist li:last-child { border-bottom: none; }
.pk-checklist li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 17px; height: 17px; border: 2px solid #0D2347; border-radius: 4px; background: #fff; }
.pk-checklist li.pk-done::before { background: var(--pk-accent); border-color: var(--pk-accent); box-shadow: inset 0 0 0 3px #fff; }
.pk-checklist-label { font-size: 12px; font-weight: 700; color: #5A6472; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 8px; }

/* ---- Fit (for / not for) ------------------------------------------------ */
.pk-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pk-fit-card { background: #fff; border: 1px solid var(--border, #E4E7EE); border-radius: 14px; padding: 24px 22px; }
.pk-fit-card h3 { font-size: 18px; margin: 0 0 12px; }
.pk-fit-card ul { margin: 0; padding-left: 18px; color: #3d4756; font-size: 14.5px; line-height: 1.7; }
.pk-fit-card li { margin-bottom: 6px; }
.pk-fit-card.pk-fit-yes { border-top: 3px solid var(--pk-accent); }
.pk-fit-card.pk-fit-no  { border-top: 3px solid #94a3b8; }
@media (max-width: 820px) { .pk-fit { grid-template-columns: 1fr; } }

/* ---- FAQ ---------------------------------------------------------------- */
.pk-faq { max-width: 780px; }
.pk-faq details { border-bottom: 1px solid var(--border, #E4E7EE); padding: 4px 0; }
.pk-faq summary { cursor: pointer; list-style: none; font-family: var(--font-head, 'Inter', sans-serif); font-weight: 600; font-size: 17px; color: var(--navy, #0D2347); padding: 16px 32px 16px 0; position: relative; }
.pk-faq summary::-webkit-details-marker { display: none; }
.pk-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--pk-accent); font-weight: 400; }
.pk-faq details[open] summary::after { content: "\2212"; }
.pk-faq details p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: #3d4756; }
.pk-faq details a { color: var(--pk-accent-dark); }

/* ---- Final CTA ---------------------------------------------------------- */
.pk-final { background: #0D2347; color: #fff; border-top: 4px solid var(--pk-accent); padding: 56px 0; text-align: center; }
.pk-final h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 12px; }
.pk-final p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 auto 24px; }
.pk-final .pk-note { font-size: 12.5px; color: rgba(255,255,255,0.55); margin: 22px auto 0; max-width: 620px; line-height: 1.55; }

/* ---- Related ------------------------------------------------------------ */
.pk-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pk-related a { display: block; background: #fff; border: 1px solid var(--border, #E4E7EE); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: #1B2430; font-size: 14.5px; line-height: 1.45; font-weight: 500; transition: border-color 0.12s; }
.pk-related a:hover { border-color: var(--pk-accent); }
.pk-related small { display: block; color: #B8860B; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
@media (max-width: 820px) { .pk-related { grid-template-columns: 1fr; } }

/* ---- Footer ------------------------------------------------------------- */
.pk-footer { text-align: center; padding: 36px 20px 90px; color: #94a3b8; font-size: 12.5px; border-top: 1px solid #eee; }
.pk-footer a { color: #0F2C59; text-decoration: none; font-weight: 600; }

/* ---- Sticky mobile buy bar --------------------------------------------- */
.pk-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--border, #E4E7EE); box-shadow: 0 -4px 20px rgba(13,35,71,0.12); padding: 10px 16px; display: none; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform 0.2s; }
.pk-sticky.pk-visible { transform: translateY(0); }
.pk-sticky span { font-family: var(--font-head, 'Inter', sans-serif); font-weight: 700; font-size: 14px; color: var(--navy, #0D2347); line-height: 1.25; }
.pk-sticky .pk-btn { padding: 11px 20px; font-size: 14px; white-space: nowrap; }
@media (max-width: 820px) { .pk-sticky { display: flex; } }
