:root {
  --page: #f8fafc;
  --card: #ffffff;
  --ink: #0a1628;
  --heading: #0f2847;
  --slate: #475569;
  --faint: #94a3b8;
  --hairline: #e2e8f0;
  --blue: #0c64f4;
  --blue-strong: #0a4fbe;
  --blue-tint: #e7f0fe;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 8px 24px -10px rgba(15, 23, 42, 0.18);
  --font-body: 'Inter Variable', 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(60rem 40rem at 50% -10rem, var(--blue-tint), transparent 70%),
    var(--page);
  min-height: 100%;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

main { width: 100%; max-width: 56rem; }

header { text-align: center; margin-bottom: 4rem; }

.brand { margin: 0 auto 1.5rem; }

.brand img {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  margin: 0 auto;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.tagline { margin: 0 0 1.5rem; color: var(--heading); font-size: 1.0625rem; line-height: 1.5; }

.lede { margin: 0; color: var(--slate); font-size: 1.0625rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transform: translateY(var(--card-offset, 0px));
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(calc(var(--card-offset, 0px) - 3px));
  box-shadow: var(--shadow-lift);
  border-color: var(--blue);
}

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

.card .icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--blue-tint);
  color: var(--blue-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card h2 {
  margin: 0 0 0.375rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--heading);
}

.card p { margin: 0 0 1.5rem; color: var(--slate); font-size: 0.9375rem; line-height: 1.5; }

.card .go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue-strong);
}

.card:hover .go .arrow { transform: translateX(3px); }
.go .arrow { transition: transform 0.15s ease; }

#buyer-link { --card-offset: -28px; }

@media (max-width: 52rem) {
  .grid { grid-template-columns: 1fr; }
  #buyer-link { order: 0; --card-offset: 0px; }
  #stakeholder-link { order: 1; }
  #supplier-link { order: 2; }
  header { margin-bottom: 2.5rem; }
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--faint);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.admin-link:hover { color: var(--blue-strong); }
.admin-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 0.25rem; }

footer { margin-top: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; color: var(--faint); font-size: 0.8125rem; }
/* The company link keeps the
   footer's quiet colour at rest and takes the same hover and focus
   treatment as the admin link, so the footer stays a footer. */
footer a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; transition: color 0.15s ease; }
footer a:hover { color: var(--blue-strong); }
footer a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 0.25rem; }
/* The company is named by its logo (ENG-797, Wouter 2026-09-29): the logo
   replaces the word inside the same link, and the word stays as its alt
   text. The page has no dark theme, so one logo on a light ground serves. */
footer .company-logo { display: inline-flex; text-decoration: none; transition: opacity 0.15s ease; }
footer .company-logo:hover { opacity: 0.8; }
footer .company-logo img { display: block; height: 28px; width: auto; }
