/* SARTrack web site: the shared look of the new pages (2026-10-28). The old pages keep style.css until they are
   replaced. One header (logo + menu) and one footer, copied into every page. */

:root {
  --red: #c62828;
  --red-dark: #8e1c1c;
  --red-soft: #fdecea;
  --blue: #1a5fb4;
  --navy: #0f2033;
  --text: #1f2328;
  --dim: #5f6670;
  --line: #e1e4e8;
  --page: #f4f5f7;
  --card: #ffffff;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--red); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---- Header: logo and menu ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-header .logo img { height: 52px; width: auto; display: block; }
.site-header nav { display: flex; gap: 2px; flex-wrap: wrap; }
.site-header nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}
.site-header nav a:hover { background: var(--page); color: var(--red); }
.site-header nav a.on { background: var(--red); color: #fff; }

/* ---- Page content ---- */
main { padding: 28px 0 48px; }
h1 { font-size: 2.1em; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.5em; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 1.1em; margin: 18px 0 6px; }
.lead { font-size: 1.15em; color: var(--dim); margin: 0 0 20px; }
.dim { color: var(--dim); }
section { margin: 0 0 44px; }
.section-title { text-align: center; margin-bottom: 22px; }
.section-title p { color: var(--dim); margin: 0 auto; max-width: 720px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.card p { margin: 0 0 10px; }
.card ul, .card ol { margin: 0 0 10px; padding-left: 22px; }
.card li { margin-bottom: 4px; }
.card > :last-child { margin-bottom: 0; }
.card h2 { font-size: 1.3em; }
.card h3:first-child { margin-top: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.grid.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid.five { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.grid > .card { margin-bottom: 0; display: flex; flex-direction: column; gap: 8px; }
.grid > .card h3 { margin: 0; }
.grid > .card p { margin: 0; color: var(--dim); }
.grid > .card .btns { margin-top: auto; padding-top: 6px; }

.tag {
  align-self: flex-start;
  display: inline-block;
  font-size: .78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
}
.tag.grey { background: #eef1f5; color: var(--dim); }
.tag.green { background: #e6f4ea; color: #1e6b34; }

.notice {
  background: #fff4e5;
  border: 1px solid #f0c27b;
  border-left: 6px solid #e67e00;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 16px;
}
.note {
  background: #f0f4fa;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 0 10px;
}
.good {
  background: #eaf6ec;
  border: 1px solid #9fd3a8;
  border-left: 6px solid #2e7d32;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 16px;
}

/* ---- Buttons ---- */
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.alt { background: #fff; color: var(--red); }
.btn.alt:hover { background: var(--red-soft); color: var(--red-dark); }
.btn.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn.light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---- Home: the big heading ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1b3a5c 60%, #24496f 100%);
  color: #fff;
  padding: 56px 0;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: 2.6em; margin-bottom: 14px; }
.hero h1 span { color: #ff8a80; }
.hero p { font-size: 1.15em; color: #d6e2ef; margin: 0 0 24px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2em; }
}

/* ---- Strengths: an icon circle, a title, a line ---- */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
}

/* ---- A band across the page (call to action) ---- */
.band {
  background: var(--red);
  color: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.band h2 { margin: 0 0 4px; }
.band p { margin: 0; color: #ffe1de; }

/* ---- Screenshots, photos and placeholders ---- */
.shot { margin: 0; }
.shot img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 12px; }
.shot figcaption { color: var(--dim); font-size: .9em; margin-top: 6px; text-align: center; }
/* (A screenshot still to come: the file it will be in) */
.placeholder {
  aspect-ratio: 16 / 10;
  width: 100%;
  border: 2px dashed #b9c0c8;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, #f7f8fa, #f7f8fa 12px, #eef1f4 12px, #eef1f4 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dim);
  padding: 16px;
}
.placeholder b { color: var(--text); }
.placeholder code { font-size: .85em; }
.hero .placeholder { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: #c8d6e5; }
.hero .placeholder b { color: #fff; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* ---- Features page: text beside its screenshot, alternating ---- */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.feature-row.flip > :first-child { order: 2; }
.feature-row h2 { margin-bottom: 8px; }
.feature-row ul { margin: 0; padding-left: 20px; }
.feature-row li { margin-bottom: 4px; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip > :first-child { order: 0; }
}

/* ---- Lists of documents (Support) ---- */
.doclist { list-style: none; margin: 0; padding: 0; }
.doclist li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.doclist li:last-child { border-bottom: 0; }
.doclist a { font-weight: 600; }
.doclist span { display: block; color: var(--dim); font-size: .95em; }
.kind {
  display: inline-block;
  font-size: .72em;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
  background: #eef1f5;
  color: var(--dim);
  margin-left: 6px;
  vertical-align: 2px;
}

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #b8c4d1; padding: 28px 0; font-size: .92em; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #e2e9f1; text-decoration: none; margin-right: 16px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* (A screenshot in the dark heading of the home page: its caption light) */
.hero .shot figcaption { color: #c8d6e5; }

/* (Phone screenshots: side by side, as tall as fits) */
.shot.phones .pair { display: flex; gap: 14px; justify-content: center; }
.shot.phones .pair a { flex: 0 1 auto; }
.shot.phones img { width: auto; max-width: 100%; max-height: 460px; }
