/* CVReviver — shared design tokens and marketing styles.
   Idea: a recruiter's desk. Navy ink on clean paper, a yellow highlighter for
   keywords, a red pen for weak lines, green for what improved. */
:root {
  --ink: #14213d;
  --ink-2: #2b3a5c;
  --muted: #5b6478;
  --paper: #ffffff;
  --mist: #eef1f6;
  --mist-2: #f6f8fb;
  --line: #d6dbe5;
  --high: #ffe45c;
  --high-soft: #fff3a8;
  --pen: #c8362c;
  --grow: #1f7a50;
  --grow-soft: #e3f3ea;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --step-5: 3.052rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo mark { background: var(--high); color: var(--ink); padding: 0 4px; border-radius: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { .nav a.hide-sm { display: none; } .site-head .wrap { gap: 12px; } .nav { gap: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 1rem; padding: 12px 20px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); text-decoration: none; }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--mist); }
.btn.high { background: var(--high); color: var(--ink); border-color: var(--ink); }
.btn.high:hover { background: #ffd92e; }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Type */
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5.2vw, var(--step-5)); }
h2 { font-size: clamp(1.7rem, 3.4vw, var(--step-4)); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 36ch; line-height: 1.45; }
.muted { color: var(--muted); }
mark.hl { background: linear-gradient(transparent 12%, var(--high) 12%, var(--high) 88%, transparent 88%); color: inherit; padding: 0 2px; }

