:root {
  /* Luzzu: the colors of Maltese fishing boats */
  --bg: #ffffff;
  --surface: #f5f8fc;
  --text: #0b1f3a;
  --muted: #4d607a;
  --line: #dbe4f0;
  --accent: #1259b8;
  --accent-text: #ffffff;
  --luzzu-blue: #1259b8;
  --luzzu-yellow: #f2b705;
  --luzzu-red: #c8102e;
  --luzzu-green: #1f8a5b;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.badge { flex: none; width: 150px; height: 150px; }

@media (max-width: 560px) {
  .hero { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .badge { width: 120px; height: 120px; }
}

.card {
  width: 100%;
  max-width: 680px;
}

h1, h2, h3 { line-height: 1.2; margin: 0; }

h1 {
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--luzzu-red);
  margin-bottom: 16px;
}

h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }

p { margin: 0; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 34em;
}

section { margin-top: 56px; }

.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.services li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--luzzu-yellow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px;
}

.services p { color: var(--muted); font-size: 0.95rem; }

.contact > p { margin-bottom: 20px; }

.links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
}
.button:hover { filter: brightness(1.08); }

footer {
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
footer a { color: inherit; }

.prose h1 { font-size: clamp(2rem, 6vw, 2.6rem); margin-bottom: 32px; }
.prose h2 { margin-top: 32px; margin-bottom: 8px; }
.prose p + p { margin-top: 12px; }
