/* ATS CV Fixer — design system
   Palette fixed by the brief: white, royal blue, light slate, navy text.
   One typeface (Schibsted Grotesk); monospace only where it means "what the machine reads". */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --white: #FFFFFF;
  --blue: #2563EB;
  --blue-deep: #1D4ED8;
  --blue-wash: #EFF4FF;
  --slate-50: #F8FAFC;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-500: #64748B;
  --slate-600: #475569;
  --navy: #0F172A;
  --flag: #B42318;
  --flag-wash: #FEF3F2;
  --pass: #067647;
  --pass-wash: #ECFDF3;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 3.2vw, 2.25rem);
  --step-4: clamp(2.25rem, 5.2vw, 3.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --radius-btn: 999px;
  --radius-panel: 14px;
  --radius-small: 6px;
  --measure: 66ch;
  --page: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 var(--space-4); font-weight: 700; }
h1 { font-size: var(--step-4); letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); max-width: var(--measure); }

.skip-link { position: absolute; left: -999px; top: var(--space-2); background: var(--navy); color: var(--white); padding: var(--space-2) var(--space-4); z-index: 10; }
.skip-link:focus { left: var(--space-4); }

.wrap { width: min(100% - 2rem, var(--page)); margin-inline: auto; }
.section { padding-block: var(--space-8); }
.section--alt { background: var(--slate-50); border-block: 1px solid var(--slate-200); }
.section__intro { max-width: 40rem; margin-bottom: var(--space-6); }
.section__intro p { color: var(--slate-600); }
.lead { font-size: var(--step-1); color: var(--slate-600); line-height: 1.5; }
.muted { color: var(--slate-600); }
.small { font-size: var(--step--1); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5);
  border-radius: var(--radius-btn); border: 1.5px solid var(--blue);
  font: 600 var(--step-0)/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--blue); }
