/* CheckSteady — marketing site styles.
 *
 * Sister brand to StaffSteady: the token values below are COPIED from
 * scheduler/site/site.css so the two sites read as one product family. The
 * layout rules are this site's own.
 */
/* Self-hosted, not loaded from fonts.googleapis.com — a stylesheet from
 * Google fires on first paint and sends the visitor's IP to Google on every
 * visit, consent or no consent. Same two "latin" subset variable-font files
 * the StaffSteady site ships; no build step, no dependency. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/plusjakartasans-latin.woff2') format('woff2');
}

:root {
  --primary-50:  #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-500: #3b82f6;
  --primary:     #1d4ed8;
  --primary-700: #1e3a8a;
  --primary-ink: #ffffff;

  --bg:        #f6f7f9;
  --bg-2:      #eef1f5;
  --surface:   #ffffff;
  --surface-2: #fbfcfd;
  --border:    #e3e7ee;
  --border-2:  #d3dae4;

  --text:        #0f172a;
  --text-2:      #475569;
  --text-muted:  #5b6675;

  --success:    #0f7a52;  --success-bg:#e7f4ee;
  --warning:    #b45309;  --warning-bg:#fdf3e6;
  --danger:     #b91c1c;  --danger-bg: #fdeceb;
  --quiet:      #7c8194;  --quiet-bg: #f4f5f8;

  --font-ui:      "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.07);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 16px; }
p  { margin: 0 0 16px; color: var(--text-2); max-width: 62ch; }

.wrap    { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section.tint { background: var(--bg-2); }
[id] { scroll-margin-top: 74px; }

.cta, .cta-secondary {
  display: inline-block; padding: 0.875rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; font-family: var(--font-ui);
  margin-right: 10px; margin-bottom: 8px;
}
.cta           { background: var(--primary); color: var(--primary-ink); }
.cta:hover     { background: var(--primary-700); }
.cta-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border-2); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Skip link — hidden until focused. */
.skip {
  position: absolute; left: -9999px;
  background: var(--surface); color: var(--text);
  padding: 12px 16px; border-radius: var(--radius);
  z-index: 10; text-decoration: none;
}
.skip:focus { left: 16px; top: 16px; }

