/* Fix My Job website — Workwear theme (same tokens as the app, src/theme) */
:root {
  --deep-denim: #112040;
  --denim: #1B3268;
  --mid-wash: #24438A;
  --indigo: #2B5CE6;
  --faded-blue: #5B82EE;
  --orange: #F26419;
  --hi-vis: #FF8547;
  --green: #22C55E;
  --midnight: #0A1628;
  --slate: #93AEDD;
  --text: #EAF0FF;
  --line: rgba(147, 174, 221, 0.28);
  --card: rgba(17, 32, 64, 0.72);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--midnight);
  background-image:
    radial-gradient(600px 420px at 100% 0%, rgba(242, 100, 25, 0.22), transparent 70%),
    linear-gradient(180deg, var(--midnight) 0%, var(--deep-denim) 100%);
}

a { color: var(--hi-vis); text-underline-offset: 3px; }
a:hover { color: #FFA477; }
:focus-visible { outline: 3px solid var(--hi-vis); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.brand span {
  font-family: var(--display); font-weight: 800; font-size: 24px;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
}
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--slate); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Type */
.eyebrow {
  display: inline-block;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: 1.02; margin: 0; }
h1 { font-weight: 800; font-size: clamp(40px, 7vw, 68px); letter-spacing: 0.01em; }
h1 .accent, h2 .accent { color: var(--orange); }
h2 { font-weight: 800; font-size: 28px; margin: 40px 0 12px; letter-spacing: 0.02em; }
h3 { font-weight: 700; font-size: 20px; margin: 24px 0 6px; letter-spacing: 0.03em; }
.lead { font-size: 19px; color: #C9D6F2; max-width: 34em; }
.muted { color: var(--slate); }
.small { font-size: 14px; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: relative;
}
.card.ticks::before, .card.ticks::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--orange); border-style: solid;
}
.card.ticks::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 14px; }
.card.ticks::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  background: var(--orange); color: #fff;
  box-shadow: 0 8px 28px rgba(242, 100, 25, 0.38);
}
.btn:hover { background: #FF7330; color: #fff; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn.secondary { background: transparent; color: var(--text); border: 1.5px solid var(--slate); box-shadow: none; }

/* Footer */
.site-footer { margin-top: 72px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--slate); }

