/* Sligo Business Network landing page.
   Colours match src/styles/_tokens.scss in the app repository. */

:root {
  --blue: #1180c4;
  --blue-logo: #1873b8;
  --blue-deep: #055686;
  --green: #73b84d;
  --green-deep: #4b8a2a;
  --magenta: #d91a5d;
  --ink: #2b2a28;
  --muted: #5f5f5f;
  --line: #dedede;
  --panel: #f4f6f8;
  --footer: #333;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-deep); }
a:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

.wrap {
  width: min(1040px, 100% - 40px);
  margin-inline: auto;
}
.stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--magenta) 0 33.3%, var(--green) 33.3% 66.6%, var(--blue) 66.6%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}
.brand { line-height: 0; }
.brand img { width: 240px; }
.site-header nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.hero { padding-block: 48px 56px; }
.kicker {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  max-width: 16ch;
  font-size: clamp(36px, 6.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
}
.lede { max-width: 62ch; margin: 0 0 28px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid var(--blue-logo);
  border-radius: 8px;
  background: var(--blue-logo);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.ghost { background: transparent; color: var(--blue-deep); }
.btn.ghost:hover { background: var(--panel); }

.band { background: var(--panel); border-block: 1px solid var(--line); }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-block: 34px;
}
.facts strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue-logo);
}
.facts span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }

.columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding-block: 56px 64px;
}
h2 { margin: 0 0 14px; font-size: 24px; letter-spacing: -0.02em; }
.columns ul { margin: 0; padding-left: 20px; }
.columns li { margin-bottom: 8px; }
.columns li::marker { color: var(--green); }

.news { padding: 16px 0; border-top: 1px solid var(--line); }
.news:last-child { border-bottom: 1px solid var(--line); }
.news time {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta);
}
.news h3 { margin: 4px 0 6px; font-size: 18px; }
.news p { margin: 0; color: var(--muted); font-size: 16px; }

.site-footer { background: var(--footer); color: #cfcfcf; font-size: 14px; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
}
.site-footer p { margin: 0; }
.site-footer a { color: #fff; margin-left: 16px; }
.site-footer a:first-child { margin-left: 0; }

/* Maintenance page */
.holding {
  min-height: calc(100vh - 5px);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.holding img { width: 260px; margin-bottom: 16px; }
.holding h1 { max-width: none; font-size: clamp(28px, 5vw, 40px); }
.holding p { margin: 0; color: var(--muted); }

@media (max-width: 720px) {
  .site-header nav { display: none; }
  .hero { padding-block: 28px 40px; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .columns { grid-template-columns: 1fr; gap: 40px; padding-block: 40px; }
}
