/* Rolekite — design from the "Rolekite Redesign" canvas (2026-09-28) with the
   system font stack: deep navy chrome, indigo accent, light blue-grey ground.
   Mobile first; the CSP forbids inline styles, so every look lives here. */

:root {
  color-scheme: light;
  --deep: #0B1128;
  --navy: #0E1530;
  --navy-2: #182253;
  --navy-3: #1F2A60;
  --bg: #EEF1FB;
  --surface: #FFFFFF;
  --surface-2: #F4F6FD;
  --ink: #0E1530;
  --ink-2: #3A4466;
  --muted: #5A6384;
  --soft: #B7BEDA;
  --soft-2: #C9CFE8;
  --faint: #8A93B8;
  --line: #DCE1F2;
  --line-2: #E8EBF5;
  --input: #D6DCF0;
  --input-2: #C9D0E8;
  --accent: #4957EE;
  --accent-hover: #3440C8;
  --accent-light: #8C96FF;
  --accent-glow: #9AA3FF;
  --accent-tint: #E6E9FF;
  --accent-text: #2F3BC4;
  --teal-bg: #DDF4F0;
  --teal-ink: #0B5F57;
  --warn-bg: #FFEFD6;
  --warn-ink: #8A4B00;
  --danger: #B42318;
  --danger-line: #E7B4AA;
  --danger-bg: #FEF1EE;
  --radius: 12px;
  --shadow-menu: 0 12px 32px rgba(14, 21, 48, .16);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
}
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p { margin: 0; }
input, select, button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.mono { font-family: var(--font-mono); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand:hover { color: #FFFFFF; }
.brand__mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.brand--lg { font-size: 18px; font-weight: 700; gap: 10px; }
.brand--lg .brand__mark { width: 30px; height: 30px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--input-2); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-2); color: var(--ink); }
.btn--primary { border-color: var(--accent); background: var(--accent); color: #FFFFFF; font-weight: 600; }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #FFFFFF; }
.btn--lg { min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.btn--danger { border-color: var(--danger-line); color: var(--danger); }
.btn--danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn--danger-solid { border-color: var(--danger); background: var(--danger); color: #FFFFFF; font-weight: 600; }
.btn--danger-solid:hover { background: #8F1C13; color: #FFFFFF; }
.btn--block { width: 100%; }

/* ---------- App header ---------- */
.topbar { background: var(--navy); color: #FFFFFF; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; column-gap: 32px; }
.topbar__left { display: flex; align-items: center; gap: 32px; }
.nav { order: 3; flex-basis: calc(100% + 32px); display: flex; gap: 24px; height: 48px; border-top: 1px solid rgba(255, 255, 255, .08); margin: 0 -16px; padding: 0 16px; }
.nav__link { display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 2px; border-bottom: 2px solid transparent; color: var(--soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav__link:hover { color: #FFFFFF; }
.nav__link[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--accent-light); }
.count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.count[hidden] { display: none; }

.usermenu { position: relative; margin-left: auto; }
.usermenu > summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0; border-radius: 8px; color: #FFFFFF; font-weight: 500; cursor: pointer; }
.usermenu > summary::-webkit-details-marker { display: none; }
.usermenu__email, .usermenu__chevron { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: #FFFFFF; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: 240px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-menu); display: flex; flex-direction: column; color: var(--ink); }
.menu__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); text-decoration: none; font-size: 14px; text-align: left; }
.menu__item:hover { background: var(--surface-2); color: var(--ink); }
.menu__hint { font-size: 12px; color: var(--muted); }
.menu__label { padding: 6px 10px 2px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.menu__sep { height: 1px; background: var(--line-2); margin: 4px 0; }
.menu form { display: flex; flex-direction: column; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; font-size: 12px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.langs { display: flex; gap: 12px; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }

/* ---------- Notices and tags ---------- */
.notice { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.notice--error { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger); }
.notice--success { border-color: #A6DDD3; background: var(--teal-bg); color: var(--teal-ink); }
.notice--dark { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #FFFFFF; }
.notice--dark.notice--error { border-color: rgba(255, 170, 150, .5); background: rgba(210, 73, 47, .22); color: #FFE2DA; }
.pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.tag { font-size: 12px; font-weight: 500; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.tag--source { background: var(--teal-bg); color: var(--teal-ink); }
.tag--remote { background: var(--teal-bg); color: var(--teal-ink); }
.tag--warn { background: var(--warn-bg); color: var(--warn-ink); }
.tag--muted { background: var(--line-2); color: var(--ink-2); }
.tag--match { background: var(--accent-tint); color: var(--accent-text); font-weight: 600; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .field__label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field small { font-size: 12px; color: var(--muted); }
.input, .select { height: 44px; width: 100%; padding: 0 12px; border-radius: 8px; border: 1px solid var(--input-2); background: var(--surface); color: var(--ink); font-size: 16px; }
.input::placeholder { color: var(--faint); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }

/* ---------- Jobs page ---------- */
.app { flex: 1; width: 100%; padding: 16px; display: grid; gap: 16px; align-content: start; }
.order { background: var(--navy-2); color: #FFFFFF; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.order__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order__head h2 { font-size: 16px; font-weight: 600; }
.order__count { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; }
.order__count.is-full { background: var(--accent); }
.order__hint { font-size: 13px; line-height: 1.45; color: var(--soft); }
.order__rule { height: 1px; background: rgba(255, 255, 255, .12); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 32px; padding: 0 2px 0 10px; border-radius: 7px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; }
.chip form { display: flex; }
.chip__remove { width: 28px; height: 28px; border: 0; border-radius: 4px; background: transparent; color: var(--soft); display: grid; place-items: center; }
.chip__remove:hover { color: #FFFFFF; background: rgba(255, 255, 255, .1); }
.order__empty { font-size: 13px; color: var(--soft); }
.add-title { display: flex; gap: 6px; }
.dark-input, .dark-select { height: 44px; width: 100%; min-width: 0; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #FFFFFF; font-size: 16px; }
.dark-input::placeholder { color: #8F97BD; }
.dark-select { background: var(--navy-3); color-scheme: dark; padding: 0 8px; }
.dark-label { font-size: 12px; font-weight: 500; color: var(--soft); }
.order .field { gap: 5px; }
.order .field label { color: var(--soft); font-size: 12px; }
.order__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.order__form { display: flex; flex-direction: column; gap: 10px; }
.btn-dark { flex-shrink: 0; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1); color: #FFFFFF; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-dark:hover { background: rgba(255, 255, 255, .16); }
.btn-dark__label { display: none; }
.order .btn--primary { height: 44px; border-radius: 8px; }

.results { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.search { display: flex; flex-direction: column; gap: 8px; }
.searchbar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--input); color: var(--muted); }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--ink); }
.search__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.search__show-label { display: none; }
.search .select { border-color: var(--input); border-radius: 10px; font-size: 15px; }
.refine { position: relative; }
.refine > summary { list-style: none; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--input); background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 15px; font-weight: 500; cursor: pointer; }
.refine > summary::-webkit-details-marker { display: none; }
.refine__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.refine__body { margin-top: 8px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 4px; }
.results__title { display: flex; align-items: center; gap: 8px; }
.results__title h2 { font-size: 15px; font-weight: 600; }
.toggle { display: flex; align-items: center; gap: 7px; min-height: 36px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }

.joblist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(14, 21, 48, .04); }
.job { display: grid; grid-template-columns: minmax(0, 1fr) 30px; grid-template-areas: "main save" "meta meta" "tags tags"; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.job:last-child { border-bottom: 0; }
.job--expired .job__title a { color: var(--muted); }
.job__main { grid-area: main; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.job__title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.job__title a { color: var(--ink); text-decoration: none; }
.job__title a:hover { color: var(--accent-text); text-decoration: underline; }
.job__company { font-size: 13px; color: var(--muted); }
.job__place { grid-area: meta; display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 13px; color: var(--muted); }
.job__place-name { color: var(--ink-2); }
.job__date { font-variant-numeric: tabular-nums; }
.job__sep::before { content: "·"; }
.job__tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 6px; }
.job__save { grid-area: save; }
.job__desk-date { display: none; }
.save-btn { width: 30px; height: 30px; padding: 0; border-radius: 8px; border: 1px solid var(--input); background: var(--surface); color: var(--muted); display: grid; place-items: center; }
.save-btn:hover { color: var(--accent-text); border-color: var(--accent-light); }
.save-btn[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--accent-text); }

.save-btn[aria-pressed="true"] svg path { fill: currentColor; }

.empty { padding: 32px 20px; border-radius: var(--radius); border: 1px dashed var(--input-2); background: var(--surface); text-align: center; display: grid; justify-items: center; gap: 6px; color: var(--muted); }
.empty h3 { color: var(--ink); font-size: 15px; font-weight: 600; }
.empty__icon { width: 40px; height: 40px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 4px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pagination__page { font-size: 13px; color: var(--muted); }

/* ---------- Content pages (account, admin, legal) ---------- */
.page { flex: 1; width: 100%; max-width: 752px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 20px; }
.page--wide { max-width: 1440px; }
.page h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.page__lead { color: var(--muted); font-size: 15px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.card h2 { font-size: 16px; font-weight: 600; }
.card__hint { font-size: 14px; line-height: 1.5; color: var(--muted); }
.card__rule { height: 1px; background: var(--line-2); }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.row__text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row__label { font-size: 13px; color: var(--muted); }
.row__value { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.row__value--secret { letter-spacing: .1em; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.disclose > summary { list-style: none; cursor: pointer; }
.disclose > summary::-webkit-details-marker { display: none; }
.disclose[open] > summary .btn { background: var(--surface-2); }
.disclose__body { margin-top: 16px; }
.switch { width: 44px; height: 26px; flex-shrink: 0; border: 0; border-radius: 999px; background: var(--input-2); padding: 3px; display: flex; justify-content: flex-start; }
.switch::after { content: ""; width: 20px; height: 20px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14, 21, 48, .25); }
.switch[aria-checked="true"] { background: var(--accent); justify-content: flex-end; }

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.data-table thead th { background: var(--surface-2); color: var(--ink-2); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.data-table tbody th { font-weight: 600; }
.data-table small { color: var(--muted); font-weight: 400; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.source-problems { margin: 10px 0 0; padding-left: 1.2rem; }

.legal { line-height: 1.6; color: var(--ink-2); }
.legal h1 { color: var(--ink); }
.legal h2 { margin: 12px 0 0; color: var(--ink); font-size: 18px; font-weight: 600; }
.legal h3 { color: var(--ink); font-size: 15px; font-weight: 600; }
.legal p, .legal ul { margin: 0; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: 6px; }
.legal__meta { color: var(--muted); font-size: 13px; }

/* ---------- Sign-in, registration, small public pages ---------- */
.auth { flex: 1; display: grid; grid-template-rows: auto 1fr; min-height: 100vh; }
.auth__side { background: var(--navy); color: #FFFFFF; padding: 20px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.auth__pitch { display: none; flex-direction: column; gap: 16px; }
.auth__pitch h2 { font-size: 38px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.auth__pitch p { font-size: 16px; line-height: 1.55; color: var(--soft); }
.auth__copy { display: none; font-size: 13px; color: var(--faint); }
.auth__main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 32px 16px; }
.auth__box { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 24px; }
.auth__box h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.auth__sub { font-size: 15px; color: var(--muted); }
.auth__intro { display: flex; flex-direction: column; gap: 6px; }
.auth__form { display: flex; flex-direction: column; gap: 14px; }
.auth__form .btn--primary { margin-top: 6px; }
.auth__note { font-size: 13px; color: var(--muted); text-align: center; }
.auth__foot { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.auth__foot a { color: var(--muted); }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border-radius: 10px; background: #DDE2F4; }
.tabs a { height: 40px; border-radius: 7px; display: grid; place-items: center; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--surface); box-shadow: 0 1px 3px rgba(14, 21, 48, .12); }

/* ---------- Landing ---------- */
.dots { background-color: var(--deep); background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 22px 22px; }
.landing { color: var(--ink); font-size: 15px; }
.lp-hero { color: #FFFFFF; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.lp-header { width: 100%; max-width: 1440px; min-height: 76px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lp-nav { display: none; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.lp-nav a { height: 36px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; color: var(--soft-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.lp-nav a:hover { color: #FFFFFF; background: rgba(255, 255, 255, .06); }
.lp-actions { display: flex; align-items: center; gap: 6px; }
.lp-link { height: 40px; padding: 0 10px; display: flex; align-items: center; color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 500; }
.lp-link:hover { color: var(--accent-glow); }
.rbtn { height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.rbtn--white { background: #FFFFFF; color: var(--deep); }
.rbtn--white:hover { background: var(--accent-tint); color: var(--deep); }
.rbtn--accent { background: var(--accent); color: #FFFFFF; }
.rbtn--accent:hover { background: var(--accent-hover); color: #FFFFFF; }
.rbtn--outline { border: 1px solid rgba(255, 255, 255, .2); color: #FFFFFF; font-weight: 500; }
.rbtn--outline:hover { background: rgba(255, 255, 255, .06); color: #FFFFFF; }
.rbtn--xl { height: 52px; padding: 0 26px; font-size: 16px; }
.lp-hero__copy { padding: 56px 16px 0; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.lp-badge { height: 32px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--soft-2); }
.lp-badge span { height: 22px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-weight: 600; font-size: 12px; display: flex; align-items: center; }
.lp-hero h1 { max-width: 1040px; font-weight: 800; font-size: 46px; line-height: .98; letter-spacing: -0.05em; }
.lp-hero h1 span, .lp-cta h2 span { color: var(--accent-glow); }
.lp-hero__lead { max-width: 600px; font-size: 18px; line-height: 1.5; color: var(--soft); }
.lp-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.lp-shot { margin-top: 56px; width: min(1120px, calc(100% - 32px)); padding: 10px 10px 0; border-radius: 22px 22px 0 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; }
.lp-shot__screen { height: 470px; border-radius: 14px 14px 0 0; overflow: hidden; background: var(--bg); color: var(--ink); }
.lp-shot__bar > span { display: none; }
.lp-shot__bar { height: 44px; background: var(--navy); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #FFFFFF; font-size: 12px; }
.lp-shot__nav { display: flex; align-items: center; gap: 22px; }
.lp-shot__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.lp-shot__brand i { width: 20px; height: 20px; border-radius: 6px; background: var(--accent); }
.lp-shot__active { font-weight: 500; border-bottom: 2px solid var(--accent-light); padding: 13px 0 11px; }
.lp-shot__muted { color: var(--soft); font-weight: 500; }
.lp-shot__body { padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.lp-order { display: none; background: var(--navy-2); color: #FFFFFF; border-radius: 10px; padding: 14px; flex-direction: column; gap: 11px; font-size: 12px; }
.lp-order__head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.lp-order__head span { font-size: 11px; background: rgba(255, 255, 255, .12); padding: 1px 7px; border-radius: 999px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 5px; font-weight: 500; }
.lp-chips span { padding: 3px 8px; border-radius: 5px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.lp-order__rule { height: 1px; background: rgba(255, 255, 255, .12); }
.lp-field { display: flex; flex-direction: column; gap: 4px; }
.lp-field small { font-size: 11px; color: var(--soft); }
.lp-field span { height: 30px; padding: 0 9px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); display: flex; align-items: center; justify-content: space-between; }
.lp-remote { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-weight: 500; }
.mini-switch { width: 32px; height: 18px; border-radius: 999px; background: var(--accent); padding: 2px; display: flex; justify-content: flex-end; flex-shrink: 0; }
.mini-switch::after { content: ""; width: 14px; height: 14px; border-radius: 999px; background: #FFFFFF; }
.lp-save { height: 30px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; font-weight: 600; }
.lp-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lp-search { height: 32px; border-radius: 7px; background: var(--surface); border: 1px solid var(--input); display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: var(--faint); }
.lp-count { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.lp-count span { font-size: 11px; color: var(--accent-text); background: var(--accent-tint); padding: 1px 7px; border-radius: 999px; }
.lp-rows { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.lp-row { display: grid; grid-template-columns: minmax(0, 1fr) 26px; gap: 14px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line-2); }
.lp-row:last-child { border-bottom: 0; }
.lp-row__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-row__main b { font-weight: 600; font-size: 13px; }
.lp-row__main span { font-size: 12px; color: var(--muted); }
.lp-row__place { display: none; font-size: 12px; color: var(--ink-2); }
.lp-row__tags { display: none; gap: 5px; }
.lp-row__tags .tag { font-size: 11px; padding: 2px 6px; }
.lp-mark { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--input); display: grid; place-items: center; color: var(--muted); }
.lp-mark--on { border-color: var(--accent-tint); background: var(--accent-tint); color: var(--accent-text); }
.lp-mark--on svg path { fill: currentColor; }

.lp-match { background: var(--surface); border-bottom: 1px solid var(--line); padding: 48px 16px; display: grid; gap: 24px; align-items: center; }
.lp-match__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pill { padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-size: 17px; font-weight: 600; }
.lp-pill--dash { background: transparent; border: 1.5px dashed #B9C1DE; color: var(--muted); font-weight: 500; }
.lp-arrow { justify-self: center; transform: rotate(90deg); }
.lp-found { display: flex; flex-direction: column; gap: 8px; }
.lp-found span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.lp-found em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent-text); background: var(--accent-tint); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

.lp-section { width: 100%; max-width: 1440px; margin: 0 auto; padding: 72px 16px 0; display: flex; flex-direction: column; gap: 32px; }
.lp-section__head { display: flex; flex-direction: column; gap: 16px; }
.lp-section h2 { font-weight: 800; font-size: 38px; line-height: 1.02; letter-spacing: -0.04em; }
.lp-section__lead { max-width: 380px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 280px; }
.tile h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.tile p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.tile__text { display: flex; flex-direction: column; gap: 8px; }
.tile--dark { background: var(--navy); border-color: var(--navy); color: #FFFFFF; display: grid; align-items: center; }
.tile--dark h3 { font-size: 28px; }
.tile--dark p { color: var(--soft); font-size: 16px; }
.tile--dark .tile__text { gap: 14px; }
.tile--accent { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.tile--accent p { color: rgba(255, 255, 255, .85); }
.mailcard { background: #FFFFFF; color: var(--ink); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transform: rotate(-2deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.mailcard small { font-size: 11px; color: var(--muted); }
.mailcard b { font-weight: 700; font-size: 17px; }
.mailcard span { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.mailcard i { align-self: flex-start; font-style: normal; padding: 7px 12px; border-radius: 6px; background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 600; }
.tile__rows { display: flex; flex-direction: column; gap: 8px; }
.tile__rows span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.tile__rows span.is-dim { color: var(--muted); }
.tile__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tile__pills span { padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-size: 14px; font-weight: 600; }
.tile__pills span.is-dash { background: transparent; border: 1.5px dashed #B9C1DE; color: var(--muted); font-weight: 500; }
.tile__switch { display: flex; align-items: center; gap: 12px; align-self: flex-start; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; }
.tile__switch i { width: 40px; height: 24px; border-radius: 999px; background: #FFFFFF; padding: 3px; display: flex; justify-content: flex-end; }
.tile__switch i::after { content: ""; width: 18px; height: 18px; border-radius: 999px; background: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.steps li { border-top: 2px solid var(--navy); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps .mono { font-size: 14px; color: var(--accent-text); }
.steps h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.lp-cta { margin: 72px 16px 0; color: #FFFFFF; border-radius: 28px; padding: 64px 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.lp-cta h2 { max-width: 820px; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.045em; }
.lp-footer { margin-top: 48px; }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  .topbar__inner { padding: 0 32px; justify-content: flex-start; }
  .nav { order: 0; flex-basis: auto; height: 56px; border-top: 0; margin: 0; padding: 0; gap: 24px; }
  .nav__link { font-size: 14px; }
  .usermenu > summary { height: 36px; padding: 0 8px 0 4px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
  .usermenu__email, .usermenu__chevron { display: inline; }
  .avatar { width: 26px; height: 26px; font-size: 12px; }
  .site-footer { padding: 14px 32px; }
  .btn-dark__label { display: inline; }
  .input, .dark-input, .dark-select, .searchbar input, .search .select { font-size: 14px; }
  .page { padding: 40px 32px; }
  .card { padding: 24px; }
  .auth { grid-template-rows: none; grid-template-columns: minmax(360px, 560px) minmax(0, 1fr); }
  .auth__side { padding: 40px 56px; }
  .auth__pitch, .auth__copy { display: flex; }
  .auth__main { padding: 40px; }
  .lp-header { padding: 0 32px; }
  .lp-shot__bar > span { display: inline; }
  .lp-hero h1 { font-size: 64px; }
  .lp-match { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); padding: 64px 32px; gap: 32px; }
  .lp-arrow { transform: none; }
  .lp-section { padding: 96px 32px 0; }
  .lp-section h2 { font-size: 48px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-cta { margin: 96px 32px 0; padding: 88px 64px; }
  .lp-cta h2 { font-size: 56px; }
}

@media (min-width: 1024px) {
  .app { max-width: 1440px; margin: 0 auto; padding: 24px 32px; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
  .order { border-radius: var(--radius); padding: 18px; }
  .order__head h2 { font-size: 15px; }
  .order__hint { font-size: 13px; }
  .chip { height: 28px; border-radius: 6px; font-size: 13px; }
  .chip__remove { width: 24px; height: 24px; }
  .dark-input, .dark-select { height: 36px; padding: 0 10px; border-radius: 6px; }
  .btn-dark { height: 36px; min-width: 0; border-radius: 6px; font-size: 13px; }
  .order .btn--primary { height: 38px; border-radius: 6px; }
  .search { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .searchbar { flex: 1 1 280px; height: 38px; border-radius: 8px; }
  .search__row { display: flex; gap: 8px; align-items: flex-start; }
  .search__show-label { display: flex; align-items: center; height: 38px; font-size: 13px; color: var(--muted); margin-left: 4px; }
  .search .select { width: 180px; height: 38px; border-radius: 8px; font-size: 14px; }
  .refine > summary { height: 38px; border-radius: 8px; font-size: 13px; }
  .refine__body { position: absolute; right: 0; z-index: 10; width: 320px; box-shadow: var(--shadow-menu); }
  .job { grid-template-columns: minmax(0, 1fr) minmax(0, 250px) 110px minmax(0, 250px) 30px; grid-template-areas: "main meta date tags save"; gap: 20px; align-items: center; padding: 12px 16px; }
  .job__title { font-size: 14px; }
  .job__place { flex-direction: column; gap: 2px; }
  .job__place .job__sep, .job__place .job__date { display: none; }
  .job__desk-date { display: block; grid-area: date; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .lp-hero__copy { padding-top: 88px; gap: 28px; }
  .lp-hero h1 { font-size: 92px; }
  .lp-hero__lead { font-size: 20px; }
  .lp-nav { display: flex; }
  .lp-header { padding: 0 64px; }
  .lp-shot { margin-top: 72px; }
  .lp-shot__body { grid-template-columns: 260px minmax(0, 1fr); }
  .lp-order { display: flex; }
  .lp-row { grid-template-columns: minmax(0, 1fr) 150px 240px 26px; }
  .lp-row__place { display: block; }
  .lp-row__tags { display: flex; }
  .lp-match { padding: 64px; }
  .lp-section { padding: 112px 64px 0; gap: 48px; }
  .lp-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .lp-section h2 { font-size: 56px; max-width: 720px; }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { padding: 32px; min-height: 300px; }
  .tile--wide { grid-column: span 2; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; min-height: 340px; padding: 36px; }
  .tile--tall { min-height: 340px; }
  .lp-cta { margin: 112px 64px 0; }
  .lp-cta h2 { font-size: 64px; }
  .lp-footer { padding: 0 64px; min-height: 80px; font-size: 13px; }
}
