@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  color: #1f2933;
  background: #f6f8fb;
  font-family: "Atkinson Hyperlegible", Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.sidebar {
  background: linear-gradient(160deg, #0c304d, #174f7a 68%, #a54467);
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  left: 0;
  overflow-y: auto;
  padding: 2.5rem 1.5rem;
  position: fixed;
  top: 0;
  width: 18rem;
}

.brand {
  color: #fff;
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 3rem;
  text-decoration: none;
}

.sidebar-logo {
  background: #fff;
  border-radius: 0.45rem;
  display: block;
  margin-bottom: 1.25rem;
  max-width: 10rem;
  padding: 0.35rem;
}

.sidebar-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.brand small {
  color: #dceaf4;
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 0.2rem;
}

.nav-title,
.eyebrow {
  color: #a54467;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.sidebar .nav-title {
  color: #dceaf4;
}

.sidebar .nav-subtitle {
  font-size: 0.68rem;
  margin-top: 1.4rem;
}

nav a {
  border-left: 2px solid transparent;
  color: #fff;
  display: block;
  font-size: 0.95rem;
  margin: 0.25rem 0;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-left-color: #fff;
}

.sidebar-note {
  color: #dceaf4;
  font-size: 0.82rem;
  margin: auto 0 0;
}

main {
  margin-left: 18rem;
  max-width: 72rem;
  padding: 4.5rem clamp(2rem, 7vw, 6rem);
}

section {
  background: #fff;
  border: 1px solid #dfe8ef;
  border-radius: 0.75rem;
  box-shadow: 0 0.35rem 1.5rem rgba(12, 48, 77, 0.06);
  margin-bottom: 1.6rem;
  padding: 2.4rem;
  scroll-margin-top: 1rem;
}

.hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.17), transparent 24%),
    linear-gradient(135deg, #0c304d, #174f7a 65%, #a54467);
  border: 0;
  color: #fff;
  min-height: 19rem;
}

.hero .eyebrow {
  color: #dceaf4;
}

.hero-logo {
  background: #fff;
  border-radius: 0.45rem;
  display: block;
  margin-bottom: 1.5rem;
  max-width: min(100%, 34rem);
  padding: 0.5rem;
  width: 34rem;
}

h1,
h2 {
  color: #174f7a;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.lead {
  color: #eef6fc;
  font-size: 1.2rem;
  max-width: 48rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  border: 1px solid #174f7a;
  border-radius: 0.35rem;
  color: #174f7a;
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.button.primary {
  background: #174f7a;
  color: #fff;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(23, 79, 122, 0.2);
  outline: none;
}

@media (max-width: 760px) {
  .sidebar {
    bottom: auto;
    min-height: 0;
    padding: 1rem 1.25rem;
    position: static;
    width: 100%;
  }

  .brand {
    margin-bottom: 1rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .sidebar .nav-title,
  .sidebar-note {
    display: none;
  }

  nav a {
    background: rgba(255, 255, 255, 0.1);
    border-left: 0;
    border-radius: 0.25rem;
    margin: 0;
  }

  main {
    margin: 0;
    padding: 1.5rem 1rem;
  }

  section {
    padding: 1.6rem;
  }
}
