:root {
  --bg: #f3f4f2;
  --panel: #fbfbf9;
  --text: #202322;
  --muted: #69716d;
  --line: #c9cfcb;
  --accent: #345f63;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(52,95,99,0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(52,95,99,0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.55;
}

.page-shell {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 64px;
}

.masthead {
  margin-bottom: 72px;
}

.rule {
  width: 54px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 28px;
}

.registration {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.strapline {
  margin: 28px 0 0;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.content-block {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.content-block:last-of-type {
  border-bottom: 1px solid var(--line);
}

.content-block.compact {
  padding: 28px 0;
}

h2 {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

p {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.site-footer {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--muted);
}

.site-footer p {
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 32px, 760px);
    padding-top: 64px;
  }

  .site-footer {
    width: min(100% - 32px, 760px);
  }
}
