/* CV PRO public site (landing page and guides). Plain HTML and CSS so search engines read every word and the page
   is fast. Same identity as the app: tokens mirror src/CvTailor.Web/wwwroot/css/app.css. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1f2d37;
  --ink-2: #2a3a46;
  --ink-text: #dbe4ea;
  --ink-muted: #a7b7c1;
  --accent: #3d6274;
  --accent-strong: #2e4d5c;
  --accent-soft: #e4edf1;
  --bg: #f5f7f9;
  --surface: #ffffff;
  --text: #16212a;
  --muted: #4e5d68;
  --line: #dee3e8;
  --green: #1d7a45; --green-soft: #e6f5ec;
  --amber-soft: #fff4d6; --amber-text: #6b4500;
  --focus: #2b6cb0;
  --font: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 8px 28px rgba(16, 24, 32, .08);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* ---------- Header ---------- */
.site-head { background: var(--ink); color: var(--ink-text); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand .logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--ink); font-size: 14px; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 15px; }
.site-nav a { color: var(--ink-text); text-decoration: none; }
.site-nav a:hover { color: #fff; text-decoration: underline; }
.site-nav .lang { border: 1px solid #4a5d6a; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
@media (max-width: 760px) { .site-nav .hide-sm { display: none; } .site-nav { gap: 14px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; transition: background .15s, transform .15s; }
.btn.primary { background: #fff; color: var(--ink); }
.btn.primary:hover { background: var(--accent-soft); }
.btn.ghost { color: #fff; border: 1px solid #56707f; }
.btn.ghost:hover { background: var(--ink-2); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--ink-2); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--ink-text); padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; }
.hero .lead { font-size: 19px; color: var(--ink-text); max-width: 34em; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; color: var(--ink-muted); }
.trust li::before { content: "✓"; color: #8fd3a9; font-weight: 800; margin-right: 6px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .demo { max-width: 460px; } }

/* The illustration: a job posting turning into a tailored CV. Pure CSS, decorative. */
.demo { position: relative; }
.demo .posting, .demo .paper { background: #fff; color: var(--text); border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.demo .posting { padding: 16px 18px 40px; width: 72%; font-size: 13px; line-height: 1.5; }
.demo .posting b { display: block; font-size: 14px; margin-bottom: 6px; }
.demo .posting mark { background: var(--amber-soft); color: var(--amber-text); border-radius: 4px; padding: 0 3px; }
.demo .paper { margin: -28px 0 0 auto; width: 78%; padding: 18px 20px; position: relative; }
.demo .paper .name { height: 12px; width: 46%; background: var(--ink); border-radius: 4px; margin-bottom: 6px; }
.demo .paper .role { height: 8px; width: 34%; background: var(--accent); border-radius: 4px; margin-bottom: 14px; opacity: .7; }
.demo .paper i { display: block; height: 7px; background: var(--line); border-radius: 4px; margin: 7px 0; }
.demo .paper i.s { width: 70%; }
.demo .paper .tags { display: flex; gap: 6px; margin: 12px 0 4px; flex-wrap: wrap; }
.demo .paper .tags span { font-size: 11px; font-weight: 700; background: var(--green-soft); color: var(--green); padding: 2px 8px; border-radius: 999px; }
.demo .badge { position: absolute; right: -10px; top: -14px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }

/* ---------- Sections ---------- */
section.band { padding: 80px 0; }
section.band.alt { background: var(--bg); }
.section-head { max-width: 42em; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3, .features h3 { font-size: 19px; margin: 0 0 8px; }
.steps p, .features p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features article { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.features .ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 14px; }
.features .ico svg { width: 20px; height: 20px; }
@media (max-width: 880px) { .steps, .features { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { border-radius: var(--radius); padding: 26px; }
.compare .them { background: var(--bg); border: 1px solid var(--line); }
.compare .us { background: var(--ink); color: var(--ink-text); }
.compare .us h3 { color: #fff; }
.compare h3 { margin: 0 0 12px; font-size: 19px; }
.compare ul { margin: 0; padding-left: 20px; }
.compare li { margin: 6px 0; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: attr(data-flag); position: absolute; top: -13px; left: 24px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0 0 4px; font-size: 20px; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .what { font-weight: 700; margin: 4px 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan .btn { align-self: stretch; }
.plans-note { color: var(--muted); font-size: 15px; margin: 24px 0 0; }
.plans.single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.fam-note { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.hero .fam-note { color: var(--ink-text); opacity: .85; }
@media (max-width: 880px) { .plans, .plans.single { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 50em; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Closing call to action ---------- */
.closing { background: var(--ink); color: var(--ink-text); text-align: center; padding: 72px 0; }
.closing h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; letter-spacing: -.02em; }
.closing p { margin: 0 auto 28px; max-width: 34em; }

/* ---------- Guides (articles) ---------- */
.article-head { background: var(--ink); color: var(--ink-text); padding: 48px 0 44px; }
.article-head h1 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; max-width: 22em; }
.article-head p { max-width: 40em; margin: 0; font-size: 19px; }
.crumbs { font-size: 14px; margin: 0 0 14px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
.article-head .wrap { max-width: 822px; }
.article { max-width: 822px; margin: 0 auto; padding: 48px 20px 64px; }
.article h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.015em; margin: 44px 0 12px; }
.article h3 { font-size: 19px; margin: 28px 0 8px; }
.article p, .article li { color: #24323c; }
.article li { margin: 6px 0; }
.article .tip { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin: 24px 0; }
.article .tip p { margin: 0; }
.article .cta-box { background: var(--ink); color: var(--ink-text); border-radius: var(--radius); padding: 28px; margin: 48px 0 0; }
.article .cta-box h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.article .cta-box p { color: var(--ink-text); margin: 0 0 18px; }
.article .checklist { list-style: none; padding: 0; }
.article .checklist li { padding-left: 28px; position: relative; }
.article .checklist li::before { content: "☐"; position: absolute; left: 0; color: var(--accent); }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide-list a { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--surface); }
.guide-list a:hover { border-color: var(--accent); }
.guide-list b { display: block; font-size: 19px; margin-bottom: 6px; }
.guide-list span { color: var(--muted); }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: #17222a; color: var(--ink-muted); padding: 40px 0; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.site-foot a { color: var(--ink-text); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