/* Top banner + sticky nav — the frame the page opens and the footer closes. */
.topbanner { background: #0f172a; color: #e2e8f0; font-size: 13px; padding: 7px 0; }
.topbanner .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.topbanner strong { color: #fff; font-weight: 600; }
.topbanner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.topbanner a:hover { opacity: .85; }

.sitenav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.sitenav .wrap { display: flex; align-items: center; gap: 22px; min-height: 58px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: #0f172a; text-decoration: none; }
.sitenav nav { display: flex; gap: 20px; margin-left: auto; }
.sitenav nav a { color: #475569; text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; }
.sitenav nav a:hover { color: #0f172a; }
.nav-cta {
  background: var(--primary); color: #fff; text-decoration: none;
  padding: 9px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.08); }

/* Sign in, in the sticky header. Quieter than the demo CTA on purpose: a
   visitor is here to be sold to, a customer is here to get past the page.
   A light pill with a real border, so the pair reads as primary/secondary
   rather than a button next to a stray link. */
.nav-signin {
  color: var(--text); text-decoration: none; font-weight: 600;
  font-size: 15px; margin-right: 4px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px;
}
.nav-signin:hover { border-color: var(--primary-500); color: var(--primary); }

@media (max-width: 700px) {
  /* The section links go; the brand, sign in and the CTA stay. margin-left
     goes on the first of the pair once nav is hidden, so the two buttons sit
     together on the right. */
  .sitenav nav { display: none; }
  .nav-signin { margin-left: auto; }
  .nav-cta { margin-left: 0; }
}

/* Sign in stays on a phone. StaffSteady hides it at this width, and copying
   that here was wrong: this product is used ON a phone or a tablet at the
   desk, so the door into the app is exactly what a mobile visitor needs. Both
   buttons are tightened instead of one being dropped — brand, Sign in and
   Book a demo fit inside 360px at these sizes. */
@media (max-width: 560px) {
  .sitenav .wrap { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .brand { font-size: 17px; }
  .nav-signin { padding: 7px 12px; font-size: 14px; margin-right: 0; }
  .nav-cta    { padding: 8px 12px; font-size: 14px; }
}

/* Below this the two buttons cannot both keep their words. The demo CTA
   shortens rather than disappears, because a visitor still needs it. */
@media (max-width: 380px) {
  .sitenav .wrap { gap: 8px; }
  .brand { font-size: 16px; }
  .nav-signin, .nav-cta { padding: 7px 10px; font-size: 13.5px; }
}

/* Hero billow — sky blues, placed low so the headline keeps a white ground. */
#hero { position: relative; overflow: hidden; background: var(--surface); }
#hero > .wrap { position: relative; z-index: 1; }
.billow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.billow i { position: absolute; display: block; border-radius: 50%; filter: blur(88px); }
.b1 { width: 900px;  height: 470px; left: -180px; top: 38%; opacity: .50;
  background: radial-gradient(circle at 50% 50%, #38bdf8 0%, #7dd3fc 45%, rgba(125,211,252,0) 72%); }
.b2 { width: 1060px; height: 500px; right: -220px; top: 32%; opacity: .46;
  background: radial-gradient(circle at 50% 50%, #60a5fa 0%, #93c5fd 44%, rgba(147,197,253,0) 72%); }
.b3 { width: 820px;  height: 400px; left: 28%; top: 54%; opacity: .34;
  background: radial-gradient(circle at 50% 50%, #93c5fd 0%, #bfdbfe 48%, rgba(191,219,254,0) 74%); }
@media (prefers-reduced-motion: no-preference) {
  .b1 { animation: billow-drift 26s ease-in-out infinite alternate; }
  .b2 { animation: billow-drift 32s ease-in-out infinite alternate-reverse; }
}
@keyframes billow-drift {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(38px,-26px,0); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.hero-badge {
  display: inline-block; margin: 0 0 18px;
  padding: 7px 15px; border-radius: 999px;
  background: linear-gradient(180deg, #fff, #eaf4ff);
  border: 1px solid #bfdbfe;
  color: var(--primary); font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
#hero h1 em { font-style: normal; color: var(--primary); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-benefit { color: var(--text-2); max-width: 56ch; margin-top: -6px; }

.sitenav .brand { display: inline-flex; align-items: center; gap: 8px; }
.sitenav .mark { width: 26px; height: 26px; }

/* The icon row under the hero: the six things the product does, each with
   a line-drawn icon in a tinted circle. Six across on a desk, two by three on
   a phone. */
.iconrow {
  list-style: none; margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px;
}
@media (min-width: 640px) { .iconrow { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .iconrow { grid-template-columns: repeat(6, 1fr); } }
.iconrow li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.iconrow .ico {
  width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--primary-100), var(--primary-50)); border: 1px solid var(--primary-200);
  box-shadow: 0 6px 18px -8px rgba(29, 78, 216, .35);
}
.iconrow svg { width: 30px; height: 30px; fill: none; stroke: var(--primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.iconrow b { font-size: .95rem; line-height: 1.2; margin-top: 2px; }
.iconrow span:not(.ico) { font-size: .82rem; color: var(--text-2); line-height: 1.35; max-width: 20ch; }

/* Product shot card — same sky-gradient field as StaffSteady's .shot. */
.shot {
  background:
    radial-gradient(120% 90% at 12% 0%,   rgba(56,189,248,.22) 0%, rgba(56,189,248,0) 55%),
    radial-gradient(110% 95% at 95% 12%,  rgba(96,165,250,.20) 0%, rgba(96,165,250,0) 58%),
    radial-gradient(130% 100% at 50% 108%, rgba(147,197,253,.26) 0%, rgba(191,219,254,0) 62%),
    var(--bg-2);
  border-radius: var(--radius);
  padding: clamp(0.75rem, 2vw, 1.5rem); border: 1px solid var(--border);
  box-shadow: 0 18px 40px -24px rgba(15,23,42,.45);
  margin-top: 28px;
}

/* Mock app cards standing in for screenshots until real ones exist. */
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; font-size: 14px; box-shadow: 0 8px 24px rgba(15,23,42,.10); }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-head .site { font-weight: 700; font-family: var(--font-display); }
.mock-head .stats { display: flex; gap: 6px; font-size: 12px; }
.stat { background: var(--success-bg); color: var(--success); border-radius: 999px; padding: 2px 9px; font-weight: 600; white-space: nowrap; }
.stat.warn { background: var(--warning-bg); color: var(--warning); }
.mock-search { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.mock-search .box { border: 1px solid var(--border-2); border-radius: 7px; padding: 7px 11px; color: var(--text-muted); background: var(--bg); }
.mock-rows { list-style: none; margin: 0; padding: 2px 0; }
.mock-rows li { display: flex; align-items: center; gap: 11px; padding: 9px 14px; border-bottom: 1px solid var(--border); }
.mock-rows li:last-child { border-bottom: 0; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-100); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; flex-shrink: 0; }
.who { flex: 1; min-width: 0; }
.who .nm { font-weight: 600; color: var(--text); }
.who .rm { color: var(--text-muted); font-size: 12px; }
.badge { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge.seen { background: var(--success-bg); color: var(--success); }
.badge.due  { background: var(--quiet-bg); color: var(--text-muted); border: 1px solid var(--border-2); }
.badge.attn { background: var(--warning-bg); color: var(--warning); }
.badge.out  { background: var(--primary-50); color: var(--primary); }

/* The 30-day strip, as it appears in the app. */
.strip { display: flex; gap: 3px; padding: 12px 14px; }
.strip i { flex: 1 1 0; height: 16px; border-radius: 3px; background: var(--success); opacity: .9; }
.strip i.na { background: var(--quiet); opacity: .28; }
.strip i.miss { background: var(--warning); }
.strip-cap { padding: 0 14px 12px; color: var(--text-muted); font-size: 12px; }

/* Feature rows — text and shot side by side, alternating down the page. */
.feature { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1.15fr; }
  .feature:nth-of-type(even) .feature-text { order: 2; }
}
.feature + .feature { margin-top: clamp(3rem, 7vw, 5.5rem); }
.feature h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin: 0 0 12px; }
.feature .shot { margin-top: 0; }

.footnote { margin-top: 24px; font-size: 13px; color: var(--text-muted); }

/* Footer — dark, closing the frame the top banner opens. The register strip
   is the one bold element: 30 days drawn in the app's own colours. */
.sitefoot {
  --foot-bg: #0f172a; --foot-ink: #e2e8f0; --foot-ink-2: #94a3b8;
  --foot-line: rgba(226,232,240,.14);
  background: var(--foot-bg); color: var(--foot-ink); font-family: var(--font-ui);
}
.regstrip { display: flex; height: 6px; }
.regstrip i { flex: 1 1 0; background: var(--success); }
.regstrip i.na { background: var(--quiet); opacity: .38; }
.regstrip i.miss { background: var(--warning); }
.footgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.footcol { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footcol h2 { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--foot-ink-2); }
.footcol a { color: var(--foot-ink); text-decoration: none; font-size: 15px; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.footcol a:hover { border-bottom-color: var(--foot-ink); }
.footsignin {
  background: var(--primary); color: var(--primary-ink) !important;
  padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; border-bottom: 0 !important;
}
.footsignin:hover { background: var(--primary-700); }
.footcol .footalt { font-size: 14px; color: var(--foot-ink-2); }
.footcol .footalt:hover { border-bottom-color: var(--foot-ink-2); }
.footcol-brand p { margin: 0; color: var(--foot-ink-2); font-size: 14px; line-height: 1.6; max-width: 34ch; }
.footmark { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: #fff; }
.footdomain { color: var(--foot-ink-2); font-size: 13px; letter-spacing: .02em; }
.footbar { border-top: 1px solid var(--foot-line); }
.footbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: var(--foot-ink-2); }
.footbar a { color: var(--foot-ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) { .footgrid { grid-template-columns: 1fr 1fr; row-gap: 32px; } .footcol-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footgrid { grid-template-columns: 1fr; } .footbar .wrap { justify-content: flex-start; } }

/* ===========================================================================
   Inner pages — added 9 September 2026 with the feature, sector and pricing
   pages. The home page was the whole site until then, so everything below is
   for a page that is mostly prose: a breadcrumb, a page header, body copy at a
   readable measure, a FAQ list, and the trial sign-up form.

   Two constraints shape all of it, both from the site's CSP in render.yaml:
   there is no JavaScript on this site at all (default-src 'none' and no
   script-src), and no style="" attributes (style-src 'self'). Anything that
   would normally be a toggle is a <details>, and every rule lives here.
   ========================================================================= */

/* ---- breadcrumb ---- */
.crumb { font-size: 14px; color: var(--text-muted); padding-top: 26px; }
.crumb a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid transparent; }
.crumb a:hover { border-bottom-color: var(--text-2); }
.crumb span { padding: 0 6px; color: var(--border-2); }

/* ---- page header ---- */
.pagehead { padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.pagehead .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 12px;
}
.pagehead h1 { max-width: 18ch; }
.pagehead + .section { padding-top: clamp(1rem, 2vw, 1.75rem); border-top: 0; }
.pagehead .lede { color: var(--text-2); max-width: 60ch; }

/* ---- prose ---- */
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; max-width: 62ch; color: var(--text-2); }
.prose li { margin-bottom: .5rem; line-height: 1.6; }
.prose li strong { color: var(--text); }

/* A claim and its consequence, side by side. Two columns on a desk, stacked
   on a phone; the border is the only decoration. */
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.pairs > div { background: var(--surface); padding: 20px 22px; }
.pairs h3 { margin: 0 0 6px; font-size: 1rem; }
.pairs p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 700px) { .pairs { grid-template-columns: 1fr; } }

/* ---- FAQ. <details> because the site has no JavaScript. ---- */
.faq { margin: 1.5rem 0 0; max-width: 62ch; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; color: var(--text);
  list-style: none; position: relative; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-size: 20px; font-weight: 400; color: var(--text-muted);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.faq details > p { padding: 0 0 16px; margin: 0; }
.faq details > p + p { padding-top: 0; margin-top: -8px; }

/* ---- the trial sign-up form ---- */
/* It posts to the app's origin, which is why render.yaml names that origin in
   form-action. No JavaScript: the app answers the POST with a full page. */
.signup {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); max-width: 30rem;
}
.signup h2 { font-size: 1.25rem; margin-bottom: 6px; }
.signup .sub { font-size: 15px; margin-bottom: 20px; }
.field-row { margin-bottom: 16px; }
.field-row label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field-row .note { display: block; font-weight: 400; color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.field-row input[type="text"], .field-row input[type="email"] {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
}
.field-row input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
/* The sample-data choice: two radio cards, because it is the one decision on
   the form and a select would hide half of it. */
/* A fieldset, for the grouping a screen reader needs — but stripped of the
   browser's default border and inset legend, which read as an unintended box. */
.choice { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; border: 0; }
.choice legend {
  padding: 0; margin-bottom: 8px; float: left; width: 100%;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.choice legend + label { clear: both; }
.choice label {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px; cursor: pointer;
  border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--surface-2);
}
.choice input { margin: 3px 0 0; flex: none; accent-color: var(--primary); width: 17px; height: 17px; }
.choice b { display: block; font-size: 15px; color: var(--text); }
.choice span { display: block; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin-top: 2px; }
.choice label:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.signup button {
  width: 100%; padding: 13px 20px; font: inherit; font-size: 16px; font-weight: 600;
  color: var(--primary-ink); background: var(--primary); border: 0;
  border-radius: var(--radius); cursor: pointer;
}
.signup button:hover { background: var(--primary-700); }
.signup .smallprint { font-size: 13px; color: var(--text-muted); margin: 14px 0 0; line-height: 1.55; }

/* ---- a two-column page: prose beside the form ---- */
.split { display: grid; grid-template-columns: 1fr 30rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---- "next" links at the foot of an inner page ---- */
.nextlinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 14px; margin-top: 1.5rem; }
.nextlinks a {
  display: block; padding: 18px 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.nextlinks a:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.nextlinks b { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 3px; }
.nextlinks span { display: block; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
