*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f4f4f7;
  --surface:   #ffffff;
  --border:    #e4e4eb;
  --text:      #111118;
  --muted:     #6b6b80;
  --accent:    #4f46e5;
  --accent-lt: #eef2ff;
  --accent-md: #818cf8;
  --green:     #16a34a;
  --green-lt:  #dcfce7;
  --red:       #dc2626;
  --red-lt:    #fee2e2;
  --radius:    16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,244,247,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  height: 60px; display: flex;
  align-items: center; justify-content: space-between;
}
.logo { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.5px; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta { padding: 8px 16px !important; font-size: 0.82rem !important; border-radius: 8px !important; white-space: nowrap; }
@media (max-width: 480px) { .nav-cta { display: none; } }
/* Log in / sign up: small text links next to the main CTA (the CTAs go to /start, "pick your CV first"). */
.nav-auth { color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.nav-auth:hover { color: var(--accent); }
.nav-auth:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
/* Phones and tablets: no room next to the menu, the language switch and the CTA - the CTA's /start page links to log in. */
@media (max-width: 960px) { .nav-right .nav-auth { display: none; } }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; font-size: 0.8rem; font-weight: 600;
}
.lang-btn {
  padding: 6px 10px; cursor: pointer; border: none;
  background: transparent; color: var(--muted);
  transition: all 0.15s ease; font-size: 0.8rem; font-weight: 600;
  font-family: inherit;
}
.lang-btn.active { background: var(--accent); color: #fff; }
.lang-btn:hover:not(.active) { background: var(--accent-lt); color: var(--accent); }

.btn {
  display: inline-block; padding: 10px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: all 0.18s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4338ca; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-lt); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }

/* ── HERO ──────────────────────────────────────────── */
.hero-wrapper {
  position: relative; overflow: hidden;
  background-image: radial-gradient(circle, #d1d5f0 1px, transparent 1px);
  background-size: 28px 28px;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; opacity: 0.6;
}
.blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, #c7d2fe 0%, #a5b4fc 60%, transparent 100%); top: -160px; right: -80px; }
.blob-2 { width: 340px; height: 340px; background: radial-gradient(circle, #ddd6fe 0%, #c4b5fd 60%, transparent 100%); bottom: -80px; left: -60px; }

.hero {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 96px 24px 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { text-align: left; }
.badge {
  display: inline-block; padding: 6px 16px;
  background: var(--accent-lt); color: var(--accent);
  border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.3px; margin-bottom: 24px;
  border: 1px solid #c7d2fe;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: 1.1rem; color: var(--muted);
  max-width: 440px; margin-bottom: 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO MOCKUP ───────────────────────────────────── */
.hero-visual { position: relative; }
.mockup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(79,70,229,0.12), 0 4px 16px rgba(0,0,0,0.06);
  position: relative; z-index: 2;
}
.mockup-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.mockup-header-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.mockup-title { font-size: 0.8rem; font-weight: 600; color: var(--muted); }

.score-row { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.score-ring-wrap { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.score-ring-wrap svg { transform: rotate(-90deg); }
.score-ring-bg { fill: none; stroke: var(--border); stroke-width: 8; }
.score-ring-fill { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 66; }
.score-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-num { font-size: 1.3rem; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.score-sub { font-size: 0.6rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.score-info { flex: 1; }
.score-info p { font-size: 0.78rem; font-weight: 600; margin-bottom: 2px; }
.score-info span { font-size: 0.72rem; color: var(--muted); }

.mockup-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.mockup-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.mockup-item-icon { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mockup-item-icon svg { width: 13px; height: 13px; }
.mockup-item-icon.ok   { background: var(--green-lt); color: var(--green); }
.mockup-item-icon.bad  { background: var(--red-lt);   color: var(--red); }
.mockup-item-icon.warn { background: #fef9c3; color: #a16207; }
.mockup-item-text { font-size: 0.78rem; font-weight: 500; flex: 1; line-height: 1.3; }
.mockup-item-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.mockup-item-badge.ok   { background: var(--green-lt); color: #166534; }
.mockup-item-badge.bad  { background: var(--red-lt);   color: #b91c1c; }
.mockup-item-badge.warn { background: #fef9c3; color: #854d0e; }
.mockup-cta { display: block; width: 100%; padding: 10px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 0.82rem; font-weight: 700; text-align: center; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.mockup-cta:hover { background: #4338ca; }

.float-chip {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap; z-index: 3;
}
.float-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.chip-1 { top: -16px; left: -24px; }
.chip-2 { bottom: -16px; right: -16px; }

/* ── PROBLEM SPOTLIGHT ─────────────────────────────── */
.problem-section { background: var(--text); color: #fff; padding: 80px 24px; text-align: center; }
.problem-inner { max-width: 760px; margin: 0 auto; }
.problem-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-md); margin-bottom: 24px; }
.problem-section h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 24px; }
.problem-section p { font-size: 1.1rem; color: #a5a5c0; line-height: 1.75; max-width: 580px; margin: 0 auto; }
.problem-section p strong { color: #fff; }
.stat-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 56px; padding-top: 48px; border-top: 1px solid #2a2a3a; }
.stat { text-align: center; }
.stat-num { font-size: 2.8rem; font-weight: 900; letter-spacing: -2px; color: var(--accent-md); line-height: 1; }
.stat-desc { font-size: 0.85rem; color: #8f8fa9; margin-top: 6px; max-width: 160px; }

/* ── HOW IT WORKS ──────────────────────────────────── */
.steps-section { max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.steps-cta { text-align: center; margin-top: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-top: 56px; }
.steps-grid::before {
  content: ''; position: absolute;
  top: 36px; left: calc(16.66% + 8px); right: calc(16.66% + 8px); height: 2px;
  background: repeating-linear-gradient(to right, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
}
.step { text-align: center; padding: 0 24px; }
.step-num-wrap {
  position: relative; z-index: 1;
  width: 72px; height: 72px; margin: 0 auto 24px;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(79,70,229,0.08); color: var(--accent);
}
.step-num-wrap svg { width: 28px; height: 28px; }
.step-num { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 50%; font-size: 0.65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── VALUE PROPS ───────────────────────────────────── */
.values-section { background: var(--text); padding: 96px 24px; }
.values-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; color: #fff; }
.section-header p { color: #a5a5c0; font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.steps-header h2 { color: var(--text) !important; }
.steps-header p { color: var(--muted) !important; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: #1a1a2e; border: 1px solid #2a2a3a; border-radius: var(--radius); padding: 32px 28px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { box-shadow: 0 8px 32px rgba(79,70,229,0.18); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; background: rgba(79,70,229,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent-md); }
.card-icon svg { width: 22px; height: 22px; flex-shrink: 0; }
.card-problem { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #9494ad; margin-bottom: 8px; }
.card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 12px; line-height: 1.3; color: #e8e8f0; }
.card p { font-size: 0.92rem; color: #8f8fa9; line-height: 1.65; }
.card a { color: var(--accent-md); text-decoration: underline; text-underline-offset: 2px; }
.card a:hover { color: #c7d2fe; }

/* ── QUOTE ─────────────────────────────────────────── */
.quote-section { background: var(--accent-lt); border-top: 1px solid #ddd6fe; border-bottom: 1px solid #ddd6fe; padding: 72px 24px; text-align: center; }
.quote-inner { max-width: 680px; margin: 0 auto; }
blockquote { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; letter-spacing: -0.5px; line-height: 1.4; color: var(--text); margin-bottom: 20px; }
blockquote::before { content: '\201C'; color: var(--accent); }
blockquote::after  { content: '\201D'; color: var(--accent); }
.quote-sub { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* ── FINAL CTA ─────────────────────────────────────── */
.cta-section { max-width: 1100px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.cta-box { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 72px 40px; position: relative; overflow: hidden; background-image: radial-gradient(circle, #d1d5f0 1px, transparent 1px); background-size: 28px 28px; }
.cta-blob-1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(165,180,252,0.35) 0%, transparent 70%); top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none; filter: blur(40px); }
.cta-blob-2 { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(196,181,253,0.25) 0%, transparent 70%); bottom: -80px; right: 60px; pointer-events: none; filter: blur(30px); }
.cta-box h2 { position: relative; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-box > p { position: relative; color: var(--muted); font-size: 1.05rem; max-width: 460px; margin: 0 auto 36px; }
.cta-box .btn { position: relative; }
.cta-note { position: relative; margin-top: 52px; font-size: 0.82rem; color: var(--muted); }

/* ── FOOTER ────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 28px 24px; text-align: center; }
footer p { font-size: 0.85rem; color: var(--muted); }
footer .footer-company { margin-top: 8px; font-size: 0.78rem; }
footer a { color: var(--accent); text-decoration: none; font-weight: 500; }
footer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-text { order: 1; }
  .hero p { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: 2; max-width: 420px; margin: 0 auto; }
  .chip-1 { top: -12px; left: 0; }
  .chip-2 { bottom: -12px; right: 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 20px 64px; }
  .cta-box { padding: 48px 24px; }
  .stat-row { gap: 28px; }
}

/* ── ADDITIONS: language links, trust line, ATS section, FAQ, a11y ───────── */
a.lang-btn { display: inline-block; text-decoration: none; line-height: 1.4; }
.lang-toggle { gap: 0; }

.hero-trust { margin-top: 18px; font-size: 0.82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-trust span::before { content: '\2713'; color: var(--green); font-weight: 800; margin-right: 6px; }

.ats-section { max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.ats-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.ats-section h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.ats-section p { color: var(--muted); font-size: 1.02rem; margin-bottom: 14px; }
.ats-section p strong { color: var(--text); }
.ats-list { list-style: none; display: grid; gap: 12px; }
.ats-list li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px 14px 46px; font-size: 0.95rem; line-height: 1.5; }
.ats-list li::before { content: '\2713'; position: absolute; left: 16px; top: 13px; color: var(--green); font-weight: 800; }
.ats-note { margin-top: 20px; background: var(--accent-lt); border: 1px solid #c7d2fe; border-radius: 12px; padding: 16px 18px; font-size: 0.92rem; color: var(--text); line-height: 1.6; }

.faq-section { max-width: 820px; margin: 0 auto; padding: 24px 24px 96px; }
.faq-section h2 { text-align: center; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 32px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 1rem; line-height: 1.4; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--accent); }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

footer .footer-links a + a::before { content: ''; }
footer p a { white-space: nowrap; }

.btn:focus-visible, .lang-btn:focus-visible, .faq-item summary:focus-visible, footer a:focus-visible, .logo:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

@media (max-width: 860px) {
  .ats-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn-primary:hover, .card:hover { transform: none; }
}

/* in-page nav links */
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.nav-links a:hover { color: var(--accent); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* layout polish */
@media (max-width: 860px) { .hero-trust { justify-content: center; } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }

/* ── PORADNIK (guide) ─────────────────────────────────
   White paper, one reading column, and one recurring image: a CV line corrected
   in red pen (.markup, .compare). Everything else stays quiet. */
.guide { --paper: #ffffff; --pen: #c8102e; --rule: #e6e6ec; --ink-2: #4a4a5c; background: var(--paper); }
.guide nav { background: rgba(255,255,255,0.9); }
.crumbs { max-width: 700px; margin: 0 auto; padding: 32px 24px 0; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.crumbs a:hover { color: var(--text); }

.article { max-width: 700px; margin: 0 auto; padding: 20px 24px 72px; color: var(--text); }
.article h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 18px; }
.article .lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 12px; }
.article .meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 36px; }
.article h2 { font-size: 1.55rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; margin: 48px 0 14px; scroll-margin-top: 80px; }
.article h3 { font-size: 1.15rem; font-weight: 700; margin: 30px 0 8px; }
.article p { margin-bottom: 16px; font-size: 1.075rem; line-height: 1.7; }
.article ul, .article ol { margin: 0 0 18px 1.3em; }
.article li { margin-bottom: 8px; font-size: 1.075rem; line-height: 1.65; }
.article a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article a:hover { text-decoration-thickness: 2px; }
.article strong { font-weight: 650; }
.article :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Summary and contents: plain text, no boxes. */
.article .callout { font-size: 1.1rem; line-height: 1.65; margin: 0 0 28px; color: var(--text); }
.article .callout strong { font-weight: 700; }
.toc { margin: 0 0 40px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.toc p { font-weight: 650; margin-bottom: 8px !important; font-size: 0.95rem !important; color: var(--ink-2); }
.toc ol { margin: 0 0 0 1.2em !important; columns: 2; column-gap: 32px; }
.toc li { font-size: 0.95rem !important; margin-bottom: 4px !important; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.article .table-wrap { overflow-x: auto; margin: 8px 0 24px; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.article th, .article td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.article th { font-weight: 650; color: var(--ink-2); border-bottom: 2px solid var(--text); }

/* Before / after: the original line struck through, the correction written over it in red pen. */
.compare, .markup { margin: 12px 0 28px; padding: 20px 24px 18px; background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--pen); border-radius: 4px; }
.compare div { font-size: 1.02rem; line-height: 1.6; }
.compare b { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.compare .bad { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--pen); text-decoration-thickness: 2px; }
/* inline-block children do not inherit the parent's line-through, so the label stays clean */
.compare .bad b { display: inline-block; width: 100%; }
.compare .good { margin-top: 10px; font-family: 'Caveat', 'Segoe Print', cursive; font-size: 1.45rem; line-height: 1.3; color: var(--pen); }
.compare .good b { font-family: 'Inter', sans-serif; color: var(--muted); }
.markup { margin: 28px 0 40px; }
.markup-line { margin: 0 0 6px !important; color: var(--ink-2); }
.markup-line del { text-decoration-color: var(--pen); text-decoration-thickness: 2px; }
.markup-fix { margin: 0 0 12px !important; font-family: 'Caveat', 'Segoe Print', cursive; font-size: 1.6rem !important; line-height: 1.3 !important; color: var(--pen); }
.markup figcaption { font-size: 0.9rem; color: var(--muted); }

/* Article list: rows divided by rules, titles in ink, reading time in the margin. */
.post-list { list-style: none; margin: 8px 0 0 !important; border-top: 1px solid var(--rule); }
.post-list li { position: relative; padding: 22px 110px 22px 0; margin: 0 !important; border-bottom: 1px solid var(--rule); }
.post-list a { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; color: var(--text); text-decoration: none; }
.post-list a:hover { color: var(--accent); }
.post-list p { color: var(--ink-2); font-size: 0.98rem !important; line-height: 1.55 !important; margin: 6px 0 0 !important; }
.post-time { position: absolute; right: 0; top: 26px; font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.guide-index .post-list a { font-size: 1.35rem; }
.other-lang { margin-top: 20px; font-size: 0.95rem !important; color: var(--ink-2); }
.all-link { margin-top: 16px; }

/* End of article: a short note from the product, not a banner. */
.signoff { margin: 56px 0 8px; padding-top: 28px; border-top: 2px solid var(--text); }
.signoff h2 { margin: 0 0 8px !important; font-size: 1.3rem !important; }
.signoff p { color: var(--ink-2); margin-bottom: 18px !important; }
.signoff .btn { padding: 12px 24px; border-radius: 10px; font-size: 0.98rem; color: #fff; text-decoration: none; }
.related { margin-top: 56px; }
.related h2 { margin: 0 0 12px !important; font-size: 1.2rem !important; }

@media (max-width: 640px) {
  .toc ol { columns: 1; }
  .post-list li { padding-right: 0; }
  .post-time { position: static; display: block; margin-top: 8px; }
  .compare, .markup { padding: 16px 16px 14px; }
}

/* ── HOME: stat sources, candidate path (4 steps), pricing ───────────────── */
.stat-source { margin-top: 28px !important; font-size: 0.78rem !important; color: #8f8fa9 !important; }

.path-section { max-width: 1180px; margin: 0 auto; padding: 96px 24px; }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.path-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px 22px; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(79,70,229,0.05); }
.path-step-label { display: inline-block; align-self: flex-start; background: var(--accent-lt); color: var(--accent); border-radius: 999px; padding: 3px 12px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 12px; }
.path-step h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.3px; line-height: 1.25; margin-bottom: 6px; }
.path-step-outcome { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.path-step ul { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.path-step li { position: relative; padding-left: 22px; font-size: 0.88rem; line-height: 1.5; }
.path-step li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.path-access { margin-top: auto; display: grid; gap: 8px; }
.path-free, .path-paid { border-radius: 10px; padding: 10px 12px; font-size: 0.8rem; line-height: 1.45; }
.path-free { background: var(--green-lt); color: #14532d; }
.path-paid { background: var(--bg); border: 1px solid var(--border); color: var(--text); }
.path-free strong, .path-paid strong { display: block; font-size: 0.72rem; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }
.path-paid strong .nocase { text-transform: none; }

.price-section { background: var(--accent-lt); border-top: 1px solid #ddd6fe; border-bottom: 1px solid #ddd6fe; padding: 88px 24px; }
.price-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.price-section h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.price-section p { color: var(--muted); font-size: 1.02rem; margin-bottom: 14px; }
.price-section p strong { color: var(--text); }
.price-list { list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 22px; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.price-list li:last-child { border-bottom: none; }
.price-name { font-weight: 700; }
.price-name small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.price-amount { font-weight: 800; white-space: nowrap; }
.price-bundle .price-amount { color: var(--accent); }
.price-section .price-note { margin-top: 14px; font-size: 0.82rem; }

.nav-links a { white-space: nowrap; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 1060px) { .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .price-inner { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) {
  .path-grid { grid-template-columns: 1fr; }
  .path-section, .price-section { padding: 72px 16px; }
}
