/* Property Workflow Systems Ltd — the company site. One stylesheet, no framework, no web fonts, no
 * JavaScript. Rebuilt 15/09/2026 on the pattern of myjobbook.co.uk and storageyardmanager.co.uk.
 *
 * NOT style.css. That file belongs to /pay, the live checkout every product sends payers to, and
 * it stays byte for byte what it was when the page took its first payment. This file is everything
 * else, so restyling the company site can never move a pixel of the payment page.
 *
 * The company's own colours are the ones the site already had: slate ink and a steady blue
 * (#2f5d8a carries white text at 6.9:1). Each product keeps its own colour, and only as a fill or
 * a mark beside its name — Storage Yard Manager's green, UnitLet's Industrial Blue, My Job Book's
 * site yellow — so a visitor recognises the product they came from. Yellow is only ever a fill
 * with ink on it, never text.
 *
 * Dark mode follows the device (prefers-color-scheme): a toggle would need a script, and the
 * Content-Security-Policy forbids scripts.
 */

:root {
  --brand: #2f5d8a;
  --brand-hover: #264d73;
  --brand-soft: #e6eef6;
  --ink: #16202b;
  --paper: #f4f6f8;
  --card: #ffffff;
  --text: #1e2833;
  --heading: #16202b;
  --muted: #5c6b7a;
  --line: #d8e0e8;
  --link: #2f5d8a;
  --shadow: 0 1px 2px rgba(22, 32, 43, 0.06), 0 10px 28px rgba(22, 32, 43, 0.08);
  --radius: 14px;
  --wrap: 72rem;
  --pad: clamp(1rem, 4vw, 2rem);

  --yard: #2f5d43;
  --yard-hover: #264c37;
  --unitlet: #3f668d;
  --unitlet-hover: #315477;
  --jobbook: #f9b101;
  --jobbook-hover: #e5a200;
  --jobbook-ink: #1b2128;
  /* Tap In Book's own green, from its kiosk and its site. White on it is 5.9:1. */
  --tapin: #2f6b4d;
  --tapin-hover: #275a41;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f151c;
    --card: #151d26;
    --text: #dfe6ed;
    --heading: #f1f5f9;
    --muted: #97a6b5;
    --line: #26323e;
    --link: #8fbde6;
    --brand-soft: rgba(127, 178, 224, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 5rem; } /* a jump link lands below the sticky header, not under it */
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--heading); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.8vw, 3.5rem); font-weight: 850; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--brand); color: #fff; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.3rem; border-radius: 12px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2; text-align: center;
  border: 2px solid transparent; transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--heading); background: var(--card); }
.btn-ghost:hover { border-color: var(--heading); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* ---- header ---- */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 0.75rem; min-height: 4rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; text-decoration: none; color: var(--heading); white-space: nowrap; }
.logo svg { width: 1.9rem; height: 1.9rem; color: var(--brand); flex: none; }
@media (prefers-color-scheme: dark) { .logo svg { color: var(--link); } }
.site-nav { display: flex; align-items: center; gap: 0.1rem; margin-left: auto; }
.site-nav a { text-decoration: none; padding: 0.5rem 0.7rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; color: var(--heading); white-space: nowrap; }
.site-nav a:hover { background: var(--brand-soft); }
/* A phone is 360–430px wide; the company name and two links must share one line there. */
@media (max-width: 560px) { .site-nav .nav-wide { display: none; } }
@media (max-width: 400px) {
  .site-head .wrap { gap: 0.35rem; }
  .logo { font-size: 0.85rem; gap: 0.35rem; letter-spacing: -0.03em; }
  .logo svg { width: 1.5rem; height: 1.5rem; }
  .site-nav a { padding-inline: 0.3rem; font-size: 0.85rem; }
}
@media (max-width: 330px) { .logo span { display: none; } }

/* ---- hero ---- */
.hero, .section { overflow-x: clip; }
.hero { padding-block: clamp(2.2rem, 7vw, 5rem) clamp(2.4rem, 6vw, 4.5rem); }
.hero .wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; } }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.88rem; color: var(--heading); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.lede { font-size: clamp(1.08rem, 2.3vw, 1.25rem); color: var(--muted); max-width: 38rem; }

