/* FAQ, Help Center, help articles, Privacy Policy and Terms — same brand system as the homepage. */
.pg { color: var(--pk-ink); padding-bottom: 88px; }
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }
.pg-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pg-narrow { max-width: 860px; }

/* Hero band */
.pg-hero { position: relative; overflow: hidden; padding: 56px 0 48px; margin-bottom: 40px; border-bottom: 1px solid var(--pk-line); }
.pg-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 70% at 8% 0%, rgba(214,40,57,.12), transparent 70%),
              radial-gradient(40% 70% at 92% 10%, rgba(78,92,179,.14), transparent 70%); }
.pg-hero > * { position: relative; }
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--pk-muted); margin-bottom: 18px; }
.pg-crumbs a { color: var(--pk-muted); text-decoration: none; }
.pg-crumbs a:hover { color: var(--pk-accent); }
.pg-crumbs span[aria-hidden] { color: var(--pk-faint); }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pk-accent); margin-bottom: 12px; }
.pg-eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--pk-grad); }
.pg-hero h1 { font: 700 clamp(32px, 4.4vw, 52px)/1.08 'Fraunces', Georgia, serif; letter-spacing: -.025em; margin: 0 0 12px; }
.pg-hero h1 em { font-style: italic; background: var(--pk-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 3px; }
.pg-hero p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--pk-muted); max-width: 640px; }
.pg-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pg-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--pk-card); border: 1px solid var(--pk-line); font-size: 12.5px; font-weight: 600; color: var(--pk-ink-2); }
.pg-meta svg { width: 14px; height: 14px; color: var(--pk-accent); }

/* Search */
.pg-search { display: flex; gap: 8px; max-width: 620px; margin-top: 26px; padding: 6px; border-radius: 16px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); }
.pg-search:focus-within { border-color: var(--pk-accent); box-shadow: 0 0 0 4px rgba(214,40,57,.12); }
.pg-search svg { width: 20px; height: 20px; color: var(--pk-faint); align-self: center; margin-left: 10px; flex-shrink: 0; }
.pg-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; color: var(--pk-ink); font: inherit; font-size: 16px; padding: 0 4px; }
.pg-search button { height: 46px; padding: 0 20px; border: none; border-radius: 12px; background: var(--pk-grad); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* Chips */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.pg-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--pk-line); background: var(--pk-card); font-size: 13.5px; font-weight: 600; color: var(--pk-ink-2); text-decoration: none; }
.pg-chips a:hover { border-color: var(--pk-accent); color: var(--pk-accent); }
.pg-chips a em { font-style: normal; color: var(--pk-faint); font-weight: 700; }

/* FAQ */
.pg-faq-group { margin-bottom: 34px; scroll-margin-top: 90px; }
.pg-faq-group h2 { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pk-muted); margin: 0 0 12px; }
.pg-faq-group h2 i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(214,40,57,.1); color: var(--pk-accent); font-style: normal; }
.pg-faq-group h2 i svg { width: 15px; height: 15px; }
.pg-acc { border: 1px solid var(--pk-line); border-radius: 16px; background: var(--pk-card); overflow: hidden; box-shadow: var(--pk-shadow); }
.pg-acc details + details { border-top: 1px solid var(--pk-line); }
.pg-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 15.5px; font-weight: 700; color: var(--pk-ink); }
.pg-acc summary::-webkit-details-marker { display: none; }
.pg-acc summary:hover { background: var(--pk-sunken); }
.pg-acc summary::after { content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--pk-line);
  background: var(--pk-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23D62839' stroke-width='2.6' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.pg-acc details[open] summary::after { transform: rotate(45deg); }
.pg-acc details[open] summary { color: var(--pk-accent); }
.pg-acc .pg-ans { padding: 0 20px 20px; font-size: 15px; line-height: 1.7; color: var(--pk-ink-2); white-space: pre-line; }
.pg-empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--pk-line); border-radius: 16px; color: var(--pk-muted); }
.pg-empty b { display: block; font-size: 17px; color: var(--pk-ink); margin-bottom: 6px; }
.pg-empty a { color: var(--pk-accent); font-weight: 700; }

