/* ============================================================
   Free Resume Maker - site.css
   Site chrome, home page, templates gallery and content pages.
   ============================================================ */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/figtree-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/figtree-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }

:root {
  --mist: #f1f5f3;
  --paper: #ffffff;
  --ink: #15302b;
  --ink-2: #4a605a;
  --ink-3: #6f827d;
  --brand: #0f766e;
  --brand-strong: #0b5c55;
  --brand-tint: #e3f2ef;
  --marigold: #f5c04a;
  --line: #d8e3df;
  --danger: #c0392b;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 20px;
  --shadow-paper: 0 1px 2px rgba(21,48,43,.06), 0 12px 32px -8px rgba(21,48,43,.18);
  --max: 1180px;
  /* aliases used by inline styles in older pages */
  --text: var(--ink); --text-secondary: var(--ink-2); --text-muted: var(--ink-3); --border: var(--line); --accent: var(--brand); --surface: var(--paper); --bg: var(--mist);
  color-scheme: light;
}
[data-theme="dark"] {
  --mist: #0e1917;
  --paper: #15231f;
  --ink: #e4eeeb;
  --ink-2: #a9bcb7;
  --ink-3: #82968f;
  --brand: #3cc2b3;
  --brand-strong: #6fd8cb;
  --brand-tint: #17332e;
  --line: #29403a;
  --shadow-paper: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -10px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--mist); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 0 0 8px 8px; z-index: 2000; font-weight: 600; }
