/* JobSorted landing page (the "Hi-Vis" design). */
:root {
  --orange: #F66C12;
  --orange-deep: #DC5A06;
  --brown: #2A1206;
  --brown-2: #3A1B0C;
  --cream: #FCF0E4;
  --white: #FFFFFF;
  --mute: #6D5244;
  --mute-on-dark: #D9C3B3;
  --display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--brown); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding-inline: 20px; }
section { scroll-margin-top: 68px; }
.nw { white-space: nowrap; }

/* Header and menu: nav.css */

/* Hero: an orange side panel, signwritten */
.hero { background: var(--orange); position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 28px; padding-block: 64px 72px; }
.kicker { margin: 0 0 16px; font: 700 14px/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; text-wrap: balance; }
h1 { margin: 0; font: 800 clamp(46px, 6.6vw, 84px)/0.98 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--cream); }
.lead { max-width: 34em; margin: 26px 0 0; font-size: 19px; line-height: 1.55; font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 12px; font: 700 17px/1 var(--body); text-decoration: none; }
.btn-dark { background: var(--brown); color: var(--cream); }
.btn-dark:hover { background: var(--brown-2); }
.btn-line { border: 2px solid var(--brown); color: var(--brown); }
.btn-line:hover { background: rgb(42 18 6 / 0.08); }
.small { margin: 18px 0 0; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; text-wrap: balance; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.hero-art .ph { position: relative; z-index: 1; }
.hero-fox { position: absolute; width: 190px; left: -10px; bottom: -8px; z-index: 2; filter: drop-shadow(0 10px 18px rgb(42 18 6 / 0.25)); }

/* Trades strip */
.trades { background: var(--brown); color: var(--cream); }
.trades p { margin: 0; padding-block: 18px; text-align: center; font: 800 19px/1.5 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-wrap: balance; }
.trades span { color: var(--orange); padding-inline: 4px; }

h2 { margin: 0; font: 800 clamp(36px, 4.6vw, 56px)/1.02 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
h3 { text-wrap: balance; }
.intro { max-width: 36em; margin: 18px 0 0; font-size: 18px; color: var(--mute); }

/* The awkward bit */
.problem-in { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: 40px; padding-block: 88px; }
.problem-in img { width: min(300px, 100%); margin-inline: auto; }

.leaks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.leaks li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: baseline; }
.leaks b { font: 800 17px/1.2 var(--display); text-transform: uppercase; color: var(--orange-deep); letter-spacing: 0.04em; }
.leaks strong { display: block; font-size: 18px; }
.leaks span { color: var(--mute); }
.closer { margin: 28px 0 0; max-width: 34em; font-weight: 600; font-size: 18px; }

/* How it works: four steps, in order */
.how { background: var(--white); border-block: 3px solid var(--brown); }
.how-in { padding-block: 88px; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 0 24px; border-left: 3px solid var(--brown); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.num { display: block; font: 800 84px/0.9 var(--display); color: var(--orange); }
.steps h3 { margin: 12px 0 8px; font: 800 28px/1.05 var(--display); }
.steps p { margin: 0; color: var(--mute); font-size: 16px; }
.who { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; background: var(--cream); color: var(--brown); }
.who.us { background: var(--orange); }

/* Chasing, on a tape measure */
.chase { background: var(--brown); color: var(--cream); }
.chase-in { padding-block: 92px; }
.chase .intro { color: var(--mute-on-dark); }
.ruler-wrap { position: relative; margin-top: 56px; overflow-x: auto; padding-bottom: 8px; }
.ruler { position: relative; min-width: 600px; height: 76px; border-radius: 6px; background:
    linear-gradient(90deg, var(--brown) 0 2px, transparent 2px) 12px 0 / calc(100% / 28) 22px repeat-x,
    linear-gradient(90deg, var(--brown) 0 3px, transparent 3px) 12px 0 / 25% 42px repeat-x,
    #F9C23C; box-shadow: 0 6px 0 #C79413; }
.ruler::after { content: ''; position: absolute; inset: auto 0 0 0; height: 14px; background: rgb(42 18 6 / 0.08); border-radius: 0 0 6px 6px; }
.marks { position: relative; min-width: 600px; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
/* Each day's label starts under its tick, 12px in from the ruler's end. */
.mark { padding: 0 14px 0 12px; }
.mark b { display: block; font: 800 30px/1 var(--display); color: var(--orange); }
.mark span { display: block; margin-top: 6px; font-size: 15px; color: var(--mute-on-dark); }
.chase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 64px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.facts li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 17px; }
.facts li::before { content: ''; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1206' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.facts strong { color: var(--white); }
.email { background: var(--white); color: #1d1d1f; border-radius: 16px; padding: 22px; box-shadow: 10px 10px 0 var(--orange); font-family: 'Inter', system-ui, sans-serif; }
.email-head { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid #E6E3DF; font-size: 13px; color: #6b6b70; }
.email-head b { color: #1d1d1f; }
.email-body { padding-top: 14px; font-size: 15px; line-height: 1.6; }
.email-body p { margin: 0 0 12px; }
.email-btn { display: inline-block; margin-top: 4px; padding: 10px 16px; border-radius: 999px; background: #494FDF; color: #fff; font-weight: 600; font-size: 14px; }
.chase-fox { position: relative; }
.chase-fox img { position: absolute; width: 120px; right: -18px; top: -86px; }

/* Invoices */
.inv-in { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center; padding-block: 92px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.ticks li { padding-left: 18px; border-left: 4px solid var(--orange); font-weight: 600; font-size: 16px; }
.ticks li span { display: block; font-weight: 400; color: var(--mute); font-size: 15px; }
.inv-art { position: relative; }
.inv-art .thumbs { position: absolute; width: 150px; left: -60px; bottom: -34px; }

/* Invoice page, as the customer sees it (the app's own look) */
.ipage { background: var(--white); border-radius: 22px; padding: 26px; box-shadow: 0 24px 60px rgb(42 18 6 / 0.16); font-family: 'Inter', system-ui, sans-serif; color: #191C1F; }
.ipage-biz { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #505A63; }
.ipage-biz b { color: #191C1F; font-size: 15px; }
.ipage h4 { margin: 18px 0 2px; font: 700 15px/1.3 'Inter', sans-serif; color: #505A63; }
.ipage-amt { margin: 0; font: 700 44px/1.05 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.02em; }
.ipage-due { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: #FDECEE; color: #B3202E; font-size: 13px; font-weight: 600; }
.bank { margin-top: 18px; padding: 16px; border-radius: 16px; background: #F4F4F4; display: grid; gap: 8px; font-size: 14px; }
.bank div { display: flex; justify-content: space-between; gap: 12px; }
.bank span { color: #505A63; }
.bank b { font-variant-numeric: tabular-nums; text-align: right; }

/* Notifications */
.notes { background: var(--white); border-block: 3px solid var(--brown); }
.notes-in { padding-block: 84px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.toasts { display: grid; gap: 12px; }
.toast { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #F4F2EF; font-family: 'Inter', system-ui, sans-serif; }
.toast img { width: 40px; }
.toast b { display: block; font-size: 15px; color: #191C1F; }
.toast span { display: block; font-size: 14px; color: #505A63; }
.toast time { font-size: 12px; color: #8a8f96; align-self: start; }

/* FAQ */
.faq-in { padding-block: 92px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.qa { border-top: 3px solid var(--brown); }
.qa details { border-bottom: 2px solid rgb(42 18 6 / 0.18); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 700 21px/1.25 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font: 800 26px/1 var(--display); color: var(--orange); }
.qa details[open] summary::after { content: '−'; }
.qa details p { margin: 0 0 22px; max-width: 38em; color: var(--mute); }

/* Last call */
.final { background: var(--orange); position: relative; overflow: hidden; }
.final-in { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 24px; padding-block: 72px 0; }
.final h2 { font-size: clamp(44px, 7vw, 88px); line-height: 0.95; }
.final .ctas { margin-bottom: 72px; }
.final-fox { position: relative; align-self: end; display: flex; justify-content: center; }
.final-fox::before { content: ''; position: absolute; left: 50%; bottom: -70px; width: min(380px, 92vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--brown); }
.final-fox img { position: relative; width: min(320px, 100%); margin-bottom: -6px; }

footer { background: var(--brown); color: var(--mute-on-dark); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; }
.foot b { color: var(--cream); font: 800 20px/1 var(--display); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--cream); }

/* The app on a phone: the real Home screen */
.ph { width: 300px; max-width: 100%; height: 612px; padding: 10px; border-radius: 46px; background: #151515; box-shadow: 0 30px 70px rgb(42 18 6 / 0.35), inset 0 0 0 2px #2c2c2c; font-family: 'Inter', system-ui, sans-serif; }
.ph-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #F4F4F4; display: flex; flex-direction: column; color: #191C1F; }
.ph-screen::before { content: ''; position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.ph-hero { background: #000; color: #fff; padding: 46px 16px 16px; }
.ph-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ph-date { margin: 0; font-size: 11px; color: rgb(255 255 255 / 0.72); }
.ph-hi { margin: 2px 0 0; font: 700 21px/1.1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.02em; }
.ph-mark { width: 32px; height: 32px; border-radius: 50%; background: #fff url('/assets/fox-head.webp?v=6c96dd4bfd') center / 22px no-repeat; }
.ph-label { margin: 14px 0 0; font-size: 11px; color: rgb(255 255 255 / 0.72); }
.ph-big { margin: 0; font: 700 44px/1.05 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.03em; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ph-tile { border-radius: 14px; padding: 10px; background: #1c1c1e; display: grid; gap: 2px; }
.ph-over { background: #7A1B25; }
.dot-red { background: #E23B4A; }
.dot-teal { background: #00A87E; }
.ph-tile i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.ph-tl { font-size: 10px; color: rgb(255 255 255 / 0.8); }
.ph-tile b { font: 700 20px/1.1 'Inter Tight', 'Inter', sans-serif; }
.ph-ts { font-size: 10px; color: rgb(255 255 255 / 0.7); }
.ph-new { display: block; margin-top: 12px; padding: 11px; border-radius: 999px; background: #494FDF; text-align: center; font-weight: 600; font-size: 13px; }
.ph-body { flex: 1; padding: 14px 12px 0; display: grid; align-content: start; gap: 8px; }
.ph-sec { margin: 0 4px 2px; display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; }
.ph-sec span { font-weight: 400; font-size: 11px; color: #505A63; }
.ph-need { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 10px; border-radius: 14px; background: #fff; }
.ph-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: #FCE8EC; color: #C2185B; }
.ph-av2 { background: #FDEBD8; color: #B45309; }
.ph-nt b { display: block; font-size: 11px; line-height: 1.25; }
.ph-nt span { display: block; margin-top: 2px; font-size: 10px; line-height: 1.3; color: #505A63; }
.ph-reply, .ph-call { padding: 6px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; background: #494FDF; color: #fff; }
.ph-call { background: #fff; color: #191C1F; box-shadow: inset 0 0 0 1px #C9C9CD; }
.ph-tabs { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 8px 6px 14px; background: #fff; border-top: 1px solid #EDEDF0; font-size: 9px; color: #505A63; text-align: center; }
.ph-tabs .on { color: #191C1F; font-weight: 700; }
.ph-plus { width: 40px; height: 40px; margin: -18px auto 0; border-radius: 50%; background: #494FDF; color: #fff; display: grid; place-items: center; font-size: 22px; line-height: 1; }

@media (max-width: 960px) {
  .hero-in, .problem-in, .inv-in, .notes-in, .faq-in, .final-in, .chase-grid { grid-template-columns: 1fr; }
  .hero-in { padding-block: 44px 64px; }
  .hero-art { min-height: 0; }
  .hero-fox { width: 130px; left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .problem-in img { width: 220px; }
  .chase-fox img { display: none; }
  .inv-art .thumbs { left: auto; right: -8px; bottom: -40px; width: 110px; }
  .final-fox img { width: 240px; }
  .final-fox::before { width: 300px; bottom: -60px; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { border-left: 0; padding: 0; }
  .ticks { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  /* The tape measure runs down the side, each reminder beside its mark. Sideways, it was cut off
     and had to be scrolled (Dany: "looks very rough"). The rows are equal, so each big tick,
     14px into its row, sits beside its day. */
  .ruler-wrap { display: grid; grid-template-columns: 58px 1fr; column-gap: 20px; margin-top: 40px; overflow: visible; padding-bottom: 0; }
  .ruler { min-width: 0; height: auto; background:
      linear-gradient(180deg, var(--brown) 0 2px, transparent 2px) 0 14px / 22px calc(100% / 28) repeat-y,
      linear-gradient(180deg, var(--brown) 0 3px, transparent 3px) 0 14px / 42px 25% repeat-y,
      #F9C23C; box-shadow: 6px 0 0 #C79413; }
  .ruler::after { inset: 0 0 0 auto; width: 14px; height: auto; border-radius: 0 6px 6px 0; }
  .marks { min-width: 0; grid-template-columns: 1fr; grid-auto-rows: 1fr; margin-top: 0; }
  .mark { padding: 0 0 24px; }
  .mark span { font-size: 16px; }
}