/* Sections */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.band { background: var(--mist-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { max-width: 15ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .fine { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* The CV sheet: the page's one memorable moment */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(20,33,61,.28); padding: 28px 28px 30px; font-family: var(--serif); position: relative; }
.sheet .who { font-family: var(--display); font-weight: 750; font-size: 1.25rem; margin: 0; }
.sheet .role { font-family: var(--display); color: var(--muted); font-size: .9rem; margin: 2px 0 16px; }
.sheet .job { font-family: var(--display); font-weight: 650; font-size: .95rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 12px; }
.sheet .job span:last-child { color: var(--muted); font-weight: 500; }
.sheet ul { margin: 0; padding-left: 18px; }
.sheet li { margin-bottom: 12px; font-size: 1.02rem; line-height: 1.45; }
.sheet .before { color: var(--muted); position: relative; }
.sheet .before s { text-decoration: none; background-image: linear-gradient(var(--pen), var(--pen)); background-repeat: no-repeat; background-position: 0 55%; background-size: 100% 2px; }
.sheet .after { color: var(--ink); }
.sheet .after mark { background: linear-gradient(transparent 14%, var(--high) 14%, var(--high) 86%, transparent 86%); background-repeat: no-repeat; background-size: 100% 100%; color: inherit; padding: 0 1px; }
.note { font-family: var(--display); font-size: .82rem; line-height: 1.35; color: var(--pen); border-left: 2px solid var(--pen); padding: 2px 0 2px 10px; margin: 4px 0 14px 18px; }
.note.good { color: var(--grow); border-color: var(--grow); }
.sheet .stamp { position: absolute; top: 20px; right: 22px; font-family: var(--display); font-size: .78rem; font-weight: 700; color: var(--grow); background: var(--grow-soft); border-radius: 999px; padding: 4px 10px; }

@media (prefers-reduced-motion: no-preference) {
  .sheet.animate .before s { background-size: 0 2px; animation: strike .7s .5s ease-out forwards; }
  .sheet.animate .after { opacity: 0; transform: translateY(6px); animation: rise .5s 1.25s ease-out forwards; }
  .sheet.animate .after mark { background-size: 0 100%; animation: sweep .5s 1.8s ease-out forwards; }
  .sheet.animate .note, .sheet.animate .stamp { opacity: 0; animation: rise .4s 2.3s ease-out forwards; }
  @keyframes strike { to { background-size: 100% 2px; } }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes sweep { to { background-size: 100% 100%; } }
}

/* Questions block */
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .qgrid { grid-template-columns: 1fr; } }
.adsnip { font-family: var(--serif); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 22px 24px; font-size: 1rem; }
.adsnip h3 { font-family: var(--display); font-size: 1rem; margin-bottom: 8px; }
.adsnip ul { padding-left: 18px; margin: 0; }
.qlist { list-style: none; padding: 0; margin: 0; }
.qlist li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.qlist li:first-child { border-top: 1px solid var(--line); }
.qlist .mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); margin-top: 2px; }
.qlist .q { font-weight: 650; }
.qlist .why { color: var(--muted); font-size: .95rem; }

/* Steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); font-weight: 800; font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 10px; }
.steps p { color: var(--ink-2); }

/* Deliverables */
.deliver { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .deliver { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 10px 0 10px 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--grow); border-bottom: 2.5px solid var(--grow); transform: rotate(-45deg); }
.scorecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.scorecard h3 { font-size: 1rem; margin-bottom: 14px; }
.meter { margin-bottom: 14px; }
.meter .row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 4px; }
.meter .row b { font-variant-numeric: tabular-nums; }
.meter .track { height: 8px; background: var(--mist); border-radius: 999px; position: relative; overflow: hidden; }
.meter .was { position: absolute; inset: 0 auto 0 0; background: #c9cfdb; border-radius: 999px; }
.meter .now { position: absolute; inset: 0 auto 0 0; background: var(--grow); border-radius: 999px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }
.price { border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: 26px; background: #fff; display: flex; flex-direction: column; }
.price.featured { border-color: var(--ink); box-shadow: 6px 6px 0 var(--high); }
.price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 4px; }
.price .per { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.price .btn { margin-top: auto; }
.compare { margin-top: 28px; color: var(--ink-2); max-width: 70ch; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); max-width: 72ch; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
input[type="email"], input[type="text"], textarea, select {
  font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
textarea { font-family: var(--serif); line-height: 1.5; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--high-soft); }
.inline-form { display: flex; gap: 10px; max-width: 460px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }
.form-msg { font-size: .95rem; margin-top: 10px; }
.form-msg.ok { color: var(--grow); }
.form-msg.err { color: var(--pen); }

/* Articles */
.prose { font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; max-width: 68ch; }
.prose h2 { font-family: var(--display); font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-family: var(--display); font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--high); color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--display); font-size: .95rem; margin: 1.4em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist-2); }
.prose code { font-size: .9em; background: var(--mist); padding: 1px 5px; border-radius: 4px; }
.article-head { max-width: 68ch; padding-top: 56px; }
.article-head .meta { color: var(--muted); font-size: .95rem; }
.tldr { background: var(--mist-2); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 22px; margin: 24px 0 8px; max-width: 68ch; font-size: 1.05rem; }
.tldr strong { display: block; margin-bottom: 4px; }
.cta-box { border: 1.5px solid var(--ink); border-radius: var(--radius-m); padding: 26px; margin: 48px 0; max-width: 68ch; box-shadow: 6px 6px 0 var(--high); }
.cta-box h2 { font-size: 1.4rem; margin-top: 0; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
@media (max-width: 760px) { .post-list { grid-template-columns: 1fr; } }
.post-list li { border-top: 1px solid var(--line); padding: 20px 0; }
.post-list a { text-decoration: none; }
.post-list a h3 { margin-bottom: 6px; }
.post-list a:hover h3 { text-decoration: underline; }
.post-list p { color: var(--muted); margin: 0; font-size: .98rem; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Checker tool */
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }
.tool textarea { min-height: 280px; }
.results { margin-top: 32px; }
.big-score { display: flex; align-items: baseline; gap: 10px; }
.big-score b { font-size: 4rem; letter-spacing: -0.04em; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; background: #fff; }
.chips li.miss { border-color: var(--pen); color: var(--pen); }
.chips li.must { font-weight: 700; }
.chips li.hit { background: var(--high-soft); border-color: #e8d36a; }
.issues { list-style: none; padding: 0; margin: 0; }
.issues li { padding: 10px 0 10px 16px; border-left: 3px solid var(--line); margin-bottom: 8px; }
.issues li.high { border-color: var(--pen); }
.issues li.medium { border-color: #e2a400; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: .95rem; color: var(--ink-2); }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { font-size: .95rem; margin: 0 0 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.nav a.btn { color: #fff; }
.nav a.btn:hover { color: #fff; text-decoration: none; }
.btn { white-space: nowrap; }
@media (max-width: 520px) {
  .sheet { padding: 22px 20px 24px; }
  .sheet .stamp { position: static; display: inline-block; margin-bottom: 10px; }
  .sheet .job { flex-direction: column; gap: 2px; }
}
