/* Laktis — landing site
   Brand colours live here. Change these four values and the whole
   site follows. */

:root {
  --ink:      #10242E;   /* deep petrol — headings, body */
  --paper:    #F6F5F2;   /* page background */
  --accent:   #2F6F63;   /* muted surgical green — links, rules */
  --muted:    #5A6B72;   /* secondary text */
  --rule:     #D9D6CF;   /* hairlines */
  --panel:    #EDEBE5;   /* particulars block */

  --measure:  34rem;     /* ~68 characters */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Masthead ───────────────────────────────────────────── */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0 0;
}

.masthead img { height: 2.25rem; width: auto; display: block; }

.masthead .wordmark {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.masthead nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

.masthead nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────── */

.hero { padding: 5rem 0 3.5rem; }

.hero h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.125rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 20ch;
}

.hero p {
  max-width: var(--measure);
  margin: 0;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}

/* ── Sections ───────────────────────────────────────────── */

section { padding: 0 0 3.25rem; }

section h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.875rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

section p, section li { max-width: var(--measure); }
section p { margin: 0 0 1rem; }
section p:last-child { margin-bottom: 0; }

section ul {
  max-width: var(--measure);
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}
section li { margin-bottom: 0.5rem; }

a { color: var(--accent); }
a:hover { color: var(--ink); }

/* ── Registered particulars ─────────────────────────────── */

.particulars {
  background: var(--panel);
  border-left: 3px solid var(--accent);
  padding: 1.75rem 1.75rem 1.5rem;
  margin: 0 0 3.25rem;
}

.particulars h2 {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 1.125rem;
}

.particulars dl {
  margin: 0;
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.5rem 1.25rem;
}

.particulars dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.particulars dd {
  margin: 0;
  font-size: 0.9375rem;
}

/* ── Footer ─────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 4rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

footer p { margin: 0 0 0.375rem; max-width: var(--measure); }
footer a { color: var(--muted); }

/* ── Focus ──────────────────────────────────────────────── */

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Narrow ─────────────────────────────────────────────── */

@media (max-width: 34rem) {
  .hero { padding: 3.25rem 0 2.5rem; }
  .particulars { padding: 1.375rem 1.25rem 1.25rem; }
  .particulars dl { grid-template-columns: 1fr; gap: 0.125rem; }
  .particulars dt { margin-top: 0.625rem; }
}