/* Sentinel marketing site
   Palette locked to the brand master:
   Watch Navy #12263D, Signal Red #C8412F, Steel #7C8B99, Mist #EEF2F6, Ink #22303C
   Signal Red carries compliance meaning in the product, so it is used here only as
   a thin accent and never as a call to action fill. */

:root {
  --navy: #12263D;
  --navy-2: #1B3653;
  --signal: #C8412F;
  --signal-lift: #E4603F;
  --steel: #7C8B99;
  --mist: #EEF2F6;
  --ink: #22303C;
  --paper: #FFFFFF;
  --line: #D9E1EA;
  --muted: #566573;
  --max: 1120px;
  --font-display: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  font-weight: 700;
}

h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 22px); }

p { margin: 0 0 18px; }

a { color: var(--navy); text-decoration-color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); text-decoration-color: var(--signal); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 14px;
}
.eyebrow.on-dark { color: var(--signal-lift); }

.lead { font-size: clamp(19px, 2.1vw, 22px); color: var(--muted); max-width: 62ch; }

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.mark { height: 34px; width: auto; display: block; }
.brand img.word { height: 15px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  color: #DCE5EF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--signal-lift); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-on-dark { background: #fff; border-color: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

/* Sections */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy); color: #C9D6E4; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy a { color: #fff; }

/* Hero */
.hero { background: var(--navy); color: #C9D6E4; padding: 104px 0 96px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: #BFCEDD; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: 15px; color: #8FA5BA; }

/* Grid */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.band-navy .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
  color: #C9D6E4;
}

.role-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}

/* Lists */
ul.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
ul.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
}
.band-navy ul.ticks li::before { background: var(--signal-lift); }

/* Comparison table */
.table-scroll { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  min-width: 640px;
}
table.compare th, table.compare td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
}
table.compare tbody th { font-weight: 600; color: var(--navy); width: 30%; }
table.compare td.yes { color: var(--navy); font-weight: 600; }
table.compare td.no { color: var(--muted); }

/* Callout */
.pull {
  border-left: 4px solid var(--signal);
  padding: 6px 0 6px 24px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.35;
  color: var(--navy);
  font-weight: 600;
  max-width: 34ch;
}
.band-navy .pull { color: #fff; border-left-color: var(--signal-lift); }

/* Steps */
ol.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 62px;
  margin-bottom: 30px;
}
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
ol.steps li h3 { margin-bottom: 6px; }
ol.steps li p { margin-bottom: 0; }

/* Forms */
form.enquiry { max-width: 620px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--steel);
  border-radius: 4px;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; }

/* Contact detail block */
.contact-detail { font-size: 17px; }
.contact-detail dt {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 20px;
}
.contact-detail dd { margin: 4px 0 0; }

/* Prose pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 10px; }

.notice {
  background: var(--mist);
  border-left: 4px solid var(--steel);
  padding: 18px 22px;
  font-size: 16px;
  color: var(--muted);
  border-radius: 0 4px 4px 0;
}

/* Footer */
.site-footer { background: var(--navy); color: #97AABC; padding: 56px 0 40px; font-size: 16px; }
.site-footer a { color: #C9D6E4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.footer-links { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6F87A0;
  margin: 0 0 12px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 14px;
  color: #6F87A0;
}

/* Button colours must win over the contextual link colours set by
   .site-nav a and .band-navy a, which are equally specific and declared later.
   These are written as a.btn.<variant> so the variant always wins. */
a.btn { color: #fff; text-decoration: none; }
a.btn:hover { color: #fff; }
a.btn.btn-outline { color: var(--navy); }
a.btn.btn-outline:hover { color: #fff; }
a.btn.btn-on-dark, a.btn.btn-on-dark:hover { color: var(--navy); }
a.btn.btn-ghost-dark, a.btn.btn-ghost-dark:hover { color: #fff; }

.skip {
  position: absolute;
  left: -9999px;
  background: #fff;
  color: var(--navy);
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 16px; top: 12px; }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 72px 0 64px; }
  /* A sticky three row header eats too much of a phone viewport */
  .site-header { position: static; }
  .site-header .wrap { min-height: 0; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .site-nav { gap: 14px; width: 100%; margin-left: 0; }
  .site-nav a { font-size: 15px; padding: 4px 2px; }
  .btn-sm { min-height: 40px; padding: 7px 14px; }
}
