/* brand.css: page51's own look, the one stylesheet for every page we own (job shopper-fixes-2,
 * 2026-10-24, after the mystery shopper of 2026-10-23 read the site as "four companies").
 *
 * Two parts, split at the marker line below:
 *
 *   tokens  the typeface and the palette. The home page set them (homepage-3b, Mike: "no more coffee
 *           brown; confident, high contrast, one action colour"): the logo's ink navy and blue, for
 *           trust, and one orange (--action) on the main buttons only, so the thing to press is the
 *           one thing that is not navy or blue. The panel's stylesheet starts with this part too
 *           (plugins/panel.js), so the panel, the agency home and the sign-in pages wear the same
 *           colours and type.
 *   site    the base, the buttons, the header and the footer every public page shares: the home
 *           page, /rentals, /pricing, /support, /legal, /terms, /describe, the examples, and the
 *           sign-in and sign-up pages (site-chrome.js draws the header and footer they go round).
 *
 * The pages that may carry inline style have it written into their own <style> at boot
 * (site-chrome.js fillChrome, the BRAND_CSS token), so a first visit costs no extra request;
 * the pages under the panel's CSP link it at /brand.<hash>.css. Either way there is one copy, here.
 * Fonts are addressed from the site root because the pages that carry this sit at every depth. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/templates/_fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/templates/_fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Roboto'); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  /* palette: indigo (the logo's navy and blue) */
  --bg: #ffffff;
  --surface: #f4f6fb;
  --card: #ffffff;
  --ink: #0e1330;
  --muted: #535a75;
  --line: #e1e5ef;
  --line-strong: #c3c9da;
  --accent: #3346d3;
  --accent-hover: #2535b0;
  --accent-ink: #ffffff;
  --accent-soft: #eef0ff;
  /* the one action colour (homepage-3b, Mike: "make every main action button a high-contrast
   * orange"): used for the main buttons and nothing else, so the action stands apart from the
   * navy and blue page. White text on it is 4.8:1 (WCAG AA for normal text), the button against
   * the white page 4.8:1, against the grey 4.4:1, against the navy closing band 3.8:1. */
  --action: #cc4400;
  --action-hover: #ad3b00;
  --action-ink: #ffffff;
  --deep: #0e1330;
  --board-ink: #f3f5ff;
  --board-muted: #a9b0cc;
  --board-line: #2a3157;
  --hi: #8fa0ff;
  --no: #b4475a;
  --ok: #1f7a4d;
  --ok-soft: #e3f4ea;
  /* homepage-4: the red of what costs you more (hours and money on the WordPress side, the Yes pill) */
  --cost: #c22a1c;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%233346d3'/%3E%3Cpath d='M5.6 10.3l2.8 2.8 6-6.1' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5l7 7M9.5 2.5l-7 7' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --tick-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%238fa0ff'/%3E%3Cpath d='M5.6 10.3l2.8 2.8 6-6.1' fill='none' stroke='%230e1330' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --radius: 12px;
  --wrap: 72rem;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(28px, 3.4vw, 46px);
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Inter', 'Inter Fallback', system-ui, sans-serif;
}