.skip-link:focus { top: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
[data-theme="dark"] .btn-primary { color: #06201c; }
.btn-outline, .btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: #0b5c55; }
.btn-white:hover { background: var(--marigold); color: #15302b; }
.btn-danger { background: transparent; color: var(--danger); border-color: currentColor; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--mist) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
@supports not (background: color-mix(in srgb, red 50%, transparent)) { .site-header { background: var(--mist); } }
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
[data-theme="dark"] .logo-icon { background: #0f766e; }
.logo-icon svg { width: 26px; height: 26px; }
.main-nav { display: flex; gap: 2px; margin-left: 12px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 8px; font-size: .97rem; }
.main-nav a:hover { color: var(--ink); background: var(--paper); }
.main-nav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.header-controls { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn, .theme-toggle, .hamburger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
.header-cta { display: inline-flex; }
.hamburger { display: none; position: relative; }
.hamburger span { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger span:nth-child(1) { top: 15px; } .hamburger span:nth-child(2) { top: 21px; } .hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 68px 0 0 0; background: var(--mist); z-index: 999; padding: 16px 20px 32px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.mobile-menu.show { visibility: visible; opacity: 1; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 14px 4px; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; width: 100%; }
@media (max-width: 960px) {
  .main-nav { display: none; }
  .hamburger { display: grid; }
}
@media (max-width: 520px) { .header-cta { display: none; } .logo { font-size: 1.05rem; } }

/* ── Footer ── */
.site-footer { background: #10231f; color: #b9cbc6; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #e4eeeb; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.footer-logo .logo-icon { background: #0f766e; }
.footer-about-text { max-width: 36ch; }
.footer-by { margin-top: 10px; color: #8aa39d; }
.footer-col h4 { color: #fff; font-family: var(--body); font-size: 1rem; font-weight: 700; margin-bottom: 12px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col p + p { margin-top: 8px; }
.footer-bottom { border-top: 1px solid #23403a; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #8aa39d; font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--ink-2); margin-top: 12px; font-size: 1.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* ── Hero ── */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 48px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); font-size: .98rem; margin-bottom: 18px; }
.hero-kicker svg { width: 18px; height: 18px; fill: currentColor; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); margin-top: 22px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .97rem; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; fill: var(--brand); flex-shrink: 0; }

/* Live demo paper in the hero: the one bold element */
.demo { position: relative; }
.demo-stage { position: relative; height: 560px; }
.demo-paper { position: absolute; left: 50%; top: 0; width: 794px; transform-origin: top center; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-paper); background: #fff; transition: transform .35s ease; }
.demo-paper.back { opacity: .55; }
.demo-controls { position: relative; z-index: 2; margin: -28px auto 0; width: max-content; max-width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 24px -10px rgba(21,48,43,.3); }
.demo-controls .label { font-size: .85rem; color: var(--ink-3); padding-left: 6px; }
.demo-swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.demo-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.demo-next { border: 0; background: var(--brand-tint); color: var(--brand-strong); border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; font-size: .9rem; min-height: 32px; }
[data-theme="dark"] .demo-next { color: var(--brand-strong); }
.demo-caption { text-align: center; color: var(--ink-3); font-size: .9rem; margin-top: 10px; }

@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .demo-stage { height: 460px; }
}
@media (max-width: 480px) { .demo-stage { height: 400px; } .hero-actions .btn { flex: 1 1 100%; } }

/* ── Start options ── */
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.start-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.start-card h3 { font-size: 1.45rem; }
.start-card p { color: var(--ink-2); }
.start-card .btn { align-self: flex-start; margin-top: auto; }
.dropzone { border: 2px dashed var(--line); border-radius: var(--r); padding: 22px; text-align: center; color: var(--ink-2); background: var(--mist); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-tint); }
.dropzone strong { color: var(--ink); display: block; font-size: 1.05rem; }
.dropzone small { display: block; margin-top: 4px; color: var(--ink-3); }
.file-types { display: flex; gap: 6px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.file-types span { font-size: .8rem; font-weight: 700; border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: 2px 8px; color: var(--ink-2); }
@media (max-width: 760px) { .start-grid { grid-template-columns: 1fr; } }

/* ── Template gallery ── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: .93rem; cursor: pointer; min-height: 38px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
.tpl-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.tpl-card:hover { color: var(--ink); }
.tpl-thumb { position: relative; aspect-ratio: 210 / 297; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: var(--shadow-paper); outline: 1px solid var(--line); }
.tpl-thumb .rs { position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none; }
.tpl-thumb .use { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0; transition: opacity .15s, transform .15s; background: var(--brand); color: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.tpl-card:hover .use, .tpl-card:focus-visible .use { opacity: 1; transform: translate(-50%, 0); }
.tpl-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tpl-meta h3 { font-size: 1.12rem; }
.tpl-meta .tag { font-size: .8rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.tpl-card p { font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.tpl-swatches { display: flex; gap: 6px; }
@media (max-width: 520px) { .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .tpl-card p { display: none; } .tpl-meta { flex-direction: column; gap: 0; } }

/* ── Steps (a real sequence) ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { padding: 22px 24px 0 0; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 3rem; color: var(--brand); line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 22px 0; border-bottom: 1px solid var(--line); } }

/* ── Feature list ── */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; }
.feature-ico svg { width: 22px; height: 22px; fill: var(--brand); }
.feature h3 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.feature p { color: var(--ink-2); margin-top: 4px; font-size: 1rem; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── SEO article / content pages ── */
.prose, .content-wrapper { max-width: 72ch; }
.prose h2, .content-wrapper h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.2em 0 .6em; }
.prose h3, .content-wrapper h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; }
.prose p, .content-wrapper p { margin: 0 0 1em; }
.prose ul, .prose ol, .content-wrapper ul, .content-wrapper ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li, .content-wrapper li { margin: .35em 0; }
.content-wrapper > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.content-wrapper table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.content-wrapper th, .content-wrapper td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.content-wrapper th { background: var(--brand-tint); font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.info-box, .example-box { border-radius: var(--r-sm); padding: 14px 18px; margin: 1.2em 0; font-size: .98rem; }
.info-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--brand); }
.example-box { background: #fff8e6; border-left: 4px solid var(--marigold); color: #3d3320; }
[data-theme="dark"] .example-box { background: #2b2614; color: #efe4c6; }
.verb-list { list-style: none !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.verb-list li { margin: 0 !important; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; font-size: .95rem; }

.page-hero { padding: 40px 0 36px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero-bg { display: none; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; max-width: 22ch; }
.page-hero p { color: var(--ink-2); font-size: 1.15rem; margin-top: 12px; max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .92rem; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb svg { width: 16px; height: 16px; fill: currentColor; }
.guide-meta { margin-top: 16px; color: var(--ink-3); font-size: .93rem; }
.content-section { padding: 48px 0 72px; }
.guide-cta { background: #0f4a44; color: #e6f3f0; border-radius: var(--r-lg); padding: 28px; margin: 2.4em 0 1.4em; }
.guide-cta h2 { color: #fff; margin: 0 0 6px !important; font-size: 1.5rem; }
.guide-cta p { margin-bottom: 16px !important; }
.related-guides { margin-top: 2.4em; }
.related-guides > h2 { margin-top: 0 !important; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.content-wrapper .guide-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.guide-card:hover { border-color: var(--brand); color: var(--ink); }
.guide-card h3 { font-size: 1.12rem !important; margin: 0 !important; line-height: 1.3; }
.guide-card p { color: var(--ink-2); font-size: .95rem; margin: 0 !important; }
.read-more { color: var(--brand); font-weight: 600; font-size: .93rem; margin-top: auto; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); display: grid; place-items: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; fill: var(--brand); }
.contact-info-text h4 { font-size: 1rem; font-family: var(--body); }
.contact-info-text p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { padding: 22px; } }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 20px 0; text-align: left; font-weight: 600; font-size: 1.08rem; cursor: pointer; color: var(--ink); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s; }
.faq-icon svg { width: 18px; height: 18px; fill: var(--ink-2); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; color: var(--ink-2); }
.faq-item.open .faq-answer-inner { padding-bottom: 20px; }

/* ── CTA band ── */
.cta-banner { background: #0f4a44; color: #d7ebe7; padding: 64px 0; text-align: center; }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.cta-banner p { margin: 12px auto 26px; max-width: 52ch; font-size: 1.1rem; }

/* ── Cookie banner + toast ── */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 16px 40px -12px rgba(0,0,0,.35); padding: 16px 18px; z-index: 3000; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .93rem; }
.cookie-text { flex: 1 1 300px; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; width: max-content; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; z-index: 4000; display: flex; align-items: center; gap: 10px; font-weight: 500; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.toast-error { background: var(--danger); color: #fff; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 800; }
.notfound p { color: var(--ink-2); margin: 10px 0 24px; }
.notfound .btn + .btn { margin-left: 8px; }
.hero-grid > * { min-width: 0; }
@media (max-width: 560px) {
  .demo-controls { width: auto; flex-wrap: wrap; justify-content: center; border-radius: 16px; gap: 8px; margin: -20px 8px 0; }
  .demo-controls .label { display: none; }
  .demo-next { flex-basis: 100%; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
}
.contact-grid > * { min-width: 0; }
.contact-card .btn { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }

/* ── Job types: search, cards, finder ── */
.job-search { position: relative; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 760px; margin-bottom: 28px; transition: border-color .15s; }
.job-search:focus-within { border-color: var(--brand); }
.job-search > svg { width: 22px; height: 22px; fill: var(--ink-3); flex-shrink: 0; }
.job-search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 1.05rem; padding: 10px 0; outline: none; color: var(--ink); }
.job-search .btn { flex-shrink: 0; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.3); padding: 6px; z-index: 20; }
.suggest a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest a:focus-visible { background: var(--mist); }
.suggest a span { color: var(--ink-3); font-size: .9rem; white-space: nowrap; }
.suggest p { padding: 10px 12px; color: var(--ink-3); font-size: .95rem; }
@media (max-width: 560px) { .job-search { border-radius: 16px; flex-wrap: wrap; padding: 8px 8px 8px 14px; } .job-search .btn { width: 100%; } }

.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.job-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.job-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-1px); }
.job-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; }
.job-ico svg { width: 24px; height: 24px; fill: var(--brand); }
.job-ico-lg { width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0; }
.job-ico-lg svg { width: 30px; height: 30px; }
.job-txt { min-width: 0; }
.job-txt strong { display: block; font-size: 1.02rem; line-height: 1.3; }
.job-txt small { display: block; color: var(--ink-3); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-n { font-size: .8rem; font-weight: 700; color: var(--brand); background: var(--brand-tint); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
@media (max-width: 420px) { .job-card { grid-template-columns: 44px 1fr; } .job-n { display: none; } }

.cat-chips { margin-bottom: 14px; }
.chip .n { font-weight: 500; opacity: .6; margin-left: 2px; }
.chip-sm { min-height: 32px; padding: 4px 12px; font-size: .85rem; }
.finder-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0 18px; border-top: 1px solid var(--line); }
.style-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.finder-note { background: var(--brand-tint); border-radius: 12px; padding: 10px 14px; margin-bottom: 20px; color: var(--ink); }
.tpl-thumb .badge { position: absolute; bottom: 10px; right: 10px; background: var(--ink); color: var(--paper); font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 2px 8px; letter-spacing: .02em; }
.tpl-card[hidden] { display: none; }

.cat-head { display: flex; align-items: center; gap: 16px; }
.cat-hero .hero-actions { margin-top: 24px; }
.job-list { list-style: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; }
.job-list li { margin: 0 !important; }
.job-list a { text-decoration: none; }
.job-list a:hover { text-decoration: underline; }

.footer-jobs { margin-top: 36px; padding-top: 24px; border-top: 1px solid #23403a; }
.footer-jobs h4 { color: #fff; font-family: var(--body); font-size: 1rem; margin-bottom: 12px; letter-spacing: 0; }
.footer-jobs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; }
.cat-hero .hero-actions .btn { white-space: normal; text-align: center; }
@media (max-width: 480px) { .cat-hero .hero-actions .btn { flex: 1 1 100%; } .cat-head { gap: 12px; } .job-ico-lg { width: 48px; height: 48px; } }
/* Job cards: name gets the full width, count sits under it */
.job-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.job-card { grid-template-columns: 48px 1fr; align-items: start; }
.job-card .job-n { grid-column: 2; justify-self: start; margin-top: -6px; }
@media (max-width: 420px) { .job-card .job-n { display: inline-block; } }
@media (max-width: 640px) {
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .cat-chips::-webkit-scrollbar { display: none; }
  .cat-chips .chip { flex-shrink: 0; }
}

/* ── v9: navigation with the tools suite ── */
.main-nav a { padding: 8px 10px; font-size: .93rem; }
@media (max-width: 1220px) { .main-nav { display: none; } .hamburger { display: grid; } }

/* Tools suite */
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tool-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15,118,110,.45); }
.tool-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; margin-bottom: 6px; }
.tool-ico svg { width: 26px; height: 26px; fill: #fff; }
.tool-card strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }
.tool-desc { color: var(--ink-2); font-size: .97rem; flex: 1; }
.tool-cta { color: var(--brand); font-weight: 700; font-size: .95rem; margin-top: 6px; }
.tool-card.soon .tool-ico { background: var(--ink-3); }
.tool-badge, .soon-badge { position: absolute; top: 18px; right: 18px; background: var(--marigold); color: #3d2e00; font-size: .76rem; font-weight: 800; border-radius: 999px; padding: 4px 10px; letter-spacing: .02em; }
@media (max-width: 980px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tool-grid { grid-template-columns: 1fr; } }

/* ATS checker coming soon */
.soon { padding: 96px 0 110px; text-align: center; }
.soon .container { position: relative; max-width: 720px; }
.soon .soon-badge { position: static; display: inline-block; font-size: .9rem; padding: 6px 14px; margin-bottom: 22px; }
.soon-ico { width: 84px; height: 84px; border-radius: 24px; background: var(--brand-tint); display: grid; place-items: center; margin: 0 auto 18px; }
.soon-ico svg { width: 44px; height: 44px; fill: var(--brand); }
.soon h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
.soon p { color: var(--ink-2); font-size: 1.15rem; margin: 14px auto 28px; max-width: 46ch; }
.soon-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Templates page: open in which tool */
.use-for { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.use-for span { margin-right: 4px; }
/* Header with the full tools menu */
.site-header > .container { max-width: 1360px; }
.main-nav { gap: 0; margin-left: 6px; }
.main-nav a { white-space: nowrap; padding: 8px 9px; font-size: .92rem; }
@media (max-width: 1220px) { .main-nav { display: flex; } .hamburger { display: none; } }
@media (max-width: 1290px) { .main-nav { display: none; } .hamburger { display: grid; } }
.tool-card.soon .tool-ico { margin-top: 0; }

/* ===== v10: answer-first content blocks ===== */
.quick-answer { background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); border-left: 5px solid var(--brand); border-radius: var(--r); padding: 16px 20px; margin: 0 0 1.6em; font-size: 1.04rem; line-height: 1.6; color: var(--ink); }
.quick-answer strong:first-child { color: var(--brand-strong); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--brand-tint); font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-sm); }
.table-scroll table { margin: 0; }
ol.howto { list-style: none; counter-reset: howto; padding-left: 0 !important; }
ol.howto > li { counter-increment: howto; position: relative; padding: 2px 0 2px 46px; margin: 0 0 .9em; }
ol.howto > li::before { content: counter(howto); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
ul.feature-list, ul.checklist { list-style: none; padding-left: 0 !important; }
ul.feature-list > li, ul.checklist > li { position: relative; padding-left: 30px; }
ul.feature-list > li::before, ul.checklist > li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat; }
ol.obj-list > li { padding: 10px 14px; margin: 0 0 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); }
ol.obj-list > li::marker { color: var(--brand); font-weight: 700; }
.sample-resume { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--r-sm); padding: 20px 24px; margin: 1em 0 1.6em; box-shadow: var(--shadow-paper); font-size: .97rem; }
.sample-resume p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .quick-answer { padding: 14px 16px; font-size: 1rem; } .sample-resume { padding: 16px; } ol.howto > li { padding-left: 42px; } }

/* ===== v11 ===== */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; }
ul.tpl-names { padding-left: 1.2em; }
ul.tpl-names li { margin-bottom: .5em; }
ul.job-list.job-list-plain li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .92rem; }
