/* Joblens website: shared styles (every page).
   Brand tokens match the app redesign: concrete and steel neutrals, ink text, hi-vis amber for the brand and "Get the app". */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin-standard-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
}

:root {
  --amber: #FFB01F;
  --amber-hover: #FFBE45;
  --amber-edge: #B87800;
  --ink: #15181D;
  --ink-2: #4A505A;
  --surface: #FFFFFF;
  --concrete: #F2F3F5;
  --line: #D9DCE1;
  --link: #18449A;
  --alert: #8C200C;
  --band: #15181D;
  --band-ink: #EDEEF0;
  --band-ink-2: #A9AFB8;
  --band-line: #2E333B;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --pad: clamp(64px, 9vw, 128px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EDEEF0; --ink-2: #A9AFB8; --surface: #0F1114; --concrete: #171A1F; --line: #2A2F36;
    --link: #8FB0FF; --alert: #FF9C85; --amber-edge: #FFB01F; --band: #050607;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; font-weight: 850; font-stretch: 112%; letter-spacing: -0.015em; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 750; font-stretch: 105%; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 34em; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 99; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 850 23px/1 var(--display); font-stretch: 112%; letter-spacing: -0.01em; min-height: 44px; }
.brand svg { flex: none; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 11px 14px; border-radius: 999px; }
.nav a:hover { background: var(--concrete); }
.nav a[aria-current="page"] { background: var(--concrete); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 750 16px/1 var(--body); text-decoration: none; white-space: nowrap; }
.btn-amber { background: var(--amber); color: #15181D; box-shadow: inset 0 0 0 1.5px var(--amber-edge); }
.btn-amber:hover { background: var(--amber-hover); }
.menu-btn { display: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 650 15px/1 var(--body); cursor: pointer; }
@media (max-width: 820px) {
  .top .wrap { gap: 10px; }
  .top .btn { margin-left: auto; min-height: 44px; padding: 0 16px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; margin: 0; padding: 8px var(--gutter) 16px; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .12); }
  .top.open .nav { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 10px; font-size: 18px; }
}
@media (max-width: 380px) { .brand { font-size: 20px; } .brand svg { width: 28px; height: 28px; } }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: inline-flex; border-radius: 10px; }
.stores img { height: 54px; width: auto; display: block; }

/* Footer */
.site-footer { background: var(--concrete); padding-block: 64px 40px; color: var(--ink-2); font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer .brand { font-size: 20px; }
.site-footer h2 { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer nav a { display: block; color: var(--ink-2); text-decoration: none; padding: 7px 0; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .about { margin-top: 14px; max-width: 24em; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 500 13px/1.5 var(--mono); }
@media (max-width: 780px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* 404 */
.notfound { padding-block: var(--pad); display: grid; gap: 20px; justify-items: start; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 900; font-stretch: 115%; }