/* Help */
.pg-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-topic { display: flex; flex-direction: column; padding: 22px; border-radius: 20px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); }
.pg-topic-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; text-decoration: none; color: inherit; }
.pg-topic-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.pg-topic-ic svg { width: 22px; height: 22px; }
.pg-topic-h b { display: block; font-size: 17px; font-weight: 800; color: var(--pk-ink); }
.pg-topic-h small { font-size: 12.5px; color: var(--pk-muted); }
.pg-topic-h:hover b { color: var(--pk-accent); }
.pg-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; flex: 1; }
.pg-links a { display: flex; align-items: flex-start; gap: 10px; padding: 10px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; color: var(--pk-ink); }
.pg-links a:hover { background: var(--pk-sunken); }
.pg-links a svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--pk-faint); }
.pg-links a:hover svg { color: var(--pk-accent); }
.pg-links b { display: block; font-size: 14.5px; font-weight: 700; }
.pg-links small { display: block; font-size: 12.5px; color: var(--pk-muted); margin-top: 2px; line-height: 1.45; }
.pg-topic-all { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--pk-accent); text-decoration: none; }

.pg-support { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 40px; }
.pg-support > * { padding: 24px; border-radius: 20px; border: 1px solid var(--pk-line); background: var(--pk-card); text-decoration: none; color: inherit; }
.pg-support .grad { background: var(--pk-grad); color: #fff; border: none; box-shadow: 0 30px 50px -30px rgba(155,74,146,.9); }
.pg-support b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.pg-support p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--pk-muted); }
.pg-support .grad p { color: rgba(255,255,255,.88); }
.pg-support span { font-size: 13.5px; font-weight: 700; color: var(--pk-accent); }
.pg-support .grad span { color: #fff; }
a.pg-support-card:hover { border-color: var(--pk-accent); }

/* Article */
.pg-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.pg-doc { padding: 36px 40px; border-radius: 22px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); }
.pg-prose { font-size: 16px; line-height: 1.8; color: var(--pk-ink-2); }
.pg-prose > :first-child { margin-top: 0; }
.pg-prose h2 { font: 700 24px/1.25 'Fraunces', Georgia, serif; color: var(--pk-ink); margin: 32px 0 12px; }
.pg-prose h3 { font-size: 17px; font-weight: 800; color: var(--pk-ink); margin: 24px 0 8px; }
.pg-prose p { margin: 0 0 16px; }
.pg-prose ul, .pg-prose ol { margin: 0 0 16px; padding-left: 22px; }
.pg-prose li { margin-bottom: 8px; }
.pg-prose a { color: var(--pk-accent); font-weight: 600; }
.pg-prose strong { color: var(--pk-ink); }
.pg-prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--pk-sunken); }
.pg-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.pg-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.pg-card { padding: 20px; border-radius: 18px; background: var(--pk-card); border: 1px solid var(--pk-line); }
.pg-card h3 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pk-muted); }
.pg-card .pg-links a { padding: 8px 10px; }
.pg-card p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--pk-muted); }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; border-radius: 12px; background: var(--pk-grad); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; }

