/* agisopltd.com (docker/nginx.conf serves this folder for that host). Brand colours: docs/brand/README.md. No web
   fonts and no scripts: the Content-Security-Policy allows only this stylesheet and the brand images. */
:root {
  --navy: #0b2142;
  --ink: #012243;
  --blue: #0166c2;
  --sky: #4ca6ff;
  --mist: #c5d0dc;
  --muted: #4a5d73;
  --line: #d9e1ea;
  --wash: #f2f5f9;
  --measure: 66ch;
  font-family: "Avenir Next", Avenir, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 106.25%;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 1rem; top: -4rem; padding: 0.5rem 0.9rem; background: #fff; color: var(--ink); z-index: 1; }
.skip:focus { top: 1rem; }

.wrap { width: min(72rem, 100% - 3rem); margin-inline: auto; }

/* Header: the logo on the navy field, the two pages Apple asks for beside it. */
.top { background: var(--navy); color: #fff; }
/* No hairline between the header and the hero where they meet on a fractional pixel. */
.top + main > .hero { box-shadow: 0 -1px 0 var(--navy); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }
.top .brand { display: block; line-height: 0; }
.top .brand img { width: 152px; }
.top nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.top nav a { color: #fff; text-decoration: none; font-weight: 500; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--sky); }

/* Landing hero: the headline, then the job's life as the app records it. */
.hero { background: var(--navy); color: #fff; padding-block: 3.5rem 4.5rem; }
.hero h1 { max-width: 20ch; margin: 0; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.75rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }
.hero .lead { max-width: 52ch; margin: 1.5rem 0 0; font-size: 1.2rem; color: var(--mist); }
.hero .lead a { color: #fff; }

.lifecycle { display: grid; grid-template-columns: repeat(4, 1fr); margin: 3.5rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.lifecycle li { position: relative; padding: 1.4rem 1.25rem 0 0; border-top: 2px solid rgba(197, 208, 220, 0.35); }
.lifecycle li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--navy); border: 2px solid var(--sky);
}
.lifecycle li:last-child::before { background: var(--sky); }
.lifecycle strong { display: block; font-size: 1.05rem; font-weight: 600; }
.lifecycle span { display: block; margin-top: 0.35rem; font-size: 0.94rem; color: var(--mist); }

/* What it does: three plain columns, no cards. */
.section { padding-block: 4.5rem; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { margin: 0; font-size: 1.85rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.section .intro { max-width: var(--measure); margin: 0.9rem 0 0; color: var(--muted); }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; margin-top: 2.75rem; }
.areas h3 { margin: 0 0 0.75rem; font-size: 1.15rem; font-weight: 600; padding-top: 0.9rem; border-top: 3px solid var(--blue); }
.areas ul { margin: 0; padding: 0; list-style: none; }
.areas li { padding-block: 0.45rem; border-bottom: 1px solid var(--line); }
.areas li:last-child { border-bottom: 0; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; margin: 2.5rem 0 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0.4rem 0 0; color: var(--muted); }

.contact { background: var(--wash); }
.contact p { max-width: var(--measure); }
.contact .email { font-size: 1.35rem; font-weight: 600; }

/* Privacy and support: one readable column. */
.doc { padding-block: 3.5rem 4.5rem; }
.doc .wrap > * { max-width: 46rem; }
.doc h1 { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; }
.doc .meta { margin: 0.75rem 0 2.25rem; color: var(--muted); }
.doc h2 { margin: 2.5rem 0 0.6rem; font-size: 1.3rem; line-height: 1.3; font-weight: 600; }
.doc p, .doc li { max-width: var(--measure); }
.doc ul { padding-left: 1.2rem; }
.doc li + li { margin-top: 0.4rem; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 0.75rem; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }

/* Footer: who runs the site, as registered. */
.foot { background: var(--navy); color: var(--mist); font-size: 0.94rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem; }
.foot p { margin: 0; }
.foot a { color: #fff; }
.foot ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }

@media (max-width: 52rem) {
  .areas, .facts { grid-template-columns: 1fr; gap: 2rem; }
  .lifecycle { grid-template-columns: 1fr; margin-top: 2.5rem; border-left: 2px solid rgba(197, 208, 220, 0.35); padding-left: 1.4rem; }
  .lifecycle li { border-top: 0; padding: 0 0 1.4rem; }
  .lifecycle li:last-child { padding-bottom: 0; }
  .lifecycle li::before { top: 0.35rem; left: calc(-1.4rem - 7px); }
  .section { padding-block: 3.25rem; }
}

@media (max-width: 30rem) {
  .top .wrap { flex-direction: column; align-items: flex-start; gap: 1rem; padding-block: 1.25rem; }
  .top nav ul { gap: 1.25rem; }
}