.btn--ghost:hover { background: var(--blue-wash); color: var(--blue-deep); }
.btn--small { min-height: 40px; padding: 0 var(--space-4); font-size: var(--step--1); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---- Header ----------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--slate-200); background: var(--white); position: sticky; top: 0; z-index: 5; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--navy); }
.brand svg { width: 42px; height: 42px; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a:not(.btn) { color: var(--slate-600); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav__links { display: flex; gap: var(--space-5); }
.lang-switch { font-size: var(--step--1); }
@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero { padding-block: var(--space-8) var(--space-8); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 34rem; margin-bottom: var(--space-6); }
.hero__note { margin-top: var(--space-4); font-size: var(--step--1); color: var(--slate-600); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* The exhibit: the same CV, as a person sees it and as an ATS reads it */
.exhibit { position: relative; }
.exhibit__pane { border: 1px solid var(--slate-200); border-radius: var(--radius-panel); background: var(--white); }
.exhibit__caption { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--slate-200); font-size: var(--step--1); color: var(--slate-600); }
.exhibit__caption strong { color: var(--navy); font-weight: 600; }

.cv-visual { display: grid; grid-template-columns: 34% 1fr; min-height: 210px; }
.cv-visual__side { background: #1E3A8A; color: #DBEAFE; padding: var(--space-4); border-bottom-left-radius: var(--radius-panel); display: grid; gap: var(--space-2); align-content: start; }
.cv-visual__photo { width: 44px; height: 44px; border-radius: 50%; background: #93C5FD; }
.cv-visual__bar { height: 6px; border-radius: 3px; background: rgba(219, 234, 254, .55); }
.cv-visual__bar--short { width: 60%; }
.cv-visual__main { padding: var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.cv-visual__name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.cv-visual__role { color: var(--slate-600); font-size: var(--step--1); margin-top: -0.35rem; }
.cv-visual__line { height: 7px; border-radius: 4px; background: var(--slate-200); }
.cv-visual__line--mid { width: 82%; }
.cv-visual__line--short { width: 55%; }
.cv-visual__table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: var(--space-2); }
.cv-visual__table span { height: 18px; border: 1px solid var(--slate-300); border-radius: 3px; }

.ats-read { margin: calc(var(--space-6) * -1) 0 0 var(--space-7); position: relative; box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .35); }
.ats-read__body { margin: 0; padding: var(--space-4); font: 0.8125rem/1.65 var(--mono); color: var(--navy); white-space: pre-wrap; overflow-wrap: anywhere; }
.ats-read__flag { background: var(--flag-wash); color: var(--flag); border-radius: 3px; padding: 0 3px; }
.ats-read__score { display: flex; align-items: baseline; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--slate-200); }
.ats-read__score b { font-size: 1.75rem; letter-spacing: -0.03em; color: var(--flag); line-height: 1; }
.ats-read__score span { font-size: var(--step--1); color: var(--slate-600); }
@media (max-width: 520px) {
  .ats-read { margin: calc(var(--space-5) * -1) 0 0 var(--space-4); }
}

/* ---- Steps (a real sequence) ------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--blue); padding-top: var(--space-4); }
.steps li::before { content: counter(step); display: block; font-weight: 700; color: var(--blue); font-size: var(--step-1); margin-bottom: var(--space-2); }
.steps h3 { font-size: 1.0625rem; margin-bottom: var(--space-2); }
.steps p { color: var(--slate-600); font-size: 0.9375rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- Regional rules table ---------------------------------------------- */
.regions { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-panel); overflow: hidden; }
.regions th, .regions td { text-align: start; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.regions thead th { font-size: var(--step--1); color: var(--slate-600); font-weight: 600; background: var(--slate-50); }
.regions tbody th { font-weight: 600; white-space: nowrap; }
.regions tr:last-child th, .regions tr:last-child td { border-bottom: 0; }
.yes { color: var(--pass); font-weight: 600; }
.no { color: var(--flag); font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---- Price ----------------------------------------------------------- */
.price-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
.price-card { border: 1.5px solid var(--blue); border-radius: var(--radius-panel); padding: var(--space-6); background: var(--white); }
.price-card__amount { font-size: clamp(2.75rem, 7vw, 4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-bottom: var(--space-2); }
.price-card__per { color: var(--slate-600); margin-bottom: var(--space-5); }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-2); }
.checklist li { padding-inline-start: 1.6rem; position: relative; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: .95rem; height: .55rem; border-inline-start: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.addon { display: flex; justify-content: space-between; gap: var(--space-4); border-top: 1px solid var(--slate-200); padding-top: var(--space-4); }
.compare { border-collapse: collapse; width: 100%; }
.compare td { padding: var(--space-3) 0; border-bottom: 1px solid var(--slate-200); }
.compare td:last-child { text-align: end; font-weight: 600; }
@media (max-width: 900px) { .price-block { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ---- Story ----------------------------------------------------------- */
.story { max-width: 46rem; }
.story blockquote { margin: 0 0 var(--space-4); font-size: var(--step-2); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.story figcaption { color: var(--slate-600); }

/* ---- FAQ ------------------------------------------------------------- */
.faq { max-width: 46rem; border-top: 1px solid var(--slate-200); }
.faq details { border-bottom: 1px solid var(--slate-200); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-4) 2rem var(--space-4) 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: var(--space-4); color: var(--blue); font-size: 1.25rem; line-height: 1; }
[dir="rtl"] .faq summary { padding: var(--space-4) 0 var(--space-4) 2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate-600); padding-bottom: var(--space-4); margin: 0; }

/* ---- Prose pages ----------------------------------------------------- */
.page-head { padding-block: var(--space-8) var(--space-5); }
.page-head p { color: var(--slate-600); font-size: var(--step-1); }
.prose { padding-bottom: var(--space-8); }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-7); }
.prose ul { padding-inline-start: 1.25rem; max-width: var(--measure); }
.prose li { margin-bottom: var(--space-2); }
.notice { border: 1px solid var(--slate-200); border-inline-start: 4px solid var(--blue); background: var(--blue-wash); padding: var(--space-4); border-radius: var(--radius-small); max-width: var(--measure); margin-bottom: var(--space-5); }

/* ---- Forms ----------------------------------------------------------- */
.field { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); max-width: 26rem; }
.field label { font-weight: 600; }
.field input { min-height: 48px; padding: 0 var(--space-4); border: 1.5px solid var(--slate-300); border-radius: 10px; font: inherit; color: var(--navy); background: var(--white); }
.field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.form-error { color: var(--flag); background: var(--flag-wash); border-radius: var(--radius-small); padding: var(--space-3) var(--space-4); max-width: 26rem; }
.form-success { color: var(--pass); background: var(--pass-wash); border-radius: var(--radius-small); padding: var(--space-3) var(--space-4); max-width: 26rem; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: var(--navy); color: #CBD5E1; padding-block: var(--space-7) var(--space-6); font-size: 0.9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: var(--space-6); margin-bottom: var(--space-6); }
.site-footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.site-footer__title { color: var(--white); font-weight: 600; margin-bottom: var(--space-3); }
.site-footer__legal { border-top: 1px solid #1E293B; padding-top: var(--space-5); color: #94A3B8; font-size: var(--step--1); }
.site-footer__legal p { max-width: 70ch; }
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---- Gate / minimal pages --------------------------------------------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: var(--space-5); background: var(--slate-50); }
.gate__card { width: min(100%, 26rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-panel); padding: var(--space-6); }
.gate__card .field { max-width: none; }
.gate__card .btn { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.gate__brand { margin-bottom: var(--space-5); }
.gate__title { font-size: var(--step-2); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

figure { margin: 0; }
@media (max-width: 520px) {
  .exhibit__caption span { display: none; }
}

/* ---- Phase 2: accounts and admin ------------------------------------- */
.nav__account { font-weight: 500; }
@media (max-width: 420px) { .nav__account { font-size: var(--step--1); } }

.flashes { padding-top: var(--space-5); display: grid; gap: var(--space-2); }
.form-error p, .form-success p { margin: 0; }
.form-error p + p { margin-top: var(--space-2); }
.form-error, .form-success { margin-bottom: var(--space-4); }

.auth { padding-block: var(--space-8); background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.auth__card { width: min(100% - 2rem, 28rem); margin-inline: auto; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-panel); padding: var(--space-6); }
.auth__card h1 { font-size: var(--step-3); }
.auth__card .field { max-width: none; }
.auth__card .btn[type="submit"] { width: 100%; margin-top: var(--space-2); }
.auth__alt { margin: var(--space-4) 0 0; font-size: 0.9375rem; }
.field__hint { margin: 0; font-size: var(--step--1); color: var(--slate-600); }
.field select { min-height: 48px; padding: 0 var(--space-3); border: 1.5px solid var(--slate-300); border-radius: 10px; font: inherit; color: var(--navy); background: var(--white); }
.field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }

.details { border-collapse: collapse; width: 100%; max-width: 40rem; margin-bottom: var(--space-5); }
.details th, .details td { text-align: start; padding: var(--space-3) var(--space-3) var(--space-3) 0; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.details th { width: 11rem; font-weight: 600; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: var(--slate-200); color: var(--slate-600); }
.tag--pass { background: var(--pass-wash); color: var(--pass); }
.tag--flag { background: var(--flag-wash); color: var(--flag); }
.account h2 { font-size: var(--step-1); margin-top: var(--space-6); }

.admin-head { background: var(--navy); color: var(--white); }
.admin-head .wrap { display: flex; align-items: center; gap: var(--space-6); min-height: 52px; flex-wrap: wrap; }
.admin-head__title { margin: 0; font-weight: 700; }
.admin-nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.admin-nav a { color: #CBD5E1; text-decoration: none; padding-block: var(--space-3); border-bottom: 2px solid transparent; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--blue); }
.admin-body { padding-block: var(--space-6) var(--space-8); }
.admin-body h2 { font-size: var(--step-1); margin-top: var(--space-6); }
.admin-h1 { font-size: var(--step-3); }
.admin-actions { margin-bottom: var(--space-5); }
.admin-actions form { margin: 0; }
.btn--danger { color: var(--flag); border-color: var(--flag); }
.btn--danger:hover { background: var(--flag-wash); color: var(--flag); }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: var(--space-3); margin: 0 0 var(--space-3); }
.stats div { border: 1px solid var(--slate-200); border-radius: var(--radius-small); padding: var(--space-4); }
.stats dt { color: var(--slate-600); font-size: var(--step--1); }
.stats dd { margin: var(--space-1) 0 0; font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }

.data { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.data th, .data td { text-align: start; padding: var(--space-3); border-bottom: 1px solid var(--slate-200); white-space: nowrap; }
.data thead th { font-size: var(--step--1); color: var(--slate-600); font-weight: 600; background: var(--slate-50); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: end; margin-bottom: var(--space-5); }
.filters .field { margin: 0; min-width: 10rem; }
.pager { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-4); }

.brand, .btn, .nav__account { white-space: nowrap; }
@media (max-width: 480px) {
  .site-header__inner { gap: var(--space-2); }
  .nav { gap: var(--space-3); }
  .brand { font-size: 1.15rem; gap: 8px; }
  .brand svg { width: 34px; height: 34px; }
  .site-header .btn--small { padding: 0 var(--space-3); }
}
.brand svg { flex-shrink: 0; }
@media (max-width: 400px) { .site-header .brand span { display: none; } }
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Show / hide password ------------------------------------------- */
.pw { position: relative; display: block; }
.pw input { width: 100%; padding-inline-end: 3rem; }
.pw__toggle { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--slate-600); cursor: pointer; }
.pw__toggle:hover { color: var(--blue); background: var(--blue-wash); }
.pw__toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Launching soon page (pre-launch, public) -------------------------- */
.soon { background: var(--white); }
.soon__top { border-bottom: 1px solid var(--slate-200); }
.soon__top-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 76px; }
.soon__preview { font-size: var(--step--1); color: var(--slate-600); text-decoration: none; font-weight: 500; }
.soon__preview:hover { color: var(--navy); text-decoration: underline; }
.soon__hero { padding-block: var(--space-8); background: linear-gradient(180deg, var(--blue-wash) 0%, var(--white) 70%); }
.soon__hero h1 { max-width: 14ch; }
.soon__hero .lead { max-width: 34rem; margin-bottom: var(--space-6); }
.soon__badge { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-5); padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid #BFDBFE; color: var(--blue-deep); font-size: var(--step--1); font-weight: 600; }
.soon__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(37, 99, 235, .5); animation: soon-pulse 2s infinite; }
@keyframes soon-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); } 70% { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }
@media (prefers-reduced-motion: reduce) { .soon__badge i { animation: none; } }