/* Legal */
.lg-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.lg-glance div { display: flex; gap: 12px; padding: 18px; border-radius: 16px; background: var(--pk-card); border: 1px solid var(--pk-line); }
.lg-glance i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; font-style: normal; color: #fff; background: var(--pk-grad); }
.lg-glance i svg { width: 19px; height: 19px; }
.lg-glance b { display: block; font-size: 14.5px; font-weight: 800; margin-bottom: 3px; color: var(--pk-ink); }
.lg-glance span { font-size: 13px; line-height: 1.5; color: var(--pk-muted); }
.lg-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.lg-toc { position: sticky; top: 88px; padding: 18px; border-radius: 18px; background: var(--pk-card); border: 1px solid var(--pk-line); max-height: calc(100vh - 110px); overflow: auto; }
.lg-toc-t { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pk-muted); margin-bottom: 10px; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lg-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--pk-ink-2); text-decoration: none; line-height: 1.35; }
.lg-toc a span { flex-shrink: 0; min-width: 20px; font-size: 12px; font-weight: 800; color: var(--pk-faint); padding-top: 1px; }
.lg-toc a:hover { background: var(--pk-sunken); color: var(--pk-ink); }
.lg-toc a.active { background: rgba(214,40,57,.08); color: var(--pk-accent); }
.lg-toc a.active span { color: var(--pk-accent); }
.lg-toc-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pk-line); display: flex; gap: 8px; }
.lg-toc-foot button, .lg-toc-foot a { flex: 1; height: 36px; border-radius: 10px; border: 1px solid var(--pk-line); background: transparent; color: var(--pk-ink-2); font: 600 12.5px/1 inherit; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.lg-toc-foot button:hover, .lg-toc-foot a:hover { border-color: var(--pk-accent); color: var(--pk-accent); }
.lg-doc { padding: 40px 44px; border-radius: 22px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); }
.lg-doc section { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--pk-line); scroll-margin-top: 96px; }
.lg-doc section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.lg-doc h2 { display: flex; align-items: baseline; gap: 12px; font: 700 23px/1.25 'Fraunces', Georgia, serif; color: var(--pk-ink); margin: 0 0 14px; letter-spacing: -.01em; }
.lg-doc h2 .num { flex-shrink: 0; font: 800 12px/1 'Inter', sans-serif; padding: 5px 9px; border-radius: 8px; background: rgba(214,40,57,.1); color: var(--pk-accent); transform: translateY(-3px); }
.lg-doc p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.8; color: var(--pk-ink-2); }
.lg-doc p:last-child { margin-bottom: 0; }
.lg-doc ul { margin: 0 0 14px; padding-left: 22px; }
.lg-doc li { font-size: 15.5px; line-height: 1.75; color: var(--pk-ink-2); margin-bottom: 6px; }
.lg-doc li::marker { color: var(--pk-accent); }
.lg-doc strong { color: var(--pk-ink); }
.lg-doc a { color: var(--pk-accent); font-weight: 600; }
.lg-callout { display: flex; gap: 12px; margin: 16px 0 0; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, #F59E0B 10%, var(--pk-card)); border: 1px solid color-mix(in srgb, #F59E0B 30%, transparent); font-size: 14.5px; line-height: 1.6; color: var(--pk-ink-2); }
.lg-callout svg { width: 20px; height: 20px; flex-shrink: 0; color: #D97706; margin-top: 1px; }
.lg-contact { padding: 26px 28px; border-radius: 18px; background: linear-gradient(160deg, #1B2344, #10162C); color: #fff; }
.lg-contact h2 { color: #fff; }
.lg-contact h2 .num { background: rgba(255,210,122,.16); color: #FFD27A; }
.lg-contact p { color: rgba(255,255,255,.75) !important; }
.lg-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.lg-row > :first-child { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #F2A9B4; padding-top: 2px; }
.lg-row a { color: #fff !important; border-bottom: 1px solid rgba(255,255,255,.35); text-decoration: none; }

/* Responsive */
@media (max-width: 1024px) {
  .pg-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-article-grid { grid-template-columns: 1fr; }
  .pg-side { position: static; }
  .lg-grid { grid-template-columns: 1fr; gap: 20px; }
  .lg-toc { position: static; max-height: none; }
  .lg-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pg-wrap { padding: 0 16px; }
  .pg-hero { padding: 32px 0 30px; margin-bottom: 28px; }
  .pg-hero p { font-size: 15px; }
  .pg-search button { padding: 0 14px; }
  .pg-topics, .pg-support, .lg-glance { grid-template-columns: 1fr; }
  .pg-doc, .lg-doc { padding: 24px 18px; border-radius: 18px; }
  .lg-toc ol { grid-template-columns: 1fr; }
  .lg-doc h2 { font-size: 20px; }
  .lg-row { grid-template-columns: 1fr; gap: 2px; }
  .pg-acc summary { padding: 16px; font-size: 15px; }
  .pg-acc .pg-ans { padding: 0 16px 16px; }
}
@media print {
  .navbar, .ft, .lg-toc, .pg-hero::before, .lg-glance { display: none !important; }
  .lg-grid { display: block; }
  .lg-doc { box-shadow: none; border: none; padding: 0; }
  .lg-contact { background: none; color: #000; border: 1px solid #999; }
  .lg-contact * { color: #000 !important; }
}

/* ================= Exam pages ================= */
.ex-langs { position: absolute; right: 24px; top: 52px; display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--pk-card); border: 1px solid var(--pk-line); }
.ex-langs a { padding: 6px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--pk-muted); text-decoration: none; }
.ex-langs a.on { background: var(--pk-grad); color: #fff; }
.pg-hero .pg-wrap { position: relative; }
.ex-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ex-facts div { padding: 12px 16px; border-radius: 14px; background: var(--pk-card); border: 1px solid var(--pk-line); min-width: 120px; }
.ex-facts div.hl { background: var(--pk-grad); color: #fff; border: none; }
.ex-facts small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pk-muted); }
.ex-facts .hl small { color: rgba(255,255,255,.85); }
.ex-facts b { display: block; margin-top: 3px; font-size: 20px; font-weight: 800; }
.ex-facts b span { font-size: 13px; font-weight: 600; color: var(--pk-muted); }
.ex-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ex-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 13px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--pk-ink) !important; background: var(--pk-card); border: 1.5px solid var(--pk-line); }
.ex-btn:hover { border-color: var(--pk-ink-2); }
.ex-btn.pri { color: #fff !important; background: var(--pk-grad); border: none; box-shadow: 0 14px 28px -14px rgba(155,74,146,.9); }
.ex-btn.light { width: 100%; background: #fff; color: #7A1430 !important; border: none; }
.ex-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.ex-jump { position: sticky; top: 70px; z-index: 5; padding: 10px 0; margin: -10px 0 16px; background: color-mix(in srgb, var(--pk-bg) 90%, transparent); backdrop-filter: blur(8px); }
.ex-sec { padding: 28px; margin-bottom: 18px; border-radius: 20px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); scroll-margin-top: 130px; }
.ex-sec h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 700 23px/1.2 'Fraunces', Georgia, serif; color: var(--pk-ink); }
.ex-sec h2 small { font: 700 13px/1 'Inter', sans-serif; color: var(--pk-muted); margin-left: auto; }
.ex-h-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; font-style: normal; color: #fff; background: var(--pk-grad); }
.ex-h-ic svg { width: 18px; height: 18px; }
.ex-text { font-size: 15.5px; line-height: 1.75; color: var(--pk-ink-2); white-space: pre-line; }
.ex-muted { margin: 0; color: var(--pk-muted); font-size: 15px; }
.ex-table-wrap { overflow-x: auto; border: 1px solid var(--pk-line); border-radius: 14px; }
.ex-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
@media (max-width: 420px) { .ex-table { font-size: 13px; } .ex-table th, .ex-table td { padding: 10px 8px !important; } .ex-table th { letter-spacing: .02em; } }
.ex-table th { text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pk-muted); background: var(--pk-sunken); }
.ex-table td { padding: 12px 14px; border-top: 1px solid var(--pk-line); color: var(--pk-ink-2); }
.ex-table tr.paper td { color: var(--pk-ink); font-weight: 600; }
.ex-table tr.part td:first-child { padding-left: 32px; }
.ex-syl { display: grid; gap: 10px; }
.ex-syl details { border: 1px solid var(--pk-line); border-radius: 14px; overflow: hidden; }
.ex-syl summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 800; font-size: 15.5px; color: var(--pk-ink); background: var(--pk-sunken); }
.ex-syl summary::-webkit-details-marker { display: none; }
.ex-syl summary em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--pk-muted); white-space: nowrap; }
.ex-syl ol { margin: 0; padding: 12px 16px 14px 38px; display: grid; gap: 6px; }
.ex-syl li { font-size: 14.5px; line-height: 1.55; color: var(--pk-ink-2); }
.ex-syl li::marker { color: var(--pk-accent); font-weight: 700; }
.ex-w { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: rgba(214,40,57,.08); color: var(--pk-accent); }
.ex-qs { display: grid; gap: 14px; }
.ex-q { padding: 18px; border-radius: 16px; border: 1px solid var(--pk-line); background: var(--pk-bg); }
.ex-q-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 13px; }
.ex-q-top b { color: var(--pk-accent); }
.ex-q-top span { padding: 2px 9px; border-radius: 99px; background: var(--pk-card); border: 1px solid var(--pk-line); font-weight: 600; color: var(--pk-muted); font-size: 12px; }
.ex-q-text { margin: 0 0 12px; font-size: 15.5px; font-weight: 600; line-height: 1.6; color: var(--pk-ink); }
.ex-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ex-opt { display: flex; align-items: flex-start; gap: 10px; text-align: left; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--pk-line); background: var(--pk-card); color: var(--pk-ink-2); font: inherit; font-size: 14px; line-height: 1.45; cursor: pointer; transition: border-color .15s, background .15s; }
.ex-opt:hover { border-color: var(--pk-ink-2); }
.ex-opt i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-style: normal; font-size: 12px; font-weight: 800; border: 1.5px solid var(--pk-line); }
.ex-opt.right { border-color: #16A34A; background: rgba(22,163,74,.08); }
.ex-opt.right i { background: #16A34A; border-color: #16A34A; color: #fff; }
.ex-opt.wrong { border-color: #DC2626; background: rgba(220,38,38,.07); }
.ex-opt.wrong i { background: #DC2626; border-color: #DC2626; color: #fff; }
.ex-q.done .ex-opt { cursor: default; }
.ex-ans { margin-top: 10px; }
.ex-ans summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--pk-accent); list-style: none; }
.ex-ans summary::-webkit-details-marker { display: none; }
.ex-ans p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--pk-ink-2); }
.ex-more { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--pk-sunken); font-size: 14px; color: var(--pk-muted); }
.ex-disclaimer { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--pk-muted); }
.ex-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.ex-cta-card { padding: 22px; border-radius: 20px; color: #fff; background: var(--pk-grad); box-shadow: 0 30px 50px -30px rgba(155,74,146,.9); }
.ex-cta-card b { display: block; font: 700 21px/1.2 'Fraunces', Georgia, serif; margin-bottom: 6px; }
.ex-cta-card p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; opacity: .9; }
.ex-tests, .ex-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ex-tests a, .ex-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; color: var(--pk-ink); }
.ex-tests a { flex-direction: column; align-items: flex-start; gap: 2px; }
.ex-tests a:hover, .ex-links a:hover { background: var(--pk-sunken); }
.ex-tests b, .ex-links span { font-size: 14px; font-weight: 700; }
.ex-tests small { font-size: 12.5px; color: var(--pk-muted); }
.ex-links em { font-style: normal; color: var(--pk-accent); font-weight: 800; }
.ex-links a.prev span { font-weight: 600; color: var(--pk-ink-2); }
.ex-cat { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pk-accent); }
/* index */
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ex-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); text-decoration: none; color: inherit; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.ex-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.ex-card:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -30px rgba(15,23,42,.5); }
.ex-card-route { display: flex; align-items: center; gap: 8px; font: 700 22px/1.2 'Fraunces', Georgia, serif; color: var(--pk-ink); }
.ex-card-route svg { width: 20px; height: 20px; color: var(--c); }
.ex-card-route span:last-child { color: var(--c); }
.ex-card h2 { margin: 0; font-size: 14px; font-weight: 700; color: var(--pk-muted); }
.ex-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--pk-ink-2); flex: 1; }
.ex-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ex-card-stats span { padding: 8px 10px; border-radius: 10px; background: var(--pk-sunken); font-size: 11.5px; color: var(--pk-muted); font-weight: 600; }
.ex-card-stats b { display: block; font-size: 17px; color: var(--pk-ink); }
.ex-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--pk-line); font-size: 13px; font-weight: 700; }
.ex-card-foot em { font-style: normal; color: var(--c); }
.ex-date { color: #15803D; }
.ex-date.soon { color: var(--pk-muted); }
@media (max-width: 1024px) {
  .ex-layout { grid-template-columns: 1fr; }
  .ex-side { position: static; }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ex-langs { position: static; margin-bottom: 14px; }
  .ex-grid, .ex-opts { grid-template-columns: 1fr; }
  .ex-sec { padding: 20px 16px; }
  .ex-sec h2 { font-size: 20px; }
  .ex-facts div { min-width: 0; flex: 1 1 40%; }
  .ex-jump { top: 60px; flex-wrap: nowrap; overflow-x: auto; }
  .ex-jump a { white-space: nowrap; }
  .ex-cta .ex-btn { flex: 1 1 100%; }
}

/* ================= Exam updates ================= */
.up-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pg-chips a.on { background: var(--pk-grad); color: #fff; border-color: transparent; }
.up-filters select { height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--pk-line); background: var(--pk-card); color: var(--pk-ink); font: inherit; font-size: 14px; }
.up-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.up-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.up-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--pk-line)); }
.up-card.feat { grid-column: span 2; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, var(--pk-card)), var(--pk-card)); }
.up-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--pk-muted); }
.up-top time { margin-left: auto; }
.up-cat { padding: 3px 10px; border-radius: 99px; font-weight: 800; font-size: 11.5px; letter-spacing: .03em; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); }
.up-pin { padding: 3px 8px; border-radius: 99px; font-weight: 700; font-size: 11px; background: var(--pk-sunken); }
.up-card h2 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--pk-ink); }
.up-card.feat h2 { font: 700 26px/1.2 'Fraunces', Georgia, serif; }
.up-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--pk-muted); flex: 1; }
.up-foot { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--pk-ink-2); padding-top: 10px; border-top: 1px dashed var(--pk-line); }
.up-foot em { font-style: normal; color: var(--c); }
.up-pages { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 26px; font-size: 14px; color: var(--pk-muted); }
.up-pages a { color: var(--pk-accent); font-weight: 700; text-decoration: none; }
.up-source { display: flex; gap: 12px; margin-top: 24px; padding: 14px 16px; border-radius: 14px; background: var(--pk-sunken); border: 1px solid var(--pk-line); }
.up-source svg { width: 20px; height: 20px; color: var(--pk-accent); flex-shrink: 0; margin-top: 2px; }
.up-source b { display: block; font-size: 13px; }
.up-source a { font-size: 14px; color: var(--pk-accent); word-break: break-all; }
.pg-doc .ex-disclaimer { margin-top: 18px; }
@media (max-width: 1024px) { .up-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .up-grid { grid-template-columns: 1fr; } .up-card.feat { grid-column: auto; } .up-card.feat h2 { font-size: 22px; } }