/* The three products, as the way in. */
.chooser { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.chooser li { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.3rem 1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.chooser img { width: 3.2rem; height: 3.2rem; border-radius: 0.8rem; grid-row: span 2; }
.chooser .name { font-size: 1.15rem; font-weight: 750; letter-spacing: -0.01em; color: var(--heading); text-decoration: none; align-self: end; }
/* The whole card is the link to its section, without wrapping block content in an <a>. */
.chooser .name::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.chooser .name:focus-visible { outline: none; }
.chooser li:has(.name:focus-visible) { outline: 3px solid var(--link); outline-offset: 3px; }
.chooser li:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.chooser p { margin: 0; color: var(--muted); font-size: 0.95rem; grid-column: 2; }
.chooser .arrow { grid-row: span 2; grid-column: 3; grid-row-start: 1; color: var(--muted); font-size: 1.3rem; }

/* ---- sections ---- */
.section { padding-block: clamp(3.2rem, 9vw, 6rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: block; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.6rem; }

/* One product: words on one side, its real screens on the other. */
.product { display: grid; gap: 2rem 3.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) { .product { grid-template-columns: 1fr 1.2fr; } .product.flip { grid-template-columns: 1.2fr 1fr; } .product.flip .product-art { order: -1; } }
.product-name { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.product-name img { width: 3.4rem; height: 3.4rem; border-radius: 0.85rem; flex: none; }
.product-name h2 { margin: 0; }
.who { font-size: 1.12rem; color: var(--text); }
.does { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.does li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; color: var(--muted); }
.does li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55rem; width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--accent, var(--brand)); }
.product .fine-print { font-size: 0.9rem; color: var(--muted); margin: 0.9rem 0 0; }
.product-links { margin: 1rem 0 0; font-size: 0.97rem; }

.yard { --accent: var(--yard); }
.yard .btn-primary { background: var(--yard); }
.yard .btn-primary:hover { background: var(--yard-hover); }
.unitlet { --accent: var(--unitlet); }
.unitlet .btn-primary { background: var(--unitlet); }
.unitlet .btn-primary:hover { background: var(--unitlet-hover); }
.jobbook { --accent: var(--jobbook); }
.jobbook .btn-primary { background: var(--jobbook); color: var(--jobbook-ink); }
.jobbook .btn-primary:hover { background: var(--jobbook-hover); }
.tapin { --accent: var(--tapin); }
.tapin .btn-primary { background: var(--tapin); }
.tapin .btn-primary:hover { background: var(--tapin-hover); }

/* Devices, drawn in CSS around real screenshots of each product's public demo.
   Storage Yard Manager and UnitLet are made for a laptop, PC or tablet first, so a laptop leads;
   a phone is only ever the extra. My Job Book is the exception, because it is made for the phone
   in a van — and it is still a generic Android handset: an even bezel and a round punch-hole
   camera, never an iPhone's pill-shaped cut-out (owner, 15/09/2026). */
.laptop { position: relative; width: 100%; max-width: 46rem; margin-inline: auto; }
.laptop .screen { position: relative; background: #0f141a; border-radius: 1rem 1rem 0 0; padding: 2.2% 2.2% 3%; box-shadow: 0 30px 60px -24px rgba(22, 32, 43, 0.45); }
.laptop .screen::before { content: ""; position: absolute; top: 0.8%; left: 50%; width: 0.4rem; height: 0.4rem; transform: translateX(-50%); border-radius: 50%; background: #2a3139; }
.laptop .screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 0.2rem; }
.laptop .base { height: clamp(0.7rem, 1.8vw, 1.1rem); margin-inline: -6%; background: linear-gradient(#c9ced4, #a7adb4); border-radius: 0 0 1.2rem 1.2rem / 0 0 0.9rem 0.9rem; position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); background: #9aa1a9; border-radius: 0 0 0.5rem 0.5rem; }
@media (prefers-color-scheme: dark) { .laptop .base { background: linear-gradient(#4b535c, #343b43); } .laptop .base::before { background: #2a3037; } }

/* A landscape tablet on a wall bracket — Tap In Book's sign-in screen, drawn rather than
   photographed (see the comment beside it in index.html). Same frame as the phone, wider. */
.tablet {
  position: relative; width: min(100%, 34rem); margin-inline: auto; aspect-ratio: 22 / 15;
  border-radius: 1.4rem; padding: 0.7rem; background: #0f141a;
  box-shadow: 0 30px 60px -20px rgba(22, 32, 43, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.tablet svg { width: 100%; height: 100%; display: block; border-radius: 0.5rem; }
/* The camera: a round punch-hole on the long edge, where a wall tablet's is. */
.tablet::after { content: ""; position: absolute; left: 0.32rem; top: 50%; width: 0.42rem; height: 0.42rem; transform: translateY(-50%); border-radius: 50%; background: #2a3139; }

.phone {
  position: relative; width: min(100%, 15rem); margin-inline: auto; aspect-ratio: 390 / 844;
  border-radius: 1.9rem; padding: 0.5rem; background: #0f141a;
  box-shadow: 0 30px 60px -20px rgba(22, 32, 43, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 1.45rem; }
.phone::after { content: ""; position: absolute; top: 1.05rem; left: 50%; width: 0.6rem; height: 0.6rem; transform: translateX(-50%); background: #0f141a; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04); }
.phone::before { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 14%; border-radius: 0 3px 3px 0; background: #2a3139; box-shadow: 0 5.5rem 0 #2a3139; }

/* A laptop with the same account's phone in front of it, once there is room. */
.product-art { position: relative; }
.product-art::before { content: ""; position: absolute; inset: 20% 5% 0 10%; background: var(--accent); opacity: 0.9; border-radius: 2.5rem; transform: rotate(-3deg); z-index: -1; }
/* Scoped to .with-phone's own child: My Job Book's .phones are phones too, and must not be shrunk,
   pinned to a corner or hidden on a narrow screen by these rules. */
.with-phone > .phone { display: none; }
@media (min-width: 600px) {
  .product-art.with-phone { padding-bottom: 5%; }
  .with-phone > .phone { display: block; position: absolute; width: 21%; right: -1%; bottom: -3%; padding: 0.3rem; border-radius: 1.1rem; }
  .with-phone > .phone img { border-radius: 0.85rem; }
  .with-phone > .phone::after { top: 0.58rem; width: 0.38rem; height: 0.38rem; }
  .with-phone > .phone::before { display: none; }
}

/* My Job Book: three phones, fanned. */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 2.5vw, 1.4rem); align-items: end; max-width: 40rem; margin-inline: auto; padding-top: 1.5rem; }
.phones .phone { width: 100%; padding: clamp(0.25rem, 0.9vw, 0.5rem); border-radius: clamp(1rem, 3.5vw, 1.9rem); }
.phones .phone img { border-radius: clamp(0.8rem, 2.8vw, 1.45rem); }
.phones .phone::after { top: clamp(0.55rem, 2vw, 1.05rem); width: clamp(0.35rem, 1.1vw, 0.6rem); height: clamp(0.35rem, 1.1vw, 0.6rem); }
.phones .phone:nth-child(2) { transform: translateY(-1.5rem); }
@media (max-width: 599px) { .phones .phone::before { display: none; } }

/* ---- what the three share ---- */
.band { background: var(--ink); color: #dfe6ed; }
.band h2, .band h3 { color: #fff; }
.band p, .band .muted, .band li { color: #b3c0cc; }
.band .kicker { color: #8fa1b2; }
.band a { color: #a9cdf0; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: #1d2935; border: 1px solid #2b3947; border-radius: var(--radius); padding: 1.3rem 1.3rem 1.15rem; }
.card h3 { display: flex; align-items: center; gap: 0.6rem; }
.card p { margin: 0; font-size: 0.98rem; }
.icon { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 10px; background: rgba(143, 189, 230, 0.14); display: grid; place-items: center; }
.icon svg { width: 1.2rem; height: 1.2rem; stroke: #a9cdf0; }

/* ---- about and contact ---- */
.about { display: grid; gap: 2rem 3.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; } }
.about p { color: var(--muted); max-width: 42rem; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.facts h3 { margin-bottom: 0.9rem; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; margin: 0; }
.facts dt { color: var(--muted); font-size: 0.95rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--heading); overflow-wrap: anywhere; }
@media (max-width: 420px) { .facts dl { grid-template-columns: 1fr; gap: 0 0; } .facts dd { margin-bottom: 0.7rem; } }

.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.contacts li { display: flex; gap: 0.9rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.contacts img { width: 2.6rem; height: 2.6rem; border-radius: 0.65rem; flex: none; }
.contacts strong { display: block; color: var(--heading); }
.contacts a { overflow-wrap: anywhere; }
.note-box { margin-top: 1.6rem; max-width: 52rem; background: var(--brand-soft); border-radius: var(--radius); padding: 1.1rem 1.25rem; border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.note-box p { margin: 0; }
.note-box p + p { margin-top: 0.6rem; }

/* ---- footer ---- */
.site-foot { border-top: 1px solid var(--line); padding-block: 2.5rem 2rem; font-size: 0.95rem; background: var(--card); }
.foot-grid { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin-bottom: 1.8rem; }
.foot-grid h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.6rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.35rem; }
.foot-grid a { text-decoration: none; color: var(--text); }
.foot-grid a:hover { text-decoration: underline; }
.foot-tag { margin-top: 0.7rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* ---- 404 ---- */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 3rem; }
.lost .lede { margin-inline: auto; }
.lost .chooser { max-width: 32rem; margin: 2rem auto 0; text-align: left; }
