
:root{
  --brand-purple: #4b2e83;
  --brand-purple-dark: #2f1b57;
  --brand-purple-soft: #f3effa;
  --brand-red: #c1121f;
  --brand-red-dark: #8b0b14;
  --bg: #f6f6f8;
  --card: #ffffff;
  --border: #e5e5ea;
  --text: #1b1b1f;
  --muted: #5a5a66;
  --link: #4b2e83;
  --link-hover: #2f1b57;
  --shadow: 0 6px 18px rgba(0,0,0,0.10);
}



/* Leaflet-style typography + spacing */
:root{
  --max-width: 980px;
}

body{
  line-height: 1.55;
}

.page{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem;
}

h1{ font-size: 2rem; margin: 0 0 0.75rem 0; }
h2{ font-size: 1.4rem; margin: 1.5rem 0 0.75rem 0; }
h3{ font-size: 1.15rem; margin: 1rem 0 0.5rem 0; }

p{ margin: 0 0 0.9rem 0; }

ul, ol{ margin: 0 0 0.9rem 1.25rem; }
/* Base typography, colours, and utility classes */

* {
  box-sizing: border-box;
}

html, body{
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}


body{
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}


a{
  color: var(--link);
  text-decoration: none;
}


a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: #ff9900;
  color: #000;
}

.btn-secondary {
  background: #4caf50;
  color: #fff;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-success {
  background: #e3f8e5;
  color: #216e39;
}

.alert-error {
  background: #fde8e8;
  color: #b91c1c;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
}


/* Accessibility: skip link + focus styles */
.skip-link{
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: #fff;
  color: var(--brand-purple-dark);
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--brand-red);
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus{
  left: 0.5rem;
  outline: none;
}

:focus-visible{
  outline: 3px solid var(--brand-red);
  outline-offset: 3px;
}