/* ---------- Landing ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 36px 0 24px; }
.tagline {
  display: inline-block; transform: rotate(-2deg);
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: 0.08em;
  color: var(--hi-vis); margin-bottom: 18px;
}
.hero h1 { font-style: italic; font-weight: 900; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.dot {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.dot svg { width: 20px; height: 20px; }
.dot.blue { background: rgba(43, 92, 230, 0.22); color: var(--faded-blue); }
.dot.green { background: rgba(34, 197, 94, 0.18); color: var(--green); }
.dot.orange { background: rgba(242, 100, 25, 0.2); color: var(--hi-vis); }
.points b { display: block; font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2; }
.points span { color: #C9D6F2; font-size: 16px; }

.qr-card { text-align: center; padding: 30px 26px; }
.qr-box {
  width: min(260px, 100%); aspect-ratio: 1; margin: 6px auto 18px;
  background: #fff; border-radius: 18px; padding: 14px; position: relative;
  box-shadow: 0 0 0 6px rgba(242, 100, 25, 0.9), 0 18px 50px rgba(0, 0, 0, 0.45);
}
.qr-box img { width: 100%; height: 100%; display: block; }
.qr-box .qr-logo {
  position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; transform: translate(-50%, -50%);
  border-radius: 10px; border: 4px solid #fff; background: #fff;
}
.qr-card h2 { margin: 0 0 6px; font-size: 26px; }
.qr-card p { margin: 0 0 18px; color: #C9D6F2; font-size: 16px; }
.badge-mock {
  display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--midnight); background: var(--hi-vis); border-radius: 999px; padding: 3px 10px; font-weight: 700;
}
.only-desktop { display: block; }
.only-mobile { display: none; }

/* ---------- Text pages (privacy, delete) ---------- */
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(36px, 6vw, 54px); }
.prose p, .prose li { color: #D3DEF6; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--text); }
.toc { margin: 22px 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { color: #C9D6F2; text-decoration: none; }
.toc a:hover { color: var(--hi-vis); }
table.data { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); font-size: 14px; }
.table-scroll { overflow-x: auto; }

/* Form */
.form-grid { display: grid; gap: 18px; margin-top: 8px; }
label.field { display: grid; gap: 6px; font-weight: 600; }
label.field .hint { font-weight: 400; color: var(--slate); font-size: 14px; }
input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--text);
  background: rgba(10, 22, 40, 0.6); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; min-height: 50px;
}
textarea { min-height: 100px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--hi-vis); box-shadow: 0 0 0 3px rgba(255, 133, 71, 0.25); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 600; margin-bottom: 8px; }
.choice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 22, 40, 0.4);
}
.choice:has(input:checked) { border-color: var(--orange); background: rgba(242, 100, 25, 0.08); }
.choice input { margin-top: 5px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.choice b { display: block; }
.choice span { color: var(--slate); font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #D3DEF6; }
.check input { margin-top: 4px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 14px 16px; font-size: 15px; display: none; }
.notice.show { display: block; }
.notice.error { background: rgba(242, 100, 25, 0.12); border: 1px solid rgba(242, 100, 25, 0.6); color: #FFD3BD; }
.success { text-align: center; padding: 34px 24px; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: rgba(34, 197, 94, 0.18); color: var(--green); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before {
  content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--orange); color: var(--hi-vis);
  font-family: var(--display); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  .toc ol { columns: 1; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .card { padding: 18px; }
  .btn { width: 100%; font-size: 17px; padding: 0 18px; white-space: nowrap; }
}

/* ---------- Landing v2: matches the app's welcome screen ---------- */
.header-tagline {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: 16px; line-height: 1.05; letter-spacing: 0.05em; text-align: right;
  color: var(--slate); transform: rotate(-5deg);
}
.photo-hero { position: relative; }
.photo-band {
  position: relative; max-width: 1180px; margin: 0 auto;
  aspect-ratio: 2151 / 731; max-height: 440px; overflow: hidden;
}
.photo-band img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block;
  /* soft edges on all four sides so the photo melts into the denim ground */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.photo-band::before, .photo-band::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.photo-band::before { top: 0; height: 18%; background: linear-gradient(var(--midnight), rgba(10, 22, 40, 0)); }
.photo-band::after { bottom: 0; height: 45%; background: linear-gradient(rgba(14, 27, 52, 0), rgba(14, 27, 52, 0.8) 60%, #0E1B34); }
.headline-row {
  position: relative; margin-top: -78px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.hero-headline {
  font-style: italic; font-weight: 900; font-size: clamp(46px, 8vw, 92px); line-height: 0.95;
  transform: rotate(-3deg); transform-origin: left bottom;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.free-stamp {
  flex: none; width: 128px; height: 128px; border-radius: 50%;
  border: 3px solid var(--green); color: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg); background: rgba(10, 22, 40, 0.75);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
  font-family: var(--display); font-style: italic; font-weight: 900; line-height: 0.9;
  margin-bottom: 8px;
}
.free-big { font-size: 40px; }
.free-small { font-size: 30px; letter-spacing: 0.08em; }

.landing-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; margin-top: 30px;
}
.free-line {
  margin: 4px 0 22px; padding: 12px 16px; border-radius: 10px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.45); color: #CFF5DC;
}
.free-line b { color: var(--green); font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; margin-right: 4px; }
.panel {
  border: 1px solid var(--line); border-radius: 18px; background: rgba(27, 50, 104, 0.45); padding: 0 18px;
}
.feature { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon.blue { background: var(--indigo); }
.feature-icon.green { background: var(--green); }
.feature-icon.orange { background: var(--orange); }
.feature b { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; }
.feature span { color: var(--slate); font-size: 15px; }
.legal-line { margin: 14px 0 0 !important; font-size: 13px !important; color: var(--slate) !important; }

@media (max-width: 860px) {
  .landing-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 22px; }
  .headline-row { margin-top: -44px; }
  .free-stamp { width: 96px; height: 96px; }
  .free-big { font-size: 30px; }
  .free-small { font-size: 22px; }
  .photo-band img { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 520px) {
  .header-tagline { font-size: 13px; }
  .headline-row { margin-top: -30px; gap: 10px; }
  .free-stamp { width: 78px; height: 78px; border-width: 2px; }
  .free-big { font-size: 24px; }
  .free-small { font-size: 18px; }
}
.qr-card .btn { white-space: nowrap; padding: 0 22px; }
@media (max-width: 520px) {
  .qr-card .btn { font-size: 15px; letter-spacing: 0.03em; padding: 0 12px; }
}
html, body { overflow-x: clip; }

/* Value tiles (2x2) — same as the app's welcome screen (WelcomeV2 VALUE_TILES) */
.tiles {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 520px;
}
.tile {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 1;
  border: 1px solid rgba(147, 174, 221, 0.42); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(36, 67, 138, 0.55), rgba(17, 32, 64, 0.85));
}
.tile-num {
  position: absolute; left: 8px; top: 8px; min-width: 22px; height: 22px;
  border: 1px solid rgba(147, 174, 221, 0.42); border-radius: 6px; background: rgba(10, 22, 40, 0.6);
  font-family: var(--display); font-weight: 800; font-size: 14px; line-height: 20px;
  text-align: center; color: var(--slate);
}
.tile-title {
  margin: 0; padding: 10px 32px 0; min-height: 42px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.05; letter-spacing: 0.02em;
  text-transform: none; color: var(--text);
}
.tile-art { flex: 1; display: flex; align-items: center; justify-content: center; }
.tile-glyph { position: relative; width: 30%; aspect-ratio: 1; }
.tile-glyph::before {
  content: ""; position: absolute; inset: -20%; border-radius: 50%; background: rgba(242, 100, 25, 0.14);
}
.tile-icon { position: relative; display: block; width: 100%; height: 100%; fill: var(--orange); }
.tile-badge { position: absolute; left: 70%; top: -14%; width: 52%; height: 52%; fill: #FFFFFF; }
.tile-badge.hi { fill: var(--hi-vis); }
.tile-cap {
  margin: 0; min-height: 50px; padding: 6px 10px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: rgba(10, 22, 40, 0.78); border-top: 1px solid rgba(147, 174, 221, 0.22);
  font-weight: 600; font-size: 15px; line-height: 1.25; color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 520px) {
  .tiles { gap: 10px; }
  .tile-title { font-size: 18px; padding: 8px 28px 0; min-height: 36px; }
  .tile-num { left: 6px; top: 6px; min-width: 20px; height: 20px; font-size: 13px; line-height: 18px; }
  .tile-cap { font-size: 12.5px; min-height: 44px; padding: 5px 6px; }
}