.ex-layout > *, .ex-grid > *, .up-grid > *, .pg-article-grid > *, .lg-grid > * { min-width: 0; }

/* Contact page */
.pg-contact { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.pg-cform { padding: 32px; border-radius: 22px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow, 0 20px 40px -30px rgba(15,23,42,.35)); }
.pg-cform h2, .pg-done h2 { margin: 0 0 6px; font: 700 26px/1.2 'Fraunces', Georgia, serif; letter-spacing: -.015em; }
.pg-cform-sub { margin: 0 0 22px; font-size: 14.5px; color: var(--pk-muted); }
.pg-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-f { margin-bottom: 18px; }
.pg-f label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--pk-ink); }
.pg-f input, .pg-f textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--pk-line); background: var(--pk-bg, transparent); color: var(--pk-ink); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.pg-f textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.pg-f input:focus, .pg-f textarea:focus { outline: none; border-color: var(--pk-accent); box-shadow: 0 0 0 4px rgba(155,74,146,.14); }
.pg-f input::placeholder, .pg-f textarea::placeholder { color: var(--pk-faint); }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pg-chips button { padding: 6px 11px; border-radius: 99px; border: 1px solid var(--pk-line); background: transparent; color: var(--pk-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.pg-chips button:hover { border-color: var(--pk-accent); color: var(--pk-accent); }
.pg-count { margin-top: 6px; text-align: right; font-size: 12px; color: var(--pk-faint); }
.pg-submit { width: auto; padding: 0 26px; height: 48px; border: 0; cursor: pointer; font-size: 15px; }
.pg-submit svg { width: 18px; height: 18px; }
.pg-btn-ghost { background: transparent; color: var(--pk-ink) !important; border: 1.5px solid var(--pk-line); }
.pg-fine { margin: 14px 0 0; font-size: 12.5px; color: var(--pk-muted); }
.pg-fine a { color: var(--pk-accent); }
.pg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg-alert { margin: 0 0 20px; padding: 14px 16px; border-radius: 14px; background: rgba(214,40,57,.08); border: 1px solid rgba(214,40,57,.3); color: #B42335; font-size: 14px; }
.pg-alert ul { margin: 6px 0 0; padding-left: 18px; }
.pg-done { text-align: center; padding: 16px 0 6px; }
.pg-done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: linear-gradient(135deg,#16A34A,#0EA5A4); color: #fff; box-shadow: 0 18px 30px -16px rgba(22,163,74,.8); }
.pg-done-ic svg { width: 30px; height: 30px; }
.pg-done p { max-width: 460px; margin: 0 auto 22px; font-size: 15px; line-height: 1.6; color: var(--pk-muted); }
.pg-done-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pg-done-act .pg-btn { width: auto; padding: 0 20px; }
.pg-cside { gap: 14px; }
.pg-cway { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--pk-card); border: 1px solid var(--pk-line); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.pg-cway:hover { border-color: var(--pk-accent); transform: translateY(-1px); }
.pg-cway.grad { background: linear-gradient(135deg,#16A34A,#0E9F6E); color: #fff; border: none; box-shadow: 0 24px 40px -26px rgba(22,163,74,.9); }
.pg-cway b { display: block; font-size: 16px; font-weight: 800; }
.pg-cway small { display: block; margin-top: 2px; font-size: 13.5px; opacity: .85; }
.pg-cway-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.2); }
.pg-cway-ic.mail { background: var(--pk-grad); color: #fff; }
.pg-cway-ic svg { width: 22px; height: 22px; }
.pg-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pg-ticks li { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.5; color: var(--pk-muted); }
.pg-ticks li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.4px solid var(--pk-accent); border-bottom: 2.4px solid var(--pk-accent); transform: rotate(-45deg); }
.pg-contact > * { min-width: 0; }
@media (max-width: 1024px) { .pg-contact { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .pg-cform { padding: 22px 18px; border-radius: 18px; }
  .pg-row2 { grid-template-columns: 1fr; gap: 0; }
  .pg-submit { width: 100%; }
}

/* Delete account page */
.dl-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.dl-way { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--pk-card); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); }
.dl-way h2 { margin: 14px 0 12px; font: 700 22px/1.2 'Fraunces', Georgia, serif; }
.dl-tag { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: rgba(22,163,74,.12); color: #15803D; }
.dl-tag.muted { background: rgba(78,92,179,.12); color: #4E5CB3; }
.dl-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff; background: linear-gradient(135deg,#16A34A,#0EA5A4); }
.dl-ic.mail { background: var(--pk-grad); }
.dl-ic svg { width: 22px; height: 22px; }
.dl-steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; flex: 1; align-content: start; }
.dl-steps li { counter-increment: s; position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.55; color: var(--pk-ink-2, var(--pk-ink)); }
.dl-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--pk-line); color: var(--pk-ink); }
.dl-note { margin: 0; padding-top: 14px; border-top: 1px dashed var(--pk-line); font-size: 13.5px; color: var(--pk-muted); }
.dl-way .pg-btn svg { width: 17px; height: 17px; }
.dl-what h2 { margin-bottom: 18px; }
.dl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl-col { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--pk-line); }
.dl-col.del { background: rgba(214,40,57,.05); border-color: rgba(214,40,57,.22); }
.dl-col.keep { background: rgba(78,92,179,.05); border-color: rgba(78,92,179,.22); }
.dl-col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dl-col.del h3 { color: #C21F33; }
.dl-col.keep h3 { color: #4E5CB3; }
.dl-col h3 svg { width: 17px; height: 17px; }
.dl-col ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.dl-col li { font-size: 14px; line-height: 1.5; color: var(--pk-ink); }
.dl-warn { margin-top: 16px; padding: 14px 16px; border-radius: 14px; border-left: 4px solid #D97706; background: rgba(217,119,6,.09); font-size: 14px; line-height: 1.55; color: var(--pk-ink); }
@media (max-width: 720px) {
  .dl-ways, .dl-cols { grid-template-columns: 1fr; }
  .dl-way { padding: 22px 18px; }
  .dl-tag { position: static; align-self: flex-start; margin-bottom: 12px; order: -1; }
}