.notify { max-width: 32rem; scroll-margin-top: var(--space-6); }
.notify__label { display: block; font-weight: 600; margin-bottom: var(--space-2); }
.notify__row { display: flex; gap: var(--space-2); background: var(--white); border: 1.5px solid var(--slate-300); border-radius: 999px; padding: 5px; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35); }
.notify__row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.notify__row input { flex: 1; min-width: 0; min-height: 46px; border: 0; padding: 0 var(--space-4); font: inherit; color: var(--navy); background: transparent; border-radius: 999px; }
.notify__row input:focus { outline: none; }
.notify__row .btn { flex-shrink: 0; min-height: 46px; }
.notify__note { margin: var(--space-3) 0 0; font-size: var(--step--1); color: var(--slate-600); }
.notify .form-error { max-width: none; margin-bottom: var(--space-3); }
.notify__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify__done { display: grid; gap: 2px; padding: var(--space-4) var(--space-5); border-radius: var(--radius-panel); background: var(--pass-wash); color: var(--pass); border: 1px solid #ABEFC6; }
.notify__done strong { font-size: var(--step-1); }
.notify__done span { color: var(--navy); }
@media (max-width: 480px) {
  .notify__row { flex-direction: column; border-radius: var(--radius-panel); padding: 6px; }
  .notify__row input { min-height: 48px; }
  .notify__row .btn { width: 100%; }
}

.soon__h2 { margin-bottom: var(--space-6); }
.soon__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.soon__cards li { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-panel); padding: var(--space-5); }
.soon__cards h3 { margin-bottom: var(--space-2); }
.soon__cards p { margin: 0; color: var(--slate-600); font-size: 0.9375rem; }
.soon__num { display: inline-block; font: 600 var(--step--1)/1 var(--mono); color: var(--blue); margin-bottom: var(--space-3); }
@media (max-width: 860px) { .soon__cards { grid-template-columns: 1fr; } }

