@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --light: #f8fafc;
  --text: #030712;
  --muted: #4b5563;
  --soft-muted: #9ca3af;
  --border: #e5e7eb;
  --blue: #0284c7;
  --blue-light: #e0f2fe;
  --dark: #030712;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: calc(100% - 125px);
  max-width: none;
  margin: 0 auto;
}

.section {
  padding: 80px 0 112px;
}

.section-light {
  background: var(--light);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.site-logo img {
  width: auto;
  height: 1.1em;
  object-fit: contain;
}

.logo-name-black {
  color: var(--text);
}

.logo-name-blue {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
  background: var(--blue-light);
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-secondary {
  border-color: #d1d5db;
  background: var(--white);
  color: #1f2937;
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: 14px;
}

.footer-inner p:last-child {
  color: var(--soft-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-muted);
}

.footer-links a {
  color: #6b7280;
  font-weight: 600;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-dot {
  color: #d1d5db;
}

/* Standard pages */

.page-section {
  padding: 96px 0 112px;
}

.content-narrow {
  max-width: 896px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-title {
  max-width: 768px;
  color: var(--text);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.1;
}

.rich-text {
  margin-top: 28px;
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.page-intro {
  margin-top: 16px;
  max-width: 768px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.page-heading-centred {
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}

.page-heading-centred .page-title,
.page-heading-centred .page-intro {
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none;
}

/* Responsive */

@media (max-width: 980px) {
  .section {
    padding: 72px 0 96px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    border-radius: 12px;
    padding: 13px 14px;
  }

  .section {
    padding: 56px 0 80px;
  }

  .page-section {
    padding: 64px 0 88px;
  }

  .page-title {
    font-size: 34px;
  }

  .rich-text {
    font-size: 15px;
    line-height: 1.75;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}