/* ==== site ==== everything below this line is the public pages' frame, not the panel's */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
h3 { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); letter-spacing: -.01em; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.label, .eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; color: var(--accent); }
.figure { font-weight: 750; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.draft-tag { display: inline-block; font: 700 12px/1.5 var(--font); letter-spacing: .05em; text-transform: uppercase; background: #ffe27a; color: #40320a; padding: 1px 7px; border-radius: 999px; vertical-align: middle; }
.ok { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ok li, .tk { position: relative; padding-left: 32px; }
.ok li::before, .tk::before { content: ""; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; background: var(--tick) center / contain no-repeat; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 16px/1.1 var(--font); text-decoration: none; text-align: center; padding: 14px 22px; min-height: 48px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--action); border-color: var(--action); color: var(--action-ink); }
.btn--primary:hover { background: var(--action-hover); border-color: var(--action-hover); color: var(--action-ink); }
.btn--primary:focus-visible { outline-color: color-mix(in srgb, var(--action) 55%, transparent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: transparent; color: var(--board-ink); border-color: var(--board-line); }
.btn--light:hover { border-color: var(--board-ink); }
.go-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
@media (max-width: 519px) { .go-row .btn { flex: 1 1 100%; } }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.logo svg { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 10px 16px; min-height: 44px; font-size: 15px; color: var(--action-ink); }
.nav .nav-signin { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 860px) { .nav { gap: 16px; } .nav > a:not(.btn):not(.nav-signin) { display: none; } }
.nav .nav-signin, .nav .btn { white-space: nowrap; }
@media (max-width: 419px) { .top .wrap { gap: 10px; } .top .logo svg { height: 24px; } .nav { gap: 10px; } .nav .btn { padding: 10px 12px; } }
/* the main button's words (homepage-5): in full, and a short form on a narrow phone so the header never wraps */
.btn-short { display: none; }
@media (max-width: 479px) { .nav .btn .btn-long { display: none; } .nav .btn .btn-short { display: inline; } }

/* the phone menu (shopper-fixes-2: on a phone the header dropped Examples and Prices and nothing
 * replaced them). A <details>, so it needs no script and passes every CSP we send. */
.nav a[aria-current] { color: var(--ink); font-weight: 650; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: 600 15px/1 var(--font); color: var(--ink); background: var(--card); user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu[open] summary { border-color: var(--ink); }
.menu ul { list-style: none; margin: 0; padding: 6px; position: absolute; right: 0; top: calc(100% + 8px); min-width: 15rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(14, 19, 48, .28); z-index: 6; }
.menu li a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.menu li a:hover, .menu li a[aria-current] { background: var(--surface); }
.menu li a[aria-current] { font-weight: 650; }
@media (max-width: 860px) { .menu { display: block; } }
@media (max-width: 560px) { .nav .nav-signin { display: none; } }
@media (max-width: 419px) { .menu summary { padding: 0 10px; } }
@media (max-width: 359px) { .menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer .logo svg { height: 24px; }
footer small { color: var(--muted); font-size: 14px; width: 100%; }
/* the comparison pages, one short line (homepage-5) */
footer .foot-compare { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; color: var(--muted); }
footer .foot-compare span { font-weight: 600; }
@media (max-width: 639px) { footer nav { gap: 0 24px; } footer nav a { display: inline-flex; align-items: center; min-height: 44px; } }

/* the reading pages: help, imprint and privacy, terms, our website reader (<main class="doc">) */
main.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); line-height: 1.6; }
main.doc .wrap { max-width: 46rem; }
main.doc h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); margin: 12px 0 .6rem; }
main.doc h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); line-height: 1.15; margin: 2.8rem 0 .4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
main.doc h3 { font-size: 1.06rem; margin: 1.6rem 0 .3rem; }
main.doc p { margin: 0 0 1rem; max-width: 64ch; }
main.doc .lede { color: var(--muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); margin-bottom: 1.6rem; }
main.doc ul { margin: 0 0 1rem; padding-left: 1.25rem; max-width: 64ch; }
main.doc li { margin: .3rem 0; }
main.doc dl { margin: .8rem 0 1rem; }
main.doc dt { margin-top: 1rem; }
main.doc dd { margin: .1rem 0 0; }
main.doc dt.label { margin-top: 1.4rem; }
main.doc .note { background: var(--accent-soft); border: 1px solid #d8ddff; border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1.8rem; }
main.doc .note p { margin: 0; }
main.doc code { font-size: .9em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }

@media print {
  .top, .menu { display: none; }
  body { background: #fff; color: #000; }
  main.doc a { color: #000; }
  main.doc .note { background: none; border: 1px solid #000; }
}
