/* Tips articles + CV checklist (uses the site's tokens from /styles.css) */
.tp-header { border-bottom: 1px solid var(--line); }
.tp-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); height: 72px; }
.tp-header nav { display: flex; gap: var(--s3); font-size: .9375rem; }
.tp-header nav a { color: var(--ink-2); }
.tp-header nav a:hover, .tp-header nav a[aria-current="page"] { color: var(--ink); }

.tp-wrap { width: min(760px, 100% - var(--s4)); margin: 0 auto; padding: var(--s8) 0 var(--s10); }
.tp-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); }
.tp-wrap h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; max-width: 20ch; }
.tp-lead { margin-top: var(--s3); font-size: 1.1875rem; color: var(--ink-2); max-width: 58ch; }
.tp-meta { margin-top: var(--s3); font-size: .875rem; color: var(--ink-2); }

/* Article body */
.tp-article { margin-top: var(--s6); font-size: 1.0625rem; line-height: 1.75; }
.tp-article h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin: var(--s6) 0 var(--s2); max-width: none; }
.tp-article h2 .n { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 10px; border-radius: 50%; background: var(--accent); color: var(--cream); font-family: var(--sans); font-size: .6em; font-weight: 700; vertical-align: .25em; }
.tp-article p { margin-bottom: var(--s2); color: var(--ink); }
.tp-article ul { margin: 0 0 var(--s2); padding-left: 1.25rem; list-style: disc; }
.tp-article li { margin-bottom: 6px; }
.tp-article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.tp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin: var(--s2) 0 var(--s3); }
.tp-compare div { padding: var(--s2) var(--s3); border-radius: var(--radius); font-size: .9375rem; line-height: 1.55; }
.tp-compare .bad { background: color-mix(in srgb, #9B3D2C 9%, transparent); border: 1px solid color-mix(in srgb, #9B3D2C 25%, transparent); }
.tp-compare .good { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.tp-compare b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.tp-note { padding: var(--s3); margin: var(--s3) 0; border-left: 3px solid var(--accent); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }

/* CTA box at the end of articles */
.tp-cta { margin-top: var(--s8); padding: var(--s5); border-radius: var(--radius-lg); background: var(--accent); color: var(--cream); }
.tp-cta h2 { color: var(--cream); font-size: clamp(1.5rem, 3vw, 2rem); max-width: 22ch; margin: 0 0 var(--s1); }
.tp-cta p { color: var(--cream); opacity: .88; margin-bottom: var(--s3); }
.tp-cta .btns { display: flex; flex-wrap: wrap; gap: var(--s1); }
.tp-cta .btn-light { background: var(--cream); color: var(--accent-deep); }
.tp-cta .btn-ghost { border-color: rgba(246, 241, 233, .5); color: var(--cream); background: transparent; }
:root[data-theme="dark"] .tp-cta .btn-light { color: #0E100C; }

/* Signup box (reuses .signup-form from styles.css) */
.tp-signup { margin-top: var(--s6); padding: var(--s4); border-radius: var(--radius-lg); background: var(--accent-tint); }
.tp-signup h2 { font-size: 1.5rem; margin: 0 0 6px; max-width: none; }
.tp-signup > p { color: var(--ink-2); margin-bottom: var(--s2); }
.tp-signup .signup-form { box-shadow: none; }

/* Tips index */
.tp-list { display: grid; gap: var(--s2); margin-top: var(--s6); }
.tp-card { display: grid; gap: 6px; padding: var(--s4); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--paper); transition: transform .4s var(--ease), border-color .3s; }
.tp-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.tp-card span { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.tp-card h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); max-width: none; }
.tp-card p { color: var(--ink-2); }

/* Checklist page */
.ck-sheet { margin-top: var(--s5); padding: var(--s5); border-radius: var(--radius-lg); background: #fff; color: #1C1A17; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); }
.ck-sheet h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: #3E4A34; margin: var(--s3) 0 8px; max-width: none; }
.ck-sheet h2:first-child { margin-top: 0; }
.ck-sheet ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ck-sheet li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; color: #1C1A17; }
.ck-sheet li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border: 1.5px solid #3E4A34; border-radius: 4px; }
.ck-sheet .ck-foot { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid rgba(28, 26, 23, .14); font-size: .8125rem; color: #5C554C; }
.ck-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }

@media print {
  @page { size: A4; margin: 12mm 14mm; }
  body { background: #fff !important; }
  .tp-header, .ck-actions, .tp-hide-print, .chat-fab, .tp-cta { display: none !important; }
  .tp-wrap { width: auto; padding: 0; }
  .tp-wrap h1 { font-size: 22pt; }
  .tp-lead { font-size: 10.5pt; margin-top: 6pt; }
  .ck-sheet { box-shadow: none; padding: 0; margin-top: 10pt; }
  .ck-sheet h2 { font-size: 12pt; margin: 9pt 0 4pt; }
  .ck-sheet li { font-size: 9.5pt; line-height: 1.35; }
  .ck-sheet ul { gap: 3pt; }
}
@media (max-width: 640px) {
  .tp-compare { grid-template-columns: minmax(0, 1fr); }
  .ck-sheet { padding: var(--s3); }
  .tp-cta { padding: var(--s3); }
  .tp-header nav { gap: var(--s2); font-size: .875rem; }
}
