/* Vector Retail & Service Systems: company website.
   Colours sampled from the approved logo (brand.json in vector-process-toolkit; owner approval pending). */
:root {
  --navy: #03142f;
  --deep: #04409a;
  --blue: #0567e6;
  --bright: #028afc;
  --cyan: #04adfc;
  --ink: #1f2933;
  --muted: #5b6675;
  --line: #d9e0ea;
  --wash: #f4f7fc;
  --max: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

header.site { border-bottom: 1px solid var(--line); background: #fff; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
header.site img { height: 3.2rem; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
nav a:hover, nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: .3em; }

.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 70%, var(--blue) 100%); color: #fff; }
.hero .wrap { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; margin: 0 0 1rem; max-width: 22ch; }
.hero p { font-size: 1.15rem; max-width: 46rem; margin: 0; color: #e3ecfb; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--cyan); margin-bottom: .8rem; }

section { padding: 3.5rem 0; }
section.alt { background: var(--wash); }
h2 { color: var(--navy); font-size: 1.6rem; margin: 0 0 1.2rem; }
h3 { color: var(--navy); font-size: 1.15rem; margin: 0 0 .4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: .5rem; padding: 1.3rem 1.4rem; }
.card p { margin: 0; color: var(--muted); }
.lead { max-width: 46rem; color: var(--muted); font-size: 1.05rem; }

dl.details { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
dl.details dt { font-weight: 600; color: var(--navy); }
dl.details dd { margin: 0; }

/* Marks details the owner still has to supply. The build check refuses to publish while any remain. */
.todo { background: #fff3c4; border: 1px dashed #b7791f; border-radius: .25rem; padding: 0 .3rem; font-weight: 600; color: #7a4d00; }

article.legal { max-width: 46rem; padding: 3rem 0; }
article.legal h1 { color: var(--navy); font-size: 2rem; margin: 0 0 .3rem; }
article.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
article.legal .meta { color: var(--muted); margin: 0 0 1.5rem; }
article.legal table { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; font-size: .95rem; }
article.legal th, article.legal td { border: 1px solid var(--line); padding: .5rem .6rem; text-align: left; vertical-align: top; }
article.legal th { background: var(--wash); color: var(--navy); }

footer.site { background: var(--navy); color: #c9d4e6; font-size: .9rem; }
footer.site .wrap { padding-top: 2rem; padding-bottom: 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer.site a { color: #fff; }
footer.site p { margin: .2rem 0; }

@media (max-width: 40rem) {
  header.site img { height: 2.6rem; }
  .hero .wrap { padding-top: 3rem; padding-bottom: 3rem; }
  dl.details { grid-template-columns: 1fr; }
  dl.details dt { margin-top: .5rem; }
}