.soon__story { background: var(--navy); color: var(--white); padding-block: var(--space-8); }
.soon__story blockquote { margin: 0; max-width: 46rem; }
.soon__story blockquote p { font-size: var(--step-3); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; max-width: none; margin-bottom: var(--space-5); }
.soon__story blockquote p::before { content: "“"; color: #93C5FD; }
.soon__story blockquote p::after { content: "”"; color: #93C5FD; }
.soon__story footer { color: #BFDBFE; font-size: var(--step--1); }
.soon__foot { padding-block: var(--space-6); border-top: 1px solid var(--slate-200); font-size: var(--step--1); color: var(--slate-600); }
.soon__foot p { max-width: 46rem; }
.soon__foot p:last-child { margin: 0; }
.gate__back { margin: var(--space-5) 0 0; text-align: center; }
.soon__hero h1 { max-width: 16ch; }
.founding { display: flex; gap: var(--space-3); align-items: flex-start; max-width: 32rem; margin-bottom: var(--space-5); padding: var(--space-4); border-radius: var(--radius-panel); background: #FFF7E6; border: 1px solid #FCD9A0; }
.founding__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: #F59E0B; display: grid; place-items: center; }
.founding__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.founding strong { display: block; font-size: 1.0625rem; line-height: 1.3; margin-bottom: 2px; }
.founding span { color: var(--slate-600); font-size: 0.9375rem; line-height: 1.5; }
.founding b { color: #B45309; }
.founding--full { background: var(--slate-50); border-color: var(--slate-200); }
.founding--full .founding__icon { background: var(--slate-500); }

/* ---- Free ATS check: upload page ---------------------------------------- */
.eyebrow { display: inline-block; font-size: var(--step--1); font-weight: 600; color: var(--blue-deep); margin: 0 0 var(--space-3); letter-spacing: .01em; }
.check-hero { padding-block: var(--space-7) var(--space-5); background: linear-gradient(180deg, var(--blue-wash), var(--white)); }
.check-hero h1 { margin-bottom: var(--space-3); }
.check-body { padding-bottom: var(--space-8); }
.check-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.check-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 18px; padding: var(--space-6); box-shadow: 0 20px 50px -34px rgba(15, 23, 42, .35); }
.check-card .form-error { max-width: none; }
.check-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-4); padding-bottom: var(--space-5); margin-bottom: var(--space-5); border-bottom: 1px solid var(--slate-200); }
.check-step__n { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: var(--step--1); }
.check-step__title { display: block; font-weight: 700; font-size: 1.0625rem; margin: 4px 0 var(--space-3); }
.optional { font-weight: 500; color: var(--slate-500); font-size: var(--step--1); margin-inline-start: 6px; }
.check-note { margin: var(--space-2) 0 0; font-size: var(--step--1); color: var(--slate-600); }
.check-card select, .check-card textarea { width: 100%; font: inherit; color: var(--navy); border: 1.5px solid var(--slate-300); border-radius: 10px; background: var(--white); }
.check-card select { min-height: 48px; padding: 0 var(--space-3); }
.check-card textarea { padding: var(--space-3) var(--space-4); resize: vertical; min-height: 120px; line-height: 1.5; }
.check-card select:focus, .check-card textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: var(--space-6) var(--space-4); border: 2px dashed #A5C1F7; border-radius: 14px; background: var(--blue-wash); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.dropzone:hover, .dropzone.is-drag { background: #E2EBFF; border-color: var(--blue); }
.dropzone:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--white); display: grid; place-items: center; box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .4); }
.dropzone__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dropzone__text { font-size: 1rem; overflow-wrap: anywhere; }
.dropzone__text strong { color: var(--blue); }
.dropzone__hint { font-size: var(--step--1); color: var(--slate-600); }
.dropzone.has-file { border-style: solid; border-color: var(--pass); background: var(--pass-wash); }
.dropzone.has-file .dropzone__text { font-weight: 600; color: var(--pass); }
.check-submit { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.check-submit.is-busy { opacity: .75; pointer-events: none; }
.check-side { position: sticky; top: 100px; display: grid; gap: var(--space-5); }
.check-side h2 { font-size: var(--step-1); margin-bottom: var(--space-3); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.privacy-list li { position: relative; padding-inline-start: 30px; font-size: 0.9375rem; color: var(--slate-600); }
.privacy-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--pass-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23067647' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.privacy-list strong { color: var(--navy); display: block; }
.check-side__what { border-top: 1px solid var(--slate-200); padding-top: var(--space-5); }
.check-side__what h3 { font-size: 1rem; margin-bottom: var(--space-2); }
.check-side__what p { font-size: 0.9375rem; color: var(--slate-600); margin: 0; }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr; } .check-side { position: static; } }
@media (max-width: 480px) { .check-card { padding: var(--space-5) var(--space-4); } .check-step { grid-template-columns: 1fr; gap: var(--space-2); } }

/* ---- Free ATS check: report ---------------------------------------------- */
.report-hero { padding-block: var(--space-7) var(--space-6); background: linear-gradient(180deg, var(--blue-wash), var(--white)); }
.report-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-5); align-items: stretch; }
.score-card { display: flex; gap: var(--space-6); align-items: center; background: var(--white); border: 1px solid var(--slate-200); border-radius: 18px; padding: var(--space-6); box-shadow: 0 20px 50px -34px rgba(15, 23, 42, .35); }
.score-card .eyebrow { margin-bottom: var(--space-1); }
.score-card__band { font-size: var(--step-3); margin-bottom: var(--space-2); }
.score-card__meta { color: var(--slate-600); font-size: var(--step--1); margin-bottom: var(--space-3); }
.score-ring { position: relative; width: 156px; flex-shrink: 0; }
.score-ring svg { width: 156px; height: 156px; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 12; }
.score-ring__track { stroke: var(--slate-200); }
.score-ring__value { stroke-linecap: round; }
.score-card--good .score-ring__value { stroke: var(--pass); }
.score-card--mid .score-ring__value { stroke: #D97706; }
.score-card--bad .score-ring__value { stroke: var(--flag); }
.score-ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.score-ring__label strong { font-size: 3rem; letter-spacing: -0.04em; }
.score-ring__label span { font-size: var(--step--1); color: var(--slate-600); margin-top: 6px; }
.score-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { font-size: var(--step--1); font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.chip--fail { background: var(--flag-wash); color: var(--flag); }
.chip--warn { background: #FFF7E6; color: #B45309; }
.chip--pass { background: var(--pass-wash); color: var(--pass); }
.fix-card { background: var(--navy); color: var(--white); border-radius: 18px; padding: var(--space-6); display: flex; flex-direction: column; }
.fix-card h2 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.fix-card p { color: #CBD5E1; font-size: 0.9375rem; }
.fix-card__gain { color: #93C5FD !important; font-weight: 600; margin-bottom: var(--space-2); }
.fix-card__gain strong { color: var(--white); }
.fix-card__btn { margin-top: auto; width: 100%; }
.fix-card__note { margin: var(--space-3) 0 0; font-size: var(--step--1) !important; }

.report-body { padding-bottom: var(--space-8); }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.report-main, .report-side { display: grid; gap: var(--space-5); min-width: 0; }
.report-panel { background: var(--white); border: 1px solid var(--slate-200); border-radius: 16px; padding: var(--space-5); min-width: 0; }
.report-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-3); }
.report-panel h2 { font-size: var(--step-1); margin: 0; }
.issues { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.issue { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4); border-radius: 12px; border: 1px solid var(--slate-200); }
.issue p { margin: 0; max-width: none; }
.issue__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.issue__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.issue--fail { border-color: #FECDCA; background: #FFFBFA; } .issue--fail .issue__icon { background: var(--flag-wash); color: var(--flag); }
.issue--warn { border-color: #FCE3B6; background: #FFFCF5; } .issue--warn .issue__icon { background: #FFF1D6; color: #B45309; }
.issue--pass .issue__icon { background: var(--pass-wash); color: var(--pass); }
.issue--info .issue__icon { background: var(--blue-wash); color: var(--blue); }
.issue__title { font-weight: 700; display: flex; justify-content: space-between; gap: var(--space-3); }
.issue__pts { font-weight: 600; font-size: var(--step--1); color: var(--slate-500); white-space: nowrap; }
.issue__detail { color: var(--slate-600); font-size: 0.9375rem; margin-top: 2px !important; }
.issue__fix { font-size: 0.9375rem; margin-top: var(--space-2) !important; }
.issues--compact .issue { padding: var(--space-3); border: 0; border-bottom: 1px solid var(--slate-200); border-radius: 0; background: none; }
.areas { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-3); }
.areas li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; font-size: 0.9375rem; }
.areas__val { font-weight: 600; }
.areas__bar { grid-column: 1 / -1; width: 100%; height: 8px; }
.areas__track { fill: var(--slate-200); }
.areas__fill--good { fill: var(--pass); } .areas__fill--mid { fill: #D97706; } .areas__fill--bad { fill: var(--flag); }
.passed summary { cursor: pointer; font-weight: 600; color: var(--blue); padding: var(--space-2) 0; }
.job-match__pct { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.03em; }
.job-match__pct--good { color: var(--pass); } .job-match__pct--mid { color: #B45309; } .job-match__pct--bad { color: var(--flag); }
.kw-title { font-size: 0.9375rem; margin: var(--space-4) 0 var(--space-2); }
.kw { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kw li { font-size: var(--step--1); padding: 3px 10px; border-radius: 999px; }
.kw--missing li { background: var(--flag-wash); color: var(--flag); }
.kw--found li { background: var(--pass-wash); color: var(--pass); }
.ats-view__text { margin: var(--space-3) 0 0; max-height: 460px; overflow: auto; padding: var(--space-4); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 10px; font: 0.78rem/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.privacy-box h2 { margin-bottom: var(--space-2); }
.report-again { width: 100%; }
.report-disclaimer { font-size: var(--step--1); color: var(--slate-500); margin-top: var(--space-6); max-width: 60rem; }
@media (max-width: 960px) { .report-hero__grid, .report-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .score-card { flex-direction: column; text-align: center; padding: var(--space-5); gap: var(--space-4); }
  .score-chips { justify-content: center; }
  .report-panel, .fix-card { padding: var(--space-4); }
}

/* ---- Photo / screenshot mode ------------------------------------------- */
.mode-switch { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: var(--space-3); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 999px; max-width: 100%; }
.mode-switch button { border: 0; background: transparent; font: 600 var(--step--1)/1 var(--font); color: var(--slate-600); padding: 10px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.mode-switch button[aria-selected="true"] { background: var(--white); color: var(--blue-deep); box-shadow: 0 2px 8px -3px rgba(15, 23, 42, .25); }
.ocr-run { margin-top: var(--space-3); width: 100%; }
.ocr-run:disabled { opacity: .6; cursor: progress; }
.ocr-progress { margin-top: var(--space-3); }
.ocr-progress__bar { height: 8px; border-radius: 999px; background: var(--slate-200); overflow: hidden; }
.ocr-progress__bar span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .3s ease; }
.ocr-result { margin-top: var(--space-4); }
.ocr-result textarea { font: 0.85rem/1.55 var(--mono); }
@media (max-width: 400px) { .mode-switch button { padding: 9px 11px; } }
.ocr-progress.is-low [data-ocr-status] { color: #B45309; font-weight: 600; }
.ocr-progress.is-low .ocr-progress__bar span { background: #D97706; }
.photo-note { display: grid; gap: 2px; margin-bottom: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: 14px; background: var(--blue-wash); border: 1px solid #BFDBFE; font-size: 0.9375rem; }
.photo-note--low { background: #FFF7E6; border-color: #FCD9A0; }
.photo-note--low strong { color: #92400E; }

/* ---- CV builder ------------------------------------------------------------ */
.build-gate { max-width: 34rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: 18px; padding: var(--space-6); }
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-6); align-items: start; }
.build-new h2, .build-list h2 { font-size: var(--step-1); margin-bottom: var(--space-4); }
.build-new select { width: 100%; min-height: 48px; padding: 0 var(--space-3); font: inherit; border: 1.5px solid var(--slate-300); border-radius: 10px; background: var(--white); }
.build-new .check-submit { margin-top: var(--space-5); }
.cv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.cv-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-3); align-items: center; padding: var(--space-4); border: 1px solid var(--slate-200); border-radius: 14px; background: var(--white); }
.cv-list p { margin: 2px 0 0; }
.cv-list__name { font-weight: 700; text-decoration: none; color: var(--navy); }
@media (max-width: 860px) { .build-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cv-list li { grid-template-columns: minmax(0, 1fr) auto; } .cv-list li .btn { grid-column: 1 / -1; } }

.editor { background: var(--slate-50); padding-bottom: var(--space-8); }
.editor__bar { position: sticky; top: 76px; z-index: 4; background: var(--white); border-bottom: 1px solid var(--slate-200); }
.editor__bar-inner { display: flex; align-items: center; gap: var(--space-4); min-height: 52px; }
.editor__back { text-decoration: none; font-weight: 600; font-size: var(--step--1); }
.editor__status { margin-inline-start: auto; font-size: var(--step--1); color: var(--slate-500); }
.editor__status.is-ok { color: var(--pass); }
.editor__status.is-err { color: var(--flag); font-weight: 600; }
.editor__tabs { display: none; gap: 4px; padding: 3px; border: 1px solid var(--slate-200); border-radius: 999px; background: var(--slate-50); }
.editor__tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font: 600 var(--step--1)/1 var(--font); color: var(--slate-600); cursor: pointer; }
.editor__tabs button[aria-selected="true"] { background: var(--white); color: var(--blue-deep); box-shadow: 0 2px 8px -3px rgba(15, 23, 42, .25); }
.editor__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-6); align-items: start; padding-top: var(--space-5); }
.editor__form { display: grid; gap: var(--space-4); min-width: 0; }
.editor__side { position: sticky; top: 140px; display: grid; gap: var(--space-4); min-width: 0; max-height: calc(100vh - 156px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.ed-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 16px; padding: var(--space-5); }
.ed-card h2 { font-size: 1.0625rem; margin-bottom: var(--space-4); }
.f { display: grid; gap: 4px; margin-bottom: var(--space-3); min-width: 0; }
.f label { font-size: var(--step--1); font-weight: 600; color: var(--slate-600); }
.f input, .f select, .f textarea { width: 100%; min-height: 42px; padding: 8px 12px; font: inherit; font-size: 0.9375rem; color: var(--navy); border: 1.5px solid var(--slate-300); border-radius: 10px; background: var(--white); }
.f textarea { resize: vertical; line-height: 1.5; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.f--dates { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--space-3); }
.grid3 { display: grid; grid-template-columns: 2fr 1.5fr 0.8fr; gap: 0 var(--space-3); }
.rep { border: 1px solid var(--slate-200); border-radius: 12px; padding: var(--space-4); margin: 0 0 var(--space-3); background: var(--slate-50); min-width: 0; }
.rep--row { padding-bottom: var(--space-2); }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: var(--step--1); margin-bottom: var(--space-3); }
.link-btn { border: 0; background: none; color: var(--flag); font: 600 var(--step--1)/1.4 var(--font); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.ed-more summary { cursor: pointer; font-weight: 600; color: var(--blue); margin: var(--space-2) 0; }
.photo-box { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-3); padding: var(--space-3); border: 1px dashed var(--slate-300); border-radius: 12px; }
.photo-box[hidden], [data-photo-off][hidden] { display: none; }
.photo-box__thumb { width: 70px; height: 90px; flex-shrink: 0; border-radius: 6px; background: var(--slate-50); border: 1px solid var(--slate-200); display: grid; place-items: center; overflow: hidden; font-size: 0.7rem; color: var(--slate-500); }
.photo-box__thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-box__title { font-weight: 700; margin: 0; }
.photo-box__pick { margin-top: var(--space-2); cursor: pointer; }
.tpl-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.tpl-card { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: var(--space-3); border: 2px solid var(--slate-200); border-radius: 12px; cursor: pointer; background: var(--white); }
.tpl-card input { position: absolute; opacity: 0; }
.tpl-card:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); }
.tpl-card:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.tpl-card strong { font-size: 0.9375rem; }
.tpl-card__region { font-size: 0.75rem; color: var(--slate-600); line-height: 1.3; }
.tpl-card__thumb { width: 70px; height: 92px; border: 1px solid var(--slate-200); border-radius: 4px; background: #fff; padding: 8px 7px; display: grid; gap: 5px; align-content: start; }
.tpl-card__thumb i { display: block; height: 4px; border-radius: 2px; background: var(--slate-200); }
.tpl-card__thumb i:first-child { height: 7px; width: 70%; }
.tpl-card--classic .tpl-card__thumb i:first-child { margin: 0 auto; background: #1a1f2b; }
.tpl-card--modern .tpl-card__thumb i:first-child { background: #12306b; }
.tpl-card--modern .tpl-card__thumb i:nth-child(3) { background: #2563eb; width: 50%; }
.tpl-card--executive .tpl-card__thumb i:first-child { background: #0f2a4f; width: 85%; }
.tpl-card--executive .tpl-card__thumb i:nth-child(2) { background: #8a6d1f; width: 45%; }
.ed-score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: start; background: var(--white); border: 1px solid var(--slate-200); border-radius: 16px; padding: var(--space-4); }
.ed-score__num { width: 76px; height: 76px; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 6px solid currentColor; line-height: 1; }
.ed-score__num strong { font-size: 1.6rem; letter-spacing: -0.03em; color: var(--navy); }
.ed-score__num span { font-size: 0.6rem; color: var(--slate-600); margin-top: 3px; }
.ed-score--good .ed-score__num { color: var(--pass); } .ed-score--mid .ed-score__num { color: #D97706; } .ed-score--bad .ed-score__num { color: var(--flag); }
.ed-score__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.8125rem; color: var(--slate-600); }
.ed-score__list .is-fail strong { color: var(--flag); } .ed-score__list .is-warn strong { color: #B45309; } .ed-score__list .is-pass { color: var(--pass); font-weight: 600; }
.preview-wrap { position: relative; overflow: hidden; }
.preview-wrap .cv-page { position: absolute; top: 0; left: 0; }
.ed-download { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ed-download form { margin: 0; }
.ed-download__note { margin: 0; padding: var(--space-3) var(--space-4); border-radius: 12px; background: #FFF7E6; border: 1px solid #FCD9A0; font-size: 0.875rem; }
.ed-delete { margin: 0; text-align: center; }
.crop { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: var(--space-4); }
.crop[hidden] { display: none; }
.crop__box { background: var(--white); border-radius: 18px; padding: var(--space-5); width: min(100%, 360px); text-align: center; }
.crop__box h2 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.crop__canvas { width: 100%; max-width: 280px; height: auto; aspect-ratio: 35 / 45; border-radius: 8px; border: 2px solid var(--blue); cursor: grab; touch-action: none; margin: var(--space-3) auto; display: block; }
.crop__zoom { display: flex; gap: var(--space-3); align-items: center; justify-content: center; font-size: var(--step--1); font-weight: 600; margin-bottom: var(--space-4); }
.crop .btn-row { justify-content: center; }
@media (max-width: 960px) {
  .editor__grid { grid-template-columns: 1fr; }
  .editor__tabs { display: inline-flex; }
  .editor__side { position: static; max-height: none; overflow: visible; }
  .editor[data-mobile-view="form"] .editor__side { display: none; }
  .editor[data-mobile-view="preview"] .editor__form { display: none; }
}
@media (max-width: 520px) { .grid2, .grid3, .tpl-pick { grid-template-columns: 1fr; } .tpl-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tpl-card { padding: 8px 4px; } .tpl-card__region { font-size: 0.6875rem; } .editor__bar { top: 76px; } }

/* ---- /check: optional job ad, collapsed ---- */
.jd-toggle { margin: 4px 0 18px; }
.jd-toggle summary { cursor: pointer; color: var(--blue, #2563eb); font-weight: 600; font-size: .95rem; list-style: none; padding: 6px 0; }
.jd-toggle summary::-webkit-details-marker { display: none; }
.jd-toggle summary:hover { text-decoration: underline; }
.jd-toggle[open] summary { margin-bottom: 8px; }
.jd-toggle textarea { width: 100%; }

/* ---- Editor: "What we fixed" after an AI fix ---- */
.fixed-box { border: 1px solid #bfd3fb; background: var(--blue-wash); border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; }
.fixed-box summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; list-style: none; }
.fixed-box summary::-webkit-details-marker { display: none; }
.fixed-box__title { font-weight: 700; color: var(--navy); }
.fixed-box__title::before { content: "✓ "; color: var(--blue); }
.fixed-box__scores { font-size: .92rem; color: var(--slate-600); }
.fixed-box__scores strong { color: #067647; font-size: 1.05rem; }
.fixed-box__before { text-decoration: line-through; }
.fixed-box__list { margin: 10px 0 0 18px; padding: 0; font-size: .92rem; }
.fixed-box__list li { margin-bottom: 4px; }
.fixed-box__flags { margin-top: 12px; background: #fffaeb; border: 1px solid #fedf89; border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.fixed-box__flags ul { margin: 6px 0 0 18px; padding: 0; }
.fixed-box__missing, .fixed-box__note { font-size: .88rem; color: var(--slate-600); margin: 10px 0 0; }

/* ---- Fix my CV: questions, consent popup, busy overlay ---- */
.fixq { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .fixq { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.fixq__group { margin-bottom: 22px; }
.fixq__group .f { margin-bottom: 10px; }
.fixq__group .f label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.fixq__group input, .fixq__group select, .fixq__group textarea { width: 100%; box-sizing: border-box; }
.fixq__after { text-align: center; }
.consent { border: 0; border-radius: 22px; padding: 36px 36px 30px; max-width: 620px; width: calc(100% - 32px); margin: auto; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .5); }
.consent::backdrop { background: rgba(15, 23, 42, .6); }
.consent h2 { margin: 0 0 18px; font-size: 1.6rem; line-height: 1.25; color: var(--navy, #0f2a5c); }
.consent__check { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; line-height: 1.6; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 14px; padding: 18px 18px; cursor: pointer; }
.consent__check input { margin-top: 4px; width: 22px; height: 22px; flex: none; }
.consent__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
.consent__actions .btn { min-height: 50px; padding-inline: 26px; font-size: 1.05rem; }
@media (max-width: 560px) { .consent { padding: 26px 20px 22px; } .consent h2 { font-size: 1.35rem; } .consent__actions .btn { flex: 1 1 100%; } }

/* Welcome popup after sign-up, and the "on the way" notes */
.popup { border: 0; border-radius: 24px; padding: 40px 40px 32px; max-width: 640px; width: calc(100% - 32px); margin: auto; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .5); text-align: start; }
.popup::backdrop { background: rgba(15, 23, 42, .6); }
.popup__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--blue-wash); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.popup h2 { margin: 0 0 10px; font-size: 1.75rem; line-height: 1.2; color: var(--navy, #0f2a5c); }
.popup__lead { margin: 0 0 20px; font-size: 1.08rem; color: var(--slate-600, #475569); }
.popup__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.popup__steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 14px; padding: 14px 16px; }
.popup__steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.popup__steps strong { display: block; color: var(--navy, #0f2a5c); }
.popup__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 26px; flex-wrap: wrap; }
.popup__actions .btn { min-height: 50px; padding-inline: 26px; font-size: 1.05rem; }
@media (max-width: 560px) { .popup { padding: 28px 20px 22px; } .popup h2 { font-size: 1.4rem; } .popup__actions .btn { flex: 1 1 100%; } }
.trial-inline { background: var(--blue-wash); border-radius: 12px; padding: 12px 14px; }
.trial-note { display: flex; gap: 14px; align-items: flex-start; background: var(--blue-wash); border: 1px solid #c7d8fb; border-radius: 14px; padding: 16px 18px; margin-bottom: var(--space-5); color: var(--blue); max-width: var(--measure); }
.trial-note p { margin: 0; color: var(--slate-900, #0f172a); }
.consent__actions .btn[disabled] { opacity: .5; cursor: not-allowed; }
.fix-busy { position: fixed; inset: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: 100; }
.fix-busy[hidden] { display: none; }
.fix-busy__box { text-align: center; padding: 24px; }
.fix-busy .spinner { display: inline-block; width: 40px; height: 40px; border: 4px solid var(--blue-wash); border-top-color: var(--blue); border-radius: 50%; animation: fixspin .9s linear infinite; }
@keyframes fixspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fix-busy .spinner { animation-duration: 3s; } }

/* ---- Fixed CV, before unlock ---- */
.preview-wrap--static { overflow: hidden; border-radius: 6px; }
.preview-wrap .cv-page.cv-page--static { position: relative; width: 100%; min-height: 0; max-height: 760px; overflow: hidden; padding: 36px; transform: none; }
.cv-page--static::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255,255,255,0), #fff); }
@media (max-width: 600px) { .preview-wrap .cv-page.cv-page--static { padding: 18px; max-height: 520px; } .cv-page--static .cv { font-size: 10.5px; } .cv-page--static .cv-name { font-size: 18pt; } }
@media (max-width: 959px) { .fixq--locked .check-side { order: -1; } }
.locked-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.locked-score strong { font-size: 2.6rem; color: #067647; line-height: 1; }
.locked-score__before { font-size: 1.6rem; color: var(--slate-500); text-decoration: line-through; }
.locked-list li { margin-bottom: 6px; }
.locked-cta { margin-top: 18px; }
.locked-cta .btn { width: 100%; }

/* ---- /check FAQ ---- */
.check-faq { padding: 0 0 var(--space-8); }
.check-faq h2 { margin-bottom: var(--space-4); }

/* ---- Tables in policy pages ---- */
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 var(--space-5); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--slate-200); }
.prose th { background: var(--slate-50); font-weight: 700; color: var(--navy); }
[dir="rtl"] .prose th, [dir="rtl"] .prose td { text-align: right; }
@media (max-width: 600px) { .prose th, .prose td { padding: 8px; font-size: .85rem; } .prose table { min-width: 520px; } }

/* ---- Floating live score (fix pages + editor) ---- */
.score-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: 0 16px 40px -18px rgba(15, 23, 42, .45); max-width: calc(100% - 32px); }
.score-float__ring { width: 52px; height: 52px; transform: rotate(-90deg); flex: none; }
.score-float__track { fill: none; stroke: var(--slate-100, #f1f5f9); stroke-width: 4.5; }
.score-float__bar { fill: none; stroke: #dc2626; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .5s ease, stroke .3s; }
.score-float__num { position: absolute; left: 6px; width: 52px; text-align: center; font-weight: 800; font-size: 1.05rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.score-float__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.score-float__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--slate-500); font-weight: 700; }
.score-float__msg { font-size: .88rem; font-weight: 600; color: var(--navy); }
.score-float.is-mid .score-float__bar { stroke: #f59e0b; }
.score-float.is-good .score-float__bar { stroke: #16a34a; }
.score-float.is-good .score-float__msg { color: #067647; }
.score-float.is-bump { animation: scorebump .6s ease; }
@keyframes scorebump { 40% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .score-float__bar { transition: none; } .score-float.is-bump { animation: none; } }
@media (max-width: 600px) { .score-float { right: 10px; bottom: 10px; padding-right: 12px; } .score-float__msg { font-size: .8rem; } }
body:has(.score-float) .site-footer { padding-bottom: 90px; }

/* ---- Prepare your fix ---- */
.fixq__pts { display: inline-block; margin-left: 6px; font-size: .78rem; font-weight: 700; color: #067647; background: #ecfdf3; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.fixq__job label { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.fixq__jobname { font-weight: 700; color: var(--navy); }
.fixq__dates { font-size: .8rem; color: var(--slate-500); font-weight: 500; }
.fix-list { list-style: none; margin: 0 0 18px; padding: 0; }
.fix-list li { position: relative; padding: 4px 0 4px 26px; font-size: .93rem; }
.fix-list li::before { position: absolute; left: 0; top: 4px; font-weight: 800; }
.fix-list--auto li::before { content: "✓"; color: #16a34a; }
.fix-list--you li::before { content: "✎"; color: var(--blue); }

/* ---- Complete your CV ---- */
.complete-box { border: 1px solid #bfd3fb; background: #fff; border-radius: 14px; padding: 16px; margin: 0 0 18px; box-shadow: 0 10px 30px -22px rgba(37, 99, 235, .6); }
.complete-box__title { font-size: 1.1rem; margin: 0 0 6px; }
.complete-box .f { margin-bottom: 10px; }
.complete-box .f label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.complete-box input, .complete-box select, .complete-box textarea { width: 100%; box-sizing: border-box; }
.complete-box__btn { width: 100%; margin-top: 6px; }
.locked-complete { margin: 16px 0; }

/* ---- Editor: dates get their own row, so month pickers never get cut off ---- */
.grid2 > .f--dates { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--space-3); }
.f--dates input[type="month"] { min-width: 0; width: 100%; box-sizing: border-box; }
.f--dates input:disabled { background: var(--slate-50); color: var(--slate-500); }

/* ---- Smart questions per job ---- */
.jobq { border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px 14px 8px; margin: 0 0 12px; background: var(--slate-50); min-width: 0; }
.jobq legend { padding: 0 6px; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; max-width: 100%; }
.jobq__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: 6px 12px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--slate-200); }
.jobq__row label { font-size: .9rem; color: var(--navy); }
.jobq__answer { display: flex; align-items: center; gap: 8px; min-width: 0; }
.jobq__answer input { width: 6.5rem; flex: none; }
.jobq__unit { font-size: .78rem; color: var(--slate-500); line-height: 1.25; }
.jobq__more { padding: 6px 0 2px; }
.jobq__more summary { cursor: pointer; color: var(--blue); font-size: .88rem; font-weight: 600; list-style: none; }
.jobq__more summary::-webkit-details-marker { display: none; }
.jobq__more input { width: 100%; margin-top: 6px; box-sizing: border-box; }
@media (max-width: 600px) { .jobq__row { grid-template-columns: 1fr; } }

/* ---- Country tip on the report ---- */
.report-panel--note { background: var(--blue-wash); border-color: #bfd3fb; }
.report-panel--note p { margin: 0; font-size: .95rem; }

/* Header: sign-up button for guests */
.nav__signup { border-color: var(--blue); color: var(--blue); }
@media (max-width: 640px) { .nav__cta--guest { display: none; } }
.popup__icon--ok { background: #e8f7ee; color: #16a34a; }
.confirm-card { width: min(100% - 2rem, 34rem); }
.confirm-card .popup__icon { margin-bottom: var(--space-3); }
.confirm-steps { padding-inline-start: 1.2rem; line-height: 1.6; }
.confirm-steps li { margin-bottom: 6px; }
.confirm-card .btn--primary { width: 100%; }
.confirm-logout { margin-top: var(--space-2); }
